/* ========================================
   LA MAISON BAKERY — Premium CSS Stylesheet
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Lato:wght@300;400;700&family=Dancing+Script:wght@600;700&display=swap');

/* ===== DESIGN TOKENS ===== */
:root {
  /* Gold Palette */
  --gold:          #C9A84C;
  --gold-light:    #E8C97A;
  --gold-lighter:  #F5E6B8;
  --gold-dark:     #9A7A2E;
  --gold-glow:     rgba(201,168,76,0.25);

  /* Warm Neutrals */
  --cream:         #FDF8F1;
  --cream-2:       #F5ECD8;
  --cream-3:       #EDE0C4;

  /* Brown Hierarchy */
  --brown-900:     #1E1209;
  --brown-800:     #2E1B0E;
  --brown-700:     #3D2B1F;
  --brown-600:     #5A3D28;
  --brown-500:     #7A5235;
  --brown-400:     #A07050;
  --brown-300:     #C09070;
  --brown-200:     #D4B08A;
  --brown-100:     #E8D0B5;

  /* Text Colors - explicit for readability */
  --text-on-light:   #1E1209;   /* Dark text on cream/white backgrounds */
  --text-mid-light:  #3D2B1F;   /* Medium text on light backgrounds */
  --text-soft-light: #7A5235;   /* Subtle text on light backgrounds */
  --text-on-dark:    #FFFFFF;   /* White text on dark backgrounds */
  --text-mid-dark:   rgba(255,255,255,0.82); /* Slightly dim on dark */
  --text-soft-dark:  rgba(255,255,255,0.58); /* Subtle on dark backgrounds */

  /* Semantic */
  --white:         #FFFFFF;
  --tag-red:       #B03030;
  --tag-green:     #2D8050;
  --tag-amber:     #9A7A2E;

  /* Typography */
  --font-serif:    'Playfair Display', Georgia, serif;
  --font-sans:     'Lato', 'Helvetica Neue', sans-serif;
  --font-script:   'Dancing Script', cursive;

  /* Spacing */
  --section-pad:   100px 0;

  /* Shadows */
  --shadow-xs:  0 1px 6px rgba(30,18,9,0.06);
  --shadow-sm:  0 4px 16px rgba(30,18,9,0.10);
  --shadow-md:  0 10px 36px rgba(30,18,9,0.14);
  --shadow-lg:  0 24px 64px rgba(30,18,9,0.20);
  --shadow-xl:  0 40px 80px rgba(30,18,9,0.26);
  --shadow-gold: 0 8px 32px rgba(201,168,76,0.35);

  /* Radii */
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   32px;
  --radius-pill: 999px;

  /* Easing */
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== BASE RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text-on-light);
  overflow-x: hidden;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.25s; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-sans); }
input, select, textarea { font-family: var(--font-sans); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}
.section { padding: var(--section-pad); }

/* ===== PRELOADER ===== */
#preloader {
  position: fixed; inset: 0;
  background: var(--brown-900);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.preloader-content { text-align: center; }
.preloader-icon { margin-bottom: 28px; }
.preloader-svg { width: 72px; height: 72px; animation: rotateIn 1.2s var(--ease-spring) both; }
@keyframes rotateIn { from{opacity:0;transform:rotate(-180deg) scale(0.5)} to{opacity:1;transform:rotate(0) scale(1)} }

.preloader-bar {
  width: 220px; height: 3px;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-pill);
  overflow: hidden; margin: 0 auto 18px;
}
.preloader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  border-radius: var(--radius-pill);
  animation: loadbar 2.2s var(--ease) forwards;
}
@keyframes loadbar { 0%{width:0} 100%{width:100%} }
.preloader-content p {
  color: var(--text-soft-dark);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: all 0.4s var(--ease);
}
.navbar.scrolled {
  background: rgba(253,248,241,0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(201,168,76,0.15), var(--shadow-sm);
}

.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; gap: 40px;
}

