/* 1. GLOBALNE RESETOWANIE - Zapobiega rozjeżdżaniu się strony */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Kluczowe: padding nie dodaje się do szerokości */
}


html, body {
    width: 100%;
    background-color: #f9f9f7; /* Jasny kolor pod spodem, żeby było widać łuki Hero */
}

body {
    font-family: 'Inter', sans-serif;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =========================================
   2. NAWIGACJA - PERFEKCYJNE WYŚRODKOWANIE
   ========================================= */
header {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%; 
    height: 100px; 
    z-index: 1000;
    display: flex;
    justify-content: center; 
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
}

/* --- STAN: CHOWANIE (SCROLL W DÓŁ) --- */
.header-hidden {
    transform: translateY(-100%); 
}

/* --- STAN: STICKY (SCROLL W GÓRĘ) --- */
.header-sticky {
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.85); 
    backdrop-filter: blur(15px); 
    -webkit-backdrop-filter: blur(15px);
    height: 105px; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* --- ZMIANA KOLORU LINKÓW W STICKY NAV --- */
.header-sticky nav ul li a {
    color: #1a1a1a; 
    text-shadow: none; 
}

.header-sticky .logo img {
    height: 100px; 
    filter: brightness(0.2); 
}

.header-sticky nav ul li a:hover {
    color: #436d58;
}

nav {
    display: flex;
    justify-content: center;
}

nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 60px; /* Równe odstępy gwarantują symetrię */
    padding: 0;
    margin: 0;
}

/* LINKI - POGRUBIENIE BEZ PRZESUWANIA */
nav ul li a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 800;
    opacity: 0.9; 
    transition: all 0.3s ease;
    display: inline-block;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

nav ul li a:hover {
    opacity: 1;
    text-shadow: 0.5px 0 0 #fff, -0.2px 0 0 #fff; 
}

/* LOGO - KLIKALNE I WYŚRODKOWANE */
.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px; /* Ta sama szerokość co wcześniej */
    height: 100%;
    position: relative;
}

/* Styl dla linku wewnątrz LI.logo */
.logo a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    opacity: 1 !important; /* Blokuje przezroczystość linków */
    text-shadow: none !important; /* Blokuje cień tekstu */
}

/* LOGO - STABILIZACJA ROZMIARU */
.logo img {
    height: 90px; /* Wysokość bez zmian */
    width: auto;
    display: block;
    position: absolute; 
    z-index: 101;
    /* Parametry przejścia bez zmian */
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                filter 0.4s ease;
    transform: translateY(5px) scale(1); 
    will-change: height, transform; 
    
    /* --- ZMIANA TUTAJ: Filtry robiące logo białym --- */
    filter: brightness(0) invert(1); 
}

/* LOGO W STANIE STICKY */
.header-sticky .logo img {
    height: 100px; 
    transform: translateY(0) scale(1); 
    
    /* --- ZMIANA TUTAJ: W sticky też ma być białe --- */
    filter: brightness(0) invert(1); 
    filter: brightness(0.2);
} 

/* Logo nie może stać się przezroczyste na hoverze - bez zmian */
.logo a:hover {
    opacity: 1 !important;
}


/* =========================================
   3. PRZYCISKI WSPÓLNE
   ========================================= */
.btn-primary {
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
    background-color: #436d58; 
    color: #fff;
    border: 1px solid #436d58;
}

.btn-primary:hover {
    background-color: #355746;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* =========================================
   4. PODSTRONA: HERO (SZTYWNE 50/50)
   ========================================= */
#metoda-hero {
    display: flex;
    flex-direction: row; 
    height: 80vh;
    width: 100%;
    background-color: #f2f4f1;
    border-bottom-left-radius: 80px;  
    border-bottom-right-radius: 80px; 
    overflow: hidden; 
    position: relative;
    z-index: 10;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.method-hero-image {
    flex: 0 0 50%;
    width: 50%;
    height: 100%;
}

.method-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    object-position: 100% 50%; 
}

.method-hero-text {
    flex: 0 0 50%;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 5% 0 5%; 
    position: relative; 
    overflow: hidden; 
}

