/* ─── Base & Reset ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; -webkit-font-smoothing: antialiased; }

/* ─── Geometric Hero Shapes ─── */
.geo-shape { position: absolute; pointer-events: none; }

.geo-circle-1 {
  top: 10%;
  left: 5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(245,197,24,0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.geo-circle-2 {
  bottom: 10%;
  right: 35%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(107,47,91,0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite reverse;
}

.geo-rect-1 {
  top: 20%;
  right: 5%;
  width: 120px;
  height: 120px;
  background: rgba(245,197,24,0.08);
  border: 2px solid rgba(245,197,24,0.2);
  transform: rotate(45deg);
  animation: spin-slow 20s linear infinite;
}

.geo-triangle {
  bottom: 25%;
  left: 38%;
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 104px solid rgba(107,47,91,0.06);
  animation: float 7s ease-in-out infinite;
}

.geo-dot-group {
  top: 40%;
  left: 2%;
  width: 8px;
  height: 8px;
  background: rgba(245,197,24,0.5);
  border-radius: 50%;
  box-shadow:
    20px 30px 0 rgba(107,47,91,0.3),
    35px 10px 0 rgba(245,197,24,0.4),
    15px 50px 0 rgba(107,47,91,0.2),
    40px 45px 0 rgba(245,197,24,0.3);
  animation: float 5s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(3deg); }
}

@keyframes spin-slow {
  from { transform: rotate(45deg); }
  to { transform: rotate(405deg); }
}

/* ─── Marquee ─── */
.marquee-track {
  animation: marquee 30s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── Nav ─── */
#navbar {
  background: rgba(253,248,240,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(107,47,91,0.08);
}

#navbar.scrolled {
  background: rgba(253,248,240,0.95);
  box-shadow: 0 4px 30px rgba(107,47,91,0.08);
}

.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #F5C518;
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* ─── Mobile Menu ─── */
#mobileMenu.open { opacity: 1; pointer-events: all; }
#mobileMenu.closed { opacity: 0; pointer-events: none; }

.menu-line { transition: all 0.3s ease; }
#menuBtn.active .menu-line:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
#menuBtn.active .menu-line:nth-child(2) { opacity: 0; }
#menuBtn.active .menu-line:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); width: 20px; }

.mobile-link { transition: all 0.3s ease; }
.mobile-link:hover { transform: scale(1.05); }

/* ─── Product Cards ─── */
.product-card {
  transform: translateY(0);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

/* ─── Scroll Animations ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ─── Custom Scrollbar ─── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #FDF8F0; }
::-webkit-scrollbar-thumb { background: #6B2F5B; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #5a2649; }

/* ─── Focus Styles ─── */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid #F5C518;
  outline-offset: 2px;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .geo-circle-1 { width: 200px; height: 200px; }
  .geo-circle-2 { width: 120px; height: 120px; }
  .geo-rect-1 { width: 80px; height: 80px; }
  .geo-triangle { display: none; }
}
