/*
Theme Name: Brughoven
Theme URI: https://brughoven.org
Author: Brughoven
Description: Restauracja z Casino Lounge w Krakowie — landing page z pełną strukturą stron i popupami (weryfikacja wieku, cookies).
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: brughoven
*/

/* TOKENS — głęboka winna czerń + złoto, ciepły papier. */
:root{
  --bh-void:      #1A1013;
  --bh-panel:     #241720;
  --bh-panel-2:   #2E1D2B;
  --bh-line:      #4A2E3D;
  --bh-gold:      #C9A45C;
  --bh-gold-dim:  #8C7038;
  --bh-wine:      #A23347;
  --bh-wine-deep: #6E1F2E;
  --bh-paper:     #F3E9DC;
  --bh-ink:       #B6A0AC;

  --bh-display: 'Frank Ruhl Libre', Georgia, serif;
  --bh-body:    'Jost', sans-serif;
  --bh-mono:    'Courier Prime', monospace;

  --bh-max: 1180px;
  --bh-edge: clamp(20px, 5vw, 64px);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; background:var(--bh-void); color:var(--bh-paper);
  font-family:var(--bh-body); font-size:16px; line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
body.bh-locked{ overflow:hidden; }
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }

h1,h2,h3,h4{ font-family:var(--bh-display); font-weight:500; line-height:1.15; margin:0 0 .5em; color:var(--bh-paper); }
h1{ font-size:clamp(34px,5.4vw,66px); }
h2{ font-size:clamp(26px,3.4vw,42px); }
h3{ font-size:clamp(19px,2vw,24px); }
p{ margin:0 0 1em; color:var(--bh-ink); }

.bh-wrap{ max-width:var(--bh-max); margin:0 auto; padding:0 var(--bh-edge); }
.bh-eyebrow{ font-family:var(--bh-mono); font-size:12px; letter-spacing:.18em; text-transform:uppercase; color:var(--bh-gold); display:inline-block; margin-bottom:14px; }
.bh-eyebrow::before{ content:"— "; }

.bh-card{ background:var(--bh-panel); border:1px solid var(--bh-line); }
.bh-card--gold{ border-color:rgba(201,164,92,.4); }

.bh-btn{ display:inline-flex; align-items:center; gap:10px; font-family:var(--bh-mono); font-size:12.5px; letter-spacing:.08em; text-transform:uppercase; padding:14px 28px; border:1px solid var(--bh-gold); color:var(--bh-paper); background:transparent; transition:background .2s ease, color .2s ease; }
.bh-btn:hover{ background:var(--bh-gold); color:var(--bh-void); }
.bh-btn--wine{ border-color:var(--bh-wine); }
.bh-btn--wine:hover{ background:var(--bh-wine); color:var(--bh-paper); }
.bh-btn--solid{ background:var(--bh-gold); color:var(--bh-void); }
.bh-btn--solid:hover{ background:var(--bh-paper); border-color:var(--bh-paper); }

.bh-divider{ height:1px; background:linear-gradient(to right, transparent, var(--bh-gold-dim) 20%, var(--bh-gold-dim) 80%, transparent); }

/* HEADER */
.bh-header{ position:sticky; top:0; z-index:50; background:rgba(26,16,19,.94); backdrop-filter:blur(6px); border-bottom:1px solid var(--bh-line); }
.bh-header__row{ display:flex; align-items:center; justify-content:space-between; height:82px; }
.bh-brand{ font-family:var(--bh-display); font-size:23px; letter-spacing:.02em; }
.bh-brand em{ color:var(--bh-gold); font-style:normal; }
.bh-brand small{ display:block; font-family:var(--bh-mono); font-size:9px; letter-spacing:.22em; color:var(--bh-ink); text-transform:uppercase; margin-top:2px; }
.bh-nav ul{ list-style:none; display:flex; gap:26px; margin:0; padding:0; }
.bh-nav a{ font-family:var(--bh-mono); font-size:11.5px; letter-spacing:.05em; text-transform:uppercase; color:var(--bh-ink); }
.bh-nav a:hover{ color:var(--bh-gold); }
.bh-toggle{ display:none; background:none; border:0; color:var(--bh-paper); font-size:22px; }
@media (max-width:960px){
  .bh-nav{ position:fixed; inset:82px 0 0 0; background:var(--bh-void); transform:translateX(100%); transition:transform .25s ease; padding:32px var(--bh-edge); overflow-y:auto; }
  .bh-nav.bh-open{ transform:translateX(0); }
  .bh-nav ul{ flex-direction:column; gap:20px; }
  .bh-toggle{ display:block; }
}

/* HERO */
.bh-hero{ position:relative; min-height:78vh; display:flex; align-items:flex-end; overflow:hidden; }
.bh-hero__bg{ position:absolute; inset:0; }
.bh-hero__bg img{ width:100%!important; height:100%!important; object-fit:cover!important; }
.bh-hero__fade{ position:absolute; inset:0; background:linear-gradient(to top, var(--bh-void) 5%, rgba(26,16,19,.35) 55%, rgba(26,16,19,.15) 100%); }
.bh-hero__content{ position:relative; z-index:2; padding-bottom:64px; max-width:680px; }
.bh-hero__actions{ display:flex; gap:16px; flex-wrap:wrap; margin-top:28px; }