.nav-logo { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.logo-img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 700; color: var(--white); }
.navbar.scrolled .logo-name { color: var(--brown-700); }
.logo-sub { font-size: 0.62rem; color: var(--gold-light); letter-spacing: 0.18em; text-transform: uppercase; }
.navbar.scrolled .logo-sub { color: var(--gold-dark); }

.nav-links { display: flex; gap: 32px; margin-left: auto; }
.nav-link {
  font-size: 0.88rem; font-weight: 400;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.03em;
  position: relative;
  transition: color 0.3s;
}
.navbar.scrolled .nav-link { color: var(--text-mid-light); }
.nav-link::after {
  content: ''; position: absolute; bottom: -5px; left: 0;
  width: 0; height: 2px; background: var(--gold);
  border-radius: var(--radius-pill);
  transition: width 0.3s var(--ease);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover { color: var(--gold-light); }
.navbar.scrolled .nav-link:hover { color: var(--gold-dark); }
.nav-link.active { color: var(--gold-light); }
.navbar.scrolled .nav-link.active { color: var(--gold-dark); }

.btn-order {
  background: var(--gold);
  color: var(--white);
  padding: 11px 26px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: all 0.3s var(--ease);
  flex-shrink: 0;
  white-space: nowrap;
}
.btn-order:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* Order CTA inside mobile menu (hidden on desktop) */
.nav-cta-mobile { display: none; }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; margin-left: auto; }
.hamburger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s; display: block; }
.navbar.scrolled .hamburger span { background: var(--brown-700); }

/* Close (X) button — only visible inside the open mobile menu */
.nav-close { display: none; background: none; border: none; cursor: pointer; }

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh; min-height: 700px;
  display: flex; align-items: center;
  padding-top: 96px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transform: scale(1.05);
  animation: heroZoom 8s var(--ease) forwards;
}
@keyframes heroZoom { to{transform:scale(1)} }

.hero-overlay {
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(10,5,2,0.92) 0%,
    rgba(18,9,3,0.82) 40%,
    rgba(10,5,2,0.88) 75%,
    rgba(2,1,0,0.97) 100%
  );
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 680px;
  margin-left: 8vw;
  animation: fadeInUp 1s 0.6s both;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold-light);
  font-size: 0.75rem; letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-tag svg { flex-shrink: 0; }

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  color: var(--white);
  line-height: 1.12; margin-bottom: 24px;
  font-weight: 700;
  text-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
  font-family: var(--font-script);
  font-size: 1.12em;
}

.hero-subtitle {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem; font-weight: 300;
  line-height: 1.75; margin-bottom: 40px; max-width: 520px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

/* ===== GLOBAL BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold);
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem; font-weight: 700;
  letter-spacing: 0.04em;
  border: 2px solid var(--gold);
  transition: all 0.3s var(--ease);
}
.btn-primary:hover {
  background: var(--gold-dark); border-color: var(--gold-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
  color: var(--white);
}
.btn-primary.full-width { width: 100%; justify-content: center; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--white);
  padding: 14px 32px; border-radius: var(--radius-pill);
  font-size: 0.92rem; font-weight: 700;
  letter-spacing: 0.04em;
  border: 2px solid rgba(255,255,255,0.45);
  transition: all 0.3s var(--ease);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white); transform: translateY(-3px);
}

/* ===== HERO STATS ===== */
.hero-stats { display: flex; align-items: center; gap: 36px; }
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-serif); font-size: 2.2rem; font-weight: 700;
  color: var(--gold-light); line-height: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.stat-label { font-size: 0.72rem; color: rgba(255,255,255,0.85); letter-spacing: 0.07em; margin-top: 4px; text-shadow: 0 2px 6px rgba(0,0,0,0.8); }
.stat-divider { width: 1px; height: 44px; background: rgba(255,255,255,0.2); }

.hero-scroll {
  position: absolute; bottom: 40px; right: 60px;
  display: flex; flex-direction: column; align-items: center; gap: 12px; z-index: 2;
}
.hero-scroll span {
  font-size: 0.68rem; color: rgba(255,255,255,0.55);
  writing-mode: vertical-rl; letter-spacing: 0.2em; text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.55), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:1;height:60px} 50%{opacity:0.3;height:30px} }

