/* La Terrasse — restaurant demo */
:root {
  --green: #1a3a2a;
  --green-dark: #12241a;
  --gold: #c9a227;
  --cream: #faf6ef;
  --white: #ffffff;
  --dark: #1d1d1d;
  --muted: #7a7266;
  --shadow: 0 10px 30px rgba(18, 36, 26, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--dark); background: var(--white); line-height: 1.6; }
h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.2; }
h2 { font-size: 2.2rem; margin-bottom: 0.5rem; }
img { display: block; width: 100%; height: auto; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.eyebrow, .hero-eyebrow { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.15em; color: var(--gold); margin-bottom: 0.5rem; }
.eyebrow-light { color: var(--gold); }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; background: rgba(18, 36, 26, 0.94); backdrop-filter: blur(8px); z-index: 100; }
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--cream); text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--cream); text-decoration: none; font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--gold); }
.btn { display: inline-block; padding: 12px 28px; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: transform 0.2s, box-shadow 0.2s; cursor: pointer; border: none; }
.btn:hover { transform: translateY(-2px); }
.btn-small { padding: 8px 18px; font-size: 0.85rem; }
.btn-light { background: var(--gold); color: var(--green-dark); }
.btn-light:hover { background: #d8b338; }
.btn-outline { border: 2px solid var(--cream); color: var(--cream); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); }
.nav-toggle { display: none; background: none; border: none; color: var(--cream); font-size: 1.6rem; cursor: pointer; }

/* HERO */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; background: url('../images/hero.jpg') center/cover no-repeat; }
.hero-overlay { position: absolute; inset: 0; background: rgba(18, 36, 26, 0.6); }
.hero-content { position: relative; color: var(--cream); padding: 0 24px; max-width: 720px; }
.hero-eyebrow { color: var(--gold); }
.hero h1 { font-size: 3.4rem; margin-bottom: 1rem; }
.hero-sub { font-size: 1.15rem; color: rgba(250, 246, 239, 0.9); margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ABOUT */
.about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img img { border-radius: 12px; box-shadow: var(--shadow); }
.about-text p { color: var(--muted); margin-bottom: 1rem; }
.about-stats { display: flex; gap: 40px; margin-top: 1.5rem; }
.stat strong { display: block; font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--green); }
.stat span { font-size: 0.85rem; color: var(--muted); }

/* MENU LIST */
.menu { background: var(--white); }
.section-head { text-align: center; margin-bottom: 48px; }
.menu-list { display: flex; flex-direction: column; gap: 18px; max-width: 860px; margin: 0 auto; }
.menu-item { display: grid; grid-template-columns: 120px 1fr auto; gap: 22px; align-items: center; background: var(--cream); border-radius: 12px; padding: 14px 22px 14px 14px; box-shadow: var(--shadow); transition: transform 0.25s; }
.menu-item:hover { transform: translateY(-4px); }
.menu-item img { width: 120px; height: 92px; object-fit: cover; border-radius: 9px; }
.menu-item h3 { font-size: 1.2rem; color: var(--green-dark); }
.menu-item p { color: var(--muted); font-size: 0.9rem; }
.menu-item .price { font-family: 'Playfair Display', serif; font-size: 1.35rem; font-weight: 700; color: var(--green); }

/* RESERVATION */
.reserve { background: var(--green-dark); color: var(--cream); }
.reserve-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.reserve-text h2 { color: var(--cream); }
.reserve-text p { color: rgba(250, 246, 239, 0.85); margin-top: 0.8rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form { display: flex; flex-direction: column; gap: 8px; background: rgba(255, 255, 255, 0.06); padding: 26px; border-radius: 12px; }
.contact-form label { font-size: 0.9rem; font-weight: 600; margin-top: 8px; color: var(--cream); }
.contact-form input, .contact-form select, .contact-form textarea { padding: 12px 14px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 6px; font-family: inherit; font-size: 0.95rem; background: var(--white); color: var(--dark); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }
.contact-form .btn { margin-top: 18px; align-self: flex-start; }

/* GALLERY */
.gallery { background: var(--cream); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gallery-grid img { border-radius: 12px; box-shadow: var(--shadow); height: 260px; object-fit: cover; }

/* FOOTER */
.footer { background: var(--green-dark); color: rgba(250, 246, 239, 0.7); padding: 28px 0; text-align: center; font-size: 0.85rem; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* MOBILE */
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: rgba(18, 36, 26, 0.98); padding: 20px 24px; gap: 18px; align-items: flex-start; }
  .nav-links.open { display: flex; }
  .hero h1 { font-size: 2.3rem; }
  .about-grid, .reserve-grid { grid-template-columns: 1fr; gap: 36px; }
  .menu-item { grid-template-columns: 80px 1fr; }
  .menu-item .price { grid-column: 2; }
  .gallery-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}


/* BACK TO TOP */
.to-top { position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); background: #fff; color: #c9a227; font-size: 1.2rem; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.18); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s, visibility .25s; z-index: 90; }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer-brand { font-weight: 700; font-size: 1.05rem; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: inherit; text-decoration: none; font-size: .85rem; opacity: .8; transition: opacity .2s; }
.footer-links a:hover { opacity: 1; }
.footer-copy { font-size: .82rem; opacity: .7; }