.hero-leaf-decor {
    position: absolute;
    top: 0;       
    right: 0;     
    width: 1500px; 
    height: auto;
    opacity: 0.7; 
    z-index: 1; 
    pointer-events: none; 
    mix-blend-mode: multiply; 
}

.method-hero-text .text-inner {
    max-width: 550px;
    position: relative;
    z-index: 2; 
}

.method-hero-text h1 {
    font-size: 52px;
    color: #1a1a1a;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 600;
}

.method-hero-text p {
    font-size: 20px;
    color: #444;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* =========================================
   5. PODSTRONA: CO TRENUJEMY (Z CZYM SIĘ ZMIERZASZ)
   ========================================= */
#co-trenujemy {
    width: 100%;           
    max-width: 1300px;    
    margin: 80px auto 60px auto;
    padding: 0 5%; 
    background: none; 
    color: #1a1a1a; 
    text-align: center;
    position: relative;
    z-index: 20;
}

#co-trenujemy .section-title {
    font-size: 54px;
    margin-bottom: 40px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -1px;
}

.problems-list {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.problems-list span {
    background: #ffffff; 
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 16px;
    border: 1px solid rgba(67, 109, 88, 0.2); 
    color: #444; 
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    display: inline-block;
    transform-origin: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03); 
}

.problems-list span i {
    color: #436d58; 
    margin-right: 8px;
}

.problems-list span:hover {
    background-color: #436d58;     
    color: #ffffff;                
    border-color: #436d58;
    box-shadow: 0 10px 20px rgba(67, 109, 88, 0.2); 
    transform: translateY(-5px) scale(1.04);
}

.problems-list span:hover i {
    color: #ffffff; 
    transform: scale(1.2);         
    transition: transform 0.3s ease;
}

/* =========================================
   6. PODSTRONA: JAK TO DZIAŁA
   ========================================= */
#jak-to-dziala {
    margin-top: 0; 
    padding: 80px 0;
    background: transparent; 
    position: relative;
    z-index: 5;
}

#jak-to-dziala .section-title {
    display: block;      
    width: 100%;
    font-size: 54px;     
    color: #1a1a1a;
    margin-bottom: 60px; 
    font-weight: 700;
    letter-spacing: -1px;
    text-align: center;  
}

.cards-container {
    display: flex;
    justify-content: center;
    gap: 30px; 
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.method-card {
    flex: 1; 
    background-color: #ffffff; 
    padding: 50px 30px; 
    border-radius: 24px; 
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08); 
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.method-card:hover {
    transform: translateY(-10px); 
}

.method-card .card-icon {
    height: 70px;
    width: auto;
    margin-bottom: 25px;
}

.method-card i {
    font-size: 50px;
    color: #436d58; 
    margin-bottom: 25px;
}

.method-card h3 {
    font-size: 22px;
    color: #1a1a1a; 
    margin-bottom: 15px;
    font-weight: 600;
}

.method-card p {
    font-size: 16px;
    color: #555;    
    line-height: 1.6;
}

/* =========================================
   7. NOWA SEKCJA: PRZEBIEG TRENINGU
   ========================================= */
#przebieg-treningu {
    background: transparent; 
    max-width: 1300px;
    width: 100%; 
    margin: 80px auto 150px auto;
    padding: 0 5%; 
    position: relative;
    z-index: 5;
}

#przebieg-treningu .section-title {
    display: block;
    width: 100%;
    font-size: 50px; 
    color: #1a1a1a;
    margin-bottom: 25px; 
    font-weight: 700;
    letter-spacing: -1px;
    text-align: center;
}

#przebieg-treningu .session-intro {
    max-width: 800px;
    margin: 0 auto 60px auto;
    font-size: 18px;
    line-height: 1.7;
    color: #555;
    text-align: center;
}

.session-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap; 
}

.feature-box {
    flex: 1;
    min-width: 280px; 
    background-color: #ffffff; 
    padding: 50px 35px;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08); 
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12); 
}

