/* layout.css &#8212; wersja czysta (bez CSS z hero.php / about_hero.php) */

/* RESET */
html, body { height: 100%; margin: 0; }
* { box-sizing: border-box; }

/* GLOBAL */
body{
  background:#000;
  color:#fff;
  font-family:
    "Lucida Bright",
    "Lucida Sans Unicode",
    "Lucida Sans",
    Arial,
    sans-serif;
}

/* WATERMARK (div.watermark w HTML) */
.watermark{
  position:fixed;
  inset:0;
  background:
    url("../img/logo_szare.webp") 0 0 repeat,
    url("../img/logo_szare.webp") 160px 160px repeat;
  background-size:320px 320px;
  opacity:.20;
  pointer-events:none;
  z-index:0;
}

/* KURTYNA */
.kurtyna-bg{
  min-height:100vh;
  background:url("../img/kurtyna.webp") center top no-repeat;
  background-size:1800px auto;
  position:relative;
  z-index:1;
}

/* WRAP */
.wrap{
  max-width:1200px;
  width:100%;
  margin:0 auto;
  padding-top:20px;
}

/* LOGO */
.logo{ width:400px; display:block; margin:0 auto 14px; }

/* MENU */
.nav{
  height:64px;
  background:#000;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0 18px;
  border-top:1px solid #222;
  border-bottom:1px solid #222;
  margin-bottom:15px;
}

.nav-left{ display:flex; gap:26px; align-items:center; }

/* &#9989; POPRAWKA: linki mają duży &#8222;hit area&#8221; (klik w przestrzeń, nie w literki) */
.nav a{
  color:#fff;
  text-decoration:none;
  font-size:21px;
  letter-spacing:.6px;
  opacity:.92;

  display:inline-flex;
  align-items:center;
  height:64px;          /* tyle co belka menu */
  padding:0 12px;       /* klikalna przestrzeń po bokach */
  border-radius:8px;    /* ładniejszy hover */
}

/* hover */
.nav a:hover{
  opacity:1;
  background:rgba(255,255,255,.08);
}

.home-ico{ width:32px; }
.fb-ico{ width:24px; }

/* klik ma iść w <a>, nie w ikonę <img> */
.nav a img{ pointer-events:none; }

/* HERO iframe (na stronach, które go mają) */
.hero-frame{
  width:100%;
  height:400px;
  border:0;
  display:block;
  margin:0 0 10px 0;
}

/* RAMKA */
.ramka-wrap{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  border:10px solid transparent;
  border-image:url("../img/ramka.webp") 32 round;
  background:rgba(0,0,0,.65);
  padding:18px;
  box-shadow:0 10px 30px rgba(0,0,0,.45);
}

/* TYTUŁ */
.title-box{ height:140px; display:flex; justify-content:center; align-items:center; }
.title-box h1{ margin:0; font-size:36px; }

/* OKNO TEKSTU */
.text-box{ height:700px; margin-top:14px; }
.text-scroll{
  height:100%;
  overflow-y:auto;
  padding-right:10px;
  line-height:1.6;
  text-align:justify;
  color:#eaeaea;
  max-width:1060px;
  margin:0 auto;
}
.text-scroll p{ margin:0 0 14px 0; text-indent:1.5em; }

.spacer{ height:40px; }

/* WIDOWNIA &#8212; poprawka: nie może być na sztywno 1800px */
.widownia-out{
  max-width:1200px;
  margin:25px auto 0;
  padding:0 10px;
  text-align:center;
}
.widownia-out img{
  width:100%;
  height:auto;
  display:block;
}

/* STOPKA */
.footer{ background:#000; color:#bfbfbf; padding:44px 0 26px; font-size:15px; }
.footer-inner{ max-width:1200px; width:100%; margin:0 auto; }
.footer-top{ display:flex; justify-content:space-between; }
.footer-left{ display:flex; gap:60px; }
.footer-title{ color:#fff; font-weight:700; margin-bottom:8px; }
.footer-line{ border-top:1px solid #333; margin:30px 0 15px; }
.footer-bottom{ text-align:center; font-size:14px; color:#8f8f8f; }
.footer-bottom a{ color:#fff; text-decoration:none; }

/* ===== DODATKI: AKTUALNOŚCI ===== */
.flyer-wrap{
  width:100%;
  max-width:1200px;
  margin:0 auto 15px;
  display:flex;
}
.flyer-wrap img{
  width:50%;
  height:424px;
  object-fit:contain;
  background:#000;
  cursor:pointer;
  transition:.2s ease;
}
.flyer-wrap img:hover{ opacity:.9; }
.space15{ height:15px; }
.space25{ height:25px; }

/* ===== DODATKI: O NAS ===== */
.menu-box{
  display:flex;
  justify-content:center;
  margin:6px 0 12px 0;
  text-align:center;
}
.about-menu{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
  max-width:1060px;
}
.about-menu a{
  display:inline-block;
  padding:8px 14px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(0,0,0,.35);
  border-radius:10px;
  color:#fff;
  text-decoration:none;
  opacity:.92;
  font-size:16px;
  letter-spacing:.2px;
}
.about-menu a:hover{
  opacity:1;
  background:rgba(0,0,0,.55);
  border-color:rgba(255,255,255,.35);
}
.text-scroll h2{ margin:18px 0 10px 0; font-size:22px; text-indent:0; }

/* ===== DODATKI: REPERTUAR ===== */
.offer-frame{
  width:100%;
  height:100%;
  border:0;
  display:block;
  background:transparent;
}

/* ===== DODATKI: GALERIA ===== */
.gallery-wrap{
  max-width:1120px;
  margin:0 auto;
  padding-top:10px;
}

/* ===== DODATKI: KONTAKT ===== */
.contact-box{
  max-width:980px;
  margin:0 auto;
  padding:10px 0 6px;
  line-height:1.7;
  color:#eaeaea;
  text-align:center;
}
.contact-box p{
  margin:0 0 14px;
  font-size:20px;
  color:#fff;
}
.contact-box p:last-child{ margin-bottom:0; }

.widownia{
  display:flex;
  justify-content:center;
  padding-top:10px;
}
.widownia img{ max-width:100%; height:auto; opacity:.85; }

/* RESPONSYWNOŚĆ &#8212; minimalna, żeby nic nie pękało */
@media (max-width: 900px){
  .logo{ width:280px; }
  .nav a{ font-size:18px; }
  .flyer-wrap{ flex-direction:column; }
  .flyer-wrap img{ width:100%; height:auto; }
  .title-box{ height:auto; padding:10px 0; }
  .text-box{ height:60vh; }
}
.backlink{
    display:inline-block;
    margin:0 0 20px;
    padding:10px 18px;
    background:#111;
    color:#fff;
    border-radius:30px;
    border:1px solid rgba(255,255,255,.3);
    text-decoration:none;
    font-weight:600;
    transition:.2s ease;
}

.backlink:hover{
    background:#fff;
    color:#000;
}