/* Le Bombay — cuisine indienne contemporaine, Tours
   Identité inspirée des Irani cafés de Bombay : vert bouteille, laiton,
   damier noir/ivoire des sols en marbre, typo signalétique peinte. */

:root {
  --bg: #ece0c4;
  --surface: #f8f2e1;
  --nav: #1c3a2b;
  --nav-ink: #f3ecd8;
  --ink: #201a12;
  --muted: #6b5f47;
  --accent: #a9762f;
  --accent-soft: rgba(169, 118, 47, 0.12);
  --secondary: #7c2a2a;
  --line: rgba(28, 58, 43, 0.16);
  --shadow: 0 10px 30px -12px rgba(28, 20, 10, 0.25);

  --font-display: "Rozha One", Georgia, "Times New Roman", serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #142219;
    --surface: #1c3226;
    --nav: #0f1c14;
    --nav-ink: #f3ecd8;
    --ink: #f0e9d6;
    --muted: #a7b8ac;
    --accent: #d9ac5f;
    --accent-soft: rgba(217, 172, 95, 0.16);
    --secondary: #c97a6a;
    --line: rgba(240, 233, 214, 0.14);
    --shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.5);
  }
}

:root[data-theme="dark"] {
  --bg: #142219;
  --surface: #1c3226;
  --nav: #0f1c14;
  --nav-ink: #f3ecd8;
  --ink: #f0e9d6;
  --muted: #a7b8ac;
  --accent: #d9ac5f;
  --accent-soft: rgba(217, 172, 95, 0.16);
  --secondary: #c97a6a;
  --line: rgba(240, 233, 214, 0.14);
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.5);
}

:root[data-theme="light"] {
  --bg: #ece0c4;
  --surface: #f8f2e1;
  --nav: #1c3a2b;
  --nav-ink: #f3ecd8;
  --ink: #201a12;
  --muted: #6b5f47;
  --accent: #a9762f;
  --accent-soft: rgba(169, 118, 47, 0.12);
  --secondary: #7c2a2a;
  --line: rgba(28, 58, 43, 0.16);
  --shadow: 0 10px 30px -12px rgba(28, 20, 10, 0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  transition: background-color .2s ease, color .2s ease;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.eyebrow {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; text-wrap: balance; margin: 0; }

/* ---------- Checkerboard divider ----------
   Clin d'oeil aux sols en damier marbre noir/ivoire des cafés iranis de
   Bombay : marque chaque transition de section plutôt qu'un simple trait. */
.checker {
  height: 14px;
  background-image:
    linear-gradient(45deg, var(--ink) 25%, transparent 25%, transparent 75%, var(--ink) 75%),
    linear-gradient(45deg, var(--ink) 25%, transparent 25%, transparent 75%, var(--ink) 75%);
  background-size: 14px 14px;
  background-position: 0 0, 7px 7px;
  background-color: var(--bg);
  opacity: .55;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--nav);
  color: var(--nav-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}
.nav .wordmark { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: .01em; }
.nav .links { display: flex; gap: 1.75rem; font-size: .82rem; }
.nav .links a { text-decoration: none; opacity: .85; transition: opacity .15s ease; }
.nav .links a:hover { opacity: 1; }
.nav .cta {
  background: var(--accent);
  color: var(--nav);
  font-weight: 700;
  font-size: .78rem;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}
.nav-toggle { display: none; }

@media (max-width: 760px) {
  .nav .links { display: none; }
  .nav-toggle {
    display: inline-flex;
    background: none;
    border: 1px solid var(--nav-ink);
    color: var(--nav-ink);
    border-radius: 8px;
    padding: .4rem .6rem;
    font-size: .78rem;
  }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--nav);
  color: var(--nav-ink);
  padding: 4.5rem 1.5rem 0;
  text-align: center;
  overflow: hidden;
}
.hero .plaque {
  display: inline-block;
  border: 1px solid rgba(243, 236, 216, .35);
  border-radius: 999px;
  padding: .4rem 1rem;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(243, 236, 216, .8);
  margin-bottom: 1.6rem;
}
.hero h1 {
  font-size: clamp(3rem, 9vw, 5.5rem);
  color: var(--accent);
  margin-bottom: 1rem;
}
.hero p.tagline {
  max-width: 34ch;
  margin: 0 auto 2rem;
  color: rgba(243, 236, 216, .82);
  font-size: 1.05rem;
}
.hero .actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.btn {
  display: inline-block;
  padding: .8rem 1.6rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
  transition: filter .15s ease, transform .1s ease;
}
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--accent); color: var(--nav); }
.btn.ghost { border: 1px solid rgba(243, 236, 216, .4); color: var(--nav-ink); }
.btn:hover { filter: brightness(1.08); }

