/* ============================================
   Lund's Rustic Tavern — Styles
   Palette: Burgundy (#7B2D3B) + Blush (#F4D4D8)
   Fonts: Playfair Display + Inter
   ============================================ */

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

:root {
  --burgundy: #7B2D3B;
  --burgundy-dark: #5C1F2B;
  --burgundy-light: #9A3A4A;
  --blush: #F4D4D8;
  --blush-light: #F9E8EA;
  --blush-lighter: #FDF3F4;
  --cream: #FDF8F7;
  --cream-dark: #F5EDEB;
  --text-dark: #2A1F22;
  --text-mid: #5C4A4E;
  --text-light: #8A7478;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(123, 45, 59, 0.06), 0 1px 2px rgba(123, 45, 59, 0.04);
  --shadow-md: 0 4px 16px rgba(123, 45, 59, 0.08), 0 2px 6px rgba(123, 45, 59, 0.04);
  --shadow-lg: 0 12px 40px rgba(123, 45, 59, 0.10), 0 4px 12px rgba(123, 45, 59, 0.05);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, 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-color: 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 24px;
}

/* SKIP LINK */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--burgundy);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-size: 0.875rem;
  font-weight: 500;
}
.skip-link:focus {
  top: 16px;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(253, 248, 247, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(123, 45, 59, 0.07);
  transition: box-shadow var(--transition);
}

.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: 10px;
  text-decoration: none;
}

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

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--burgundy);
}

.logo-tagline {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* NAV */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color var(--transition);
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--burgundy);
  transition: width var(--transition);
}

.main-nav a:hover {
  color: var(--burgundy);
}

.main-nav a:hover::after {
  width: 100%;
}

/* NAV TOGGLE */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 101;
}

.hamburger {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger::before,
.hamburger::after,
.hamburger span {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger::before { transform: translateY(-6px); }
.hamburger::after { transform: translateY(6px); }

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-sm { padding: 8px 18px; font-size: 0.8125rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-full { width: 100%; }

.btn-burgundy {
  background: var(--burgundy);
  color: var(--white);
  border-color: var(--burgundy);
}
.btn-burgundy:hover {
  background: var(--burgundy-dark);
  border-color: var(--burgundy-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-blush {
  background: var(--blush);
  color: var(--burgundy-dark);
  border-color: var(--blush);
}
.btn-blush:hover {
  background: #ecc4c9;
  border-color: #ecc4c9;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--burgundy);
  border-color: var(--white);
}

/* ============================================
   SECTION EYEBROW & TITLE
   ============================================ */
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 12px;
}

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

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

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

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(92, 31, 43, 0.92) 0%,
    rgba(123, 45, 59, 0.82) 40%,
    rgba(154, 58, 74, 0.65) 70%,
    rgba(244, 212, 216, 0.3) 100%
  );
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(92, 31, 43, 0.3) 0%,
    rgba(92, 31, 43, 0.1) 50%,
    rgba(92, 31, 43, 0.5) 100%
  );
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
  padding-top: 24px;
  padding-bottom: 24px;
}

.hero-content {
  color: var(--white);
  max-width: 560px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blush);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 24px;
}

.hero-title-line {
  display: block;
  color: var(--white);
}

.hero-title-accent {
  display: block;
  color: var(--blush);
  font-style: italic;
}

.hero-desc {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-meta {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
}

.hero-meta-item a {
  color: var(--blush);
  transition: color var(--transition);
}
.hero-meta-item a:hover { color: var(--white); }

.meta-icon {
  width: 18px;
  height: 18px;
  opacity: 0.7;
  flex-shrink: 0;
}

/* HERO ASIDE */
.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.hero-card--photo {
  aspect-ratio: 3 / 4;
}

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

.hero-card--info {
  background: var(--white);
  padding: 28px;
  color: var(--text-dark);
}

.hero-card-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 16px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--cream-dark);
  font-size: 0.9375rem;
}

