/* ============================================
   COUNTRY VIEW DINER & FAMILY — STYLES
   Palette: Burgundy (#A8324A) + Blush (#F4E8E4)
   Fonts: Playfair Display + Inter
   ============================================ */

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

:root {
  --burgundy: #A8324A;
  --burgundy-dark: #8C2739;
  --burgundy-deeper: #6E1F2D;
  --blush: #F4E8E4;
  --blush-light: #FAF3F0;
  --blush-dark: #E8D5CE;
  --cream: #FFFCFA;
  --text-dark: #2D1F1F;
  --text-mid: #5C4040;
  --text-light: #8A6565;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(45, 31, 31, 0.06), 0 1px 2px rgba(45, 31, 31, 0.04);
  --shadow-md: 0 4px 16px rgba(45, 31, 31, 0.08), 0 2px 4px rgba(45, 31, 31, 0.04);
  --shadow-lg: 0 12px 40px rgba(45, 31, 31, 0.12), 0 4px 12px rgba(45, 31, 31, 0.06);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  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;
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 252, 250, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(168, 50, 74, 0.08);
  transition: var(--transition);
}

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

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--burgundy);
}

.nav-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--burgundy);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-logo-text {
  transition: var(--transition);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.938rem;
  font-weight: 500;
}

.nav-links a {
  color: var(--text-mid);
  transition: var(--transition);
  position: relative;
}

.nav-links a:not(.btn):hover {
  color: var(--burgundy);
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--burgundy);
  border-radius: 1px;
  transition: var(--transition);
}

.nav-links a:not(.btn):hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--burgundy);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-toggle:hover {
  background: var(--blush);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.938rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

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

.btn--primary:hover {
  background: var(--burgundy-dark);
  border-color: var(--burgundy-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(168, 50, 74, 0.3);
}

.btn--ghost {
  background: rgba(255, 252, 250, 0.15);
  color: var(--white);
  border-color: rgba(255, 252, 250, 0.5);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: var(--white);
  color: var(--burgundy);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn--ghost-light {
  background: rgba(255, 252, 250, 0.12);
  color: var(--white);
  border-color: rgba(255, 252, 250, 0.4);
}

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

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

.btn--outline:hover {
  background: var(--burgundy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(168, 50, 74, 0.25);
}

.btn--nav {
  padding: 0.6rem 1.4rem;
  font-size: 0.875rem;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.813rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 1rem;
}

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

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header .section-desc {
  margin: 0 auto;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  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(45, 31, 31, 0.72) 0%,
    rgba(110, 31, 45, 0.65) 50%,
    rgba(168, 50, 74, 0.55) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  padding: 2rem;
}

.hero-eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 252, 250, 0.8);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.2);
}

.hero-headline br {
  display: none;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 252, 250, 0.88);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255, 252, 250, 0.7);
  animation: float 2.5s ease-in-out infinite;
  transition: var(--transition);
}

.hero-scroll:hover {
  color: var(--white);
}

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

/* ============================================
   HIGHLIGHTS
   ============================================ */
.highlights {
  padding: 5rem 0;
  background: var(--cream);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.highlight-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(168, 50, 74, 0.06);
  transition: var(--transition);
}

.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(168, 50, 74, 0.12);
}

.highlight-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blush);
  border-radius: var(--radius-md);
  color: var(--burgundy);
  transition: var(--transition);
}

.highlight-card:hover .highlight-icon {
  background: var(--burgundy);
  color: var(--white);
}

.highlight-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

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

/* ============================================
   MENU
   ============================================ */
.menu {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--blush-light) 100%);
}

.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.menu-tab {
  padding: 0.7rem 1.5rem;
  border: 2px solid var(--blush-dark);
  background: var(--white);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.938rem;
  font-weight: 500;
  color: var(--text-mid);
  cursor: pointer;
  transition: var(--transition);
}

.menu-tab:hover {
  border-color: var(--burgundy);
  color: var(--burgundy);
}

.menu-tab.active {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: var(--white);
}

.menu-panel {
  display: none;
}

.menu-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.menu-item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(168, 50, 74, 0.05);
  transition: var(--transition);
}

.menu-item:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(168, 50, 74, 0.1);
  transform: translateY(-2px);
}

.menu-item-body h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.menu-item-body p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: 6rem 0;
  background: var(--white);
}

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

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

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.about-content .section-title {
  text-align: left;
  margin-bottom: 1.25rem;
}

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

.about-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--blush-dark);
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--burgundy);
  line-height: 1;
  margin-bottom: 0.4rem;
}

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

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--blush-light) 0%, var(--blush) 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(168, 50, 74, 0.06);
  transition: var(--transition);
}

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

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--burgundy);
}

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

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

.visit-info .section-eyebrow {
  text-align: left;
}

.visit-info .section-title {
  text-align: left;
  margin-bottom: 1rem;
}

.visit-info > .section-desc {
  text-align: left;
  margin-bottom: 2.5rem;
}

.visit-details {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.visit-detail {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.visit-detail-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blush);
  border-radius: var(--radius-sm);
  color: var(--burgundy);
}

.visit-detail h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.visit-detail p {
  font-size: 0.938rem;
  color: var(--text-mid);
  line-height: 1.6;
}

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

.visit-detail a:hover {
  color: var(--burgundy-dark);
  text-decoration: underline;
}

.visit-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

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

/* ============================================
   CTA
   ============================================ */
.cta {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

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

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

.cta .hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(110, 31, 45, 0.82) 0%,
    rgba(168, 50, 74, 0.75) 50%,
    rgba(140, 39, 57, 0.82) 100%
  );
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-content .section-title {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-content .section-desc {
  color: rgba(255, 252, 250, 0.88);
  margin: 0 auto 2.5rem;
  text-align: center;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--text-dark);
  color: rgba(255, 252, 250, 0.7);
  padding: 4rem 0 0;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--burgundy);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
}

.footer-brand p {
  font-size: 0.938rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.938rem;
  color: rgba(255, 252, 250, 0.6);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 0.25rem;
}

.footer-contact p {
  font-size: 0.938rem;
  line-height: 1.7;
  margin-bottom: 0.25rem;
}

.footer-contact a {
  color: rgba(255, 252, 250, 0.7);
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 252, 250, 0.08);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.813rem;
  color: rgba(255, 252, 250, 0.4);
}

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

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

/* Fallback: always visible if JS is disabled */
.no-js .reveal,
:not(.reveal) {
  opacity: 1;
  transform: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .highlights-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .about-grid,
  .visit-grid {
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 252, 250, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(168, 50, 74, 0.08);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

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

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-headline {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .hero-headline br {
    display: block;
  }

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

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

  .about-grid,
  .visit-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image {
    order: -1;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-content .section-eyebrow,
  .about-content .section-title,
  .visit-info .section-eyebrow,
  .visit-info .section-title,
  .visit-info > .section-desc {
    text-align: center;
  }

  .about-content > p {
    text-align: center;
  }

  .about-stats {
    justify-content: center;
  }

  .visit-actions {
    justify-content: center;
  }

  .visit-map {
    min-height: 300px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

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

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .menu-tabs {
    gap: 0.375rem;
  }

  .menu-tab {
    padding: 0.55rem 1rem;
    font-size: 0.813rem;
  }

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

  .cta-actions .btn {
    width: 100%;
    max-width: 280px;
  }
}
