* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #181818;
  color: #f3f3f3;
  margin: 0;
  padding: 0;
  padding-top: 64px;
}

a {
  text-decoration: none;
  color: #ff2a2a;
  transition: color 0.2s;
}
a:hover {
  color: #fff;
}

h1, h2, h3 {
  color: #ff2a2a;
  font-family: 'Oswald', 'Segoe UI', Arial, sans-serif;
  letter-spacing: 1px;
}

ul, li {
  font-size: 1.1em;
}

section {
  margin-bottom: 32px;
}

.site-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #101010;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.site-header .brand {
  color: #ff2a2a;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}

.sidebar {
  position: fixed;
  left: 0;
  top: 64px;
  bottom: 0;
  width: 260px;
  padding: 24px 16px;
  background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
  overflow-y: auto;
  z-index: 999;
  border-right: 2px solid #ff2a2a;
  box-shadow: 4px 0 16px rgba(0, 0, 0, 0.5);
}

#navbar-menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#navbar-menu li a {
  color: #e7e7e7;
  padding: 14px 16px;
  display: block;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  border-left: 3px solid transparent;
}

#navbar-menu li a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 42, 42, 0.15) 0%, transparent 100%);
  transition: width 0.3s ease;
  z-index: -1;
}

#navbar-menu li a:hover::before {
  width: 100%;
}

#navbar-menu li a:hover, 
#navbar-menu li a:focus {
  background: rgba(255, 42, 42, 0.1);
  color: #fff;
  transform: translateX(8px);
  border-left-color: #ff2a2a;
  box-shadow: 0 4px 12px rgba(255, 42, 42, 0.2);
}

#navbar-menu li a.active {
  background: linear-gradient(90deg, rgba(255, 42, 42, 0.25) 0%, rgba(255, 42, 42, 0.05) 100%);
  color: #fff;
  font-weight: 700;
  border-left-color: #ff2a2a;
  box-shadow: 0 2px 8px rgba(255, 42, 42, 0.3);
}

main {
  margin-left: 300px;
  margin-right: 40px;
  margin-top: 40px;
  margin-bottom: 40px;
  padding: 32px;
  background: #232323;
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.18);
}

.saw-img-full {
  width: 600px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 24px 0;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
  object-fit: cover;
}

img.saw-img {
  display: block;
  max-width: 100%;
  max-height: 200px;
  margin: 24px auto;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

.image-placeholder {
  width: 100%;
  max-width: 350px;
  height: 200px;
  background: linear-gradient(135deg, #222 60%, #444 100%);
  border: 2px dashed #ff2a2a;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff2a2a;
  font-size: 1.2em;
  margin: 24px auto;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

button, .btn {
  background: #ff2a2a;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 24px;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.2s;
  margin: 8px 0;
}
button:hover, .btn:hover {
  background: #b71c1c;
}