/* ===== MARQUEE ===== */
.marquee-strip {
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark));
  padding: 15px 0; overflow: hidden;
}
.marquee-track {
  display: flex; gap: 0;
  width: max-content;
  animation: marquee 35s linear infinite;
}
.marquee-track span {
  color: var(--white);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 36px;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.marquee-track span svg { flex-shrink: 0; opacity: 0.85; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; margin-bottom: 68px; }

.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold-dark);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  margin-bottom: 14px;
}
.section-label::before, .section-label::after {
  content: '';
  display: block; width: 32px; height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-on-light);
  line-height: 1.2; margin-bottom: 16px;
}
.section-title em {
  font-style: italic;
  color: var(--gold-dark);
  font-family: var(--font-script);
  font-size: 1.1em;
}

.section-subtitle {
  color: var(--text-soft-light);
  font-size: 1rem;
  max-width: 540px; margin: 0 auto; line-height: 1.75;
}

/* ===== ABOUT SECTION ===== */
.about { background: var(--cream); }

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

.about-images { position: relative; }
.about-img-main {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/5;
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.about-img-main:hover img { transform: scale(1.04); }

.about-img-badge {
  position: absolute; bottom: -28px; right: -28px;
  width: 128px; height: 128px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-gold);
  border: 5px solid var(--white);
}
.badge-content { text-align: center; color: var(--white); }
.badge-num { display: block; font-family: var(--font-serif); font-size: 2.2rem; font-weight: 700; line-height: 1; }
.badge-text { font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.9; }

/* About text */
.about-text .section-label { justify-content: flex-start; }
.about-text .section-label::before { display: none; }
.about-text .section-title { text-align: left; }

.about-desc {
  color: var(--text-mid-light);
  font-size: 0.97rem; line-height: 1.82; margin-bottom: 16px;
}

.about-features { display: flex; flex-direction: column; gap: 14px; margin: 32px 0 36px; }
.feature-item {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 18px 20px;
  background: var(--cream-2);
  border-radius: var(--radius-md);
  border: 1px solid var(--cream-3);
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}
.feature-item:hover { transform: translateX(7px); box-shadow: var(--shadow-sm); background: var(--white); }
.feature-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold-lighter), var(--cream-2));
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--cream-3);
}
.feature-icon svg { width: 22px; height: 22px; stroke: var(--gold-dark); }
.feature-item strong { display: block; color: var(--text-on-light); font-size: 0.92rem; margin-bottom: 3px; }
.feature-item p { color: var(--text-soft-light); font-size: 0.83rem; margin: 0; }

/* ===== MENU SECTION ===== */
.menu { background: var(--white); }

.menu-tabs {
  display: flex; justify-content: center; gap: 8px;
  flex-wrap: wrap; margin-bottom: 52px;
}
.tab-btn {
  padding: 10px 26px; border-radius: var(--radius-pill);
  font-size: 0.84rem; font-weight: 700;
  color: var(--text-mid-light);
  border: 2px solid var(--cream-3);
  background: var(--cream);
  transition: all 0.3s var(--ease);
  letter-spacing: 0.03em;
}
.tab-btn:hover { border-color: var(--gold); color: var(--gold-dark); background: var(--cream-2); }
.tab-btn.active { background: var(--gold); border-color: var(--gold); color: var(--white); box-shadow: var(--shadow-gold); }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 28px;
}

.menu-card {
  background: var(--white);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(201,168,76,0.10);
  transition: all 0.4s var(--ease-spring);
}
.menu-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.menu-card.hidden { display: none; }

.menu-card-img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--cream-2); }
.menu-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s var(--ease); }
.menu-card:hover .menu-card-img img { transform: scale(1.08); }

/* Drinks icon card */
.icon-card-bg {
  background: linear-gradient(135deg, #FDF0DC, #F5E6C8);
  display: flex; align-items: center; justify-content: center;
}
.card-icon-wrap {
  width: 80px; height: 80px;
  background: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--cream-3);
}
.card-icon-wrap svg { width: 36px; height: 36px; stroke: var(--gold-dark); }