/* KONCEPCJA / bullet list */
.bh-concept{ padding:96px 0; }
.bh-concept__grid{ display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:start; }
.bh-bullets{ list-style:none; margin:24px 0 0; padding:0; }
.bh-bullets li{ display:flex; gap:14px; padding:14px 0; border-bottom:1px solid var(--bh-line); }
.bh-bullets li::before{ content:"♦"; color:var(--bh-gold); flex-shrink:0; }
@media (max-width:860px){ .bh-concept__grid{ grid-template-columns:1fr; } }

/* KREATOR WIECZORU — widget podpisowy */
.bh-planner{ padding:96px 0; background:var(--bh-panel-2); }
.bh-planner__grid{ display:grid; grid-template-columns:1fr 1fr; gap:44px; align-items:start; margin-top:36px; }
.bh-planner__group{ margin-bottom:26px; }
.bh-planner__label{ font-family:var(--bh-mono); font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--bh-ink); margin-bottom:10px; display:block; }
.bh-chip-row{ display:flex; flex-wrap:wrap; gap:9px; }
.bh-chip{ font-family:var(--bh-mono); font-size:12px; padding:10px 16px; border:1px solid var(--bh-line); background:transparent; color:var(--bh-ink); text-transform:uppercase; }
.bh-chip.bh-chip--active{ border-color:var(--bh-gold); color:var(--bh-gold); background:rgba(201,164,92,.08); }
.bh-planner__result{ padding:32px; }
.bh-planner__title{ font-family:var(--bh-display); font-size:24px; margin-bottom:10px; }
.bh-planner__desc{ min-height:70px; }
.bh-planner__meta{ font-family:var(--bh-mono); font-size:12px; color:var(--bh-gold); border-top:1px solid var(--bh-line); padding-top:16px; margin-top:16px; }
@media (max-width:860px){ .bh-planner__grid{ grid-template-columns:1fr; } }

/* PODRÓŻ WIECZORU — 5 kroków */
.bh-journey{ padding:96px 0; }
.bh-journey__step{ display:grid; grid-template-columns:80px 1fr; gap:28px; padding:32px 0; border-bottom:1px solid var(--bh-line); }
.bh-journey__num{ font-family:var(--bh-display); font-size:36px; color:var(--bh-gold); opacity:.5; }
@media (max-width:640px){ .bh-journey__step{ grid-template-columns:50px 1fr; } .bh-journey__num{ font-size:26px; } }

/* 3-COL SPLIT (Restauracja preview / Casino Lounge preview) */
.bh-triple{ padding:96px 0; }
.bh-triple__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--bh-line); margin-top:36px; }
.bh-triple__cell{ background:var(--bh-void); }
.bh-triple__photo{ aspect-ratio:4/3; overflow:hidden; }
.bh-triple__photo img{ width:100%!important; height:100%!important; object-fit:cover!important; }
.bh-triple__body{ padding:24px; }
@media (max-width:860px){ .bh-triple__grid{ grid-template-columns:1fr; } }

/* GAME CARDS (Poker/Ruletka/Blackjack) */
.bh-games{ padding:96px 0; background:var(--bh-panel-2); }
.bh-games__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:36px; }
.bh-game-card{ padding:28px; text-align:center; }
.bh-game-card .bh-icon{ width:48px; height:48px; margin:0 auto 18px; color:var(--bh-gold); }
@media (max-width:860px){ .bh-games__grid{ grid-template-columns:1fr; } }

/* WIECZORY — kalendarz wydarzeń */
.bh-events{ padding:96px 0; }
.bh-event-row{ display:grid; grid-template-columns:110px 1fr 140px; gap:20px; align-items:center; padding:22px 0; border-bottom:1px solid var(--bh-line); }
.bh-event-row .bh-event-date{ font-family:var(--bh-mono); font-size:13px; color:var(--bh-gold); }
.bh-event-row .bh-event-tag{ font-family:var(--bh-mono); font-size:11px; color:var(--bh-ink); text-transform:uppercase; text-align:right; }
@media (max-width:700px){ .bh-event-row{ grid-template-columns:1fr; text-align:left; } .bh-event-row .bh-event-tag{ text-align:left; } }

/* MENU */
.bh-menu-cat{ margin-bottom:48px; }
.bh-menu-item{ display:flex; justify-content:space-between; gap:20px; padding:16px 0; border-bottom:1px dotted var(--bh-line); }
.bh-menu-item__name{ font-family:var(--bh-display); font-size:17px; }
.bh-menu-item__desc{ font-size:13.5px; color:var(--bh-ink); margin-top:4px; }
.bh-menu-item__price{ font-family:var(--bh-mono); color:var(--bh-gold); white-space:nowrap; }