.feature-box i {
    font-size: 45px;
    color: #436d58; 
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.feature-box:hover i {
    transform: scale(1.1); 
}

.feature-box h3 {
    font-size: 22px;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-box p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

/* =========================================
   8. JASNA STREFA DOLNA I REZERWACJA
   ========================================= */
#jasna-strefa-dolna {
    position: relative;
    width: 100%;
    background: transparent; 
    margin-top: 0; /* Wyzerowane */
    z-index: 5; 
    padding-bottom: 100px; 
    padding-top: 0; /* Wyzerowane */
}

#rezerwacja {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto; /* Koniec z nakładaniem sekcji (-180px zniknęło)! */
    padding: 90px 8%;
    background-color: #2c4033;
    border-radius: 40px; 
    box-shadow: 0 30px 60px rgba(67, 109, 88, 0.25); 
    margin-bottom: 110px;
}

#rezerwacja h2 {
    font-size: 42px;
    font-weight: 500;
    color: #ffffff; 
    margin-bottom: 25px;
    letter-spacing: -1px;
}

#rezerwacja p {
    font-size: 19px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9); 
    max-width: 650px;
    margin: 0 auto 50px auto; 
}

.btn-cta-premium {
    position: relative;
    display: inline-block; 
    text-decoration: none; 
    overflow: hidden; 
    background-color: #ffffff;
    color: #436d58; 
    border: none;
    padding: 22px 55px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    z-index: 1;
    transition: all 0.6s ease-in-out;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-cta-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        to right, 
        rgba(67, 109, 88, 0) 0%, 
        rgba(67, 109, 88, 0.12) 50%, 
        rgba(67, 109, 88, 0) 100%
    );
    transform: skewX(-25deg);
    z-index: -1;
    transition: left 0.8s ease-in-out;
}

.btn-cta-premium:hover {
    letter-spacing: 1.5px; 
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px); 
}

.btn-cta-premium:hover::before {
    left: 150%; 
}

/* =========================================
   9. CIEMNA, ELEGANCKA STOPKA (FOOTER)
   ========================================= */
footer {
    background-color: #17211a; 
    color: rgba(255, 255, 255, 0.7); 
    
    /* ZMIENIONE: 60px -> 20px na dole */
    padding: 100px 10% 20px 10%; 
    
    border-top-left-radius: 80px;
    border-top-right-radius: 80px;
    margin-top: -60px; 
    position: relative;
    z-index: 6; 
    display: flex;
    justify-content: space-between; 
    align-items: center;
    flex-wrap: wrap; 
    gap: 40px;
}

/* --- TYPOGRAFIA W STOPCE --- */
.footer-contact p {
    font-size: 15px;
    line-height: 2;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

/* --- LINKI TEKSTOWE (Telefon, Email) --- */
.footer-contact a {
    color: #ffffff; 
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: #436d58; 
    text-shadow: 0 0 10px rgba(67, 109, 88, 0.4);
}

/* --- UKŁAD IKON SOCIAL MEDIA (Okrągłe Przyciski) --- */
.footer-socials {
    display: flex;
    gap: 15px; /* Odstęp między kółeczkami */
    align-items: center;
}

.footer-socials a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.03); /* Delikatne szklane tło */
    border: 1px solid rgba(255, 255, 255, 0.15); /* Subtelna ramka */
    border-radius: 50%; /* Koło */
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover dla ikon social media */
.footer-socials a:hover {
    background-color: #436d58; 
    border-color: #436d58;
    color: #ffffff;
    transform: translateY(-5px); /* Uniesienie kółka */
    box-shadow: 0 10px 20px rgba(67, 109, 88, 0.4); /* Zielona poświata */
}

/* --- LOGO W STOPCE --- */
.footer-logo {
    display: flex;
    justify-content: flex-end; 
    position: relative; 
    width: 150px;       
    height: 70px;      
}

.footer-logo img {
    position: absolute;
    bottom: -30px; 
    right: -110px;
    height: 150px; 
    width: auto;
    opacity: 0.4; 
    filter: grayscale(100%); 
    transition: all 0.4s ease;
    z-index: 10;   
}