.menu-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--tag-red);
  color: var(--white);
  font-size: 0.63rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--radius-pill);
}
.new-tag { background: var(--tag-green); }
.seasonal-tag { background: var(--tag-amber); }

.menu-card-body { padding: 20px 22px; }
.menu-card-top {
  display: flex; justify-content: space-between;
  align-items: flex-start; margin-bottom: 8px; gap: 8px;
}
.menu-card-body h3 {
  font-family: var(--font-serif); font-size: 1.05rem;
  color: var(--text-on-light); line-height: 1.3;
}
.menu-price {
  font-size: 1.05rem; font-weight: 700;
  color: var(--gold-dark); white-space: nowrap; flex-shrink: 0;
}
.menu-card-body p { font-size: 0.83rem; color: var(--text-soft-light); line-height: 1.65; margin-bottom: 16px; }

.menu-card-footer { display: flex; justify-content: space-between; align-items: center; }
.menu-stars { color: var(--gold); font-size: 0.8rem; letter-spacing: 2px; }

.btn-add {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold-dark);
  padding: 8px 18px; border-radius: var(--radius-pill);
  font-size: 0.78rem; font-weight: 700;
  transition: all 0.3s var(--ease);
}
.btn-add:hover { background: var(--gold); color: var(--white); transform: scale(1.05); }

/* ===== SPECIALS SECTION ===== */
.specials { position: relative; padding: var(--section-pad); }
.specials-bg {
  position: absolute; inset: 0;
  background: linear-gradient(130deg, #1E1108 0%, #2D1A08 50%, #1A0D04 100%);
}

/* Specials header — white text on dark */
.specials .container { position: relative; z-index: 1; }
.specials .section-label { color: var(--gold-light); }
.specials .section-label::before, .specials .section-label::after { background: var(--gold-light); opacity: 0.4; }
.specials .section-title { color: var(--text-on-dark); }
.specials .section-subtitle { color: var(--text-soft-dark); }

.specials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; align-items: start;
}

.special-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: var(--radius-lg); padding: 36px 28px;
  display: flex; flex-direction: column; gap: 16px;
  transition: all 0.4s var(--ease);
  position: relative; overflow: hidden;
}
.special-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.special-card:hover { transform: translateY(-7px); border-color: rgba(201,168,76,0.45); }
.special-card:hover::before { opacity: 1; }

.featured-special {
  background: rgba(201,168,76,0.10);
  border-color: rgba(201,168,76,0.40);
  transform: translateY(-10px);
  box-shadow: 0 24px 56px rgba(0,0,0,0.35), 0 0 0 1px rgba(201,168,76,0.25);
}
.featured-special::before { opacity: 1; }

.special-badge {
  position: absolute; top: -1px; right: 22px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.05em;
  padding: 5px 14px; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  display: flex; align-items: center; gap: 5px;
}

.special-icon {
  width: 52px; height: 52px;
  background: rgba(201,168,76,0.15);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(201,168,76,0.25);
}
.special-icon svg { width: 26px; height: 26px; stroke: var(--gold-light); }

.special-info { flex: 1; }
.special-time {
  font-size: 0.68rem; color: var(--gold-light);
  letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 7px;
}
.special-info h3 {
  font-family: var(--font-serif); font-size: 1.3rem;
  color: var(--text-on-dark); margin-bottom: 6px;
}
.special-info p { font-size: 0.87rem; color: var(--text-soft-dark); }
.special-price { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.old-price { color: rgba(255,255,255,0.3); font-size: 0.9rem; text-decoration: line-through; }
.new-price { color: var(--gold-light); font-size: 1.4rem; font-weight: 700; font-family: var(--font-serif); }

.btn-special {
  background: var(--gold); color: var(--white);
  padding: 13px 26px; border-radius: var(--radius-pill);
  font-size: 0.85rem; font-weight: 700;
  transition: all 0.3s var(--ease);
  border: none; text-align: center; letter-spacing: 0.03em;
}
.btn-special:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: var(--shadow-gold); }

