/* ══════════════════════════════════════════
   LE SAVEUR — style.css
   Restaurant Africain · Yaoundé, Cameroun
   ══════════════════════════════════════════ */

/* ─── VARIABLES ─── */
:root {
  --amber:      #C8651A;
  --amber-deep: #9B4A0E;
  --gold:       #E8A951;
  --gold-light: #F5CC85;
  --cream:      #FAF3E8;
  --cream-dark: #F0E3C8;
  --espresso:   #2C1A0E;
  --bark:       #5C3317;
  --sand:       #D4B896;
  --white:      #FFFDF9;
  --text:       #1E1007;
  --muted:      #7A5C42;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

/* ─── GRAIN OVERLAY ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: .025;
  pointer-events: none;
  z-index: 9999;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--amber); border-radius: 3px; }

/* ══════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 4rem;
  background: rgba(250, 243, 232, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(200, 101, 26, .18);
  transition: box-shadow .3s;
}

header.scrolled {
  box-shadow: 0 4px 30px rgba(44, 26, 14, .12);
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--espresso);
  text-decoration: none;
}
.logo span {
  color: var(--amber);
  font-style: italic;
}

nav {
  display: flex;
  gap: 2.4rem;
}

nav a {
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--bark);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color .25s;
}
nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--amber);
  transition: width .3s;
}
nav a:hover { color: var(--amber); }
nav a:hover::after { width: 100%; }

.nav-cta {
  background: var(--amber);
  color: var(--white) !important;
  padding: .55rem 1.4rem;
  border-radius: 50px;
  font-weight: 500 !important;
  transition: background .25s, transform .2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--amber-deep) !important;
  transform: translateY(-1px);
}

/* ─── Hamburger ─── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--bark);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  background: var(--espresso);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(200,101,26,.35) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(92,51,23,.6) 0%, transparent 60%),
    linear-gradient(135deg, #1A0A04 0%, #2C1A0E 50%, #3D2010 100%);
}

.hero-pattern {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 42%;
  opacity: .07;
  background-image:
    repeating-linear-gradient(45deg,  var(--gold) 0, var(--gold) 2px, transparent 0, transparent 50%),
    repeating-linear-gradient(-45deg, var(--gold) 0, var(--gold) 2px, transparent 0, transparent 50%);
  background-size: 28px 28px;
}

.hero-accent-circle {
  position: absolute;
  right: 8%; top: 50%;
  transform: translateY(-50%);
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,169,81,.18) 0%, transparent 70%);
  border: 1px solid rgba(232,169,81,.12);
}
.hero-accent-circle::before {
  content: '';
  position: absolute; inset: 40px;
  border-radius: 50%;
  border: 1px solid rgba(232,169,81,.1);
}

.hero-content {
  position: relative; z-index: 2;
  padding: 0 4rem;
  max-width: 680px;
  animation: fadeUp .9s ease both;
}

.hero-tag {
  display: inline-flex;
  align-items: center; gap: .5rem;
  background: rgba(232,169,81,.15);
  border: 1px solid rgba(232,169,81,.3);
  color: var(--gold);
  padding: .4rem 1.1rem;
  border-radius: 50px;
  font-size: .78rem; letter-spacing: .1em;
  text-transform: uppercase; font-weight: 500;
  margin-bottom: 1.8rem;
}
.hero-tag::before { content: '✦'; font-size: .65rem; }

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900; line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.4rem;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
  display: block;
}

.hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: rgba(255,253,249,.65);
  line-height: 1.7;
  margin-bottom: 2.8rem;
  max-width: 500px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  align-items: center;
}

.btn-whatsapp {
  display: inline-flex; align-items: center; gap: .75rem;
  background: #25D366;
  color: var(--white);
  padding: 1rem 2.2rem; border-radius: 50px;
  font-size: .95rem; font-weight: 500;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(37,211,102,.3);
  transition: transform .25s, box-shadow .25s, background .25s;
}
.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(37,211,102,.4);
  background: #1ebe5a;
}
.btn-whatsapp svg { width: 22px; height: 22px; flex-shrink: 0; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: .6rem;
  color: rgba(255,253,249,.75);
  padding: 1rem 2rem; border-radius: 50px;
  font-size: .95rem;
  text-decoration: none;
  border: 1px solid rgba(255,253,249,.2);
  transition: color .25s, border-color .25s, background .25s;
}
.btn-secondary:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(232,169,81,.08);
}

.hero-stats {
  display: flex; gap: 2.5rem;
  margin-top: 4rem; padding-top: 2rem;
  border-top: 1px solid rgba(255,253,249,.1);
  animation: fadeUp .9s .2s ease both;
}

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

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; font-weight: 700;
  color: var(--gold);
}

.stat-label {
  font-size: .75rem; letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,253,249,.5);
}

/* ══════════════════════════════════════════
   SHARED SECTION STYLES
   ══════════════════════════════════════════ */
section { padding: 7rem 4rem; }

.section-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--amber);
  font-size: .78rem; letter-spacing: .12em;
  text-transform: uppercase; font-weight: 500;
  margin-bottom: 1rem;
}
.section-tag::before { content: '—'; }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900; line-height: 1.1;
  color: var(--espresso);
  margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: var(--amber); }

