/* ========================================
   LESA'S DAIRY DIP — Styles
   Palette: Forest Green + Off-White
   ======================================== */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green-900: #0D3B10;
  --green-800: #1B5E20;
  --green-700: #2E7D32;
  --green-600: #388E3C;
  --green-500: #4CAF50;
  --green-100: #C8E6C9;
  --green-50:  #E8F5E9;
  --cream:     #FAFAF5;
  --cream-dark:#F0F0E8;
  --white:     #FFFFFF;
  --text-dark: #1A1A1A;
  --text-mid:  #3D3D3D;
  --text-light:#6B6B6B;
  --radius:    12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.10);
  --shadow-lg: 0 16px 60px rgba(0,0,0,0.14);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   NAV
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 250, 245, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(27, 94, 32, 0.10);
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(250, 250, 245, 0.97);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 72px;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--green-800);
  letter-spacing: -0.02em;
}

.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: 8px;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--green-800);
  background: var(--green-50);
}

.nav-cta {
  background: var(--green-800);
  color: var(--white) !important;
  font-weight: 600;
  margin-left: 8px;
}

.nav-cta:hover {
  background: var(--green-700);
  color: var(--white) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 59, 16, 0.82) 0%,
    rgba(27, 94, 32, 0.72) 50%,
    rgba(46, 125, 50, 0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  padding: 0 24px;
  color: var(--white);
}

.hero-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.30);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 40px rgba(0,0,0,0.25);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: var(--white);
  opacity: 0.7;
  transition: var(--transition);
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll:hover { opacity: 1; }

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--green-800);
  color: var(--white);
  border-color: var(--green-800);
}

.btn-primary:hover {
  background: var(--green-700);
  border-color: var(--green-700);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27, 94, 32, 0.35);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.50);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--green-800);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-green {
  background: transparent;
  color: var(--green-800);
  border-color: var(--green-800);
}

.btn-outline-green:hover {
  background: var(--green-800);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27, 94, 32, 0.35);
}

/* ========================================
   FEATURES STRIP
   ======================================== */
.features {
  background: var(--green-800);
  padding: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 28px 32px;
  border-right: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  transition: var(--transition);
}

.feature-item:last-child { border-right: none; }

.feature-item:hover {
  background: rgba(255,255,255,0.06);
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.12);
  border-radius: 12px;
}

.feature-item span {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ========================================
   MENU
   ======================================== */
.menu {
  padding: 100px 0;
  background: var(--cream);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.menu-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.menu-card-img {
  height: 240px;
  overflow: hidden;
}

.menu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-card:hover .menu-card-img img {
  transform: scale(1.06);
}

.menu-card-body {
  padding: 28px;
}

.menu-card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.menu-card-body p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ========================================
   ABOUT
   ======================================== */
.about {
  padding: 100px 0;
  background: var(--cream-dark);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 7/9;
}

.about-content .section-tag {
  text-align: left;
}

.about-content .section-title {
  text-align: left;
  margin-bottom: 20px;
}

.about-content > p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--green-800);
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ========================================
   VISIT
   ======================================== */
.visit {
  padding: 100px 0;
  background: var(--white);
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.visit-info .section-tag { text-align: left; }
.visit-info .section-title { text-align: left; margin-bottom: 16px; }
.visit-desc { font-size: 1rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 36px; }

.visit-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
}

.visit-detail {
  display: flex;
  gap: 16px;
}

.visit-detail dt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
  min-width: 80px;
}

.visit-detail dd {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
  padding-left: 96px;
}

.visit-detail dd a {
  color: var(--green-700);
  font-weight: 600;
  transition: var(--transition);
}

.visit-detail dd a:hover {
  color: var(--green-900);
  text-decoration: underline;
}

.visit-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.visit-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 420px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--green-900);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
}

.footer-logo-text {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.footer-nav h4,
.footer-contact h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
}

.footer-nav ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a,
.footer-contact a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.70);
  transition: var(--transition);
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.40);
}

/* ========================================
   REVEAL ANIMATIONS (progressive enhancement)
   ======================================== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Default visible for no-JS */
.reveal {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }
  .feature-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.12); }
  .feature-item:last-child { border-bottom: none; }

  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .visit-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-img { max-height: 480px; }
  .about-img img { aspect-ratio: auto; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: 96px 24px 32px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-link {
    padding: 14px 16px;
    font-size: 1rem;
  }

  .nav-cta {
    margin-left: 0;
    text-align: center;
    margin-top: 12px;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .visit-detail dd {
    padding-left: 0;
    margin-top: 4px;
  }

  .visit-detail dt {
    min-width: auto;
  }

  .visit-detail {
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }
  .feature-item:last-child { border-bottom: none; }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .about-stats {
    flex-direction: column;
    gap: 24px;
  }

  .visit-actions {
    flex-direction: column;
  }
}

/* Mobile nav overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}
