/* ============================================================
   DEFENDO · Fighter's Fitness · style.css
   Fonty: Oswald (nagłówki) + Source Sans 3 (body)
   ============================================================ */

/* ── ZMIENNE ── */
:root {
  --blue:       #1a3a6b;   /* główny akcent – przyciski, ramki */
  --blue-dark:  #0f2448;   /* hover przycisków */
  --accent:     #7ea8d8;   /* jasnoniebieski – eyebrow, godziny, Less is more */
  --dark:       #0a0f1e;
  --dark-mid:   #111827;
  --charcoal:   #1c2539;
  --mid:        #555555;
  --light-bg:   #f0f2f7;
  --white:      #ffffff;
  --border:     #d0d8e8;

  --font-head:  'Oswald', sans-serif;
  --font-body:  'Source Sans 3', sans-serif;

  --max-w:      1100px;
  --section-pad: 5rem 1.5rem;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: var(--font-body); font-size: 1rem; line-height: 1.7; color: var(--dark); background: var(--white); }
ul, ol { list-style: none; }
a  { color: inherit; text-decoration: none; }
address { font-style: normal; }
em  { font-style: italic; }
strong { font-weight: 600; }

/* ── PRZYCISKI ── */
.btn-primary,
.btn-outline {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .75rem 1.8rem;
  border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }

.btn-outline {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}
.btn-outline:hover { background: var(--dark); color: var(--white); }

/* ── NAGŁÓWKI SEKCJI ── */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header--dark { color: var(--white); }

.section-label {
  font-family: var(--font-head);
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .4rem;
}
.section-header--dark .section-label { color: var(--accent); }

.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.1;
  margin-bottom: .75rem;
}

.section-sub {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1rem;
  color: var(--mid);
  line-height: 1.6;
}
.section-header--dark .section-sub { color: #ccc; }

/* ─────────────────────────────────────────
   NAWIGACJA
───────────────────────────────────────── */
header#top {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark);
  border-bottom: 3px solid var(--blue);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo-wrap {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.nav-logo-img {
  height: 56px;
  width: auto;
  display: block;
  opacity: .92;
}

.nav-logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-logo em { color: var(--blue); font-style: normal; }

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  flex-wrap: wrap;
}

.nav-links li a {
  display: block;
  padding: .4rem .8rem;
  font-family: var(--font-head);
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #ccc;
  transition: color .2s;
}
.nav-links li a:hover { color: var(--white); }

.nav-links li a.nav-cta {
  background: var(--blue);
  color: var(--white);
  padding: .4rem 1rem;
  margin-left: .5rem;
  transition: background .2s;
}
.nav-links li a.nav-cta:hover { background: var(--blue-dark); }

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
#hero {
  min-height: 88vh;
  background: var(--dark-mid);
  display: flex;
  align-items: stretch;
}

.hero-content {
  flex: 1 1 40%;
  max-width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: .6rem;
  padding: 5rem 2.5rem 3rem;
  min-width: 0;
}

.hero-saario-logo {
  width: 200px;
  height: auto;
  display: block;
  margin-bottom: .25rem;
  filter: brightness(0) invert(1);
  opacity: .92;
}

.hero-eyebrow {
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-content h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.15;
  color: var(--white);
}

.h1-main { color: var(--white); }

.h1-sub {
  display: block;
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
  font-size: .92em;
  letter-spacing: .06em;
  text-transform: none;
  margin-top: .1em;
}

/* Tekst + przyciski razem – bez przerwy między nimi */
.hero-sub {
  max-width: 440px;
  font-size: 1rem;
  color: #b0b0b0;
  line-height: 1.65;
  margin-top: auto; /* pcha paragraf + wszystko poniżej na dół, trzyma je razem */
  margin-bottom: 0;
}

/* Logo Saario nad przyciskiem */
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .75rem;
  margin: 0;
  padding: 0;
}

.hero-saario-link {
  display: block;
  align-self: center; /* wyśrodkowane, klikalny obszar tylko na szerokość zdjęcia */
  opacity: .7;
  transition: opacity .2s;
}
.hero-saario-link:hover { opacity: 1; }

.hero-saario-badge {
  width: 200px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: brightness(0) invert(1);
}

.hero-actions .btn-primary { text-align: center; }

/* ─────────────────────────────────────────
   SLIDER (wspólny dla wszystkich 3)
───────────────────────────────────────── */
.slider {
  flex: 1 1 50%;
  position: relative;
  overflow: hidden;
  min-height: 400px;
  border-left: 4px solid var(--blue);
  margin: 0;
}