/* ===== GALLERY SECTION ===== */
.gallery { background: var(--cream-2); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 280px 280px;
  gap: 16px;
}
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius-md); cursor: pointer; }
.gallery-item:nth-child(1) { grid-column: 1; grid-row: 1/3; }
.gallery-item:nth-child(2) { grid-column: 2; grid-row: 1; }
.gallery-item:nth-child(3) { grid-column: 3; grid-row: 1; }
.gallery-item:nth-child(4) { grid-column: 2; grid-row: 2; }
.gallery-item:nth-child(5) { grid-column: 3; grid-row: 2; }

.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery-item:hover img { transform: scale(1.09); }

.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,9,3,0.80), transparent 55%);
  opacity: 0; transition: opacity 0.4s var(--ease);
  display: flex; align-items: flex-end; padding: 22px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  color: var(--white);
  font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600;
}

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--white); }

.testimonials-slider { position: relative; max-width: 760px; margin: 0 auto 36px; }

.testimonial-card {
  display: none;
  background: var(--cream);
  border-radius: var(--radius-xl); padding: 48px 52px;
  position: relative;
  border: 1px solid var(--cream-3);
  box-shadow: var(--shadow-sm);
  animation: fadeSlideIn 0.5s var(--ease);
}
.testimonial-card.active { display: block; }
@keyframes fadeSlideIn { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }

.testimonial-quote-icon {
  width: 44px; height: 44px; margin-bottom: 22px;
}
.testimonial-quote-icon svg { width: 44px; height: 44px; fill: var(--gold); opacity: 0.7; }

.testimonial-card > p {
  font-size: 1.08rem;
  color: var(--text-mid-light);
  line-height: 1.82; font-style: italic;
  margin-bottom: 32px;
}

.testimonial-author { display: flex; align-items: center; gap: 16px; }
.author-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white); font-size: 0.85rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.testimonial-author strong { display: block; color: var(--text-on-light); font-size: 0.95rem; margin-bottom: 2px; }
.testimonial-author span { font-size: 0.8rem; color: var(--text-soft-light); }
.testimonial-stars { margin-left: auto; color: var(--gold); font-size: 0.92rem; letter-spacing: 3px; }

.testimonial-dots { display: flex; justify-content: center; gap: 8px; }
.dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--cream-3);
  border: 2px solid var(--brown-200);
  transition: all 0.3s var(--ease);
}
.dot.active { background: var(--gold); border-color: var(--gold); width: 30px; border-radius: 5px; }

/* ===== ORDER SECTION ===== */
.order-section { position: relative; }
.order-bg {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1517433670267-08bbd4be890f?w=1600&q=80') center/cover no-repeat;
  filter: brightness(0.12) saturate(0.3);
}
.order-section .container { position: relative; z-index: 1; }

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

/* Order info — on dark background */
.order-info .section-label { color: var(--gold-light); }
.order-info .section-label::before, .order-info .section-label::after { background: var(--gold-light); opacity: 0.4; }
.order-info .section-label { justify-content: flex-start; }
.order-info .section-label::before { display: none; }
.order-info .section-title { color: var(--text-on-dark); text-align: left; }
.order-info > p { color: var(--text-soft-dark); line-height: 1.78; margin-bottom: 36px; font-size: 1rem; }

.order-highlights { display: flex; flex-direction: column; gap: 22px; }
.highlight-item { display: flex; align-items: center; gap: 20px; }
.highlight-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
}
.highlight-icon svg { width: 24px; height: 24px; stroke: var(--gold-light); }
.highlight-item strong { display: block; color: var(--text-on-dark); font-size: 0.95rem; margin-bottom: 3px; }
.highlight-item p { color: var(--text-soft-dark); font-size: 0.84rem; margin: 0; }

/* Order form */
.order-form-wrap {
  background: var(--white); border-radius: var(--radius-xl);
  padding: 44px; box-shadow: var(--shadow-xl);
}
.order-form h3 {
  font-family: var(--font-serif); font-size: 1.55rem;
  color: var(--text-on-light); margin-bottom: 30px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.75rem; font-weight: 700;
  color: var(--text-mid-light); margin-bottom: 7px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 13px 16px;
  border: 2px solid var(--cream-3);
  border-radius: var(--radius-sm);
  font-size: 0.9rem; color: var(--text-on-light);
  background: var(--cream); outline: none;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--brown-300); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
  background: var(--white);
}
.form-group select { appearance: none; cursor: pointer; color: var(--text-on-light); }

