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

:root {
  --burgundy: #6B0F1A;
  --burgundy-deep: #4A0A12;
  --burgundy-light: #8B1A26;
  --blush: #F5E6D3;
  --blush-light: #FBF5EE;
  --blush-mid: #E8D5C4;
  --cream: #FFFDF9;
  --text-dark: #1A1A1A;
  --text-mid: #4A4A4A;
  --text-light: #7A7A7A;
  --white: #FFFFFF;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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;
  overflow-x: hidden;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

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

/* ===== Typography ===== */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: var(--space-sm);
}

.section-headline {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  color: var(--text-dark);
  margin-bottom: var(--space-md);
}

.section-headline em {
  font-style: italic;
  color: var(--burgundy);
  font-weight: 400;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

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

.btn-primary:hover {
  background-color: var(--burgundy-deep);
  border-color: var(--burgundy-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(107, 15, 26, 0.25);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

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

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-sm) 0;
  transition: all var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 253, 249, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(107, 15, 26, 0.08);
  padding: 0.75rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  transition: color var(--transition);
}

.site-header.scrolled .logo {
  color: var(--burgundy);
}

.logo-icon {
  color: currentColor;
}

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

.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition);
  position: relative;
}

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

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

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

.site-header.scrolled .main-nav a {
  color: var(--text-mid);
}

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

.nav-cta {
  padding: 0.5rem 1.25rem !important;
  border: 1.5px solid rgba(255, 255, 255, 0.5) !important;
  border-radius: var(--radius-sm);
  transition: all var(--transition) !important;
}

.nav-cta::after {
  display: none !important;
}

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

.site-header.scrolled .nav-cta {
  border-color: var(--burgundy) !important;
  color: var(--burgundy) !important;
}

.site-header.scrolled .nav-cta:hover {
  background: var(--burgundy) !important;
  color: var(--white) !important;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 1001;
}

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

.site-header.scrolled .nav-toggle-bar {
  background: var(--burgundy);
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Nav Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--cream);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.nav-overlay.active {
  display: flex;
  opacity: 1;
}

.nav-overlay nav ul {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.nav-overlay nav a {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  transition: color var(--transition);
}

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

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

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 10, 8, 0.55) 0%,
    rgba(107, 15, 26, 0.45) 50%,
    rgba(74, 10, 18, 0.7) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: var(--space-xl);
  max-width: 720px;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blush);
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero-headline {
  font-size: clamp(2.75rem, 7vw, 5rem);
  color: var(--white);
  line-height: 1.05;
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}

.hero-headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--blush);
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: rgba(245, 230, 211, 0.8);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: var(--space-lg);
  opacity: 0;
  animation: fadeUp 0.8s 0.6s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  opacity: 0;
  animation: fadeUp 0.8s 0.8s forwards;
}

.scroll-indicator {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}

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

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-8px); }
  60% { transform: translateX(-50%) translateY(-4px); }
}

/* ===== Story ===== */
.story {
  padding: var(--space-2xl) 0;
  background: var(--cream);
}

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

.story-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}

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

.story-image-wrap:hover img {
  transform: scale(1.03);
}

.story-text {
  padding: var(--space-md) 0;
}

.story-text p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: var(--space-sm);
}

.story-stats {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--blush-mid);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--burgundy);
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-light);
  letter-spacing: 0.04em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--blush-mid);
}

/* ===== Menu ===== */
.menu {
  padding: var(--space-2xl) 0;
  background: var(--blush-light);
}

.menu-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-xl);
}

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

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

.menu-category {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  transition: all var(--transition);
  border: 1px solid transparent;
}

.menu-category:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(107, 15, 26, 0.08);
  border-color: var(--blush-mid);
}

.category-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blush);
  border-radius: var(--radius-md);
  color: var(--burgundy);
  margin-bottom: var(--space-sm);
}

.category-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--blush);
}

.menu-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.menu-items li {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding: var(--space-xs) 0;
  border-bottom: 1px solid var(--blush-light);
}

