/* =============================================================
   French Memories® — style.css
   Palette: Forest Green · Champagne Gold · Ivory
   Fonts: Cormorant Garamond (headings) · Raleway (body)
   ============================================================= */

:root {
  --green-deep:   #1a3328;
  --green-mid:    #2a5042;
  --green-light:  #3d7a62;
  --gold:         #c9975a;
  --gold-lt:      #ddb87e;
  --ivory:        #faf7f1;
  --ivory-dark:   #f0ebe0;
  --text:         #1e1e1e;
  --text-muted:   #6b6257;
  --white:        #ffffff;

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Raleway', 'Helvetica Neue', sans-serif;
  --radius:       6px;
  --shadow:       0 4px 24px rgba(26,51,40,0.12);
  --shadow-lg:    0 12px 48px rgba(26,51,40,0.18);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--ivory);
  overflow-x: hidden;
}

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

/* ── TYPOGRAPHY HELPERS ────────────────────────────────────── */

.section-label {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--green-deep);
  margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: var(--green-light); }

.section-desc {
  color: var(--text-muted);
  font-size: .95rem;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── NAVBAR ────────────────────────────────────────────────── */

#mainNav {
  background: rgba(26,51,40,0.97);
  backdrop-filter: blur(10px);
  padding: .75rem 0;
  transition: background .3s;
  z-index: 1030;
}

.navbar-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
}

.brand-script {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 600;
  color: var(--gold-lt);
  letter-spacing: .03em;
}

.brand-serif {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: .05em;
}

.brand-sub {
  font-family: var(--font-body);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-top: 1px;
}

#mainNav .nav-link {
  color: rgba(255,255,255,.8);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .4rem .85rem;
  transition: color .2s;
}
#mainNav .nav-link:hover { color: var(--gold-lt); }

.nav-order {
  background: var(--gold);
  color: var(--green-deep) !important;
  border-radius: var(--radius);
  padding: .4rem .95rem !important;
  font-weight: 600 !important;
}
.nav-order:hover { background: var(--gold-lt) !important; }

.navbar-toggler { border-color: rgba(255,255,255,.3); }
.navbar-toggler-icon { filter: invert(1); }

/* ── HERO ──────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('img/hero.webp') center 30% / cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(26,51,40,.82) 0%,
    rgba(26,51,40,.60) 40%,
    rgba(201,151,90,.25) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem 1.5rem;
  max-width: 760px;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  margin-bottom: 1.25rem;
  letter-spacing: -.01em;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-lt);
  display: block;
}

.hero-sub {
  font-size: clamp(.9rem, 2vw, 1.1rem);
  color: rgba(255,255,255,.85);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  letter-spacing: .03em;
}

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

.btn-hero-primary {
  background: var(--gold);
  color: var(--green-deep);
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .85rem 2rem;
  border-radius: var(--radius);
  border: none;
  transition: background .2s, transform .2s;
  text-decoration: none;
}
.btn-hero-primary:hover { background: var(--gold-lt); transform: translateY(-2px); color: var(--green-deep); }

.btn-hero-outline {
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .85rem 2rem;
  border-radius: var(--radius);
  border: 1.5px solid rgba(255,255,255,.6);
  transition: border-color .2s, background .2s;
  text-decoration: none;
}
.btn-hero-outline:hover { border-color: var(--white); background: rgba(255,255,255,.1); color: var(--white); }

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.5);
  font-size: 1.3rem;
  animation: bounce 2s infinite;
  z-index: 2;
}
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }

/* ── INTRO STRIP ───────────────────────────────────────────── */

.intro-strip {
  background: var(--green-deep);
  padding: 1.5rem 0;
}

.intro-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: rgba(255,255,255,.85);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .04em;
  padding: .5rem 1rem;
  border-right: 1px solid rgba(255,255,255,.1);
}
.intro-item:last-child { border-right: none; }

.intro-icon {
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}

/* ── OUR STORY ─────────────────────────────────────────────── */

.section-story {
  padding: 6rem 0;
  background: var(--ivory);
}

.story-img-wrap {
  position: relative;
}

.story-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.story-img-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 90px;
  height: 90px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  line-height: 1;
}
.badge-year { font-family: var(--font-body); font-size: .6rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green-deep); }
.badge-num { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 600; color: var(--green-deep); }

.story-body {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: .95rem;
}

.story-quote {
  border-left: 3px solid var(--gold);
  padding: .75rem 0 .75rem 1.5rem;
  margin: 1.75rem 0 0;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--green-deep);
  line-height: 1.5;
}
.story-quote cite {
  display: block;
  font-style: normal;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: .5rem;
}

/* ── MENU ──────────────────────────────────────────────────── */

.section-menu {
  padding: 6rem 0;
  background: var(--green-deep);
}

.section-menu .section-label { color: var(--gold); }
.section-menu .section-title { color: var(--white); }
.section-menu .section-desc { color: rgba(255,255,255,.6); }

.menu-category {
  margin-bottom: 3.5rem;
}

.menu-cat-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--ivory);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.menu-cat-title::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.menu-cat-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.1);
}
.menu-cat-title span { white-space: nowrap; }

.menu-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  height: 100%;
  transition: background .2s, transform .2s;
}
.menu-card:hover { background: rgba(255,255,255,.08); transform: translateY(-2px); }

.menu-card-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: .35rem;
  line-height: 1.3;
}

.menu-card-desc {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
  margin-bottom: .5rem;
}

.menu-card-price {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold);
}