.form-note { text-align: center; font-size: 0.78rem; color: var(--text-soft-light); margin-top: 12px; }

.order-success { text-align: center; padding: 20px 0; }
.success-icon-wrap {
  width: 72px; height: 72px;
  background: #E8F5E9; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  animation: scaleIn 0.5s var(--ease-spring);
}
.success-icon-wrap svg { width: 36px; height: 36px; stroke: #2D8050; }
@keyframes scaleIn { from{transform:scale(0)} to{transform:scale(1)} }
.order-success h3 { font-family: var(--font-serif); font-size: 1.5rem; color: var(--text-on-light); margin-bottom: 8px; }
.order-success p { color: var(--text-soft-light); }

/* ===== CONTACT ===== */
.contact { background: var(--cream); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 22px 24px; box-shadow: var(--shadow-xs);
  border: 1px solid var(--cream-3);
  display: flex; gap: 18px; align-items: flex-start;
  transition: transform 0.3s, box-shadow 0.3s;
}
.contact-card:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); }
.contact-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--cream-2); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--cream-3);
}
.contact-icon svg { width: 20px; height: 20px; stroke: var(--gold-dark); }
.contact-card h4 { font-family: var(--font-serif); color: var(--text-on-light); font-size: 0.95rem; margin-bottom: 4px; }
.contact-card p { font-size: 0.87rem; color: var(--text-soft-light); line-height: 1.65; }
.contact-card a { color: var(--gold-dark); }
.contact-card a:hover { color: var(--gold); }

.contact-social { display: flex; gap: 12px; padding: 4px 0; }
.social-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--cream-3);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-soft-light); background: var(--white);
  transition: all 0.3s var(--ease);
}
.social-btn svg { width: 17px; height: 17px; }
.social-btn:hover {
  background: var(--gold); border-color: var(--gold);
  color: var(--white); transform: translateY(-3px); box-shadow: var(--shadow-sm);
}

.contact-map { height: 100%; min-height: 380px; }
.map-placeholder {
  height: 100%; min-height: 380px;
  background: linear-gradient(135deg, var(--cream-2), var(--cream));
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
  border: 2px dashed var(--cream-3);
  box-shadow: var(--shadow-xs);
}
.map-pin-icon {
  width: 68px; height: 68px;
  background: var(--cream-2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--cream-3);
  animation: float 3s ease-in-out infinite;
}
.map-pin-icon svg { width: 32px; height: 32px; stroke: var(--gold-dark); }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.map-placeholder h3 { font-family: var(--font-serif); color: var(--text-on-light); font-size: 1.3rem; }
.map-placeholder p { color: var(--text-soft-light); font-size: 0.9rem; }

/* ===== FOOTER ===== */
.footer { background: var(--brown-900); }
.footer-top { padding: 76px 0 52px; }

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 2fr; gap: 48px; }

.footer-brand .footer-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.footer-brand .footer-logo img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(201,168,76,0.45); }
.footer-brand p { font-size: 0.87rem; color: var(--text-soft-dark); line-height: 1.72; }

.footer-links h4, .footer-newsletter h4 {
  font-family: var(--font-serif); font-size: 1rem;
  color: var(--text-on-dark); margin-bottom: 20px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: 0.87rem; color: var(--text-soft-dark); transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-light); }