.slider-track {
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .7s ease;
  z-index: 1;
}
.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Podpis instruktora – nakładka przyklejona do dolnej krawędzi slajdu */
.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
  padding: 2rem 1rem 2.5rem; /* padding-bottom zostawia miejsce na kropki */
  background: linear-gradient(to top, rgba(10,15,30,.92) 0%, transparent 100%);
  text-align: center;
  pointer-events: none;
}
.slide-caption strong {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
}
.slide-caption span {
  font-size: .82rem;
  color: var(--accent);
  letter-spacing: .06em;
}

/* Kropki nawigacyjne */
.slider-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .5rem;
  z-index: 10;
}
.slider-dots li {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: background .3s, transform .3s;
  border: none;
}
.slider-dots li.active { background: var(--white); transform: scale(1.25); }
.slider-dots li:hover  { background: rgba(255,255,255,.75); }

/* Slider sala – obok grafiku, bez max-width hero */
#slider-sala {
  max-width: none;
  flex: 1 1 360px;
  min-height: 280px;
  border: 2px solid #333;
  border-left: 2px solid #333;
}

/* Slider instruktorów – pionowe portrety w pełnej wysokości */
#slider-kontakt {
  max-width: none;
  flex: 1 1 0;
  min-height: 480px;
  border: none;
  overflow: hidden;
  background: var(--dark-mid);
}
#slider-kontakt .slide {
  background: var(--dark-mid);
}
#slider-kontakt .slide img {
  object-fit: contain;
  object-position: center center;
}

/* ─────────────────────────────────────────
   PILLARS
───────────────────────────────────────── */
#pillars {
  display: flex;
  background: var(--blue);
}

.pillar {
  flex: 1 1 0;
  padding: 2.5rem 2rem;
  border-right: 1px solid rgba(255,255,255,.2);
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.pillar:last-child { border-right: none; }

.pillar-icon {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: rgba(255,255,255,.2);
  letter-spacing: .05em;
  line-height: 1;
}

.pillar h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--white);
}

.pillar p  { font-size: .95rem; color: rgba(255,255,255,.82); line-height: 1.6; }
.pillar em { color: var(--white); font-style: italic; }

/* ─────────────────────────────────────────
   O DEFENDO
───────────────────────────────────────── */
#o-defendo {
  padding: var(--section-pad);
  max-width: var(--max-w);
  margin: 0 auto;
}

.defendo-desc {
  max-width: 720px;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.defendo-desc .lead { font-size: 1.2rem; font-weight: 600; line-height: 1.55; }
.defendo-desc p { color: var(--mid); }

.defendo-why {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 2.5rem;
  border-left: 4px solid var(--blue);
  background: var(--light-bg);
}

.defendo-why-title {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--blue);
  margin-bottom: .75rem;
}

.defendo-why p {
  font-size: 1.05rem;
  color: var(--mid);
  line-height: 1.7;
}

/* ─────────────────────────────────────────
   GRAFIK
───────────────────────────────────────── */
#grafik {
  padding: var(--section-pad);
  background: var(--dark);
}
#grafik .section-header {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

.schedule-wrap {
  max-width: var(--max-w);
  margin: 0 auto 2rem;
  display: flex;
  gap: 2.5rem;
  align-items: stretch;
}

.schedule-list {
  flex: 1 1 340px;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.schedule-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--charcoal);
  padding: 1.1rem 1.5rem;
  border-left: 4px solid var(--blue);
}

.schedule-day {
  font-family: var(--font-head);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--white);
  flex: 0 0 140px;
}

.schedule-time {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--accent);
  flex: 0 0 70px;
}

.schedule-badge {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  margin-left: auto;
}

.schedule-note {
  max-width: var(--max-w);
  margin: 0 auto;
  background: #1a1a1a;
  border-left: 4px solid #444;
  padding: 1rem 1.5rem;
  font-size: .9rem;
  color: #999;
}
.schedule-note strong { color: #ccc; }

/* ─────────────────────────────────────────
   LOKALIZACJA
───────────────────────────────────────── */
#lokalizacja {
  padding: var(--section-pad);
  background: var(--light-bg);
}
#lokalizacja .section-header {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

.location-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  gap: 3rem;
  align-items: stretch;
}

.location-info {
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem 0;
}
.location-info li { display: flex; flex-direction: column; gap: .3rem; }

.loc-label {
  font-family: var(--font-head);
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blue);
}

.location-info address,
.location-info p {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.4;
}

.location-map {
  flex: 1 1 0;
  min-height: 320px;
  overflow: hidden;
  border: 2px solid var(--border);
  margin: 0;
}
.location-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

/* ─────────────────────────────────────────
   CENNIK
───────────────────────────────────────── */
#cennik {
  padding: var(--section-pad);
  background: var(--dark);
}
#cennik .section-header {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

