/* 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;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* =========================================
   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); 
}

.header-hidden {
    transform: translateY(-100%); 
}

.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);
}

.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;
    padding: 0;
    margin: 0;
}

nav ul li a {
    color: #2c4033;
    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: none; 
}

nav ul li a:hover {
    color: #436d58;
    opacity: 1;
}

/* =========================================
   LOGO - PŁYNNE PRZEJŚCIE I STABILIZACJA
   ========================================= */
.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    position: relative;
    height: 100%;
}

.logo a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    opacity: 1 !important;
    text-shadow: none !important;
}

.logo a:hover {
    opacity: 1 !important;
}

.logo img {
    height: 90px; 
    width: auto;
    display: block;
    position: absolute;
    z-index: 101;
    transform: translateY(5px) scale(1);
    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;
    will-change: height, transform; 
    filter: brightness(0.2); 
}

.header-sticky .logo img {
    height: 105px; 
    transform: translateY(0) scale(1);
    filter: brightness(0.2); 
}


/* =========================================
   3. INTRO PAKIETÓW (Nagłówek)
   ========================================= */
#pakiety-intro {
    padding: 180px 0 50px;
    text-align: center;
}

#pakiety-intro h1 {
    font-size: 52px;
    font-weight: 700;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    color: #2c4033;
}

#pakiety-intro .subtitle {
    font-size: 19px;
    color: #555;
    max-width: 650px;
    margin: 0 auto;
    opacity: 0.8;
}

/* =========================================
   4. CENNIK (SIATKA 2 KART) - KLASYCZNY KSZTAŁT
   ========================================= */
#pakiety-grid {
    padding: 20px 0 160px;
}

.cards-wrapper {
    display: flex; 
    justify-content: center;
    align-items: stretch; /* Obie karty będą idealnie równej wysokości */
    gap: 40px; 
    width: 100%;
    max-width: 1000px; /* Zwiększona szerokość kontenera dla lepszych proporcji */
    margin: 0 auto;
}

.price-card {
    flex: 1;
    max-width: 480px; /* Karta może być teraz szersza, tekst ładniej się ułoży */
    background: #ffffff;
    padding: 50px 40px; /* Zmniejszony padding góra/dół, by usunąć efekt "pigułki" */
    border-radius: 24px; /* KLUCZ: Zmiana z 40px na 24px - klasyczny, elegancki kształt karty */
    text-align: center;
    border: 1px solid rgba(44, 64, 51, 0.08);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* KARTA "FEATURED" (Pierwsza Sesja) - Tło Leśne */
.price-card.featured {
    background: #2c4033; 
    border: none;
    box-shadow: 0 20px 50px rgba(44, 64, 51, 0.2);
    z-index: 2;
    /* Usunięto sztuczne powiększenie (scale), by karty były idealnie równe */
}

/* Zmiana kolorów tekstów w ciemnej karcie */
.price-card.featured h3, 
.price-card.featured .price {
    color: #ffffff;
}

.price-card.featured ul li {
    color: rgba(255, 255, 255, 0.85);
}

.price-card.featured .card-icon {
    color: #ffffff;
}

.price-card.featured ul li i {
    color: #8fb39c; 
}

/* --- EFEKT NAJECHANIA (HOVER) NA KARTY --- */
.price-card:hover {
    transform: translateY(-15px); 
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08); 
}

.price-card.featured:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 70px rgba(44, 64, 51, 0.3);
}

/* Ikony nad nagłówkami */
.card-icon {
    font-size: 45px;
    color: #436d58;
    margin-bottom: 25px;
    transition: transform 0.4s ease;
}

.price-card:hover .card-icon {
    transform: scale(1.1) rotate(-5deg); 
}

.price-card h3 {
    font-size: 26px;
    margin-bottom: 15px;
    color: #2c4033;
    font-weight: 700;
    line-height: 1.3;
}

.price {
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 35px;
    color: #1a1a1a;
    letter-spacing: -1px;
}

/* Lista korzyści */
.price-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 45px;
    flex-grow: 1;
}

.price-card ul li {
    font-size: 16px;
    margin-bottom: 16px;
    color: #555;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
}

.price-card ul li i {
    color: #436d58;
    margin-top: 4px; 
}

/* --- PRZYCISK W ZWYKŁEJ BIAŁEJ KARCIE --- */
.btn-outline {
    display: inline-block;
    padding: 18px 30px;
    border: 2px solid #2c4033;
    border-radius: 50px;
    text-decoration: none;
    color: #2c4033;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    margin-top: auto; 
}

.price-card:hover .btn-outline {
    background: #2c4033;
    color: #fff;
    box-shadow: 0 10px 20px rgba(44, 64, 51, 0.2);
}

/* --- PRZYCISK W CIEMNEJ KARCIE FEATURED --- */
.price-card.featured .btn-outline {
    background: #ffffff;
    color: #2c4033;
    border-color: #ffffff;
}

.price-card.featured:hover .btn-outline {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

/* =========================================
   5. DOLNY BANER CTA (Czysty i elegancki)
   ========================================= */
#pakiety-cta {
    padding: 0 5% 100px;
    max-width: 1100px; /* Ograniczamy szerokość banera, by nie rozlewał się na cały ekran */
    margin: 0 auto;
}