/* REZERWACJA / FORM */
.bh-reserve{ padding:96px 0; }
.bh-reserve__grid{ display:grid; grid-template-columns:1fr 1fr; gap:48px; }
.bh-field{ margin-bottom:20px; }
.bh-field label{ display:block; font-family:var(--bh-mono); font-size:11px; text-transform:uppercase; letter-spacing:.06em; color:var(--bh-ink); margin-bottom:8px; }
.bh-field input, .bh-field select, .bh-field textarea{ width:100%; background:var(--bh-void); border:1px solid var(--bh-line); color:var(--bh-paper); padding:12px 14px; font-family:var(--bh-body); font-size:15px; }
.bh-field input:focus, .bh-field select:focus, .bh-field textarea:focus{ outline:2px solid var(--bh-gold); outline-offset:1px; }
.bh-trap{ position:absolute; left:-9999px; }
.bh-notice{ font-family:var(--bh-mono); font-size:13px; padding:14px 18px; margin-bottom:22px; border:1px solid; }
.bh-notice--ok{ border-color:var(--bh-gold); color:var(--bh-gold); }
.bh-notice--err{ border-color:var(--bh-wine); color:#e08a97; }
@media (max-width:860px){ .bh-reserve__grid{ grid-template-columns:1fr; } }

/* FOOTER */
.bh-footer{ padding:56px 0 30px; border-top:1px solid var(--bh-line); margin-top:20px; }
.bh-footer__row{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:24px; }
.bh-footer__cols{ display:flex; gap:56px; flex-wrap:wrap; }
.bh-footer__col h4{ font-family:var(--bh-mono); font-size:11px; color:var(--bh-ink); margin-bottom:14px; letter-spacing:.08em; text-transform:uppercase; }
.bh-footer__col ul{ list-style:none; margin:0; padding:0; }
.bh-footer__col li{ margin-bottom:9px; }
.bh-footer__col a{ font-family:var(--bh-mono); font-size:12.5px; color:var(--bh-ink); }
.bh-footer__col a:hover{ color:var(--bh-gold); }
.bh-footer__bottom{ font-family:var(--bh-mono); font-size:10.5px; color:var(--bh-ink); margin-top:36px; border-top:1px solid var(--bh-line); padding-top:18px; display:flex; flex-wrap:wrap; gap:8px 24px; justify-content:space-between; }
.bh-footer__address{ font-family:var(--bh-mono); font-size:12px; color:var(--bh-ink); line-height:1.9; }

/* POPUP: WERYFIKACJA WIEKU (21+) */
.bh-age-gate{ position:fixed; inset:0; z-index:300; display:none; align-items:center; justify-content:center; background:rgba(10,6,8,.92); padding:20px; }
.bh-age-gate.bh-shown{ display:flex; }
.bh-age-gate__box{ max-width:440px; width:100%; padding:44px 36px; text-align:center; background:var(--bh-panel); border:1px solid var(--bh-gold-dim); }
.bh-age-gate__box h2{ font-size:26px; margin-bottom:16px; }
.bh-age-gate__actions{ display:flex; gap:14px; margin-top:28px; flex-wrap:wrap; justify-content:center; }
.bh-age-gate__note{ font-size:12px; color:var(--bh-ink); margin-top:20px; }
.bh-age-gate__decline{ text-align:center; padding:40px 20px; }

/* POPUP: COOKIES */
.bh-cookiebar{ position:fixed; left:0; right:0; bottom:0; z-index:200; background:var(--bh-panel); border-top:1px solid var(--bh-gold-dim); padding:18px var(--bh-edge); display:none; align-items:center; justify-content:space-between; gap:22px; flex-wrap:wrap; }
.bh-cookiebar.bh-shown{ display:flex; }
.bh-cookiebar p{ font-family:var(--bh-mono); font-size:12px; color:var(--bh-ink); margin:0; max-width:640px; }
.bh-cookiebar .bh-btn{ padding:10px 20px; }

/* TREŚĆ OGÓLNA / STRONY PRAWNE */
.bh-pagehero{ padding:60px 0 36px; }
.bh-content{ padding:56px 0; }
.bh-content .bh-wrap{ max-width:800px; }
.bh-content h2{ margin-top:1.4em; }
.bh-faq{ border-bottom:1px solid var(--bh-line); padding:16px 0; }
.bh-faq summary{ cursor:pointer; font-family:var(--bh-display); font-size:17px; }
.bh-table{ width:100%; border-collapse:collapse; margin:20px 0; font-size:13px; }
.bh-table th, .bh-table td{ border:1px solid var(--bh-line); padding:10px 12px; text-align:left; }
.bh-table th{ font-family:var(--bh-mono); font-size:11px; text-transform:uppercase; color:var(--bh-gold); }

@media (prefers-reduced-motion: reduce){ *{ animation:none!important; transition:none!important; } html{ scroll-behavior:auto; } }
:focus-visible{ outline:2px solid var(--bh-gold); outline-offset:2px; }
