/* WARSAW WAKESURF SCHOOL - MASTER STYLESHEET
   Zawiera: Index, O nas, Galeria, Kontakt + RWD (Zunifikowany & Naprawiony)
*/

/* --- FUNDAMENTY I ZMIENNE --- */
:root {
    --primary-color: #00aeff;       /* Jasny błękit */
    --secondary-color: #002147;     /* Ciemny granat */
    --accent-color: #00ffcc;        /* Neonowy turkus (przycisk call) */
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --bg-light: #f4f7f6;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    padding-top: 85px; /* Zapobiega wchodzeniu treści pod menu */
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- LOGIKA JĘZYKOWA --- */
.lang-pl .ua { display: none !important; }
.lang-ua .pl { display: none !important; }

/* --- NAWIGACJA (ZUNIFIKOWANA) --- */
nav {
    background: var(--secondary-color);
    height: 85px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.nav-right-side {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.lang-switcher {
    display: flex;
    gap: 5px;
}

.lang-switcher button {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.4);
    color: white;
    padding: 5px 10px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.75rem;
    border-radius: 4px;
    transition: var(--transition);
}

.lang-switcher button.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--secondary-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.bar { width: 25px; height: 3px; background: white; border-radius: 2px; }

/* --- NAGŁÓWKI PODSTRON (Header dla About, Galeria, Kontakt) --- */
.page-header {
    padding: 100px 0;
    text-align: center;
    color: white;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 33, 71, 0.7);
    z-index: 1;
}

.page-header h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 3.5rem;
    text-transform: uppercase;
    z-index: 2;
    position: relative;
    margin-bottom: 10px;
}

.page-header h1 span { color: var(--primary-color); }

.page-header p {
    font-size: 1.1rem;
    z-index: 2;
    position: relative;
    opacity: 0.9;
}

/* --- POPRAWKA SEKJI HERO (WERSJA KOMPUTEROWA) --- */
.hero {
    height: 75vh;             /* Obraz zajmuje 75% wysokości okna zamiast 100% */
    min-height: 600px;        /* Gwarantuje, że sekcja nie będzie za mała na laptopach */
    max-height: 850px;        /* Gwarantuje, że sekcja nie będzie gigantyczna na monitorach 4K */
    background: url('images/nowe-hero.jpg') center/cover;
    background-attachment: fixed; /* Efekt paralaksy - obraz stoi, strona płynie */
    position: relative;
    overflow: hidden;
}

/* Zachowujemy overlay i content bez zmian */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 33, 71, 0.55); /* Delikatnie jaśniejszy, by obraz był lepiej widoczny */
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
}

/* Responsywność dla mobile (na telefonie Hero może być większy, by wypełnić ekran) */
@media (max-width: 768px) {
    .hero {
        height: 85vh;         /* Na telefonie zostawiamy większy, by wyglądał nowocześnie */
        min-height: 500px;
        background-attachment: scroll; /* Wyłączamy paralaksę na mobile dla lepszej płynności */
    }
}

/* POPRAWKA NAKŁADANIA SIĘ PRZYCISKÓW */
.hero-btns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap; 
    margin-top: 35px;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--transition);
    min-width: 220px;
    text-align: center;
    font-size: 0.9rem;
}

.btn-primary { background: var(--primary-color); color: var(--secondary-color); }
.btn-outline { border: 2px solid white; color: white; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }

