/*
Theme Name: La Brasa
Theme URI: https://resto.shiwan.online
Author: Shiwan
Description: Individuelles Fine-Dining Restaurant Theme – Feuer, Mittelmeer, Handwerk.
Version: 1.0
Text Domain: la-brasa
*/

/* ============================================================
   0. RESET & TOKENS
============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; margin: 0; color: var(--cream); }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

:root {
  --bg: #14110f;
  --bg-alt: #1b1613;
  --surface: #211b17;
  --surface-2: #2a2320;
  --cream: #f7f0e3;
  --cream-dim: #cdc0a9;
  --cream-dimmer: #9c8f7b;
  --gold: #c9a24b;
  --gold-light: #e7cd8b;
  --ember: #d9622b;
  --line: rgba(247, 240, 227, 0.1);
  --line-strong: rgba(247, 240, 227, 0.22);
  --font-serif: 'Playfair Display', 'Georgia', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-lg: 0 30px 60px -20px rgba(0,0,0,0.55);
  --ease: cubic-bezier(.22,1,.36,1);
}

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 20px; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 2px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #17130f;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -10px rgba(201,162,75,0.5); }
.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--cream);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-3px); }
.btn-dark { background: var(--bg); color: var(--cream); border: 1px solid var(--line-strong); }
.btn-dark:hover { border-color: var(--gold); color: var(--gold-light); }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }

/* ============================================================
   1. HEADER / NAV
============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 26px 0;
  transition: background .4s var(--ease), padding .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(20, 17, 15, 0.88);
  backdrop-filter: blur(14px);
  padding: 16px 0;
  border-color: var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-serif); font-size: 1.4rem; letter-spacing: 0.04em; }
.brand .mark {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 1rem;
}
.brand strong { color: var(--cream); font-weight: 700; }
.brand span { color: var(--gold-light); }

.main-nav { display: flex; align-items: center; gap: 40px; }
.main-nav ul { display: flex; gap: 34px; }
.main-nav a {
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--cream-dim);
  position: relative;
  padding-bottom: 6px;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold); transition: width .35s var(--ease);
}
.main-nav a:hover { color: var(--cream); }
.main-nav a:hover::after { width: 100%; }

.nav-toggle { display: none; width: 26px; height: 20px; position: relative; z-index: 600; }
.nav-toggle span {
  position: absolute; left: 0; right: 0; height: 2px; background: var(--cream);
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 9px; }
.nav-toggle span:nth-child(3) { top: 18px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 940px) {
  .main-nav { position: fixed; inset: 0; top: 0; height: 100vh; flex-direction: column; justify-content: center;
    background: rgba(15,12,10,0.98); transform: translateX(100%); transition: transform .5s var(--ease); }
  .nav-open .main-nav { transform: translateX(0); }
  .main-nav ul { flex-direction: column; text-align: center; gap: 28px; }
  .main-nav a { font-size: 1.1rem; }
  .main-nav .btn { margin-top: 12px; }
  .nav-toggle { display: block; }
}

/* ============================================================
   2. HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #000;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.62; transform: scale(1.02); }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,8,7,0.5) 0%, rgba(10,8,7,0.35) 40%, rgba(14,11,9,0.96) 100%),
    linear-gradient(90deg, rgba(10,8,7,0.85) 0%, rgba(10,8,7,0.15) 55%);
}
.hero-content { position: relative; z-index: 5; padding-top: 90px; }
.hero-content .eyebrow { margin-bottom: 22px; }
.hero-title {
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  line-height: 1.04;
  max-width: 820px;
  color: var(--cream);
}
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-sub {
  margin-top: 26px;
  max-width: 500px;
  color: var(--cream-dim);
  font-size: 1.08rem;
}
.hero-actions { display: flex; gap: 18px; margin-top: 42px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--cream-dimmer); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  z-index: 5;
}
.hero-scroll .line { width: 1px; height: 40px; background: linear-gradient(var(--gold), transparent); animation: scrollpulse 2.2s infinite; }
@keyframes scrollpulse { 0%,100% { opacity: .3; } 50% { opacity: 1; } }

/* marquee ribbon */
.marquee {
  position: relative; z-index: 6;
  border-top: 1px solid var(--line);
  background: rgba(10,8,7,0.5);
  overflow: hidden;
  padding: 16px 0;
}
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track span {
  display: flex; align-items: center; gap: 16px;
  padding: 0 28px;
  font-family: var(--font-serif); font-style: italic; font-size: 1.05rem;
  color: var(--cream-dim); white-space: nowrap;
}
.marquee-track span::after { content: "✦"; color: var(--gold); font-style: normal; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   3. STATS STRIP
============================================================ */
.stats { padding: 70px 0; border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; }
.stat { text-align: center; }
.stat .num { font-family: var(--font-serif); font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--gold-light); }
.stat .label { margin-top: 8px; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream-dimmer); }
@media (max-width: 800px) { .stats .wrap { grid-template-columns: repeat(2,1fr); gap: 40px 20px; } }

