:root {
  --bg: #070707;
  --panel: #111111;
  --panel-2: #181818;
  --text: #f7f2ea;
  --muted: #b7aa99;
  --line: rgba(255,255,255,.12);
  --gold: #d98538;
  --gold-2: #f2b35f;
  --green: #15382c;
  --danger: #d95555;
  --ok: #50c878;
  --radius: 28px;
  --font: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Header / Nav ── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 82px; padding: 16px clamp(18px, 5vw, 64px);
  display: flex; align-items: center; justify-content: space-between; transition: .25s ease;
}
.site-header.is-scrolled { background: rgba(7,7,7,.92); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 230px; }
.brand img { height: 54px; width: auto; object-fit: contain; }
.brand-mark { display: grid; place-items: center; width: 52px; height: 52px; border: 2px solid var(--gold); border-radius: 50%; color: var(--gold); font-family: var(--serif); font-weight: 800; line-height: .85; text-align: center; font-size: 14px; }
.brand-text { color: var(--gold); font-family: var(--serif); font-weight: 800; font-size: clamp(24px, 3vw, 38px); text-transform: uppercase; letter-spacing: 1px; }
.main-nav { display: flex; align-items: center; gap: 22px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.main-nav a { color: rgba(255,255,255,.82); transition: color .2s; }
.main-nav a:hover { color: var(--gold-2); }
.nav-admin { color: var(--gold-2) !important; font-size: 12px; }
.nav-cta, .btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--gold); color: #160d05 !important; border-radius: 999px; padding: 12px 18px; font-weight: 900; border: 0; cursor: pointer; font-size: inherit; font-family: inherit; transition: .15s; }
.btn-primary:hover, .nav-cta:hover { background: #e69440; }
.btn-outline { display: inline-flex; justify-content: center; border: 1px solid rgba(255,255,255,.35); color: #fff; border-radius: 999px; padding: 12px 18px; font-weight: 900; transition: .2s; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-2); }
.nav-toggle { display: none; background: rgba(255,255,255,.08); border: 1px solid var(--line); color: #fff; padding: 10px 14px; border-radius: 999px; font-size: 20px; cursor: pointer; }

/* ── Hero ── */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; text-align: center; }
.hero-bg, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background-size: cover; background-position: center; filter: brightness(.4) contrast(1.05); transform: scale(1.02); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg), transparent 55%), radial-gradient(circle at 50% 40%, transparent, rgba(0,0,0,.55)); }
.hero-content { position: relative; z-index: 2; max-width: 980px; padding: 120px 20px 80px; animation: rise .8s ease both; }
.hero-badge { display: inline-block; border: 1px solid rgba(217,133,56,.35); background: rgba(217,133,56,.12); color: var(--gold-2); border-radius: 999px; padding: 8px 14px; font-size: 12px; font-weight: 900; letter-spacing: .18em; }
.hero-title { margin: 20px 0 14px; font: 800 clamp(52px, 10vw, 116px)/.92 var(--serif); letter-spacing: -2px; }
.hero-logo { max-height: 150px; margin: 24px auto; object-fit: contain; }
.hero-tagline { max-width: 680px; margin: 0 auto 32px; color: #e2d9ce; font-size: clamp(18px, 2vw, 24px); line-height: 1.55; }
.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-scroll { position: absolute; z-index: 3; bottom: 24px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }

/* ── Sections & Layout ── */
.section { padding: clamp(72px, 10vw, 120px) clamp(18px, 5vw, 64px); }
.container { max-width: 1180px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 44px; }
.subtitle { color: var(--gold); font-family: var(--serif); font-size: 21px; font-style: italic; display: block; }
.section-title { margin: 8px 0 12px; font: 800 clamp(34px, 5vw, 58px)/1.05 var(--serif); }
.highlight { color: var(--gold); }
.divider { width: 74px; height: 4px; border-radius: 10px; background: var(--gold); margin: 20px auto 0; }

/* ── Menu ── */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filter-btn { border: 1px solid var(--line); background: #151515; color: #dfd5c8; border-radius: 999px; padding: 11px 18px; cursor: pointer; font-weight: 900; text-transform: uppercase; font-size: 12px; letter-spacing: .08em; font-family: inherit; transition: .15s; }
.filter-btn.is-active, .filter-btn:hover { background: var(--gold); color: #150c05; border-color: var(--gold); }
.menu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.menu-card { background: #101010; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .25s ease; }
.menu-card:hover { transform: translateY(-6px); border-color: rgba(217,133,56,.55); box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.menu-card.is-hidden { display: none; }
.menu-image { position: relative; height: 235px; overflow: hidden; }
.menu-image img { width: 100%; height: 100%; object-fit: cover; transition: .5s ease; }
.menu-card:hover img { transform: scale(1.08); }
.price { position: absolute; top: 16px; right: 16px; background: rgba(0,0,0,.75); backdrop-filter: blur(8px); color: var(--gold-2); border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; font-weight: 900; }
.featured { position: absolute; top: 16px; left: 16px; background: var(--gold); color: #160d05; border-radius: 999px; padding: 7px 10px; font-size: 11px; font-weight: 900; }
.menu-body { padding: 22px; }
.menu-body h3 { margin: 0 0 8px; font: 800 24px/1.1 var(--serif); }
.menu-body p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 14px; }

/* ── Wine & Drinks ── */
.wine { background: #050505; }
.wine-grid, .contact-grid, .reservation-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 54px; align-items: center; }
.wine p, .contact p, .reservation-copy p { color: var(--muted); line-height: 1.8; font-size: 17px; }
.wine-image img { width: 100%; height: 560px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }

/* ── Forms / Reservations ── */
.reservation-box, .admin-card, .contact-item { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
label { display: block; color: #d8cbbd; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
input, select, textarea { width: 100%; background: #080808; color: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; outline: none; font: inherit; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217,133,56,.15); }
.field { margin-bottom: 16px; }
.message { border-radius: 16px; padding: 14px 16px; margin-bottom: 20px; font-weight: 700; }
.message.ok { background: rgba(80,200,120,.12); color: #8ee6a8; border: 1px solid rgba(80,200,120,.25); }
.message.error { background: rgba(217,85,85,.12); color: #ff9d9d; border: 1px solid rgba(217,85,85,.25); }

/* ── Contact ── */
.contact-list { display: grid; gap: 5px; }
.contact-item h4 { margin: 0 0 6px; color: var(--gold-2); }
.map { min-height: 450spx; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #111; }
.map iframe { width: 100%; height: 100%; min-height: 450px; border: 0; filter: grayscale(.9) invert(.9) contrast(1.05); }

/* ── Footer ── */
.footer { padding: 34px clamp(18px, 5vw, 64px); border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 14px; }
.footer strong { color: var(--gold); }
.back-top { color: var(--gold-2); font-weight: 900; }

/* ══════════════════════════════════════════
   CUSTOM SECTIONS (Offers / Events / Banners)
   ══════════════════════════════════════════ */
.custom-section { position: relative; overflow: hidden; }
.custom-section .container { position: relative; z-index: 2; }

/* Banner style */
.cs-banner { text-align: center; }
.cs-banner-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  background-size: cover; background-position: center;
  filter: brightness(.35) contrast(1.05);
}
.cs-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--bg), transparent 50%), linear-gradient(to bottom, var(--bg), transparent 50%);
  opacity: .7;
}
.cs-banner-content { position: relative; z-index: 3; max-width: 780px; margin: 0 auto; }
.cs-banner-content .section-title { font-size: clamp(32px, 6vw, 64px); }
.cs-body { color: var(--muted); font-size: 18px; line-height: 1.75; margin: 18px 0 28px; max-width: 700px; }
.cs-banner-content .cs-body { margin-left: auto; margin-right: auto; }

/* Split style */
.cs-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.cs-split-rev { direction: rtl; }
.cs-split-rev > * { direction: ltr; }
.cs-split-img img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }
.cs-split-text .divider { margin-left: 0; }

/* Centered style */
.cs-centered { text-align: center; max-width: 900px; margin: 0 auto; }
.cs-centered-img { margin: 28px auto 24px; max-width: 700px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.cs-centered-img img { width: 100%; height: auto; }

/* Alternating section backgrounds */
.custom-section:nth-child(odd) { background: var(--bg); }
.custom-section:nth-child(even) { background: #0a0a0a; }

/* ── Admin ── */
.admin-shell { min-height: 100vh; padding: 28px; background: #070707; }
.admin-wrap { max-width: 1240px; margin: 0 auto; }
.admin-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 24px; flex-wrap: wrap; }
.admin-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.admin-tabs a, .small-btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #151515; color: #fff; padding: 10px 14px; border-radius: 999px; font-weight: 800; font-size: 13px; cursor: pointer; font-family: inherit; transition: .15s; white-space: nowrap; }
.admin-tabs .active, .small-btn.gold { background: var(--gold); color: #130a03; border-color: var(--gold); }
.small-btn:hover { background: #222; }
.small-btn.gold:hover { background: #e69440; }
.admin-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.admin-stat { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.admin-stat span { color: var(--muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.admin-stat strong { display: block; font-size: 36px; color: #fff; margin-top: 6px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 14px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--gold-2); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.danger { color: #ff9d9d !important; border-color: rgba(217,85,85,.4) !important; }
.danger:hover { background: rgba(217,85,85,.15) !important; }
.preview-box { display: inline-block; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; top: 82px; left: 16px; right: 16px; padding: 18px; border-radius: 22px; background: rgba(7,7,7,.96); backdrop-filter: blur(12px); border: 1px solid var(--line); flex-direction: column; align-items: stretch; }
  .main-nav.is-open { display: flex; }
  .brand { min-width: 0; }
  .brand-text { font-size: 23px; }
  .menu-grid, .wine-grid, .contact-grid, .reservation-grid, .admin-grid, .cs-split { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .wine-image img { height: 420px; }
  .cs-split-img img { height: 300px; }
  .footer { flex-direction: column; }
}

@media (max-width: 600px) {
  .menu-grid { grid-template-columns: 1fr; }
  .admin-grid { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: clamp(42px, 12vw, 72px); }
}