.footer-newsletter p { font-size: 0.85rem; color: var(--text-soft-dark); line-height: 1.65; margin-bottom: 18px; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input {
  flex: 1; padding: 12px 16px;
  border: 1.5px solid rgba(201,168,76,0.25);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06); color: var(--white);
  font-size: 0.87rem; outline: none;
  transition: border-color 0.3s;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-form button {
  background: var(--gold); color: var(--white);
  padding: 12px 18px; border-radius: var(--radius-sm);
  font-size: 0.82rem; font-weight: 700;
  transition: all 0.3s; white-space: nowrap; letter-spacing: 0.02em;
}
.newsletter-form button:hover { background: var(--gold-dark); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding: 24px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.82rem; color: var(--text-soft-dark); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { font-size: 0.82rem; color: var(--text-soft-dark); }
.footer-bottom-links a:hover { color: var(--gold-light); }

/* ===== CART TOAST ===== */
.cart-toast {
  position: fixed; bottom: 32px; left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--brown-800);
  color: var(--text-on-dark);
  padding: 14px 28px; border-radius: var(--radius-pill);
  display: flex; align-items: center; gap: 12px;
  font-size: 0.9rem; font-weight: 600;
  box-shadow: var(--shadow-lg); z-index: 9998;
  transition: transform 0.45s var(--ease-spring);
  border: 1px solid rgba(201,168,76,0.25);
}
.cart-toast.show { transform: translateX(-50%) translateY(0); }
.cart-toast-icon { display: flex; }
.cart-toast-icon svg { width: 20px; height: 20px; stroke: var(--gold-light); }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gold); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-gold); z-index: 999;
  transition: all 0.3s var(--ease);
  opacity: 0; visibility: hidden; transform: translateY(16px);
}
.back-to-top svg { width: 22px; height: 22px; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--gold-dark); transform: translateY(-4px); }

/* ===== REVEAL ANIMATIONS ===== */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-up    { transform: translateY(44px); }
.reveal-left  { transform: translateX(-44px); }
.reveal-right { transform: translateX(44px); }
.reveal-up.visible, .reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translate(0); }

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid, .order-grid { grid-template-columns: 1fr; gap: 52px; }
  .about-images { max-width: 480px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .specials-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .featured-special { transform: none; }
  .gallery-grid { grid-template-rows: 220px 220px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 72px 0; }
  .nav-links { display: none; }
  .btn-order { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 0; left: 0; right: 0;
    background: var(--cream); padding: 84px 28px 36px;
    gap: 24px; box-shadow: var(--shadow-lg); z-index: 999;
    animation: slideDown 0.3s var(--ease);
  }
  @keyframes slideDown { from{transform:translateY(-100%)} to{transform:translateY(0)} }
  .nav-links.open .nav-link { color: var(--text-mid-light) !important; font-size: 1.1rem; }
  .nav-links.open .nav-link.active { color: var(--gold-dark) !important; }

  .nav-links.open .nav-cta-mobile { display: block; margin-top: 8px; }
  .btn-order-mobile {
    display: block; text-align: center;
    background: var(--gold); color: var(--white);
    padding: 14px 26px; border-radius: var(--radius-pill);
    font-size: 1rem; font-weight: 700; letter-spacing: 0.04em;
    box-shadow: var(--shadow-gold);
  }

  /* When the menu is open: hide hamburger, show the X close button */
  .nav-links.open ~ .hamburger { opacity: 0; pointer-events: none; }
  .nav-links.open ~ .nav-close {
    display: flex; align-items: center; justify-content: center;
    position: fixed; top: 20px; right: 20px; z-index: 1001;
    width: 44px; height: 44px; border-radius: 50%;
    color: var(--brown-700); background: rgba(0,0,0,0.04);
  }

  /* Push hero content below the fixed header on mobile */
  .hero { height: auto; min-height: 100vh; padding: 104px 0 72px; }
  .hero-content { margin-left: 24px; margin-right: 24px; }
  .hero-stats { gap: 20px; }
  .stat-num { font-size: 1.6rem; }
  .hero-scroll { display: none; }

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

  .gallery-grid {
    grid-template-columns: 1fr 1fr; grid-template-rows: auto;
  }
  .gallery-item.large, .gallery-item { grid-column: auto !important; grid-row: auto !important; height: 200px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }

  .testimonial-card { padding: 32px 28px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.3rem; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .menu-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-divider { display: none; }
  .order-form-wrap { padding: 26px 22px; }
  .marquee-track span { padding: 0 24px; }
}