.hero-image {
  width: min(100%, 1100px);
  margin: 0 auto;
  border-radius: 18px 18px 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 7;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 1.5rem; max-width: 1080px; margin: 0 auto; }
.section-head { text-align: center; max-width: 520px; margin: 0 auto 2.8rem; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: .6rem; }
.section-head p { color: var(--muted); font-size: .95rem; }

/* ---------- Menu ---------- */
.menu-featured {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.3rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 760px) { .menu-featured { grid-template-columns: 1fr; } }

.dish-feature {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}
.dish-feature img { width: 100%; height: 100%; object-fit: cover; }
.dish-feature .tag {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(20, 34, 25, .82);
  color: #f3ecd8;
  padding: .55rem .9rem;
  border-radius: 10px;
  font-size: .82rem;
}
.dish-feature .tag .name { font-weight: 700; }
.dish-feature .tag .price { color: var(--accent); font-variant-numeric: tabular-nums; margin-left: .5rem; }

.menu-list { display: flex; flex-direction: column; }
.menu-row {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--line);
}
.menu-row:first-child { padding-top: 0; }
.menu-row .name { font-weight: 600; white-space: nowrap; }
.menu-row .desc { color: var(--muted); font-size: .85rem; }
.menu-row .leader { flex: 1; border-bottom: 1px dotted var(--line); margin-bottom: .3rem; min-width: 1rem; }
.menu-row .price { font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }

.menu-note {
  margin-top: 1.6rem;
  text-align: center;
  font-size: .82rem;
  color: var(--muted);
  font-style: italic;
}

/* ---------- Story ---------- */
.story { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.8rem; align-items: center; }
@media (max-width: 800px) { .story { grid-template-columns: 1fr; } }
.story .photo { border-radius: 18px; overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow); }
.story .photo img { width: 100%; height: 100%; object-fit: cover; }
.story .copy h2 { font-size: clamp(1.8rem, 4vw, 2.3rem); margin-bottom: 1rem; text-align: left; }
.story .copy p { color: var(--muted); font-size: .95rem; margin: 0 0 1rem; }
.story .copy p:last-child { margin-bottom: 0; }

/* ---------- Gallery (mosaic, not a uniform grid) ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 90px;
  gap: .6rem;
}
.gallery a { grid-column: span 2; grid-row: span 2; border-radius: 12px; overflow: hidden; }
.gallery a:nth-child(1) { grid-column: span 3; grid-row: span 3; }
.gallery a:nth-child(3) { grid-row: span 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery a:hover img { transform: scale(1.05); }
@media (max-width: 700px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
  .gallery a, .gallery a:nth-child(1), .gallery a:nth-child(3) { grid-column: span 1; grid-row: span 1; }
}

/* ---------- Practical info ---------- */
.practical { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
@media (max-width: 760px) { .practical { grid-template-columns: 1fr; } }
.info-block h3 { font-family: var(--font-body); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin-bottom: .7rem; }
.info-block p { margin: 0 0 1.6rem; color: var(--muted); line-height: 1.8; }
.info-block p:last-child { margin-bottom: 0; }
.info-block strong { color: var(--ink); }

.map-plaque {
  background: var(--nav);
  border-radius: 16px;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.map-plaque svg { width: 70%; opacity: .9; }
.map-plaque .pin {
  position: absolute;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: .85rem;
  text-align: center;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--nav);
  color: rgba(243, 236, 216, .75);
  padding: 3rem 1.5rem 2rem;
  text-align: center;
}
.footer .wordmark { font-family: var(--font-display); font-size: 1.6rem; color: var(--accent); margin-bottom: .8rem; }
.footer .cols { display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap; font-size: .82rem; margin-bottom: 2rem; }
.footer .fine { font-size: .72rem; opacity: .6; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