.hours-row:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.hours-row span:first-child {
  color: var(--text-mid);
  font-weight: 500;
}

.hours-row span:last-child {
  color: var(--text-dark);
  font-weight: 600;
}

.hero-card-note {
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-top: 12px;
  font-style: italic;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: 120px 0;
  background: var(--cream);
  overflow: hidden;
}

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

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-image-accent {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 200px;
  height: 200px;
  background: var(--blush);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.6;
}

.about-content {
  max-width: 480px;
}

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

.about-signature {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--cream-dark);
}

.signature-line {
  flex: 0 0 48px;
  height: 2px;
  background: var(--burgundy);
  border-radius: 2px;
}

.signature-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--text-light);
}

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

.menu-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.menu-header p.section-eyebrow {
  margin-bottom: 12px;
}

.menu-intro {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-mid);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.menu-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(123, 45, 59, 0.05);
  transition: all var(--transition);
}

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

.menu-card-icon {
  width: 56px;
  height: 56px;
  background: var(--blush-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--burgundy);
}

.menu-card-icon svg {
  width: 28px;
  height: 28px;
}

.menu-card-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.menu-card-desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-mid);
}

.menu-cta {
  text-align: center;
  padding: 40px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(123, 45, 59, 0.05);
}

.menu-cta p {
  font-size: 1.0625rem;
  color: var(--text-mid);
  margin-bottom: 20px;
}

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

/* ============================================
   GALLERY
   ============================================ */
.gallery {
  padding: 120px 0 80px;
  background: var(--blush-lighter);
}

.gallery-header {
  text-align: center;
  margin-bottom: 48px;
}

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

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  position: relative;
}

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

.gallery-item:hover img {
  transform: scale(1.05);
}

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

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

.visit-info {
  max-width: 480px;
}

.visit-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 40px 0;
}

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

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

.detail-icon svg {
  width: 22px;
  height: 22px;
}

.detail-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}

.detail-value {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
}

.detail-value a {
  color: var(--burgundy);
  font-weight: 500;
  transition: color var(--transition);
}
.detail-value a:hover { color: var(--burgundy-dark); }

.visit-map {
  margin-top: 8px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* FORM */
.visit-form-wrap {
  max-width: 480px;
}

.visit-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(123, 45, 59, 0.05);
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 0.9375rem;
  color: var(--text-mid);
  margin-bottom: 32px;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-mid);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-dark);
  background: var(--cream);
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input::placeholder {
  color: var(--text-light);
}

.form-input:focus {
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(123, 45, 59, 0.08);
  background: var(--white);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px;
  text-align: center;
  color: var(--burgundy);
}

.form-success svg {
  width: 48px;
  height: 48px;
}

.form-success p {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-mid);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--burgundy-dark);
  color: var(--white);
  padding: 64px 0 32px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-logo-mark {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.12);
  color: var(--blush);
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  font-style: italic;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.footer-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}

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

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

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

/* ============================================
   SCROLL REVEAL (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .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; }
}

/* Default visible state for no-JS */
.reveal {
  opacity: 1;
  transform: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr 300px;
    gap: 32px;
  }
  
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-layout {
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(253, 248, 247, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 24px;
    border-bottom: 1px solid rgba(123, 45, 59, 0.07);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform var(--transition), opacity var(--transition);
    pointer-events: none;
  }
  
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 20px;
  }
  
  .main-nav a {
    font-size: 1rem;
  }
  
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-aside {
    flex-direction: row;
    gap: 12px;
  }
  
  .hero-card--photo {
    flex: 1;
    aspect-ratio: 3 / 4;
  }
  
  .hero-card--info {
    flex: 1;
  }
  
  .about-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-image { order: -1; }
  
  .menu-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .visit-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .visit-form-wrap {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .hero-aside {
    flex-direction: column;
  }
  
  .hero-card--photo {
    aspect-ratio: 16 / 9;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .visit-form-card {
    padding: 24px;
  }
  
  .footer-links {
    gap: 16px;
  }
}
