/* =========================================================================
   ABSOLEM Lounge Bar & Shisha — base.css
   Spoločné štýly pre všetky stránky: brand tokeny, typografia, navigácia,
   pätička, tlačidlá, dekoratívne prvky (art-deco rohy, ghost nadpisy).
   Túto tému linkuj na KAŽDEJ stránke PRED jej vlastným CSS.
   ========================================================================= */

/* ---- Fonty (Google Fonts) --------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600;700;800&family=Great+Vibes&display=swap');

/* ---- Design tokeny ----------------------------------------------------- */
:root {
  /* Zelené odtiene (z menu a webu) */
  --green-950: #071c16;
  --green-900: #0a2620;
  --green-850: #0c332a;   /* hlavné pozadie */
  --green-800: #0f3d32;
  --green-700: #14493b;
  --green-600: #1c5a49;

  /* Zlatá (z menu) */
  --gold:      #d8a72c;
  --gold-2:    #e8c25a;
  --gold-soft: rgba(216, 167, 44, 0.14);

  /* Text */
  --cream:     #f3eee1;
  --cream-dim: #d8d3c4;
  --muted:     #9fb3a7;   /* stlmený zelenkastý text */

  /* Systémové */
  --line:      rgba(216, 167, 44, 0.28);
  --line-soft: rgba(243, 238, 225, 0.10);
  --shadow:    0 18px 50px rgba(0, 0, 0, 0.45);
  --radius:    14px;
  --maxw:      1200px;
  --nav-h:     74px;

  --ff-display: 'Cinzel', Georgia, serif;
  --ff-script:  'Great Vibes', cursive;
  --ff-body:    'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ---- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  font-family: var(--ff-body);
  color: var(--cream);
  background: var(--green-850);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* Jemné zelené pozadie s hĺbkou pre celý web */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 700px at 82% -8%, rgba(28, 90, 73, 0.55), transparent 60%),
    radial-gradient(900px 600px at 8% 108%, rgba(20, 73, 59, 0.5), transparent 60%),
    linear-gradient(180deg, var(--green-900), var(--green-850) 40%, var(--green-900));
}

/* ---- Layout pomocníci -------------------------------------------------- */
.container { width: min(var(--maxw), 92vw); margin-inline: auto; }

.section { padding: clamp(56px, 8vw, 108px) 0; position: relative; }
.section--tight { padding: clamp(40px, 5vw, 68px) 0; }

/* ---- Typografia -------------------------------------------------------- */
.eyebrow {
  font-family: var(--ff-body);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--ff-display);
  font-weight: 600;
  line-height: 1.08;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  letter-spacing: 0.02em;
  color: var(--cream);
}

.section-title .script {
  font-family: var(--ff-script);
  color: var(--gold-2);
  font-weight: 400;
  display: inline-block;
  font-size: 1.35em;
  line-height: 0.9;
  letter-spacing: 0;
}

.lead { color: var(--cream-dim); font-size: 1.06rem; max-width: 62ch; }

/* Ghost nadpis (veľký stlmený text za nadpisom — ako v menu) */
.ghost-head { position: relative; }
/* sekčné ghost nadpisy neprečnievajú do susednej sekcie */
.section.ghost-head { overflow: hidden; }
.ghost-head .ghost {
  position: absolute;
  left: -0.01em;
  top: 0.08em;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 8.5vw, 6rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(243, 238, 225, 0.05);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}
/* z-index len pre obsah — NIE pre dekoratívne rohy (tie musia ostať absolute) */
.ghost-head > *:not(.ghost):not(.deco-corner) { position: relative; z-index: 1; }

/* ---- Tlačidlá ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--green-950); box-shadow: 0 10px 26px rgba(216,167,44,.28); }
.btn--gold:hover { background: var(--gold-2); }
.btn--ghost { background: transparent; color: var(--cream); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn--wa { background: #25D366; color: #06331c; box-shadow: 0 10px 26px rgba(37,211,102,.28); }
.btn--wa:hover { background: #2ee578; }

/* ---- Dekoratívny art-deco rám (rohy so slnkom) ------------------------- */
.deco-frame { position: relative; }
.deco-corner {
  position: absolute; width: 66px; height: 66px; opacity: .8;
  color: var(--gold); pointer-events: none;
}
.deco-corner--tl { top: 16px; left: 16px; }
.deco-corner--tr { top: 16px; right: 16px; transform: scaleX(-1); }
.deco-corner--bl { bottom: 16px; left: 16px; transform: scaleY(-1); }
.deco-corner--br { bottom: 16px; right: 16px; transform: scale(-1); }

