/* ============================================
   Commerce Country Cafe — Styles
   Bold editorial · Forest green + off-white
   ============================================ */

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

:root {
  --green-900: #0b3d2e;
  --green-800: #145a3e;
  --green-700: #1a7a54;
  --green-600: #229464;
  --green-500: #2db076;
  --green-100: #d1f2e4;
  --green-50:  #eaf8f0;

  --cream:     #f7f4ef;
  --cream-light:#faf8f5;
  --cream-dark:#ede8e0;
  --brown:     #5c4a32;
  --brown-light:#8b7355;

  --text-dark:  #1a1a1a;
  --text-mid:   #3d3d3d;
  --text-light: #6b6b6b;
  --text-inverse: #f7f4ef;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;

  --space-xs:  0.5rem;
  --space-sm:  0.75rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.12);
}

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

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--green-700);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--green-500);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* SKIP LINK */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--green-800);
  color: #fff;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  z-index: 200;
  font-weight: 600;
}
.skip-link:focus {
  top: var(--space-md);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 0.3s;
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--green-800);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
  text-decoration: none;
}

.logo-icon {
  flex-shrink: 0;
}

.logo-light {
  color: var(--text-inverse);
}

/* NAV */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  color: var(--green-800);
}

.hamburger {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: background 0.2s;
}
.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 2px;
  background: currentColor;
  left: 0;
  transition: transform 0.3s;
}
.hamburger::before { top: -7px; }
.hamburger::after  { top:  7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.nav-menu a {
  color: var(--text-mid);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-menu a:hover {
  color: var(--green-700);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
}

.btn-primary {
  background: var(--green-700);
  color: #fff;
  border-color: var(--green-700);
}
.btn-primary:hover {
  background: var(--green-800);
  border-color: var(--green-800);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  color: #fff;
}

.btn-accent {
  background: var(--green-600);
  color: #fff;
  border-color: var(--green-600);
}
.btn-accent:hover {
  background: var(--green-700);
  border-color: var(--green-700);
  color: #fff;
}

.btn-sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
}

/* ============================================
   SECTION UTILITIES
   ============================================ */
.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: var(--space-sm);
}

.section-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: var(--space-lg);
}

.section-headline em {
  font-style: italic;
  color: var(--green-700);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 560px;
  line-height: 1.7;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-900);
  overflow: hidden;
  padding-top: 72px;
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 61, 46, 0.92) 0%,
    rgba(20, 90, 62, 0.82) 50%,
    rgba(11, 61, 46, 0.88) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-4xl) var(--space-xl);
  max-width: 820px;
}

.hero-tag {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-100);
  margin-bottom: var(--space-lg);
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: var(--space-lg);
}

.hero-headline em {
  font-style: italic;
  color: var(--green-100);
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(247, 244, 239, 0.8);
  max-width: 560px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

.hero-badges {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.badge {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--green-100);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255,255,255,0.5);
  animation: bobble 2s ease-in-out infinite;
}

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

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: var(--space-4xl) 0;
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-images {
  position: relative;
}

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

.about-img-main img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.about-img-secondary {
  position: absolute;
  bottom: -40px;
  right: -30px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 5px solid var(--cream);
}

.about-img-secondary img {
  width: 240px;
  height: 240px;
  object-fit: cover;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.about-features {
  list-style: none;
  margin-top: var(--space-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.about-features li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
}

.about-features li svg {
  color: var(--green-600);
  flex-shrink: 0;
}

/* ============================================
   MENU
   ============================================ */
.menu {
  padding: var(--space-4xl) 0;
  background: var(--green-900);
}

.menu .section-eyebrow {
  color: var(--green-100);
}

.menu .section-headline {
  color: #fff;
}

.menu .section-headline em {
  color: var(--green-100);
}

.menu .section-desc {
  color: rgba(247,244,239,0.7);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.menu-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.menu-card-img {
  overflow: hidden;
}

.menu-card-img img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s;
}

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

.menu-card-body {
  padding: var(--space-xl);
}

.menu-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
}

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

.menu-cta {
  text-align: center;
  padding: var(--space-2xl);
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.1);
}

.menu-cta p {
  color: rgba(247,244,239,0.7);
  font-size: 1rem;
  margin-bottom: var(--space-lg);
}

/* ============================================
   VISIT
   ============================================ */
.visit {
  padding: var(--space-4xl) 0;
  background: var(--cream-light);
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.visit-info .section-headline {
  margin-bottom: var(--space-xl);
}

.visit-details {
  list-style: none;
  font-style: normal;
  margin-bottom: var(--space-2xl);
}

.visit-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--cream-dark);
}

.visit-detail svg {
  color: var(--green-600);
  flex-shrink: 0;
  margin-top: 2px;
}

.visit-detail span,
.visit-detail a {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.visit-detail a:hover {
  color: var(--green-700);
}

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

.visit-map img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* ============================================
   TESTIMONIAL
   ============================================ */
.testimonial {
  padding: var(--space-4xl) 0;
  background: var(--green-800);
  text-align: center;
}

.testimonial-content {
  max-width: 720px;
  margin: 0 auto;
}

.testimonial-quote {
  color: var(--green-100);
  margin-bottom: var(--space-lg);
  opacity: 0.6;
}

.testimonial blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: #fff;
  margin-bottom: var(--space-xl);
}

.testimonial-context {
  font-size: 1rem;
  color: rgba(247,244,239,0.65);
  line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--green-900);
  color: var(--text-inverse);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand p {
  color: rgba(247,244,239,0.6);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: var(--space-md);
  max-width: 280px;
}

.footer-contact h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: #fff;
}

.footer-contact p {
  font-size: 0.9rem;
  color: rgba(247,244,239,0.6);
  line-height: 1.8;
}

.footer-contact a {
  color: rgba(247,244,239,0.6);
}

.footer-contact a:hover {
  color: var(--green-100);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  color: rgba(247,244,239,0.6);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--green-100);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-xl);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(247,244,239,0.35);
}

/* ============================================
   SCROLL REVEAL (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .about-grid,
  .visit-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
  }

  .about-img-secondary {
    right: 0;
    bottom: -25px;
  }

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

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  :root {
    --space-4xl: 4rem;
    --space-3xl: 3rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-xl);
    gap: var(--space-md);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    box-shadow: var(--shadow-lg);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s, opacity 0.35s, visibility 0.35s;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu a {
    font-size: 1rem;
    padding: var(--space-sm) 0;
  }

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

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

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

  .about-img-secondary img {
    width: 160px;
    height: 160px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .visit-map img {
    height: 280px;
  }
}