.pricing-list {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
  flex-wrap: wrap;
}

.pricing-card {
  flex: 1 1 240px;
  background: var(--charcoal);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  position: relative;
  border-top: 4px solid #444;
}

.pricing-card--featured {
  border-top-color: var(--blue);
  background: #2a2a2a;
  transform: translateY(-8px);
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
}

.pricing-badge {
  position: absolute;
  top: -1px;
  right: 1.5rem;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-head);
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .25rem .7rem;
}

.pricing-name {
  font-family: var(--font-head);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #aaa;
}

.pricing-price {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.pricing-price span { font-size: 1.2rem; color: #aaa; margin-left: .25rem; }

.pricing-desc {
  font-size: .9rem;
  color: #888;
  line-height: 1.55;
  flex: 1 1 auto;
}

.pricing-card .btn-outline {
  color: #ccc;
  border-color: #555;
  font-size: .85rem;
  text-align: center;
}
.pricing-card .btn-outline:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

/* ─────────────────────────────────────────
   KONTAKT
───────────────────────────────────────── */
#kontakt {
  padding: var(--section-pad);
  max-width: var(--max-w);
  margin: 0 auto;
}

.contact-wrap {
  display: flex;
  gap: 3rem;
  align-items: stretch;
}

.contact-list {
  flex: 0 0 320px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--light-bg);
  border-left: 3px solid var(--blue);
}

.contact-icon {
  font-size: 1.3rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: .1rem;
}

.contact-item > span.contact-label {
  flex: 0 0 64px;
  font-family: var(--font-head);
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--mid);
  padding-top: .15rem;
}

.contact-item a,
.contact-item address {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  word-break: break-all;
  transition: color .2s;
}
.contact-item a:hover { color: var(--blue); }

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
footer#footer {
  background: var(--dark);
  border-top: 3px solid var(--blue);
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--white);
}
.footer-logo em { color: var(--blue); font-style: normal; }
.footer-club { font-size: .85rem; color: #888; letter-spacing: .05em; }
.footer-copy { font-size: .78rem; color: #555; margin-top: .25rem; }

/* ─────────────────────────────────────────
   COOKIE CONSENT
───────────────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--dark);
  border-top: 3px solid var(--blue);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,.5);
  transform: translateY(100%);
  opacity: 0;
  transition: transform .4s ease, opacity .4s ease;
}
#cookie-banner.cookie-visible { transform: translateY(0); opacity: 1; }
#cookie-banner.cookie-hidden  { transform: translateY(100%); opacity: 0; }

.cookie-text {
  font-size: .88rem;
  color: #bbb;
  line-height: 1.55;
  flex: 1 1 300px;
}
.cookie-text a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.cookie-text a:hover { color: var(--white); }

.cookie-actions { display: flex; gap: .75rem; flex-shrink: 0; }

.cookie-btn {
  font-family: var(--font-head);
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .6rem 1.4rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.cookie-btn--accept { background: var(--blue); color: var(--white); border-color: var(--blue); }
.cookie-btn--accept:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.cookie-btn--reject { background: transparent; color: #aaa; border-color: #555; }
.cookie-btn--reject:hover { background: #222; color: var(--white); border-color: #888; }

/* ─────────────────────────────────────────
   RESPONSIVE – tablet (≤900px)
───────────────────────────────────────── */
@media (max-width: 900px) {
  #hero { flex-direction: column; min-height: unset; }
  .hero-content { max-width: none; padding: 3rem 1.5rem 2rem; }
  #hero .slider  { max-width: none; min-height: 220px; border-left: none; border-top: 4px solid var(--blue); }
  #pillars { flex-direction: column; }
  .pillar  { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
  .schedule-wrap   { flex-direction: column; }
  #slider-sala     { flex: none; }
  .location-wrap   { flex-direction: column; }
  .location-info   { flex: none; }
  .location-map    { min-height: 200px; }
  .pricing-card--featured { transform: none; }
  .contact-wrap    { flex-direction: column; }
  .contact-list    { flex: none; }

}

/* ─────────────────────────────────────────
   RESPONSIVE – mobile (≤560px)
───────────────────────────────────────── */
@media (max-width: 560px) {
  :root { --section-pad: 3.5rem 1rem; }

  .nav-inner {
    flex-direction: column;
    height: auto;
    padding: .8rem 1rem;
    gap: .6rem;
  }
  .nav-links { gap: .1rem; justify-content: center; }
  .nav-links li a { padding: .3rem .6rem; font-size: .78rem; }

  .schedule-item  { flex-wrap: wrap; gap: .4rem; }
  .schedule-day   { flex: 0 0 auto; }
}