/* --- SEKCJA O NAS (GRID & STATS FIXES) --- */
.about-section { padding: 80px 0; background: white; }
.grid-2 { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 60px; 
    align-items: center; 
}
.about-text h2 { font-family: 'Oswald', sans-serif; font-size: 2.5rem; margin-bottom: 20px; color: var(--secondary-color); text-transform: uppercase;}
.about-text p { margin-bottom: 15px; color: #555; font-size: 0.95rem;}

.about-stats { display: flex; gap: 40px; margin-top: 40px; border-top: 1px solid #eee; padding-top: 30px; }
.stat-item { text-align: center; }
.stat-number { display: block; font-size: 2.8rem; font-weight: 800; color: var(--primary-color); font-family: 'Oswald', sans-serif; }
.stat-desc { font-size: 0.75rem; text-transform: uppercase; font-weight: 700; color: var(--secondary-color); letter-spacing: 1px; }

/* FIX: Grafika "O nas" nie rozsadza układu */
.about-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* --- GALERIA (GRID & OVERLAY FIXES) --- */
.gallery-container { padding: 80px 0; background-color: white; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}
.gallery-item {
    position: relative;
    height: 300px; /* Sztywna wysokość kafelka */
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* FIX: Grafiki w galerii są przycięte, nie rozciągnięte */
.gallery-item img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; /* KLUCZOWE: Wypełnia kafelek bez zniekształceń */
    display: block;
    transition: var(--transition); 
}

.gallery-overlay {
    position: absolute; inset: 0; background: rgba(0, 174, 255, 0.4);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: var(--transition);
}
.gallery-overlay i { color: white; font-size: 2.5rem; }
.gallery-item:hover img { transform: scale(1.05); } /* Mniejszy, stabilny scale */
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* --- NOWOCZESNA SEKCJA KONTAKT --- */
.contact-section { 
    padding: 100px 0; 
    background-color: var(--bg-light); 
}

/* Karty z danymi (Telefon, Email, Adres) */
.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.info-card {
    background: white;
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: var(--transition);
    border: 1px solid #eee;
}

.info-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(0, 174, 255, 0.1);
}

.info-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
}

.info-card h3 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.info-card p, .info-card a {
    color: #555;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
}

