/* =============================================================
   TEMPLATE STYLES
   Colours and fonts are injected from config.js (theme block) as
   CSS variables, so you rarely need to touch this file.
   ============================================================= */
:root {
  --bg: #FAF6F0; --bg-soft: #F5EFE6; --surface: rgba(255,252,247,.88);
  --text: #2C1E18; --muted: #5E473E; --accent: #9E2A2B; --accent2: #C85A32;
  --border: rgba(158,42,43,.18); --shadow: rgba(44,30,24,.09);
  --hero-overlay: rgba(250,246,240,.40);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --hero-image: none;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: linear-gradient(160deg, var(--bg) 0%, var(--bg-soft) 100%); background-attachment: fixed; color: var(--text); font-family: var(--font-body); overflow-x: hidden; min-height: 100vh; }
a { color: inherit; }
#bg-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; opacity: .55; }

.nav { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); width: min(1140px, 92vw); z-index: 50; background: var(--surface); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid var(--border); border-radius: 999px; padding: 14px 28px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 12px 32px var(--shadow); gap: 12px; flex-wrap: wrap; }
.nav-brand { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 800; color: var(--text); text-decoration: none; }
.nav-cta { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; font-weight: 700; text-decoration: none; padding: 10px 22px; border-radius: 999px; font-size: .92rem; transition: transform .2s; box-shadow: 0 8px 20px var(--shadow); white-space: nowrap; }
.nav-cta:hover { transform: scale(1.05); }

.hero { position: relative; min-height: 90vh; display: flex; align-items: center; justify-content: center; padding: 130px 24px 80px; z-index: 2; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(180deg, var(--hero-overlay) 0%, color-mix(in srgb, var(--bg-soft) 88%, transparent) 78%, var(--bg) 100%), var(--hero-image) center/cover no-repeat; z-index: -1; }
.hero-inner { max-width: 960px; text-align: center; background: color-mix(in srgb, var(--bg) 87%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--border); border-radius: 32px; padding: 44px 36px; box-shadow: 0 24px 60px var(--shadow); }
.pill { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; background: var(--bg-soft); border: 1px solid var(--accent); padding: 8px 18px; border-radius: 999px; font-size: .84rem; font-weight: 700; letter-spacing: .05em; margin-bottom: 20px; color: var(--accent); text-transform: uppercase; }
.live-status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 800; background: rgba(100,100,100,.12); color: var(--muted); }
.live-status.is-open { background: rgba(22,163,74,.15); color: #15803d; }
.live-status.is-closed { background: rgba(217,119,6,.16); color: #b45309; }
h1 { font-family: var(--font-heading); font-size: clamp(2.5rem, 5.5vw, 4.4rem); line-height: 1.08; margin-bottom: 18px; color: var(--text); }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); max-width: 720px; margin: 0 auto 30px; line-height: 1.65; font-weight: 500; }
.btn-group { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.btn { padding: 16px 28px; border-radius: 16px; font-weight: 800; text-decoration: none; font-size: 1.02rem; transition: transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; box-shadow: 0 14px 30px var(--shadow); }
.btn-wa { background: linear-gradient(135deg, #16a34a, #15803d); color: #fff; box-shadow: 0 14px 30px rgba(22,163,74,.22); }
.btn-glass { background: var(--bg); border: 1.5px solid var(--accent); color: var(--accent); font-weight: 700; }

.section { position: relative; z-index: 2; max-width: 1160px; margin: 0 auto; padding: 64px 24px; }
.sec-title { font-family: var(--font-heading); font-size: 2.4rem; margin-bottom: 10px; text-align: center; color: var(--text); }
.sec-sub { color: var(--muted); text-align: center; margin-bottom: 32px; font-size: 1.06rem; }
.tab-bar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 32px; }
.tab-btn { background: var(--surface); color: var(--muted); border: 1px solid var(--border); padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: .86rem; cursor: pointer; transition: all .2s; font-family: inherit; }
.tab-btn.active, .tab-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 26px; perspective: 1200px; }
.tilt-card { background: var(--surface); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--border); border-radius: 24px; overflow: hidden; transition: transform .15s ease-out, box-shadow .2s; transform-style: preserve-3d; box-shadow: 0 18px 40px var(--shadow); }
.tilt-card[hidden] { display: none; }
.card-img { height: 220px; background-size: cover; background-position: center; position: relative; background-color: var(--bg-soft); }
.price-pill { position: absolute; top: 14px; right: 14px; background: var(--surface); border: 1.5px solid var(--accent); color: var(--accent); font-weight: 800; padding: 6px 14px; border-radius: 999px; font-size: .92rem; transform: translateZ(30px); box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.card-body { padding: 22px; transform: translateZ(20px); }
.card-body h3 { font-size: 1.2rem; margin-bottom: 8px; color: var(--text); font-family: var(--font-heading); }
.card-body p { color: var(--muted); font-size: .94rem; line-height: 1.55; }

.info-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 32px; align-items: stretch; }
.glass-panel { background: var(--surface); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--border); border-radius: 28px; padding: 34px; box-shadow: 0 20px 45px var(--shadow); color: var(--text); }
.panel-title { font-family: var(--font-heading); font-size: 1.9rem; margin-bottom: 14px; }
.hours-banner { background: rgba(22,163,74,.12); border: 1px solid rgba(22,163,74,.38); color: #15803d; padding: 12px 18px; border-radius: 14px; font-weight: 700; margin-bottom: 20px; display: inline-block; }
.hours-banner:empty { display: none; }
.day-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: .98rem; color: var(--text); gap: 12px; }
.day-row.today { font-weight: 800; color: var(--accent); }
.closed-row { color: #B91C1C; font-weight: 800; }
.contact-row { margin-bottom: 8px; line-height: 1.5; }
.contact-row a { color: var(--accent); font-weight: 700; text-decoration: none; }
.map-frame { width: 100%; height: 290px; border: 1px solid var(--border); border-radius: 18px; margin-top: 18px; }
.map-placeholder { height: 290px; margin-top: 18px; border-radius: 18px; border: 1.5px dashed var(--accent); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 20px; color: var(--muted); font-weight: 600;
  background: repeating-linear-gradient(45deg, var(--bg-soft) 0 14px, var(--bg) 14px 28px); }
.map-placeholder strong { color: var(--accent); font-size: 1.1rem; }
.footer { text-align: center; color: var(--muted); padding: 36px 16px; font-size: .9rem; position: relative; z-index: 2; border-top: 1px solid var(--border); }
.footer a { color: var(--accent); font-weight: 700; text-decoration: none; }

@media (max-width: 640px) {
  .nav { border-radius: 24px; padding: 12px 18px; justify-content: center; }
  .hero-inner { padding: 32px 20px; }
  .glass-panel { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { #bg-canvas { display: none; } .tilt-card { transition: none; } }