/* ============================================================
   4. SECTION GENERICS
============================================================ */
.section { padding: 130px 0; position: relative; }
.section-tight { padding: 90px 0; }
.section-head { max-width: 640px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title { font-size: clamp(2rem, 3.6vw, 3.1rem); margin-top: 18px; line-height: 1.15; }
.section-text { margin-top: 20px; color: var(--cream-dim); font-size: 1.05rem; max-width: 520px; }
.section-head.center .section-text { margin-inline: auto; }
.divider-orn { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold); margin-bottom: 18px; }
.divider-orn::before, .divider-orn::after { content: ""; width: 46px; height: 1px; background: var(--line-strong); }

/* ============================================================
   5. ABOUT
============================================================ */
.about { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 80px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: 4px; box-shadow: var(--shadow-lg); }
.about-media .frame {
  position: absolute; inset: 22px -22px -22px 22px;
  border: 1px solid var(--gold); border-radius: 4px; z-index: -1;
}
.about-badge {
  position: absolute; bottom: -28px; left: -28px;
  background: var(--gold); color: #17130f;
  width: 118px; height: 118px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; font-family: var(--font-serif); box-shadow: var(--shadow-lg);
}
.about-badge strong { font-size: 1.7rem; line-height: 1; }
.about-badge span { font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--font-sans); font-weight: 700; margin-top: 4px; }
.about-list { margin-top: 30px; display: grid; gap: 16px; }
.about-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--cream-dim); }
.about-list li svg { flex-shrink: 0; margin-top: 3px; color: var(--gold); }
.about-quote {
  margin-top: 34px; padding-left: 22px; border-left: 2px solid var(--gold);
  font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; color: var(--cream);
}
@media (max-width: 900px) { .about { grid-template-columns: 1fr; gap: 50px; } .about-media { max-width: 420px; margin: 0 auto 20px; } }

/* ============================================================
   6. MENU
============================================================ */
.menu-tabs { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 50px; }
.menu-tab {
  padding: 12px 22px; border: 1px solid var(--line-strong); border-radius: 100px;
  font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600;
  color: var(--cream-dim); transition: all .3s var(--ease);
}
.menu-tab.is-active, .menu-tab:hover { background: var(--gold); color: #17130f; border-color: var(--gold); }
.menu-panel { display: none; }
.menu-panel.is-active { display: block; animation: fadein .5s var(--ease); }
@keyframes fadein { from { opacity: 0; transform: translateY(10px);} to { opacity:1; transform: translateY(0);} }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 60px; }
@media (max-width: 800px) { .menu-grid { grid-template-columns: 1fr; } }
.menu-item { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.menu-item-name { font-family: var(--font-serif); font-size: 1.15rem; color: var(--cream); }
.menu-item-desc { margin-top: 6px; font-size: 0.9rem; color: var(--cream-dimmer); max-width: 320px; }
.menu-item-tag { display: inline-block; margin-left: 8px; font-size: 0.62rem; letter-spacing: 0.05em; padding: 2px 7px; border: 1px solid var(--gold); color: var(--gold-light); border-radius: 3px; text-transform: uppercase; vertical-align: middle; }
.menu-item-price { font-family: var(--font-serif); font-size: 1.2rem; color: var(--gold-light); white-space: nowrap; }

/* signature dish cards */
.dish-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 70px; }
@media (max-width: 1000px) { .dish-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .dish-grid { grid-template-columns: 1fr; } }
.dish-card { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 3/4; }
.dish-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.dish-card:hover img { transform: scale(1.08); }
.dish-card .overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px;
  background: linear-gradient(180deg, transparent 40%, rgba(10,8,7,0.92) 100%);
}
.dish-card .overlay .price { color: var(--gold-light); font-size: 0.85rem; margin-bottom: 4px; font-weight: 600; }
.dish-card .overlay .name { font-family: var(--font-serif); font-size: 1.15rem; }

