/* Chez Loulou - Styles */
:root {
  --bg: #fffaf5;
  --text: #2d1f17;
  --muted: #6b4f3a;
  --primary: #d96b2b; /* warm orange */
  --primary-dark: #b45722;
  --accent: #f3b27a; /* peach */
  --light: #fff5ec;
  --card: #ffffff;
  --shadow: 0 10px 30px -12px rgba(0,0,0,0.15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }

.container { width: min(1100px, 92%); margin: 0 auto; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 245, 236, 0.8);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #f0e3d7;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-logo {
  width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: var(--shadow);
}
.brand-name { font-weight: 800; letter-spacing: 0.3px; }
.brand-sub { font-size: 12px; color: var(--muted); margin-top: -6px; }

.menu { display: flex; gap: 18px; align-items: center; }
.menu a {
  color: var(--text); text-decoration: none; font-weight: 600; padding: 8px 10px; border-radius: 8px;
}
.menu a:hover, .menu a.active { background: var(--light); color: var(--primary-dark); }

.cta {
  background: var(--primary-dark); color: white; padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 700;
  box-shadow: 0 6px 14px rgba(217, 107, 43, 0.35);
}
.cta:hover { background: #984a1d; }

.menu-toggle { display: none; background: none; border: none; font-size: 28px; }

/* Hero */
.hero {
  position: relative; overflow: hidden; border-bottom-left-radius: 28px; border-bottom-right-radius: 28px;
  background: linear-gradient(180deg, rgba(217,107,43,0.1), rgba(255,245,236,1));
}
.hero-inner {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 30px; align-items: center; padding: 64px 0;
}
.hero h1 { font-size: clamp(34px, 4.5vw, 52px); margin: 0 0 12px; line-height: 1.1; }
.hero p.lead { font-size: 18px; color: var(--muted); margin: 0 0 22px; }
.hero .badges { display: flex; gap: 12px; flex-wrap: wrap; }
.badge { background: var(--card); border: 1px solid #f1ddcb; padding: 8px 12px; border-radius: 999px; font-weight: 600; color: var(--muted); box-shadow: var(--shadow); }
.hero-visual {
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow);
}

/* Sections */
.section { padding: 64px 0; }
.section h2 { font-size: clamp(26px, 3.2vw, 36px); margin: 0 0 8px; }
.section .sub { color: var(--muted); margin-bottom: 24px; max-width: 65ch; }
.hero p.lead { max-width: 56ch; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card); padding: 18px; border-radius: 16px; box-shadow: var(--shadow); border: 1px solid #f1e2d6; }
.card h3 { margin: 0 0 6px; }
.card .price { color: var(--primary-dark); font-weight: 800; }

/* Menu list */
.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.menu-item { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: start; background: var(--card); padding: 14px; border-radius: 16px; border: 1px solid #f1e2d6; }
.menu-item p { margin: 0; color: var(--muted); }

/* Gallery */
.gallery { columns: 3 280px; column-gap: 16px; }
.gallery figure { break-inside: avoid; margin: 0 0 16px; overflow: hidden; border-radius: 16px; box-shadow: var(--shadow); }
.gallery img { width: 100%; height: auto; display: block; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.03); }

/* Forms */
form { display: grid; gap: 14px; max-width: 620px; }
input, select, textarea { width: 100%; padding: 12px 14px; border: 1px solid #e7d7c8; border-radius: 10px; background: #fff; font: inherit; }
label { font-weight: 700; }
button.btn { background: var(--primary-dark); color: #fff; border: none; padding: 12px 16px; border-radius: 10px; font-weight: 800; cursor: pointer; }
button.btn:hover { background: #984a1d; }

/* Footer */
.footer { background: #20140e; color: #f7efe9; margin-top: 40px; border-top-left-radius: 24px; border-top-right-radius: 24px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; padding: 36px 0; }
.footer a { color: #f7efe9; text-decoration: none; }
.footer small { color: #c9b8ab; }

/* Utilities */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.center { text-align: center; }
.muted { color: var(--muted); }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .menu { display: none; position: absolute; left: 0; right: 0; top: 58px; background: var(--light); padding: 10px 16px; border-bottom-left-radius: 14px; border-bottom-right-radius: 14px; box-shadow: var(--shadow); }
  .menu.open { display: grid; grid-auto-rows: min-content; }
  .menu-toggle { display: block; }
  .cards { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--primary-dark);
  outline-offset: 2px;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation:none!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
