/* ========================== PODSTAWY I NAVBAR ========================== */
/* BLOKADA ZAZNACZANIA DLA CAŁEJ STRONY */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    -webkit-user-select: none;  
    -moz-user-select: none;     
    -ms-user-select: none;      
    user-select: none;          
    -webkit-touch-callout: none; 
}

/* BLOKADA PRZECIĄGANIA OBRAZKÓW */
img {
    -webkit-user-drag: none;
    pointer-events: none;
}

/* Pozwolenie na klikanie w przyciski i linki (mimo blokady zaznaczania tekstu) */
a, button, .promo-btn, .btn-kontakt, .hero-btn {
    -webkit-user-select: auto;
    user-select: auto;
    pointer-events: auto;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y proximity; /* To musi być tutaj, by działało na całej stronie */
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    background: #fff;
    line-height: 1.6;
}

body { background: #fff; line-height: 1.6; }

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background: black;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    z-index: 1000;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    
}

.navbar nav a {
    color: white;
    text-decoration: none;
    margin-left: 35px;
    font-size: 18px;

}
.navbar nav a:hover { color: #2f69ff; }


/* ========================== HERO DLA PODSTRON ========================== */

.subpage-hero {
    height: 50vh;
    background: #000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding-top: 80px;
}

.subpage-hero h1 {
    font-size: 48px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* ==========================================================================
   SEKCJA CENNIKA (ZATRZYMYWANIE I STAŁE WYMIARY)
   ========================================================================== */
.pricing-section {
    padding: 80px 5% 30px 5%;
    background: #fff;
    scroll-snap-align: start; /* Zatrzymywanie na tej sekcji */
}

.pricing-container {
    max-width: 1250px;
    margin: 10px auto;
    display: flex; /* Zmieniamy na flex, żeby zachowywał się jak slider */
    flex-wrap: wrap; /* Pozwala kafelkom spadać do nowej linii */
    justify-content: center;
    gap: 30px;
    padding: 0 10px;
}

.price-table {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    
    /* Szerokość identyczna jak w pakietach: 3 w rzędzie */
    width: calc((100% - 60px) / 3); 
    min-width: 300px; /* Zabezpieczenie, żeby nie były za chude */
    transition: 0.3s;
}

.table-header {
    background: #000; color: #fff;
    padding: 35px 20px; text-align: center;
}

.table-header i { font-size: 30px; color: #2f69ff; margin-bottom: 15px; display: block; }
.table-header h2 { font-size: 20px; letter-spacing: 1px; font-weight: 700; }

/* --- WEWNĘTRZNY SCROLL (STAŁA WYSOKOŚĆ NA 3 POZYCJE) --- */
.price-table-content {
    height: 225px; /* Wielkość identyczna jak wcześniej (3 wiersze) */
    overflow-y: hidden;
    scrollbar-gutter: stable;
    transition: 0.3s;
}

.price-table:hover .price-table-content {
    overflow-y: auto;
}

.price-table-content::-webkit-scrollbar { width: 5px; }
.price-table-content::-webkit-scrollbar-thumb { background: #2f69ff; border-radius: 10px; }

/* ELEMENTY LISTY */
.price-item { border-bottom: 1px solid #f5f5f5; }

.price-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 22px 25px; cursor: pointer; transition: background 0.2s;
}

/* 1. Ustawiamy wiersz jako bazę */
.price-row {
    display: flex;
    align-items: center;
    position: relative; /* To jest kluczowe dla wyrównania ikon */
    padding-right: 120px !important; /* Rezerwujemy miejsce na ikonę i cenę */
}

/* 2. Tekst usługi - musi mieć flex, żeby nie wypychał ikony */
.price-row span:first-child {
    flex: 1;
}

/* 3. Ikona - teraz będzie zawsze w tym samym miejscu */
.price-row span i {
    position: absolute !important;
    right: 105px !important; /* Odległość od prawej krawędzi - dostosuj, by była przed ceną */
    top: 50%;
    transform: translateY(-50%);
    margin: 0 !important;
    font-size: 10px; /* Zachowujemy mały rozmiar ze zdjęcia */
    color: #bbb;    /* Zachowujemy szary kolor ze zdjęcia */
}

/* 4. Cena - sztywno na końcu po prawej */
.price {
    position: absolute !important;
    right: 20px !important;
    text-align: right;
    color: #2f69ff;       /* DODANO: Ten sam niebieski co w ikonach i przyciskach */
    font-weight: 700;     /* DODANO: Pogrubienie, żeby cena była bardziej widoczna */
}
/* ROZWIJANY OPIS */
.price-details {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    font-size: 13px; color: #666;
    line-height: 1.5; background: #f9f9f9;
    transition: all 0.3s ease-out;
}

.price-item.active .price-details {
    max-height: 150px;
    padding: 15px 25px;
}

.price-item.active .fa-chevron-down {
    transform: rotate(180deg);
    color: #2f69ff;
}

/* INFO I PRZYCISK (ZMNIEJSZONY ODSTĘP) */
.pricing-info {
    text-align: center;
    margin-top: 25px; 
}

.pricing-info p {
    color: #888; font-size: 13px;
    max-width: 800px; margin: 0 auto 10px;
    font-style: italic;
}

.cta-button {
    display: inline-block; padding: 18px 50px;
    background: #2f69ff; color: #fff;
    text-decoration: none; border-radius: 50px;
    font-weight: 700; text-transform: uppercase;
    transition: 0.3s;
}

.cta-button:hover { background: #000; transform: translateY(-3px); }

/* STYL DLA NAPISU W CZARNYM PASKU SPONSORÓW */
.sponsor-note {
    position: absolute;
    width: 100%;
    left: 0;
    top: -38px;           /* Przesuwa tekst dokładnie na czarny pasek */
    text-align: center;
    color: #999;          /* Jasnoszary na czarnym tle */
    font-size: 11px;
    font-style: italic;
    z-index: 20;
    margin: 0;
    pointer-events: none;
    display: block;
}

/* Opcjonalnie: styl dla ikony */
.sponsor-note i {
    margin-right: 8px;
    color: #2f69ff;
}

/* ==========================================================================
   GOTOWE PAKIETY - FINALNY DESIGN
   ========================================================================== */
.ready-packages {
    position: relative; 
    margin-top: 0;
    padding: 60px 0 40px 0;
    scroll-snap-align: start;
    border-top: 55px solid #111;
    width: 100%;
}

.packages-title {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 50px;
    text-transform: uppercase;
    position: relative;
    padding-top: 0px;
}

.packages-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #2f69ff;
    border-radius: 2px;
}

.slider-wrapper {
    display: flex;
    align-items: center;
    max-width: 1250px;
    margin: 0 auto;
    position: relative;
}

.packages-slider {
    display: flex;
    gap: 25px;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding: 20px 5px;
    width: 100%;
}

/* KAFELEK */
.package-card {
    min-width: calc((100% - 50px) / 3); 
    background: #080808; 
    border-radius: 15px;
    border: 1px solid #222;
    transition: 0.4s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: visible; /* Pozwala badgowi wystawać */
    margin-top: 20px;
}

.package-card:hover { 
    border-color: #2f69ff; 
    transform: translateY(-5px); 
}

/* NAGŁÓWEK */
.package-header {
    background: #000;
    padding: 35px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    border-radius: 15px 15px 0 0;
    z-index: 1; 
    border-bottom: 1px solid #222;
}

.package-header h3 { font-size: 17px; color: #fff; }
.package-price { background: #2f69ff; color: #fff; padding: 6px 12px; border-radius: 6px; font-weight: bold; }

/* LISTA USŁUG */
.package-list {
    list-style: none;
    padding: 20px 25px;
    background: #080808;
    height: 198px; 
    overflow-y: hidden;
    border-radius: 0 0 15px 15px;
    scrollbar-gutter: stable;
}

.package-card:hover .package-list {
    overflow-y: auto;
}

/* SUWAK */
.package-list::-webkit-scrollbar { width: 5px; }
.package-list::-webkit-scrollbar-thumb { background: #2f69ff; border-radius: 10px; }
.package-list::-webkit-scrollbar-track { 
    background: #000; 
    margin-top: 25px; 
    margin-bottom: 25px; 
}

.package-list li { color: #ccc; font-size: 14px; margin-bottom: 12px; display: flex; align-items: center; }
.package-list li i { color: #2f69ff; margin-right: 12px; }

/* BESTSELLER BADGE */
.package-card.is-bestseller {
    border: 2px solid #2f69ff !important;
    transform: scale(1.02);
    z-index: 10;
}

.bestseller-badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: #2f69ff;
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(47, 105, 255, 0.4);
    z-index: 100;
    white-space: nowrap;
}

/* SUMMER BADGE */
.package-card.is-summer {
    border: 2px solid #f31370 !important;
    transform: scale(1.02);
    z-index: 10;
}
.package-card.is-summer .package-list::-webkit-scrollbar-thumb{
    background-color:  #f31370 !important;
}

.package-card.is-summer .package-price{
    background-color:  #f31370 !important;
}

.package-card.is-summer .package-list li i{
    color:  #f31370 !important;
}

.summer-badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: #f31370;
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(213, 11, 152, 0.4);
    z-index: 100;
    white-space: nowrap;
}

/* STRZAŁKI */
.slide-btn {
    background: #000; color: #fff; border: none;
    width: 50px; height: 50px; border-radius: 50%;
    cursor: pointer; z-index: 100; transition: 0.3s;
    flex-shrink: 0;
}
.slide-btn:hover { background: #2f69ff; }
.slide-btn.prev { margin-right: 15px; }
.slide-btn.next { margin-left: 15px; }

/* ==========================================================================
   WERSJA MOBILNA (PAKIETY I CENNIK)
   ========================================================================== */
@media (max-width: 1100px) {
    .package-card { min-width: calc((100% - 25px) / 2); }
}

@media (max-width: 768px) {
    /* Slider Pakietów */
    .packages-slider {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 40px 35px;
        gap: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .package-card {
        min-width: 115% !important; 
        scroll-snap-align: center;
        margin-top: 20px;
        transform: scale(1) !important;
    }

    /* Strzałki Mobile */
    .slide-btn {
        display: flex !important;
        width: 35px; height: 35px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0, 0, 0, 0.7);
        border: 1px solid #2f69ff;
        z-index: 110;
    }
    .slide-btn.prev { left: 2px; }
    .slide-btn.next { right: 2px; }

    .packages-slider::-webkit-scrollbar { display: none; }

    /* Nagłówki i Pakiety - Tekst */
    .package-header { padding: 25px 15px; }
    .package-list { padding: 15px 20px; }

    /* CENNIK (Tabela cen) - Tekst */
    .table-header h2 { font-size: 16px !important; }
    .table-header i { font-size: 24px !important; }
    .price-row { padding: 15px 18px !important; }
    .price-row span { font-size: 13px !important; }
    .price { font-size: 13px !important; min-width: 70px !important; }
    .price-details { font-size: 11px !important; padding: 0 18px !important; }
    .price-item.active .price-details { padding: 10px 18px !important; }
}

/* ========================== STOPKA (ZGODNIE Z TWOIM WYMOGIEM) ========================== */
.footer {
    background-color: #000;
    color: #fff;
    padding: 30px 0 20px 0; 
    width: 100%;
}

.footer-container {
    max-width: 1300px; 
    margin: 0 auto;
    padding: 0 70px 20px 70px;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-left: 350px;
}
.footer-bottom a {
    color: #888;
    text-decoration: none;
}
.footer-bottom {
    text-align: center;
    padding: 40px 0 20px;
    border-top: 1px solid #222;
    font-size: 12px;
    color: #888;
    scroll-snap-align: none;
}

.footer-contact { display: flex; flex-wrap: wrap; gap: 30px; }
.footer-contact i{ padding-right: 3px; }
.contact-item a { color: #fff; text-decoration: none; transition: 0.3s; }
.contact-item a:hover, .footer-social a:hover { color: #2f69ff; }
.footer-social { display: flex; gap: 20px; font-size: 24px; }
.footer-social a { color: #fff; transition: 0.3s; }
.footer-social a:hover {
    color: #1a51e6; 
    transform: translateY(-3px); 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.footer-bottom strong { color: #fff; }

/* RESPONSYWNOŚĆ */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        margin-left: 0;
        padding: 0 20px;
        width: 100%;
    }
    
    .footer-contact {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .footer-social {
        justify-content: center;
        width: 100%;
    }

    .navbar {
        flex-direction: column;
        height: auto;
        padding: 10px;
    }

    .navbar nav {
        margin-top: 10px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .navbar nav a {
        margin: 0 10px;
        font-size: 14px;
    }
    .subpage-hero h1 {
        font-size: 32px;
    }
}
/* ========================== STRZAŁKI I RWD DLA PAKIETÓW ========================== */

@media (max-width: 768px) {
    .slide-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px; 
        height: 40px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0, 0, 0, 0.8);
        border: 1px solid #2f69ff;
        font-size: 14px;
        z-index: 100;
    }

    .slide-btn.prev {
        left: 5px;
    }

    .slide-btn.next {
        right: 5px;
    }

    .packages-slider {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 40px 45px; 
        gap: 15px;
        -webkit-overflow-scrolling: touch;
    }

    /* --- NAPRAWA CENNIKA: Zawsze aktywny scroll na telefonie --- */
    .price-table-content {
        overflow-y: auto !important; /* Wymusza możliwość przewijania bez myszki */
        -webkit-overflow-scrolling: touch; /* Dodaje płynne przewijanie na urządzeniach Apple */
    }
    
    /* Wymuszenie widoczności paska przewijania na telefonach */
    .price-table-content::-webkit-scrollbar { 
        display: block !important;
        width: 5px; 
    }
    .price-table-content::-webkit-scrollbar-thumb { 
        background: #2f69ff; 
        border-radius: 10px; 
    }

    .package-card {
        min-width: 100% !important; 
        scroll-snap-align: center;
        margin-top: 20px;
        transform: scale(1) !important;
    }

    .packages-slider::-webkit-scrollbar {
        display: none;
    }
    .sponsor-note {
        font-size: 9px !important;   /* Zmniejszenie czcionki na mobile */
        top: -42px !important;        /* Lekka korekta położenia, żeby napis był wycentrowany w pionie na pasku */
        padding: 0 15px;             /* Odstęp od krawędzi ekranu, żeby tekst nie dotykał boków */
    }
     /* Opcjonalnie: Jeśli chcesz wyłączyć przyciąganie na CAŁEJ stronie mobilnej, 
       bo często utrudnia to czytanie na telefonie, dodaj też to: */
    html {
        scroll-snap-type: none !important;
    }
}