.menu-items li:last-child {
  border-bottom: none;
}

.item-name {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-dark);
}

.item-desc {
  font-size: 0.8125rem;
  color: var(--text-light);
  line-height: 1.5;
}

.menu-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-light);
  margin-top: var(--space-lg);
  font-style: italic;
}

/* ===== Gallery ===== */
.gallery {
  padding: var(--space-2xl) 0 var(--space-xl);
  background: var(--cream);
}

.gallery-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: var(--space-sm);
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(107, 15, 26, 0.15), transparent 40%);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover::after {
  opacity: 1;
}

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

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

.gallery-item--tall {
  grid-column: span 4;
  grid-row: span 2;
}

.gallery-item:not(.gallery-item--tall) {
  grid-column: span 4;
}

/* ===== Visit ===== */
.visit {
  padding: var(--space-2xl) 0;
  background: var(--burgundy);
  color: var(--white);
}

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

.visit-info {
  padding: var(--space-lg) var(--space-lg) var(--space-lg) 0;
}

.visit .section-headline {
  color: var(--white);
}

.visit .section-headline em {
  color: var(--blush);
}

.visit-details {
  font-style: normal;
  margin: var(--space-lg) 0;
}

.visit-details p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: rgba(245, 230, 211, 0.85);
  margin-bottom: var(--space-sm);
}

.visit-details a {
  color: var(--blush);
  border-bottom: 1px solid rgba(245, 230, 211, 0.3);
  transition: all var(--transition);
}

.visit-details a:hover {
  color: var(--white);
  border-color: var(--white);
}

.hours-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blush);
  margin-bottom: var(--space-sm);
}

.hours-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  padding-bottom: 0.625rem;
  border-bottom: 1px solid rgba(245, 230, 211, 0.15);
  font-size: 0.9375rem;
}

.hours-list .day {
  color: rgba(245, 230, 211, 0.7);
}

.hours-list .time {
  color: var(--blush);
  font-weight: 500;
}

.visit-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 400px;
}

.visit-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
}

/* ===== Contact ===== */
.contact {
  padding: var(--space-2xl) 0;
  background: var(--cream);
}

.contact-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.contact-intro {
  font-size: 1.0625rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.contact-form {
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.form-group {
  margin-bottom: var(--space-sm);
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--white);
  border: 1.5px solid var(--blush-mid);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(107, 15, 26, 0.08);
}

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

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

.form-success {
  display: none;
  margin-top: var(--space-md);
  padding: 1rem 1.25rem;
  background: var(--blush);
  border-radius: var(--radius-sm);
  color: var(--burgundy);
  font-weight: 500;
  text-align: center;
}

.form-success.visible {
  display: block;
  animation: fadeUp 0.4s forwards;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--burgundy-deep);
  color: var(--white);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(245, 230, 211, 0.12);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
  gap: var(--space-sm);
}

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

.footer-tagline {
  font-size: 0.9375rem;
  color: rgba(245, 230, 211, 0.6);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: rgba(245, 230, 211, 0.4);
}

.footer-bottom a {
  color: rgba(245, 230, 211, 0.5);
  transition: color var(--transition);
}

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

/* ===== Scroll Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .menu-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

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

  .gallery-item--tall {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 16/9;
  }

  .gallery-item:not(.gallery-item--tall) {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 4rem;
    --space-2xl: 5rem;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
  }

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

  .story-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .story-image-wrap {
    aspect-ratio: 3/4;
  }

  .story-stats {
    flex-wrap: wrap;
  }

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

  .visit-info {
    padding: 0 0 var(--space-lg) 0;
  }

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

  .gallery-item--tall {
    grid-column: span 1;
    aspect-ratio: 4/3;
  }

  .gallery-item:not(.gallery-item--tall) {
    grid-column: span 1;
    aspect-ratio: 4/3;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-sm);
  }

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

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .menu-category {
    padding: var(--space-md) var(--space-sm);
  }
}