.cta-inner {
    background-color: #2c4033; /* Czysta, luksusowa zieleń - idealnie pasuje do karty wyżej */
    padding: 70px 5%; /* Smuklejszy w pionie (mniej pustej przestrzeni nad i pod tekstem) */
    border-radius: 40px; /* Złagodzone zaokrąglenie */
    text-align: center;
    color: #fff;
    box-shadow: 0 30px 60px rgba(44, 64, 51, 0.25); /* Piękny, miękki cień, dzięki któremu baner "lewituje" */
    margin-bottom: 90px;
}

.cta-inner h2 {
    font-size: 40px;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.cta-inner p {
    font-size: 18px;
    max-width: 650px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.9); /* Delikatnie zgaszona biel dla przyjemnego czytania */
    line-height: 1.7;
}

.btn-cta-premium {
    padding: 20px 45px;
    border-radius: 50px;
    background: #ffffff;
    color: #2c4033;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-cta-premium:hover {
    transform: translateY(-3px); /* Unosi się przy najechaniu */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}
/* =========================================
   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; 
}

@media (max-width: 768px) {
	/* 1. Rozszerzamy bazę na całą wysokość ekranu */
    html, body {
        height: 100%;
        margin: 0px;
    }

    body {
        display: flex;
        flex-direction: column;
        min-height: 100vh; /* iPhone 16 ma wysoki ekran, to go wypełni */
    }

    /* 2. To jest najważniejsze: szukamy głównego kontenera treści 
       (pomiędzy menu a stopką) i każemy mu zająć całą wolną przestrzeń */
    main {
        flex: 1 0 auto; 
    }

    /* --- WERSJA OSTATECZNA: EKSTREMALNIE MIĘKKI GRADIENT --- */
    header {
        background: linear-gradient(
            to bottom, 
            rgba(0, 0, 0, 0.5) 0%,
            rgba(0, 0, 0, 0.15) 50%,
            rgba(0, 0, 0, 0) 100%
        ) !important;
        
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        height: auto !important;
        padding: 20px 0 40px 0 !important; 
        
        flex-direction: column;
        border: none !important;
        box-shadow: none !important;
        flex-shrink: 0; /* Header nie może się zgniatać */
    }


    /* Wymuszamy biały kolor linków na starcie, żeby były widoczne na tle lasu/gradientu */
    nav ul li a {
        color: #ffffff !important;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.5) !important;
    }

    /* Logo na starcie robimy białe (invert), tak jak na głównej */
    .logo img {
        filter: brightness(0) invert(1) !important;
        height: 45px !important;
        position: relative;
        transform: none !important;
    }

    /* --- STICKY (PO SCROLLOWANIU) --- */
    .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;
    }

    /* Przy sticky linki muszą stać się ciemne */
    .header-sticky nav ul li a {
        color: #1a1a1a !important; 
        text-shadow: none !important; 
    }
    
    /* Przy sticky logo musi stać się ciemne */
    .header-sticky .logo img {
        filter: brightness(0.2) !important; 
    }

    /* --- RESZTA NAV --- */
    .logo {
        margin-bottom: 12px;
        width: auto;
    }

    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;
    }

    /* --- RESZTA SEKCJII (BEZ ZMIAN) --- */
    #pakiety-intro {
        padding: 120px 5% 40px; 
    }

    #pakiety-intro h1 {
        font-size: 32px;
        letter-spacing: -1px;
    }

    #pakiety-intro .subtitle {
        font-size: 16px;
    }

    #pakiety-grid {
        padding: 0 5% 60px;
    }

    .cards-wrapper {
        flex-direction: column; 
        gap: 20px;
        align-items: center;
    }

    .price-card {
        width: 100%;
        max-width: 100%;
        padding: 40px 25px; 
        border-radius: 20px;
    }

    .price-card h3 {
        font-size: 22px;
    }

    .price {
        font-size: 38px;
        margin-bottom: 25px;
    }

    .price-card ul {
        margin-bottom: 30px;
    }

    .price-card ul li {
        font-size: 15px;
    }

    #pakiety-cta {
        padding: 0 5% 80px;
        margin-bottom: 60px;
    }

    .cta-inner {
        padding: 50px 8%;
        border-radius: 30px;
    }

    .cta-inner h2 {
        font-size: 28px;
    }

    .cta-inner p {
        font-size: 16px;
        margin-bottom: 30px;
    }

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

    /* --- STOPKA (BEZ ZMIAN) --- */
	footer {
        padding: 40px 5% 30px 5% !important;
        border-top-left-radius: 30px !important; 
        border-top-right-radius: 30px !important;
        margin-top: 0 !important; /* ZMIANA: usuwamy ujemny margines, który może psuć układ */
        flex-direction: column !important; 
        text-align: center !important; 
        gap: 15px !important; 
        flex-shrink: 0; /* Stopka zawsze trzyma swój rozmiar */
    }

    .footer-contact { width: 100%; }
    .footer-contact p { font-size: 14px !important; margin-bottom: 5px !important; line-height: 1.6 !important; }
    .footer-contact a { display: inline !important; color: #ffffff !important; }
    .footer-socials { width: 100%; justify-content: center !important; margin: 5px 0 !important; }
    .footer-socials a { width: 38px !important; height: 38px !important; font-size: 15px !important; }
    .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; opacity: 0.4 !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;
    }
}