/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
}

::selection {
  background: rgba(192, 86, 74, 0.4);
  color: #fff;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #1A1A1A;
}
::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #C0564A;
}

/* ── Section Label ── */
.section-label {
  display: block;
}

/* ── Divider ── */
.divider-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(192, 86, 74, 0.3), transparent);
}

/* ── Hero ── */
.hero-gradient {
  background: radial-gradient(ellipse at 30% 50%, #3D2B28 0%, #1A1A1A 50%, #0D0D0D 100%);
}

.hero-pattern {
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.08) 1px, transparent 0);
  background-size: 40px 40px;
}

.hero-vignette {
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.5) 100%);
}

/* Hero entrance animations */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes heroLine {
  from {
    height: 0;
    opacity: 0;
  }
  to {
    height: 64px;
    opacity: 1;
  }
}

.hero-eyebrow {
  animation: heroFadeUp 0.8s ease-out 0.2s both;
}

.hero-headline {
  animation: heroScale 1s ease-out 0.4s both;
}

.hero-sub {
  animation: heroFadeUp 0.8s ease-out 0.7s both;
}

.hero-cta {
  animation: heroFadeUp 0.8s ease-out 0.9s both;
}

.hero-scroll {
  animation: heroFadeUp 0.8s ease-out 1.2s both;
}

.hero-scroll-line {
  animation: heroLine 1s ease-out 1.4s both;
}

/* ── Hero Buttons ── */
.hero-btn-primary {
  box-shadow: 0 4px 30px rgba(192, 86, 74, 0.4);
}
.hero-btn-primary:hover {
  box-shadow: 0 8px 40px rgba(192, 86, 74, 0.5);
}

.hero-btn-secondary {
  backdrop-filter: blur(4px);
}

/* ── Scroll Reveal ── */
@media (prefers-reduced-motion: no-preference) {
  .reveal-left,
  .reveal-right,
  .reveal-text,
  .reveal-card {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }

  .reveal-left {
    transform: translateX(-40px);
  }
  .reveal-right {
    transform: translateX(40px);
  }
  .reveal-text {
    transform: translateY(30px);
  }
  .reveal-card {
    transform: translateY(40px);
  }

  .reveal-left.revealed,
  .reveal-right.revealed,
  .reveal-text.revealed,
  .reveal-card.revealed {
    opacity: 1;
    transform: translate(0) translateY(0);
  }

  .reveal-card:nth-child(2) { transition-delay: 0.15s; }
  .reveal-card:nth-child(3) { transition-delay: 0.3s; }
}

/* Reduced motion: show everything */
@media (prefers-reduced-motion: reduce) {
  .reveal-left,
  .reveal-right,
  .reveal-text,
  .reveal-card {
    opacity: 1;
    transform: none;
  }
}

/* ── Produce Cards ── */
.card-produce {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 12px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.card-produce:hover {
  border-color: rgba(192, 86, 74, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ── Visit Info Blocks ── */
.visit-info-block {
  transition: transform 0.3s ease;
}
.visit-info-block:hover {
  transform: translateX(8px);
}

/* ── CTA Section ── */
.cta-gradient {
  background: linear-gradient(135deg, #2D2D2D 0%, #1A1A1A 50%, #2D1F1C 100%);
}

.cta-pattern {
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0);
  background-size: 32px 32px;
}

.cta-call-btn {
  box-shadow: 0 4px 30px rgba(255, 255, 255, 0.15);
}
.cta-call-btn:hover {
  box-shadow: 0 8px 40px rgba(255, 255, 255, 0.25);
}

/* ── Navbar Scroll State ── */
#navbar.scrolled {
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

#navbar.scrolled a:not([class*="bg-"]):not([class*="text-coral"]) {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* ── Mobile Menu ── */
#mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

/* ── Form Focus States ── */
input:focus,
textarea:focus {
  outline: none;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero-headline {
    font-size: 2.75rem;
    line-height: 1.1;
  }

  .hero-sub {
    font-size: 1.1rem;
  }

  .section-label {
    font-size: 0.7rem !important;
  }

  #about, #produce, #treasures, #visit, #contact {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

@media (max-width: 640px) {
  .hero-headline {
    font-size: 2.25rem;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta a {
    width: 100%;
    text-align: center;
  }
}
