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

:root {
  --terra:        #C0603C;
  --terra-dark:   #9A4428;
  --terra-light:  #D4896A;
  --sand:         #F5EDE3;
  --sand-light:   #FAF6F1;
  --sand-mid:     #EDE4D8;
  --clay:         #7A3B22;
  --charcoal:     #2A2420;
  --warm-gray:    #6B5F56;
  --cream:        #FDF9F5;
  --white:        #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Outfit', system-ui, sans-serif;

  --nav-h: 72px;
  --radius: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
address { font-style: normal; }

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

/* ── Typography ───────────────────────────────────── */
.label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 12px;
}
.label-center { text-align: center; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 20px;
}
.section-title-center { text-align: center; }

.section-lead {
  font-size: 1.05rem;
  color: var(--warm-gray);
  max-width: 560px;
  line-height: 1.8;
}
.section-lead-center { margin: 0 auto 48px; text-align: center; }

.section { padding: 100px 0; }

/* ── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  border-radius: var(--radius);
  transition: var(--transition);
}
.btn-primary {
  background: var(--terra);
  color: var(--white);
  border: 1.5px solid var(--terra);
}
.btn-primary:hover {
  background: var(--terra-dark);
  border-color: var(--terra-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(192, 96, 60, 0.3);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}
.btn-full { width: 100%; }

/* ── Nav ──────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(253, 249, 245, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(42, 36, 32, 0.08);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.02em;
  transition: var(--transition);
}
.nav.scrolled .nav-brand { color: var(--charcoal); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.nav.scrolled .nav-links a { color: var(--warm-gray); }
.nav.scrolled .nav-links a:hover { color: var(--charcoal); }

.nav-cta {
  padding: 8px 20px !important;
  border: 1.5px solid rgba(255,255,255,0.4) !important;
  border-radius: var(--radius) !important;
  transition: var(--transition) !important;
}
.nav-cta:hover {
  background: rgba(255,255,255,0.1) !important;
  border-color: rgba(255,255,255,0.8) !important;
}
.nav.scrolled .nav-cta {
  border-color: var(--terra) !important;
  color: var(--terra) !important;
}
.nav.scrolled .nav-cta:hover {
  background: var(--terra) !important;
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: var(--transition);
}
.nav.scrolled .nav-toggle span { background: var(--charcoal); }

/* ── Hero ─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg,
      #8B3A22 0%,
      #C0603C 25%,
      #D4896A 50%,
      #E8B896 70%,
      #F5C4A0 85%,
      #F5EDE3 100%
    );
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(139, 58, 34, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(192, 96, 60, 0.3) 0%, transparent 50%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 0 24px;
  color: var(--white);
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 24px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--white);
}
.hero-sub {
  font-size: 1.05rem;
  line-height: 1.8;
  opacity: 0.9;
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  color: var(--white);
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--white);
  opacity: 0.6;
  transition: var(--transition);
  animation: float 2.5s ease-in-out infinite;
}
.hero-scroll:hover { opacity: 1; }
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── About ────────────────────────────────────────── */
.about { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}
.about-text .section-title { margin-bottom: 24px; }
.about-text p {
  color: var(--warm-gray);
  margin-bottom: 16px;
  font-size: 0.95rem;
}
.about-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--sand-mid);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-number {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--terra);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--warm-gray);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--sand-mid);
}

/* ── Menu ─────────────────────────────────────────── */
.menu { background: var(--sand-light); }
.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 10px 24px;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--warm-gray);
  border: 1.5px solid var(--sand-mid);
  border-radius: 100px;
  transition: var(--transition);
}
.tab-btn:hover { border-color: var(--terra-light); color: var(--terra); }
.tab-btn.active {
  background: var(--terra);
  border-color: var(--terra);
  color: var(--white);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  max-width: 860px;
  margin: 0 auto;
}
.menu-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--sand-mid);
}
.menu-item-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}
.menu-item-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--charcoal);
}
.menu-item-dots {
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--sand-mid) 0, var(--sand-mid) 4px, transparent 4px, transparent 8px);
}
.menu-item-price {
  font-size: 0.8rem;
  color: var(--warm-gray);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.menu-item-desc {
  font-size: 0.875rem;
  color: var(--warm-gray);
  line-height: 1.6;
}
.menu-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--warm-gray);
  margin-top: 32px;
  opacity: 0.7;
}

/* ── Gallery ──────────────────────────────────────── */
.gallery { background: var(--cream); }
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
  margin-top: 48px;
}
.gallery-item { overflow: hidden; border-radius: var(--radius); }
.gallery-item--wide { grid-column: 1 / -1; }
.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.03); }

/* ── Visit ────────────────────────────────────────── */
.visit { background: var(--sand-light); }
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.visit-info .section-title { margin-bottom: 16px; }
.visit-address {
  font-size: 1.05rem;
  color: var(--charcoal);
  margin-bottom: 16px;
  line-height: 1.8;
}
.visit-phone {
  font-size: 1rem;
  margin-bottom: 40px;
}
.visit-phone a {
  color: var(--terra);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.visit-phone a:hover { border-color: var(--terra); }

.hours { margin-bottom: 32px; }
.hours-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 16px;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--sand-mid);
  font-size: 0.9rem;
  color: var(--warm-gray);
}
.hours-row span:last-child { color: var(--charcoal); font-weight: 400; }

.visit-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(42, 36, 32, 0.08);
}
.visit-map iframe { width: 100%; height: 100%; min-height: 400px; }

/* ── Contact ──────────────────────────────────────── */
.contact { background: var(--cream); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-text .section-title { margin-bottom: 16px; }
.contact-text .section-lead { margin-bottom: 0; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm-gray);
}
.form-group input,
.form-group textarea {
  padding: 14px 16px;
  border: 1.5px solid var(--sand-mid);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--charcoal);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--terra);
  box-shadow: 0 0 0 3px rgba(192, 96, 60, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--sand-mid); }
.form-success {
  text-align: center;
  padding: 16px;
  font-size: 0.9rem;
  color: var(--terra-dark);
  background: rgba(192, 96, 60, 0.06);
  border-radius: var(--radius);
  border: 1px solid rgba(192, 96, 60, 0.15);
}

/* ── Footer ───────────────────────────────────────── */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 8px;
}
.footer-tagline {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  opacity: 0.6;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.875rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--white); opacity: 1; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; font-size: 0.875rem; }
.footer-contact a { transition: var(--transition); }
.footer-contact a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 24px;
  font-size: 0.8rem;
  opacity: 0.5;
}

/* ── Scroll reveal (below-fold only) ──────────────── */
.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,
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .menu-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item--wide { grid-column: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(253, 249, 245, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    transform: translateY(-120%);
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(42, 36, 32, 0.1);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { color: var(--charcoal) !important; font-size: 1rem; }
  .nav-cta {
    border-color: var(--terra) !important;
    color: var(--terra) !important;
  }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .section { padding: 72px 0; }
  .hero-headline { font-size: clamp(1.8rem, 7vw, 2.8rem); }
  .hero-actions { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .about-stats { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: no-preference) {
  .reveal { will-change: opacity, transform; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