.footer-logo img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* --- DOLNY PASEK COPYRIGHT --- */
.footer-bottom {
    width: 100%; 
    text-align: center;
    margin-top: 20px; /* Zmniejszony odstęp nad linią (było 40px) */
    padding-top: 20px; /* Zmniejszony odstęp pod linią (było 25px) */
    border-top: 1px solid rgba(255, 255, 255, 0.08); 
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5); 
    letter-spacing: 0.5px;
    margin: 0; /* Upewniamy się, że paragraf nie dodaje własnych, ukrytych marginesów */
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #436d58; 
}

/* =========================================
   10. MEDIA QUERIES (TELEFONY I TABLETY)
   ========================================= */

@media (max-width: 768px) {
    
    /* --- ZACHOWANA NAWIGACJA Z POPRZEDNIEJ STRONY --- */
    header {
        background: linear-gradient(to bottom, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        height: auto !important;
        padding: 20px 0 15px 0;
        flex-direction: column;
        border: none !important;
    }

    .header-sticky {
        background: rgba(255, 255, 255, 0.98) !important; 
        padding: 12px 0 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    }

    .header-sticky nav ul li a {
        color: #1a1a1a !important; 
        text-shadow: none !important; 
    }
    
    .header-sticky .logo img {
        filter: brightness(0.2) !important; 
    }

    .logo {
        margin-bottom: 12px;
        width: auto;
    }

    .logo img {
        height: 45px !important;
        position: relative;
        transform: none !important;
    }

    nav {
        width: 100%;
    }

    nav ul {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center;
        gap: 12px;
        padding: 0 10px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    nav ul::-webkit-scrollbar {
        display: none;
    }

    nav ul li a {
        font-size: 10px;
        letter-spacing: 1px;
        white-space: nowrap;
        font-weight: 700;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    }

    /* --- HERO SEKCJA NA TELEFON (Zdjęcie na górze, tekst pod spodem) --- */
    #metoda-hero {
        flex-direction: column; /* Ustawia elementy jeden pod drugim */
        height: auto; /* Zdejmujemy sztywne 80vh */
        border-bottom-left-radius: 40px; /* Łagodniejsze łuki */
        border-bottom-right-radius: 40px;
    }

    .method-hero-image {
        width: 100%;
        height: 350px; /* Stała wysokość dla zdjęcia na górze */
    }

    .method-hero-text {
        width: 100%;
        padding: 40px 5% 60px 5%;
        text-align: center; /* Wyśrodkowanie tekstu */
    }

    .hero-leaf-decor {
        display: none; /* Ukrywamy paprotkę na telefonie, żeby nie robiła bałaganu */
    }

    .method-hero-text h1 {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .method-hero-text p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    /* --- CO TRENUJEMY --- */
    #co-trenujemy {
        margin: 60px auto 20px auto;
    }

    .section-title, #co-trenujemy .section-title, #jak-to-dziala .section-title, #przebieg-treningu .section-title {
        font-size: 32px !important; /* Spójny, mniejszy rozmiar nagłówków H2 */
        margin-bottom: 30px !important;
    }

    .problems-list {
        gap: 10px; /* Mniejsze odstępy między pigułkami */
    }

    .problems-list span {
        padding: 10px 18px;
        font-size: 14px; /* Zmniejszamy czcionkę "z czym się zmagasz" */
    }

    /* --- JAK TO DZIAŁA (Kafelki w kolumnie) --- */
    #jak-to-dziala {
        padding: 40px 0;
    }

    .cards-container {
        flex-direction: column; /* Kafelki jeden pod drugim */
        gap: 20px;
    }

    .method-card {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .method-card .card-icon {
        height: 50px;
        margin-bottom: 15px;
    }

    .method-card h3 {
        font-size: 20px;
    }

    /* --- PRZEBIEG TRENINGU --- */
    #przebieg-treningu {
        margin: 40px auto 60px auto;
    }

    #przebieg-treningu .session-intro {
        font-size: 15px;
        margin-bottom: 40px;
    }

    .session-features {
        flex-direction: column; /* Pola ułożone w kolumnie */
        gap: 20px;
    }

    .feature-box {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .feature-box i {
        font-size: 35px;
        margin-bottom: 15px;
    }

    .feature-box h3 {
        font-size: 20px;
    }

    /* --- REZERWACJA --- */
    #rezerwacja {
        margin: 90px auto 30px auto;
        padding: 50px 5%;
        border-radius: 30px;
        max-width: 90%;
    }

    #rezerwacja h2 {
        font-size: 28px;
    }

    #rezerwacja p {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .btn-cta-premium {
        width: 100%;
        padding: 18px 20px;
        font-size: 14px;
        box-sizing: border-box;
    }

        /* --- STOPKA (FOOTER) NA TELEFON - WERSJA KOMPAKTOWA --- */
    footer {
        padding: 40px 5% 30px 5% !important; /* Znacznie ucięte marginesy górny i dolny */
        border-top-left-radius: 30px !important; /* Jeszcze delikatniejsze zaokrąglenie */
        border-top-right-radius: 30px !important;
        margin-top: -20px !important; 
        flex-direction: column !important; 
        text-align: center !important; 
        gap: 15px !important; /* O połowę mniejszy odstęp między sekcjami w stopce */
    }

    .footer-contact {
        width: 100%;
    }
    .footer-contact a {
        display: inline !important; /* To przywróci numer i maila do tej samej linijki */
    }

    .footer-contact p {
        font-size: 14px !important; /* Odrobinę mniejszy, zgrabniejszy tekst */
        margin-bottom: 5px !important;
        line-height: 1.6 !important;
    }

    .footer-socials {
        width: 100%;
        justify-content: center !important; 
        margin: 5px 0 !important; /* Mniej pustego miejsca wokół ikon */
    }

    /* Trochę mniejsze ikony social media */
