/* RESET I IMPORT CZCIONEK */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&family=Playfair+Display:wght@400;700&family=Cormorant+Garamond:wght@600&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* PODSTAWOWE STYLE I ESTETYCZNE TŁO - MOCNIEJSZY RÓŻOWO-BIAŁY GRADIENT */
body {
    font-family: 'Poppins', sans-serif; 
    line-height: 1.7;
    /* Mocniejszy różowo-biały gradient */
    background: linear-gradient(135deg, #fdf6f9 0%, #fae6ed 100%); 
    color: #4a4a4a;
    scroll-behavior: smooth;
    position: relative;
}

/* NAGŁÓWKI */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: #5d5d5d;
    margin-bottom: 0.8em;
    font-weight: 700;
}

h2 {
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 1.8em;
    color: #b3738e;
    padding-bottom: 10px;
    position: relative;
    letter-spacing: 0.5px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #e6a7c0;
    border-radius: 5px;
}

a {
    text-decoration: none;
    color: #b3738e;
    transition: color 0.3s ease;
}

a:hover {
    color: #8c5b6e;
}

/* NAGŁÓWEK STAŁY I OKRĄGŁE LOGO */
header {
    background-color: rgba(255, 255, 255, 0.98);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0e0e6;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container img {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

/* ZMIENIONA CZCIONKA NAGŁÓWKA LOGO */
.logo-container h1 {
    font-size: 1.8em;
    color: #c994ad;
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    letter-spacing: 1px;
}

/* MENU I AKTYWNA ZAKŁADKA */
nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul a {
    color: #666666;
    font-weight: 500;
    padding: 8px 0;
    transition: all 0.3s ease;
}

nav ul a:hover, nav ul a.active {
    color: #b3738e;
    border-bottom: 2px solid #e6a7c0;
}

/* GŁÓWNA TREŚĆ PODSTRON */
.main-content {
    padding: 80px 5%;
    max-width: 1300px;
    margin: 0 auto;
}

/* BLOKI SEKCJI Z CIENIEM I BIAŁYM TŁEM */
.section-block {
    margin-bottom: 60px;
    padding: 50px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}
.section-block:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12); /* Animacja cienia na hover */
}

/* STRONA GŁÓWNA - LEKKI UKŁAD */
.hero-image {
    width: 100%;
    height: 650px;
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    margin-bottom: 70px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-image h1 {
    font-size: 5em;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.intro-text-center {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.15em;
    padding-bottom: 30px;
}

.feature-grid {
    display: grid;
    /* Automatycznie dostosowuje siatkę, by pomieścić 4 kafelki na szerokich ekranach */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-box {
    padding: 30px;
    text-align: center;
    background-color: #fcf7f9;
    border-radius: 10px;
    border-top: 5px solid #e6a7c0;
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px); 
}

.feature-box h4 {
    color: #b3738e;
    font-size: 1.5em;
    margin-bottom: 10px;
}

/* REKRUTACJA - BIAŁE TŁA Z PASKIEM BOCZNYM */
.recruitment-block {
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.recruitment-block h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #b3738e;
}

.recruitment-for {
    background-color: #ffffff; /* Czysto białe tło */
    border-left: 5px solid #e6a7c0; /* Różowy pasek */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); 
}

.recruitment-against {
    background-color: #ffffff; /* Czysto białe tło */
    border-left: 5px solid #d4a2b8; /* Ciemniejszy różowy pasek */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); 
}

/* NOWY STYL DLA OKIENKA STATUSU REKRUTACJI */
.recruitment-status {
    width: 100%;
    max-width: 600px; /* Ograniczenie szerokości na środku */
    margin: 0 auto 50px; /* Centrowanie i dolny margines */
    padding: 20px;
    background-color: #f7e8ef; /* Delikatnie różowe tło */
    border: 2px solid #e6a7c0;
    border-radius: 12px;
    text-align: center;
    cursor: help; /* Zmiana kursora na wskaźnik podpowiedzi */
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    height: 85px; /* Ustalona wysokość, aby animacja była płynna */
}

.recruitment-status h3 {
    margin: 0;
    color: #b3738e;
    font-size: 1.5em;
    font-weight: 600;
    transition: opacity 0.4s ease, transform 0.4s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-55%, -50%);
    width: 90%;
}

.status-details {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #e6a7c0; /* Różowe tło po najechaniu */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.4s ease;
    padding: 15px;
}

.recruitment-status:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* EFEKT HOVER: Pokaż szczegóły, ukryj nagłówek */
.recruitment-status:hover .status-details {
    opacity: 1;
    transform: translateY(0);
}

.recruitment-status:hover h3 {
    opacity: 0;
    transform: translate(-50%, -150%); /* Wypchnięcie nagłówka poza pole widzenia */
}

/* ================================== */
/* STRÓJ KLUBOWY - UKŁAD Z OBRAZKIEM NA GÓRZE */
/* ================================== */

/* Główny kontener stroju - w tej chwili to jest sekcja-blok */
.clothing-layout-top-image {
    /* Utrzymujemy padding z sekcji-blok */
    display: flex;
    flex-direction: column; /* Wszystkie elementy ułożone pionowo */
    gap: 25px; /* Odstęp między sekcjami wewnątrz bloku */
}

/* Blok obrazka - Pełna szerokość na górze */
.clothing-image-top {
    width: 100%;
    padding: 20px;
    background-color: #fffafa;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    /* Usuwamy ten blok z przepływu flex, aby obraz był na całej szerokości */
}

.clothing-image-top img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: contain;
    /* Maksymalna wysokość, aby obrazek nie był przesadnie duży */
    max-height: 500px;
}

