/* =========================
   ZMIENNE KOLORÓW – SPORT
   ========================= */
:root {
    --navy: #0B1C2D;
    --blue: #0F4C81;
    --accent: #FF8C00;
    --light: #F5F7FA;
    --white: #FFFFFF;
    --text-dark: #1a1a1a;
}

/* =========================
   RESET + PODSTAWY
   ========================= */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    background: var(--light);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
    
}

img {
    max-width: 100%;
    height: auto;
}

/* =========================
   NAWIGACJA
   ========================= */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, var(--navy), var(--blue));
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

nav.scrolled {
    background: var(--navy);
    box-shadow: 0 4px 14px rgba(0,0,0,0.45);
}

#nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

#nav-links li {
    margin: 0 16px;
}

#nav-links a {
    color: white;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

#nav-links a:hover {
    color: var(--accent);
}

.menu-toggle {
    display: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

/* =========================
   LOGO
   ========================= */
.logo {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.logo img {
    max-width: 90vw;
    max-height: 420px;
    object-fit: contain;
}

/* =========================
   SLIDER
   ========================= */
.slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1;
}

.caption {
    z-index: 2;
    color: white;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-align: center;
    text-shadow: 2px 2px 12px rgba(0,0,0,0.8);
}

/* =========================
   KROPKI SLIDERA
   ========================= */
.dots {
    position: absolute;
    bottom: 25px;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.dot {
    width: 14px;
    height: 14px;
    margin: 0 6px;
    display: inline-block;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
}

.dot.active {
    background-color: var(--accent);
}

/* =========================
   SEKCJE + ANIMACJE
   ========================= */
.section,
.form-container {
    padding: 70px 20px;
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.in-view,
.form-container.in-view {
    opacity: 1;
    transform: translateY(0);
}

.section h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 40px;
    letter-spacing: 3px;
    color: var(--navy);
    margin-bottom: 30px;
}

.section h2::after {
    content: '';
    width: 90px;
    height: 4px;
    background: var(--accent);
    display: block;
    margin: 12px auto 0;
}

/* =========================
   BOXY TREŚCI
   ========================= */
.about-content {
    display: flex;
    justify-content: center;
}

.about-box {
    background: white;
    padding: 28px;
    width: 55%;
    max-width: 840px;
    border-radius: 14px;
    border-left: 7px solid var(--accent);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
    transition: transform 0.3s ease;
}

.about-box:hover {
    transform: translateY(-10px);
}

.about-box img {
    border-radius: 12px;
}

.about-box p {
    font-size: 16px;
    margin-top: 18px;
}

/* =========================
   GRAFIK – TABELA
   ========================= */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 15px;
}

.schedule-table thead {
    background: var(--blue);
    color: white;
}

.schedule-table th,
.schedule-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #e0e0e0;
    text-align: center;
}

.schedule-table th i {
    margin-right: 6px;
}

.schedule-table tbody tr:nth-child(even) {
    background: #f0f4f9;
}

.grafik-note {
    margin-top: 18px;
    font-size: 14px;
}

/* =========================
   CENNIK
   ========================= */
.price-intro {
    font-size: 18px;
}

.price-list {
    list-style: none;
    max-width: 500px;
    margin: 10px auto 0;
    padding: 0;
    text-align: left;
}

.price-list li {
    margin-bottom: 8px;
    font-size: 16px;
}

.price-list i {
    margin-right: 8px;
    color: var(--blue);
}

.price-note {
    margin-top: 18px;
    font-size: 14px;
}

/* CTA przycisk */
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    padding: 12px 26px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 14px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.btn-cta:hover {
    background: #ff9f1a;
    transform: translateY(-2px);
    box-shadow: 0 9px 18px rgba(0,0,0,0.3);
}

/* =========================
   FORMULARZ GOOGLE
   ========================= */
.form-container {
    background: white;
    max-width: 900px;
    margin: 50px auto;
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.form-container h2 {
    color: var(--blue);
}

#form iframe {
    display: block;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    border: none;
}

/* =========================
   KONTAKT
   ========================= */
#contact ul {
    list-style: none;
    padding: 0;
}

#contact li {
    font-size: 18px;
    margin-bottom: 14px;
}

#contact a {
    color: var(--blue);
    text-decoration: none;
}

#contact a:hover {
    color: var(--accent);
}

/* =========================
   STOPKA
   ========================= */
#footer {
    background: var(--navy);
    color: white;
    padding: 30px 0;
    text-align: center;
}

.social-media a {
    color: white;
    font-size: 26px;
    margin: 0 12px;
}

.social-media a:hover {
    color: var(--accent);
}

/* =========================
   RESPONSYWNOŚĆ
   ========================= */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    #nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--navy);
        position: absolute;
        top: 60px;
        left: 0;
    }

    #nav-links.active {
        display: flex;
    }

    #nav-links li {
        margin: 16px 0;
        text-align: center;
    }

    .caption {
        font-size: 30px;
        padding: 0 12px;
    }

    .about-box {
        width: 92%;
    }

    .logo img {
        max-height: 260px;
    }

    .schedule-table th,
    .schedule-table td {
        font-size: 14px;
        padding: 8px 4px;
    }
}
