/* ==========================================================================
   CULTURA. ART SALON – wizytówka wideo (czysty HTML/CSS)
   Wzór: PDF str. 9 (2400×1349, 16:9) – jak Grand, ale z wideo w tle.
   - Wideo zawsze 100 % ekranu (object-fit: cover), przycinane przy innych proporcjach.
   - Pasek stopki zawsze nad wideo, lekko przezroczysty (kolor zmierzony z projektu).
   - Szeroki ekran (> 5:4): e-mail na środku, copyright przy prawej krawędzi, rozmiary jak w projekcie.
   - Wąski ekran (≤ 5:4 – telefon, tablet pionowo): teksty jeden nad drugim, odstępy symetryczne.
   Jednostka --s = 1 px projektu (2400×1349) przy skali „cover”.
   ========================================================================== */

/* Czcionka stopki jak na pozostałych stronach (pasek menu Grace / Boheme / Maison Brut): Roboto 400,
   pliki z zasobów Elementora hostowane lokalnie w assets/fonts/ (decyzja Adama 2026-12-03). */
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 100 900; font-stretch: 100%; font-display: swap;
  src: url("../fonts/roboto-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 100 900; font-stretch: 100%; font-display: swap;
  src: url("../fonts/roboto-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

*, ::before, ::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: #2a1a12;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
p { margin: 0; }

.cultura {
  --bar: rgba(121, 95, 85, .58);                    /* pasek: ciepły beż-brąz, ok. 58 % krycia (z projektu) */
  --s: max(100vw / 2400, 100vh / 1349);
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  color: #fff;
}
@supports (height: 100svh) {
  .cultura { --s: max(100vw / 2400, 100svh / 1349); height: 100svh; }
}

/* Wideo w tle na cały ekran */
.cultura__video { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.cultura__video video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }

/* ---------- Szeroki ekran: pasek jak w projekcie ---------- */
.cultura__bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  height: calc(69 * var(--s));                      /* 69 px projektu */
  background-color: var(--bar);
  font-size: calc(18.6 * var(--s));                 /* wersaliki 13 px projektu */
  line-height: 1;
  white-space: nowrap;
}
.cultura__mail,
.cultura__copy { position: absolute; top: 50%; }
.cultura__mail { left: 50%; transform: translate(-50%, -50%); }
.cultura__copy { right: calc(31 * var(--s)); transform: translateY(-50%); }
.cultura__mail { color: #fff; text-decoration: none; outline: none; transition: opacity .4s; }
.cultura__mail:hover, .cultura__mail:focus-visible { opacity: .7; }

/* ---------- Wąski ekran: teksty jeden nad drugim, symetrycznie ---------- */
@media (max-aspect-ratio: 5/4) {
  .cultura__bar {
    height: auto;
    display: flex; flex-direction: column; align-items: center;
    font-size: calc(min(86vw, 560px) / 24);          /* copyright = 86 % szerokości (maks. 560 px) */
    gap: 1.2em;
    padding: 1.6em 0;                                /* tyle samo nad i pod tekstami */
  }
  .cultura__mail, .cultura__copy { position: static; transform: none; }
}

/* ---------- Baner cookies (odwzorowanie Cookie Notice, jak na planszy GS: Ja / Nein) ---------- */
.cookie-notice {
  position: fixed; left: 0; bottom: 0; z-index: 100000;
  min-width: 100%; height: auto;
  background-color: rgba(81, 81, 81, 1);
  font-family: -apple-system, BlinkMacSystemFont, Arial, Roboto, "Helvetica Neue", sans-serif;
  font-size: 13px; font-weight: 400; letter-spacing: 0; line-height: 20px; text-align: center;
  animation-duration: .5s; animation-fill-mode: both;
}
.cookie-notice[hidden] { display: none; }
.cookie-notice.is-visible { animation-name: cn-fade-in; }
.cookie-notice.is-hiding { animation-name: cn-fade-out; }
.cookie-notice__container { display: block; width: 100%; padding: 15px 30px; color: #fff; text-align: center; }
.cookie-notice__text { display: inline-block; margin: 0 0 6px 0; }
.cookie-notice__buttons { display: inline-block; }
.cookie-notice__btn {
  display: inline-block; margin: 0 0 0 10px; padding: 8.5px 10px;
  font-family: -apple-system, BlinkMacSystemFont, Arial, Roboto, "Helvetica Neue", sans-serif;
  font-size: 13px; font-weight: 400; letter-spacing: .25px; line-height: 1;
  color: #fff; background-color: #000;
  border: none; border-radius: 2rem; box-shadow: none; text-shadow: none; text-transform: none; text-decoration: none;
  white-space: nowrap; cursor: pointer; touch-action: manipulation; outline: 0; transition: .3s;
  -webkit-appearance: none; appearance: none;
}
@keyframes cn-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes cn-fade-out { from { opacity: 1; } to { opacity: 0; } }
@media all and (max-width: 900px) {
  .cookie-notice__text, .cookie-notice__buttons { display: block; }
}
@media all and (max-width: 480px) {
  .cookie-notice__container { padding: 15px 25px; }
}
