/* =========================
   PFG - style.css (v1) 2026
   ========================= */

:root{
  --bg: #0b0b0b;            
  --panel: #111111;         
  --text: #f2f2f2;          
  --muted: #bdbdbd;         

  --yellow: #ffd400;        
  --yellow-2: #ffea6a;      
  --line: #222222;          

  --fire: #ff5a1f;          
  --fire-2: #ff2d2d;

  --max: 1100px;
  --pad: 16px;
  --radius: 14px;
  --shadow: 0 10px 28px rgba(0,0,0,.35);
}

*{ box-sizing: border-box; }
html, body{ min-height: 100%; }

body{
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  background-color: var(--bg);

  background-image:
    radial-gradient(1200px 600px at 20% 0%, rgba(255,212,0,.12), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(255,90,31,.10), transparent 55%);
  background-repeat: no-repeat;
  background-size: 1200px 600px, 900px 500px;
  background-position: 20% 0%, 90% 10%;

  color: var(--text);
  line-height: 1.6;
}

a{ color: inherit; }
img{ max-width: 100%; display: block; }

.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(17,17,17,.98), rgba(17,17,17,.92));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.header-row{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 0;
}

.brand{
  display: block;
  padding: 0;           
  border-radius: 0;
  background: transparent;
  text-decoration: none;
}

.logo-banner{
  width: 100%;
  height: auto;
  max-height: 100px;
  object-fit: contain;
  display: block;
}

.site-nav{
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link{
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--text);
  border: 1px solid transparent;
  transition: transform .08s ease, background .15s ease, border-color .15s ease, color .15s ease;
}

.nav-link:hover{
  background: rgba(255,212,0,.08);
  border-color: rgba(255,212,0,.22);
  transform: translateY(-1px);
}

.nav-link.is-active{
  background: var(--yellow);
  color: #111;
  border-color: rgba(0,0,0,.25);
  box-shadow: 0 8px 18px rgba(255,212,0,.18);
}

.layout-3col{
  display: grid;
  grid-template-columns: 1fr minmax(0, 900px) 1fr;
  gap: 16px;
  padding: 18px 0 26px;
}

.side{
  border: 0;
  background: transparent;
  box-shadow: none;
  min-height: 640px;
  pointer-events: none;
}

.content{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  box-shadow: var(--shadow);
  padding: 20px;
}

.home-banner{
  margin: 18px 0 14px;
}

.home-banner img,
img.home-banner{
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

h1, h2, h3{
  margin: 0 0 10px;
  line-height: 1.2;
}

h1{
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: .3px;
  color: var(--yellow);
}

h2{
  margin-top: 18px;
  font-size: clamp(20px, 2.6vw, 26px);
  color: var(--yellow);
}

.content h1::after{
  content: "";
  display: block;
  height: 6px;
  width: 100%;             
  margin-top: 12px;
  border-radius: 999px;

  background: linear-gradient(
    90deg,
    var(--yellow) 0%,
    var(--fire) 45%,
    var(--fire-2) 55%,
    var(--yellow) 100%
  );

  box-shadow:
    0 0 14px rgba(255, 90, 31, .30),
    0 0 22px rgba(255, 212, 0, .18);
}

p{ margin: 0 0 14px; color: var(--text); }
.content p{ color: rgba(242,242,242,.92); }

.banner-index{
  margin: 18px auto 14px;   /* odstęp góra/dół + wycentrowanie kontenera */
  max-width: 100%;          /* responsywnie */
}

.banner-index img{
  display: block;           /* usuwa “przerwę” inline i pozwala na auto */
  margin: 0 auto;           /* centrowanie obrazka */
  max-width: 100%;          /* nie wyjdzie poza content na mobile */
  height: auto;

  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

ul{
  margin: 0;
  padding-left: 18px;
}

li{
  margin: 8px 0;
}

.site-footer{
  border-top: 1px solid var(--line);
  background: rgba(17,17,17,.9);
  padding: 14px 0;
}

.site-footer small{
  color: var(--muted);
}

@media (max-width: 980px){
  .layout-3col{
    grid-template-columns: 1fr minmax(0, 720px) 1fr;
  }
  .side{ min-height: 360px; }
}

@media (max-width: 780px){
  .layout-3col{
    grid-template-columns: 1fr;
  }
  .side{ display: none; }

  .site-nav{
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .nav-link{
    padding: 9px 10px;
  }
}

@media (max-width: 520px){
  .header-row{
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav{
    justify-content: center;
  }
  .brand{
    justify-content: center;
  }
}

.offer-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.card{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  padding: 14px;
}

.card h2{
  margin-top: 0;
  font-size: 20px;
}

.photo{
  margin-top: 12px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,212,0,.18);
  background: rgba(0,0,0,.35);
  height: 180px;
}

.gallery-hint { text-align: center; }

@media (max-width: 780px){
  .offer-grid{
    grid-template-columns: 1fr;
  }
  .photo{
    height: 160px;
  }
}

.map-embed{
  margin-top: 10px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.map-embed iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 14px;
  margin-top: 14px;
}

.contact-item{
  margin: 10px 0;
}

.contact-item a{
  color: var(--yellow);
  text-decoration: none;
  border-bottom: 1px dashed rgba(255,212,0,.35);
}

.contact-item a:hover{
  color: var(--yellow-2);
  border-bottom-color: rgba(255,212,0,.7);
}

.contact-note{
  color: rgba(242,242,242,.75);
  margin-top: 12px;
}

.contact-stack{
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.map-embed--big{
  aspect-ratio: 16 / 7;
}

@media (max-width: 780px){
  .map-embed--big{
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 780px){
  .contact-grid{
    grid-template-columns: 1fr;
  }
}

.gallery-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.g-thumb{
  border: 1px solid rgba(255,212,0,.18);
  background: rgba(0,0,0,.35);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  display: block;
  transition: transform .08s ease, border-color .15s ease, background .15s ease;
}

.g-thumb:hover{
  transform: translateY(-1px);
  border-color: rgba(255,212,0,.35);
  background: rgba(0,0,0,.45);
}

.g-thumb img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

@media (max-width: 780px){
  .gallery-grid{ grid-template-columns: 1fr; }
  .g-thumb img{ height: 180px; }
}

.is-hidden{ display: none !important; }
.no-scroll{ overflow: hidden; }

.lightbox{
  position: fixed;
  inset: 0;
  z-index: 200;
}

.lightbox-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
}

.lightbox-content{
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: 64px 1fr 64px;
  align-items: center;
  gap: 12px;
  padding: 18px;
}

.lightbox-figure{
  margin: 0;
  display: grid;
  place-items: center;
  gap: 10px;
}

.lightbox-figure img{
  max-width: 100%;
  max-height: 78vh;
  border-radius: 16px;
  border: 1px solid rgba(255,212,0,.18);
  background: #000;
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
}

.lb-caption{
  color: rgba(242,242,242,.78);
  font-size: 14px;
  text-align: center;
}

.lb-btn{
  border: 0;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 44px;
  border-radius: 16px;
  height: 64px;
  cursor: pointer;
  transition: background .15s ease, transform .08s ease;
}
.lb-btn:hover{
  background: rgba(255,255,255,.18);
  transform: translateY(-1px);
}

.lb-close{
  position: absolute;
  top: 14px;
  right: 14px;
  border: 0;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 20px;
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
}

@media (max-width: 650px){
  .lightbox-content{
    grid-template-columns: 46px 1fr 46px;
    padding: 12px;
  }
  .lb-btn{
    font-size: 36px;
    height: 54px;
    border-radius: 14px;
  }
}