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

/* ─── Navbar ─── */
#navbar {
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
#navbar.scrolled {
  background: rgba(254, 249, 243, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0,0,0,0.08);
}
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #e84e2a;
  transition: width 0.3s;
}
.nav-link:hover::after { width: 100%; }

/* ─── Mobile Menu ─── */
#mobileMenu {
  animation: slideDown 0.3s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.mobile-link { transition: color 0.2s; }

/* ─── Geometric Hero Shapes ─── */
.geo-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.geo-circle--1 {
  width: 400px; height: 400px;
  background: rgba(237, 206, 106, 0.15);
  top: -100px; right: -80px;
  animation: float 8s ease-in-out infinite;
}
.geo-circle--2 {
  width: 200px; height: 200px;
  background: rgba(254, 223, 156, 0.2);
  bottom: 15%; left: 5%;
  animation: float 6s ease-in-out infinite reverse;
}
.geo-circle--3 {
  width: 120px; height: 120px;
  background: rgba(255, 255, 255, 0.08);
  top: 30%; right: 15%;
  animation: float 5s ease-in-out infinite;
}
.geo-triangle {
  position: absolute;
  width: 0; height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 104px solid rgba(237, 206, 106, 0.12);
  top: 20%; left: 8%;
  transform: rotate(-15deg);
  animation: spin-slow 20s linear infinite;
}
@keyframes spin-slow {
  from { transform: rotate(-15deg); }
  to { transform: rotate(345deg); }
}
.geo-dots {
  position: absolute;
  bottom: 20%; right: 5%;
  display: grid;
  grid-template-columns: repeat(4, 12px);
  gap: 12px;
  opacity: 0.4;
}
.geo-dots span {
  width: 8px; height: 8px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
}
.geo-arch {
  position: absolute;
  width: 500px; height: 500px;
  border: 3px solid rgba(255,255,255,0.06);
  border-radius: 50%;
  bottom: -200px; left: -150px;
}
.geo-arch--1 {
  width: 700px; height: 700px;
  border-color: rgba(255,255,255,0.04);
  bottom: -300px; left: -250px;
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.03); }
}

/* ─── Wine Cards ─── */
.wine-card { transition: transform 0.3s; }
.wine-card:hover { transform: translateY(-4px); }
@media (prefers-reduced-motion: no-preference) {
  .wine-card { transition: transform 0.3s, box-shadow 0.3s; }
}

/* ─── Testimonial Cards ─── */
.testimonial-card {
  transition: transform 0.3s, border-color 0.3s;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 78, 42, 0.3);
}

/* ─── Scroll Reveal (progressive enhancement) ─── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.revealed {
    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; }
}

/* ─── Custom scrollbar ─── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #fef9f3; }
::-webkit-scrollbar-thumb { background: #d4b896; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #c4724e; }