/* Blok kosztów pod obrazkiem */
.cost-block-top {
    padding: 20px;
    background-color: #f7e8ef;
    border: 1px solid #e6a7c0;
    border-radius: 12px;
    text-align: center;
    color: #b3738e;
    font-weight: 500;
    font-size: 1.05em;
    max-width: 500px; /* Ograniczenie szerokości bloku kosztów */
    margin: 0 auto; /* Wyśrodkowanie bloku kosztów */
}


/* Kontener list (pod obrazkiem) - układ dwukolumnowy na PC */
.clothing-details-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dwie równe kolumny */
    gap: 30px;
    margin-top: 15px; /* Odstęp od nagłówka */
}

.clothing-item {
    padding: 25px;
    border: 1px solid #f0e0e6;
    border-radius: 12px;
    background-color: #fffafa;
    transition: background-color 0.3s ease;
    height: 100%; /* Ważne, aby bloki były równe */
}

.clothing-item:hover {
    background-color: #fef8f9;
}

.clothing-item h4 {
    color: #b3738e;
    font-size: 1.4em;
    border-bottom: 1px dotted #f0e0e6;
    padding-bottom: 5px;
    margin-bottom: 15px;
    text-align: center;
}

/* LISTY Z WŁASNĄ IKONĄ */
ul {
    list-style: none; 
    padding-left: 0;
    margin-top: 15px;
}

ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 30px;
}

.custom-bullet::before {
    content: '✧'; 
    color: #e6a7c0;
    font-size: 1.2em;
    position: absolute;
    left: 0;
    top: -2px;
    width: 20px;
    text-align: center;
    font-family: Arial, sans-serif;
}

/* PRZYCISKI CTA */
.cta-button {
    text-align: center;
    margin-top: 50px;
}

.button {
    display: inline-block;
    padding: 15px 40px;
    background-color: #e6a7c0;
    color: white;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.button:hover {
    background-color: #c994ad;
    transform: translateY(-3px);
}

/* GALERIA - NAPRAWIONE STYLE */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
    gap: 30px; 
    margin-top: 40px;
}

.gallery-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.03); 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* STOPKA */
footer {
    background-color: #fdfdfd;
    color: #7a7a7a;
    text-align: center;
    padding: 40px 5%;
    border-top: 1px solid #eeeeee;
    margin-top: 70px;
    box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.05);
}

.social-links img {
    width: 38px;
    height: 38px;
    margin: 0 10px;
    filter: grayscale(100%) opacity(70%);
    transition: filter 0.3s ease, transform 0.2s ease;
}

.social-links img:hover {
    filter: grayscale(0%) opacity(100%);
    transform: translateY(-3px);
}

footer p {
    margin-top: 20px;
    font-size: 0.95em;
}

/* ANIMACJA WJAZDU ELEMENTÓW */
.animate-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlide 0.8s ease-out forwards;
}

@keyframes fadeInSlide {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ================================== */
/* 6. RESPONSIVE DESIGN (TELEFONY)   */
/* ================================== */
@media (max-width: 900px) {
    
    .main-content {
        padding: 40px 3%; /* Mniejszy margines boczny */
    }

    h2 {
        font-size: 2.2em;
        margin-bottom: 1.5em;
    }

    /* NAGŁÓWEK */
    header {
        flex-direction: column;
        padding: 15px 3%;
        text-align: center;
    }

    .logo-container {
        margin-bottom: 15px;
    }
    
    .logo-container h1 {
        font-size: 1.6em;
    }
    
    /* MENU */
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 0;
    }
    nav ul li {
        margin: 5px 10px;
    }
    nav ul a {
        font-size: 0.9em;
        padding: 5px 0;
        white-space: nowrap; /* Zapobiega łamaniu się linków */
    }

    /* SEKCJA GŁÓWNA (HERO) */
    .hero-image {
        height: 350px;
        margin-bottom: 40px;
        background-position: 60% center; /* Lekkie dostosowanie dla tła */
    }
    .hero-image h1 {
        font-size: 3em;
    }
    .intro-text-center {
        font-size: 1em;
        padding-bottom: 20px;
    }
    
    /* SIATKI (FEATURE I GALERIA) */
    .feature-grid {
        grid-template-columns: 1fr; /* Jeden element na rząd */
        gap: 20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr; /* Jeden obraz na rząd */
        gap: 20px; 
    }
    .gallery-grid img {
        height: auto; /* Dostosowanie wysokości, aby obraz się nie rozciągał */
    }

    /* ========================================= */
    /* STRÓJ KLUBOWY - ZMIANA NA UKŁAD PIONOWY */
    /* ========================================= */
    
    /* Kontener list na telefonie - jedna kolumna */
    .clothing-details-bottom {
        grid-template-columns: 1fr; /* Zmiana z 2 kolumn na 1 na telefonach */
        gap: 20px;
    }
    
    /* Zmiana rozmiaru obrazka na telefonie (jeśli jest zbyt duży) */
    .clothing-image-top img {
        max-height: 300px;
    }

    /* REKRUTACJA */
    .recruitment-block {
        padding: 20px;
        margin-bottom: 20px;
    }
    .recruitment-status {
        max-width: 100%;
        margin: 0 auto 30px;
    }

    /* STOPKA */
    footer {
        padding: 30px 3%;
    }
    .social-links img {
        width: 30px;
        height: 30px;
    }
}