/* --- KÓŁKA DLA IKON SOCIAL MEDIA --- */
    .footer-socials a {
        width: 45px;
        height: 45px;
        background: rgba(255, 255, 255, 0.03); /* Delikatne szklane tło */
        border: 1px solid rgba(255, 255, 255, 0.15); /* Subtelna ramka */
        border-radius: 50%; /* Tworzy idealne koło */
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 18px; /* Optymalna wielkość ikony w kółku */
    }

    /* --- EFEKT HOVER DLA KÓŁEK --- */
    .footer-socials a:hover {
        background-color: #436d58; 
        border-color: #436d58;
        color: #ffffff;
        transform: translateY(-5px); /* Uniesienie kółka */
        box-shadow: 0 10px 20px rgba(67, 109, 88, 0.4); /* Zielona poświata */
    }

    .footer-logo {
        width: 100% !important;
        height: auto !important;
        justify-content: center !important;
        margin-top: 5px !important;
    }

    .footer-logo img {
        position: static !important; 
        height: 60px !important; /* Zmniejszone logo (wcześniej było 90px) */
        opacity: 0.4 !important; 
        transform: none !important;
        filter: grayscale(100%) !important;
    }

    /* --- DOLNY PASEK COPYRIGHT (WERSJA MOBILNA) --- */
    .footer-bottom {
        margin-top: 20px !important;
        padding-top: 15px !important;
        padding-bottom: 5px !important;
        width: 100% !important;
    }

    .footer-bottom p {
        font-size: 11px !important; /* Zmniejszamy czcionkę na telefonie */
        line-height: 1.8 !important; /* Większy odstęp między linijkami, gdy tekst się złamie */
        padding: 0 15px !important; /* Zabezpiecza tekst przed dotykaniem bocznych krawędzi ekranu */
        color: rgba(255, 255, 255, 0.4) !important; /* Odrobinę bardziej przygaszony kolor */
    }
    
    .footer-bottom a {
        font-size: 11px !important;
    }
}

/* --- EKSTREMALNIE MAŁE EKRANY (poniżej 400px) --- */
@media (max-width: 400px) {
    nav ul {
        grid-template-columns: 1fr 1fr;
    }
    
    .logo {
        grid-column: 1 / span 2;
        margin-bottom: 5px;
    }
    
    nav ul li a {
        font-size: 9px;
    }
}