.btn-order-now {
  background: var(--gold);
  color: var(--green-deep);
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .9rem 2.5rem;
  border-radius: var(--radius);
  border: none;
  text-decoration: none;
  display: inline-block;
  transition: background .2s, transform .2s;
}
.btn-order-now:hover { background: var(--gold-lt); transform: translateY(-2px); color: var(--green-deep); }

/* ── GALLERY ───────────────────────────────────────────────── */

.section-gallery {
  padding: 5rem 0;
  background: var(--ivory-dark);
}
.section-gallery .section-label { color: var(--gold); }
.section-gallery .section-title { color: var(--green-deep); }

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 4px;
}

/* Explicit placement — no auto-placement gaps */
.gc-tall  { grid-area: 1 / 1 / 3 / 2; } /* col 1, rows 1–2 */
.gc-2     { grid-area: 1 / 2 / 2 / 3; } /* col 2, row 1 */
.gc-3     { grid-area: 1 / 3 / 2 / 4; } /* col 3, row 1 */
.gc-4     { grid-area: 1 / 4 / 2 / 5; } /* col 4, row 1 */
.gc-wide  { grid-area: 2 / 2 / 3 / 4; } /* cols 2–3, row 2 */
.gc-6     { grid-area: 2 / 4 / 3 / 5; } /* col 4, row 2 */

.gallery-cell {
  position: relative;
  overflow: hidden;
  background: var(--green-mid);
}

.gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-cell:hover img { transform: scale(1.06); }

.gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: .6rem .9rem;
  background: linear-gradient(transparent, rgba(26,51,40,.85));
  color: var(--white);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity .3s;
}
.gallery-cell:hover .gallery-label { opacity: 1; }

/* ── LOCATION ──────────────────────────────────────────────── */

.section-location {
  padding: 6rem 0;
  background: var(--ivory);
}

.location-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.location-block {
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--ivory-dark);
}
.location-block:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }

.location-block-title {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.location-block p {
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.75;
  margin: 0;
}
.location-block p a { color: var(--green-light); text-decoration: none; }
.location-block p a:hover { text-decoration: underline; }
.location-block p em { color: var(--gold); font-style: normal; font-size: .82rem; }

.hours-table { display: flex; flex-direction: column; gap: .25rem; }
.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: .88rem;
  color: var(--text-muted);
  padding: .2rem 0;
}
.hours-row span:last-child { font-weight: 600; color: var(--green-deep); }

.social-links { display: flex; gap: .75rem; flex-wrap: wrap; }
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem 1rem;
  border: 1.5px solid var(--ivory-dark);
  border-radius: 30px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--green-deep);
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
}
.social-btn:hover { background: var(--green-deep); border-color: var(--green-deep); color: var(--white); }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.map-wrap iframe { display: block; }

/* ── FOOTER ────────────────────────────────────────────────── */

.site-footer {
  background: var(--green-deep);
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: .2rem;
}
.footer-brand span { color: var(--gold); }

.footer-tagline {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}
.footer-links a {
  color: rgba(255,255,255,.6);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s;
}
.footer-links a:hover { color: var(--gold-lt); }

.footer-social { display: flex; gap: 1rem; justify-content: flex-end; }
.footer-social a {
  color: rgba(255,255,255,.5);
  font-size: 1.2rem;
  transition: color .2s;
  text-decoration: none;
}
.footer-social a:hover { color: var(--gold); }

.footer-copy {
  font-size: .76rem;
  color: rgba(255,255,255,.35);
  margin: 0;
}

.footer-powered {
  font-size: .74rem;
  color: rgba(255,255,255,.4);
  margin: .15rem 0 0;
}
.footer-powered a { color: var(--gold); text-decoration: none; font-weight: 600; }
.footer-powered a:hover { text-decoration: underline; }

/* ── RESPONSIVE ────────────────────────────────────────────── */

@media (max-width: 991.98px) {
  .story-img-badge { right: .5rem; bottom: .5rem; }
  .story-img { height: 380px; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 220px 220px;
  }
  /* Collapse to 2-col stacked layout */
  .gc-tall  { grid-area: 1 / 1 / 2 / 2; }
  .gc-2     { grid-area: 1 / 2 / 2 / 3; }
  .gc-3     { grid-area: 2 / 1 / 3 / 2; }
  .gc-4     { grid-area: 2 / 2 / 3 / 3; }
  .gc-wide  { grid-area: 3 / 1 / 4 / 3; }
  .gc-6     { grid-area: auto; }
}

@media (max-width: 767.98px) {
  .section-story,
  .section-menu,
  .section-gallery,
  .section-location { padding: 4rem 0; }

  .story-img { height: 280px; }
  .story-img-badge { display: none; }

  .intro-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.1);
    justify-content: center;
  }
  .intro-item:nth-child(even) { border-left: 1px solid rgba(255,255,255,.1); }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 180px 180px;
  }
  .gc-tall  { grid-area: 1 / 1 / 2 / 2; }
  .gc-2     { grid-area: 1 / 2 / 2 / 3; }
  .gc-3     { grid-area: 2 / 1 / 3 / 2; }
  .gc-4     { grid-area: 2 / 2 / 3 / 3; }
  .gc-wide  { grid-area: 3 / 1 / 4 / 3; }
  .gc-6     { display: none; }

  .footer-social { justify-content: center; }
}

@media (max-width: 575.98px) {
  .hero-title { font-size: 3rem; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .btn-hero-primary, .btn-hero-outline { width: 100%; max-width: 280px; text-align: center; }

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