/* ============================================================
   7. GALLERY
============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 14px;
}
.gallery-grid a { grid-row: span 1; overflow: hidden; border-radius: 4px; position: relative; display: block; }
.gallery-grid a:nth-child(1) { grid-row: span 2; grid-column: span 2; }
.gallery-grid a:nth-child(4) { grid-row: span 2; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .6s; filter: saturate(0.85); }
.gallery-grid a:hover img { transform: scale(1.06); filter: saturate(1.1); }
.gallery-grid a::after { content: "+"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--gold-light); background: rgba(10,8,7,0); opacity: 0; transition: all .35s; }
.gallery-grid a:hover::after { background: rgba(10,8,7,0.45); opacity: 1; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2,1fr); grid-auto-rows: 160px; } .gallery-grid a:nth-child(1) { grid-column: span 2; } }

/* ============================================================
   8. TESTIMONIALS
============================================================ */
.testi-band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }
.testi-card { background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 34px; }
.testi-stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 18px; font-size: 0.95rem; }
.testi-quote { font-family: var(--font-serif); font-style: italic; font-size: 1.08rem; color: var(--cream); }
.testi-person { margin-top: 22px; display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg,var(--gold),var(--ember)); display:flex; align-items:center; justify-content:center; font-family: var(--font-serif); font-weight:700; color:#17130f; }
.testi-person .name { font-weight: 600; font-size: 0.92rem; }
.testi-person .role { font-size: 0.78rem; color: var(--cream-dimmer); }

/* ============================================================
   9. RESERVATION
============================================================ */
.reserve { position: relative; overflow: hidden; }
.reserve-bg { position: absolute; inset: 0; }
.reserve-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.28; }
.reserve-bg::after { content:""; position:absolute; inset:0; background: linear-gradient(120deg, rgba(14,11,9,0.97) 30%, rgba(14,11,9,0.75)); }
.reserve-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: start; }
@media (max-width: 900px) { .reserve-inner { grid-template-columns: 1fr; gap: 40px; } }
.reserve-info-list { margin-top: 34px; display: grid; gap: 22px; }
.reserve-info-item { display: flex; gap: 16px; }
.reserve-info-item .ic { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center; color: var(--gold-light); flex-shrink: 0; }
.reserve-info-item h4 { font-size: 1rem; font-family: var(--font-sans); font-weight: 700; }
.reserve-info-item p { color: var(--cream-dim); margin-top: 4px; font-size: 0.92rem; }
.hours-table { margin-top: 10px; width: 100%; border-collapse: collapse; }
.hours-table td { padding: 6px 0; font-size: 0.9rem; color: var(--cream-dim); }
.hours-table td:last-child { text-align: right; color: var(--cream); font-weight: 600; }

.res-form { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 44px; }
.res-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .res-form .row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream-dimmer); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line-strong); border-radius: 3px;
  color: var(--cream); padding: 13px 14px; transition: border-color .3s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--cream-dimmer); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.res-form .btn-primary { width: 100%; justify-content: center; margin-top: 6px; }
.res-note { margin-top: 14px; font-size: 0.78rem; color: var(--cream-dimmer); text-align: center; }
.res-success { display: none; text-align: center; padding: 30px 10px; }
.res-success.is-visible { display: block; }
.res-success .ic-big { color: var(--gold); margin-bottom: 14px; }
.res-success h3 { font-size: 1.3rem; margin-bottom: 10px; }
.res-success p { color: var(--cream-dim); }

/* ============================================================
   10. MAP + CTA BAND
============================================================ */
.map-frame { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; filter: grayscale(0.4) contrast(1.1) brightness(0.9); }
.map-frame iframe { width: 100%; height: 340px; border: 0; display: block; }

.cta-band {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(120deg, #201a15, #14110f);
  border-top: 1px solid var(--line);
}
.cta-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); max-width: 700px; margin: 18px auto 0; }
.cta-band .btn { margin-top: 34px; }

/* ============================================================
   11. FOOTER
============================================================ */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 90px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 50px; padding-bottom: 60px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { margin-top: 18px; color: var(--cream-dimmer); font-size: 0.92rem; max-width: 280px; }
.social-row { display: flex; gap: 12px; margin-top: 24px; }
.social-row a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; transition: all .3s; }
.social-row a:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-3px); }
.footer-col h5 { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cream); margin-bottom: 22px; }
.footer-col ul { display: grid; gap: 13px; }
.footer-col a, .footer-col p { color: var(--cream-dimmer); font-size: 0.92rem; }
.footer-col a:hover { color: var(--gold-light); }
.newsletter-form { display: flex; margin-top: 8px; border-bottom: 1px solid var(--line-strong); padding-bottom: 10px; }
.newsletter-form input { background: none; border: none; color: var(--cream); flex: 1; padding: 6px 0; }
.newsletter-form input::placeholder { color: var(--cream-dimmer); }
.newsletter-form button { color: var(--gold-light); font-size: 0.85rem; font-weight: 700; }
.footer-bottom { border-top: 1px solid var(--line); padding: 26px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.footer-bottom p { font-size: 0.8rem; color: var(--cream-dimmer); }
.footer-bottom .legal { display: flex; gap: 22px; }
.footer-bottom .legal a { font-size: 0.8rem; color: var(--cream-dimmer); }
.footer-bottom .legal a:hover { color: var(--gold-light); }

.back-to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 400;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gold); color: #17130f;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: all .35s var(--ease); box-shadow: var(--shadow-lg);
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { transform: translateY(-4px); }