.section-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; color: var(--muted);
  line-height: 1.8; max-width: 540px;
}

/* ══════════════════════════════════════════
   MENU
   ══════════════════════════════════════════ */
#menu { background: var(--white); }
#menu .inner { max-width: 1200px; margin: 0 auto; }

.menu-header { margin-bottom: 4rem; }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--cream-dark);
  border-radius: 20px;
  overflow: hidden;
}

.dish-card {
  background: var(--white);
  padding: 2.8rem;
  display: flex; flex-direction: column; gap: 1.2rem;
  position: relative;
  transition: background .3s;
  overflow: hidden;
  cursor: default;
}
.dish-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.dish-card:hover { background: var(--cream); }
.dish-card:hover::before { transform: scaleX(1); }

.dish-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--cream-dark);
}

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

.dish-badge {
  position: absolute;
  top: .85rem; left: .85rem;
  background: var(--amber);
  color: var(--white);
  font-size: .68rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .3rem .75rem; border-radius: 50px;
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
}
.dish-badge--gold { background: var(--gold); color: var(--espresso); }
.dish-badge--dark { background: var(--espresso); color: var(--gold); }

.dish-info { flex: 1; }

.dish-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 1rem; margin-bottom: .8rem;
}

.dish-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem; font-weight: 700;
  color: var(--espresso); line-height: 1.2;
}

.dish-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 700;
  color: var(--amber); white-space: nowrap;
}
.dish-price span {
  font-size: .75rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
}

.dish-origin {
  font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--sand);
  font-weight: 500; margin-bottom: .6rem;
}

.dish-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem; color: var(--muted); line-height: 1.7;
}

.dish-tags {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-top: 1rem;
}
.tag {
  font-size: .7rem; letter-spacing: .06em;
  text-transform: uppercase;
  padding: .25rem .7rem; border-radius: 50px;
  border: 1px solid var(--cream-dark);
  color: var(--muted); font-weight: 500;
}

/* ══════════════════════════════════════════
   HORAIRES & LOCALISATION
   ══════════════════════════════════════════ */
#info {
  background: var(--espresso);
  position: relative; overflow: hidden;
}
#info::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 0% 100%, rgba(200,101,26,.2) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 100% 0%,  rgba(232,169,81,.1) 0%, transparent 60%);
}
#info .inner {
  max-width: 1200px; margin: 0 auto;
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: start;
}

#info .section-title { color: var(--white); }
#info .section-desc   { color: rgba(255,253,249,.55); }

.badge-open {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(37,211,102,.15);
  border: 1px solid rgba(37,211,102,.3);
  color: #25D366;
  padding: .3rem .8rem; border-radius: 50px;
  font-size: .72rem; letter-spacing: .08em;
  text-transform: uppercase; font-weight: 600;
  margin-bottom: 1.5rem;
}
.badge-open::before {
  content: '';
  width: 7px; height: 7px; border-radius: 50%;
  background: #25D366;
  animation: pulse 2s infinite;
}

.badge-closed {
  background: rgba(255,80,80,.12);
  border-color: rgba(255,80,80,.25);
  color: #ff6b6b;
}
.badge-closed::before { background: #ff6b6b; animation: none; }

.hours-list { display: flex; flex-direction: column; gap: .1rem; }

.hour-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .9rem 0;
  border-bottom: 1px solid rgba(255,253,249,.08);
  font-size: .95rem;
}
.hour-row .day   { color: rgba(255,253,249,.7); }
.hour-row .time  { color: var(--gold); font-weight: 500; }
.hour-row.closed .time { color: rgba(255,253,249,.3); }
.hour-row.today  .day  { color: var(--gold); font-weight: 600; }

.location-card {
  background: rgba(255,253,249,.06);
  border: 1px solid rgba(255,253,249,.1);
  border-radius: 20px;
  padding: 2.5rem;
  margin-top: 1.5rem;
}

.location-line {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,253,249,.08);
}
.location-line:last-child { border-bottom: none; }

.loc-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(200,101,26,.2);
  border: 1px solid rgba(200,101,26,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}