/* Główny kontener: Formularz + Mapa */
.contact-grid-main {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    background: white;
    padding: 20px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.contact-form-container {
    padding: 40px;
}

.contact-form-container h2 {
    font-family: 'Oswald', sans-serif;
    margin-bottom: 30px;
    text-transform: uppercase;
    color: var(--secondary-color);
}

/* Stylowe pola formularza */
.form-group { margin-bottom: 25px; }

.form-group label {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 8px;
    display: block;
    letter-spacing: 1px;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 15px;
    background-color: #f9f9f9;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, 
.form-group textarea:focus {
    background-color: white;
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 5px 15px rgba(0, 174, 255, 0.05);
}

/* Naprawa Mapy */
.map-container {
    border-radius: 20px;
    overflow: hidden;
    min-height: 500px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(0.2) contrast(1.1); /* Delikatny efekt stylizujący mapę */
}

/* Responsywność dla Kontaktu */
@media (max-width: 992px) {
    .contact-info-cards { grid-template-columns: 1fr; }
    .contact-grid-main { 
        grid-template-columns: 1fr; 
        padding: 10px;
    }
    .map-container { min-height: 350px; order: -1; } /* Mapa nad formularzem na mobile */
}

/* --- CECHY / FEATURES (INDEX) --- */
.features { padding: 80px 0; background: white; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; text-align: center; }
.feature-item i { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 15px; display: inline-block; }
.feature-item h3 { font-family: 'Oswald', sans-serif; font-size: 1.5rem; color: var(--secondary-color); margin-bottom: 10px; text-transform: uppercase; }
.feature-item p { color: #555; font-size: 0.95rem; }

/* --- CENNIK (INDEX) --- */
.pricing { padding: 80px 0; }
.section-title { text-align: center; font-family: 'Oswald', sans-serif; font-size: 3rem; margin-bottom: 50px; text-transform: uppercase; color: var(--secondary-color); }
.price-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.price-card {
    background: white; padding: 50px 40px; border-radius: 20px; width: 360px; text-align: center;
    border: 2px solid transparent; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: var(--transition); position: relative;
}
.price-card.featured { border-color: var(--primary-color); transform: scale(1.03); z-index: 1; }
.price-card:hover { transform: translateY(-5px); border-color: rgba(0, 174, 255, 0.4); }
.price-card .amount { font-size: 3.5rem; font-weight: 800; color: var(--secondary-color); margin: 15px 0; }
.price-card .amount span { font-size: 1.5rem; font-weight: 600; }
.price-list { list-style: none; text-align: left; margin-bottom: 30px; }
.price-list li { padding: 5px 0; border-bottom: 1px solid #eee; font-size: 0.95rem; }
.price-list li::before { content: "✓ "; color: var(--primary-color); font-weight: bold; }
.badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--primary-color); color: var(--secondary-color); padding: 5px 15px; border-radius: 20px; font-weight: 800; font-size: 0.7rem; text-transform: uppercase;}

/* --- STOPKA (ZUNIFIKOWANA) --- */
footer { background: #00152e; color: white; padding: 60px 0 30px; border-top: 3px solid var(--primary-color); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: var(--primary-color); margin-bottom: 20px; text-transform: uppercase; font-family: 'Oswald', sans-serif; }
.logo-footer img { height: 60px; width: auto; margin-bottom: 20px; display: block; }
.footer-seo-text { font-size: 0.85rem; color: rgba(255,255,255,0.7); line-height: 1.6; }
.footer-contact-info { list-style: none; }
.footer-contact-info li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-contact-info i { color: var(--primary-color); margin-right: 10px; }
.footer-contact-info a { color: inherit; text-decoration: none; }
.social-icons { display: flex; gap: 15px; margin-top: 15px; }
.social-icons a { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; text-decoration: none; transition: 0.3s; }
.social-icons a:hover { background: var(--primary-color); transform: translateY(-3px); }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 0.8rem; opacity: 0.6; }

/* --- AGRESYWNY PRZYCISK CALL (PŁYWAJĄCY) --- */
.flash-call-btn {
    position: fixed; bottom: 25px; right: 25px; width: 60px; height: 60px;
    background-color: var(--accent-color); color: var(--secondary-color);
    border-radius: 50%; display: flex !important; align-items: center; justify-content: center;
    z-index: 999999; box-shadow: 0 0 20px rgba(0, 255, 204, 0.6); text-decoration: none;
    transition: var(--transition);
}
.flash-call-btn i { font-size: 26px; }
.flash-call-btn::after {
    content: ''; position: absolute; width: 100%; height: 100%;
    border-radius: 50%; border: 3px solid var(--accent-color);
    animation: call-pulse 1.5s infinite;
    box-sizing: border-box;
}
@keyframes call-pulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }
.flash-call-btn:hover { background-color: #fff; transform: scale(1.05); }

/* --- RESPONSYWNOŚĆ (RWD Master) --- */
@media (max-width: 992px) {
    .grid-2, .contact-grid-main { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .about-stats { justify-content: center; flex-wrap: wrap; }
    .about-image { order: -1; }
    .contact-info-cards { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 768px) {
    body { padding-top: 70px; }
    nav { height: 70px; }
    .logo img { height: 40px; }
    .nav-links {
        display: none; position: fixed; top: 70px; left: 0; width: 100%; height: calc(100vh - 70px);
        background: var(--secondary-color); flex-direction: column; justify-content: center; align-items: center;
        z-index: 999;
    }
    .nav-links.active { display: flex; }
    .nav-links li { margin: 15px 0; }
    .nav-links a { font-size: 1.1rem; }
    .menu-toggle { display: flex; }
    .lang-switcher button { padding: 4px 8px; font-size: 0.7rem; }
    .hero-content h1 { font-size: 2.8rem; }
    .hero-btns { flex-direction: column; gap: 10px; }
    .btn { width: 100%; max-width: 300px; min-width: auto; }
    .price-card.featured { transform: none; }
    .price-card { width: 100%; max-width: 350px; margin: 0 auto; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item { height: 250px; }
    .contact-form-container, .map-container { padding: 25px; }
    .page-header h1 { font-size: 2.5rem; }
}