/* jemný zlatý oddeľovač so stredovým kosoštvorcom */
.divider { display: flex; align-items: center; gap: 14px; color: var(--line); }
.divider::before, .divider::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--line), transparent); }
.divider .dot { width: 8px; height: 8px; transform: rotate(45deg); border: 1px solid var(--gold); }

/* =========================================================================
   NAVIGÁCIA
   ========================================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(8, 30, 24, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease;
}
.nav.is-scrolled { background: rgba(7, 24, 19, 0.9); border-bottom-color: var(--line-soft); }
.nav__inner { width: min(var(--maxw), 94vw); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__brand img { height: 40px; width: auto; }
.nav__brand .wordmark {
  font-family: var(--ff-display); font-weight: 700; letter-spacing: .18em;
  font-size: 1.15rem; color: var(--cream);
}

.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a {
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cream-dim); position: relative; padding: 6px 0;
  transition: color .2s ease;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--gold); transition: width .25s ease;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--gold-2); }
.nav__links a:hover::after, .nav__links a.is-active::after { width: 100%; }

.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.9rem; color: var(--cream);
}
.nav__phone svg { color: var(--gold); }

.nav__toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: transparent; border-radius: 10px; cursor: pointer; color: var(--cream);
  align-items: center; justify-content: center;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: .25s;
}
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after { position: absolute; top: 6px; }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { top: 0; transform: rotate(45deg); }
.nav.is-open .nav__toggle span::after { top: 0; transform: rotate(-45deg); }

/* =========================================================================
   PÄTIČKA
   ========================================================================= */
.footer { background: var(--green-950); border-top: 1px solid var(--line-soft); padding: 64px 0 28px; position: relative; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer h4 { font-family: var(--ff-display); font-size: 1rem; letter-spacing: .12em; color: var(--gold-2); margin-bottom: 18px; text-transform: uppercase; }
.footer p, .footer a { color: var(--cream-dim); font-size: 0.94rem; }
.footer li { margin-bottom: 10px; }
.footer a:hover { color: var(--gold-2); }
.footer__brand .wordmark { font-family: var(--ff-display); font-weight: 700; letter-spacing: .2em; font-size: 1.5rem; color: var(--cream); }
.footer__brand .tag { font-family: var(--ff-script); font-size: 1.9rem; color: var(--gold-2); line-height: 1; margin-top: 2px; }
.footer__socials { display: flex; gap: 12px; margin-top: 18px; }
.footer__socials a {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--gold);
  transition: background .2s ease, transform .2s ease;
}
.footer__socials a:hover { background: var(--gold); color: var(--green-950); transform: translateY(-2px); }
.footer__row { display: flex; align-items: start; gap: 12px; margin-bottom: 14px; }
.footer__row svg { color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer__bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 0.84rem; }
.footer__bottom .madhere { font-family: var(--ff-script); font-size: 1.5rem; color: var(--gold-2); }

/* =========================================================================
   RESPONZÍVNE — mobil
   ========================================================================= */
@media (max-width: 900px) {
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; gap: 0;
    background: rgba(7, 24, 19, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line-soft);
    padding: 8px 0 18px;
    transform: translateY(-140%);
    transition: transform .3s ease;
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .nav.is-open .nav__links { transform: translateY(0); }
  .nav__links a { width: 100%; text-align: center; padding: 16px 0; font-size: 0.95rem; letter-spacing: .18em; }
  .nav__links a::after { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__phone .num { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 560px) {
  .btn { padding: 13px 22px; font-size: 0.84rem; }
  .nav__brand .wordmark { display: none; }
}

/* Prístupnosť: rešpektuj zníženie pohybu */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}