.loc-label {
  font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--sand);
  margin-bottom: .2rem;
}
.loc-value {
  color: rgba(255,253,249,.85); font-size: .95rem; line-height: 1.5;
}
.loc-value a { color: var(--gold); text-decoration: none; }
.loc-value a:hover { text-decoration: underline; }

/* ══════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════ */
#contact { background: var(--cream); }
#contact .inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: center;
}

.contact-visual {
  position: relative; border-radius: 24px; overflow: hidden;
  background: var(--espresso);
  min-height: 420px;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
}
.contact-visual-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 80% at 50% 30%, rgba(200,101,26,.4) 0%, transparent 65%),
    linear-gradient(180deg, var(--espresso) 0%, #1A0A04 100%);
}
.contact-kente {
  position: absolute; inset: 0; opacity: .06;
  background-image:
    repeating-linear-gradient(0deg,  var(--gold)  0, var(--gold)  2px, transparent 0, transparent 20px),
    repeating-linear-gradient(90deg, var(--gold)  0, var(--gold)  2px, transparent 0, transparent 20px),
    repeating-linear-gradient(45deg, var(--amber) 0, var(--amber) 1px, transparent 0, transparent 14px);
}
.contact-quote {
  position: relative; z-index: 2;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; font-style: italic; font-weight: 400;
  color: var(--white); line-height: 1.5;
}
.contact-quote::before {
  content: '\201C';
  font-size: 5rem; line-height: .6;
  color: var(--amber); opacity: .7;
  display: block; margin-bottom: .5rem;
}
.contact-author {
  position: relative; z-index: 2;
  color: var(--sand); font-size: .85rem;
  margin-top: .8rem; letter-spacing: .06em;
}

.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; color: var(--muted); line-height: 1.8;
  margin-bottom: 1rem;
}

.contact-actions { display: flex; flex-direction: column; gap: 1rem; }

.btn-wa-big {
  display: flex; align-items: center; gap: 1rem;
  background: #25D366; color: var(--white);
  padding: 1.1rem 2rem; border-radius: 14px;
  font-size: 1rem; font-weight: 500;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(37,211,102,.3);
  transition: transform .25s, box-shadow .25s;
}
.btn-wa-big:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(37,211,102,.4);
}
.wa-text { display: flex; flex-direction: column; }
.wa-label { font-size: .72rem; opacity: .8; letter-spacing: .06em; }

.btn-tel {
  display: flex; align-items: center; gap: 1rem;
  background: var(--white); color: var(--espresso);
  padding: 1.1rem 2rem; border-radius: 14px;
  font-size: 1rem; font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--cream-dark);
  transition: border-color .25s, background .25s;
}
.btn-tel:hover { border-color: var(--amber); background: var(--cream); }

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
footer {
  background: #120701;
  padding: 3rem 4rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 900;
  color: var(--white);
}
.footer-logo span { color: var(--amber); font-style: italic; }

.footer-links { display: flex; gap: 2rem; }
.footer-links a {
  font-size: .8rem; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255,253,249,.4);
  text-decoration: none; transition: color .25s;
}
.footer-links a:hover { color: var(--gold); }

.footer-copy { font-size: .8rem; color: rgba(255,253,249,.3); }

.footer-social { display: flex; gap: .75rem; }
.social-btn {
  width: 36px; height: 36px; border-radius: 8px;
  border: 1px solid rgba(255,253,249,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,253,249,.5); font-size: 1rem;
  text-decoration: none;
  transition: border-color .25s, color .25s, background .25s;
}
.social-btn:hover {
  border-color: var(--amber); color: var(--amber);
  background: rgba(200,101,26,.1);
}

/* ══════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.8); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 960px) {
  header { padding: 1.2rem 2rem; }

  nav {
    display: none;
    flex-direction: column;
    gap: 0;
    position: fixed;
    top: 65px; left: 0; right: 0;
    background: var(--cream);
    padding: 1rem 0;
    border-bottom: 1px solid var(--cream-dark);
    box-shadow: 0 8px 24px rgba(44,26,14,.1);
  }
  nav.open { display: flex; }
  nav.open a {
    padding: .9rem 2rem;
    font-size: .9rem;
    border-bottom: 1px solid var(--cream-dark);
  }
  nav.open .nav-cta { margin: .5rem 2rem; text-align: center; }

  .hamburger { display: flex; }

  section { padding: 5rem 2rem; }
  .hero-content { padding: 0 2rem; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .hero-accent-circle { display: none; }

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

  #info .inner,
  #contact .inner { grid-template-columns: 1fr; gap: 3rem; }

  footer { padding: 2.5rem 2rem; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .hero-title { font-size: 2.6rem; }
  .btn-secondary { display: none; }
  .dish-card { padding: 2rem; }
  .hero-stats { gap: 1.5rem; }
}
