/* ===== BASE & RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

/* ===== NAVBAR ===== */
#navbar {
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
#navbar.scrolled {
  background: rgba(253, 251, 247, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0,0,0,0.08);
}

/* ===== MOBILE MENU ===== */
.menu-line { transition: all 0.3s ease; }
#menuBtn.active .menu-line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
#menuBtn.active .menu-line:nth-child(2) { opacity: 0; }
#menuBtn.active .menu-line:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); width: 24px; }
.mobile-link { border-bottom: 1px solid transparent; }
.mobile-link:hover { border-bottom-color: #C0603A; }

/* ===== GEOMETRIC SHAPES ===== */
.geo-shape {
  position: absolute;
  opacity: 0.12;
  pointer-events: none;
}
.geo-circle-1 {
  width: 400px; height: 400px;
  background: #C0603A;
  border-radius: 50%;
  top: -100px; right: -80px;
}
.geo-circle-2 {
  width: 200px; height: 200px;
  background: #d4b05a;
  border-radius: 50%;
  bottom: 15%; left: 5%;
}
.geo-circle-3 {
  width: 120px; height: 120px;
  background: #C0603A;
  border-radius: 50%;
  top: 40%; right: 5%;
  opacity: 0.08;
}
.geo-rect-1 {
  width: 160px; height: 160px;
  background: #d4b05a;
  top: 20%; left: 8%;
  transform: rotate(45deg);
  border-radius: 16px;
  opacity: 0.07;
}
.geo-triangle {
  width: 0; height: 0;
  border-left: 80px solid transparent;
  border-right: 80px solid transparent;
  border-bottom: 140px solid #C0603A;
  top: 60%; left: 3%;
  opacity: 0.06;
}
.geo-dots {
  width: 100px; height: 100px;
  background-image: radial-gradient(circle, #C0603A 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  bottom: 20%; right: 10%;
  opacity: 0.2;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #fdfbf7; }
::-webkit-scrollbar-thumb { background: #d5ccc0; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #C0603A; }

/* ===== SELECTION ===== */
::selection { background: #C0603A; color: white; }
