/* ==========================================
   BAZOWE STYLE
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth; /* Płynne przewijanie */
}

body {
    background-color: #0b0b0b;
    color: #ffffff;
    overflow-x: hidden;
}

/* ==========================================
   NAWIGACJA (GÓRNY PASEK)
   ========================================== */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 0;
    z-index: 100;
}

.nav-container {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-mobilne,
.logo-m {
    font-family: 'Bakbak One', 'Segoe UI', sans-serif;
    font-weight: 400;
    font-size: 22px;
    letter-spacing: 1.5px;
}

.logo-mobilne { color: #ffffff; }
.logo-m { color: #ffffff; }

.logo-img {
    height: 44px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 15px; 
}

.nav-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: white;
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    padding: 8px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: white;
    color: black;
}

/* Ukrywamy hamburgera na komputerze */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1000;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* ==========================================
   SEKCJA GŁÓWNA (HERO)
   ========================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 850px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(to bottom, rgba(11,11,11,0.3) 0%, rgba(11,11,11,0.8) 70%, rgba(11,11,11,1) 100%), 
                url('https://images.unsplash.com/photo-1523987355523-c7b5b0dd90a7?q=80&w=2070') center/cover no-repeat;
}

.huge-title {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 13vw;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
    letter-spacing: 15px;
    z-index: 0;
    pointer-events: none;
    white-space: nowrap;
}

.hero-content {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    z-index: 10;
    transform: translateY(-80px); 
}

/* ==========================================
   SZKLANY FORMULARZ (W HERO)
   ========================================== */
.glass-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    margin-right: 5%;
}

.glass-form h2 { font-size: 26px; font-weight: 500; margin-bottom: 10px; line-height: 1.3; }
.glass-form p { font-size: 15px; color: rgba(255,255,255,0.8); margin-bottom: 30px; }
.glass-form form { display: flex; flex-direction: column; gap: 20px; }

.glass-form input {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 12px 0;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s;
}

.glass-form input::placeholder { color: rgba(255, 255, 255, 0.6); }
.glass-form input:focus { border-bottom-color: white; }

/* Stylizacja listy rozwijanej */
#wybor-przyczepy {
    width: 100%;
    padding: 12px 0;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    cursor: pointer;
    transition: border-color 0.3s;
    
    /* Ukrycie systemowej strzałki i wstawienie własnej (SVG) */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 5px top 50%;
    background-size: 12px auto;
}

#wybor-przyczepy:focus { border-bottom-color: white; }
#wybor-przyczepy:invalid { color: rgba(255, 255, 255, 0.6); }
#wybor-przyczepy option { background-color: #1a1a1a; color: white; padding: 10px; }

#datePicker { cursor: pointer; }

.btn-send {
    background-color: white;
    color: black;
    border: none;
    padding: 15px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.btn-send:hover { 
    background-color: #ddd; 
    transform: translateY(-2px);
}

/* ==========================================
   KARTY Z BENEFITAMI NA DOLE HERO
   ========================================== */
.features-wrapper {
    display: flex;
    gap: 15px;
    z-index: 10;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
}

.feature-card {
    position: relative;
    flex: 1;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.card-gradient {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

.feature-card p {
    position: absolute;
    bottom: 15px;
    left: 15px;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 500;
}

.card-1 { background-image: url('img/karta1.jpg'); }
.card-2 { background-image: url('img/karta2.jpg'); }
.card-3 { background-image: url('img/karta3.jpg'); }
.card-4 { background-image: url('img/karta4.jpg'); }
.card-5 { background-image: url('img/karta5.jpg'); }

/* ==========================================
   NAGŁÓWKI SEKCJI
   ========================================== */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 80px auto 50px;
    width: 90%;
    max-width: 1200px;
}

.section-divider .line {
    flex-grow: 1;
    height: 1px;
    background-color: #333;
}

.section-divider h2 {
    padding: 0 30px;
    font-weight: 400;
    letter-spacing: 3px;
    font-size: 24px;
}

/* ==========================================
   SEKCJA "JAK TO DZIAŁA"
   ========================================== */
.about-section { width: 100%; }

.about-content {
    display: flex;
    justify-content: space-between;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    width: 40%;
    color: #ccc;
    font-size: 15px;
    line-height: 1.6;
}

.mt-large { margin-top: 150px; }
.highlight { color: #fff; font-weight: bold; }

.timeline {
    width: 50%;
    position: relative;
    padding-left: 20px;
}

.timeline-line {
    position: absolute;
    left: 20px;
    top: 10px;
    bottom: 0;
    width: 1px;
    background-color: #555;
}

.timeline-item {
    position: relative;
    margin-bottom: 80px;
    padding-left: 40px;
    display: flex;
    align-items: flex-start;
}

.timeline-dot {
    position: absolute;
    left: -5px;
    top: 5px;
    width: 11px;
    height: 11px;
    background-color: #fff;
    border-radius: 50%;
}

.timeline-info {
    width: 100px;
    line-height: 1.3;
}

.timeline-info .days { font-size: 12px; color: #aaa; }
.timeline-info .city { font-size: 18px; font-weight: 500; }

.timeline-images {
    display: flex;
    gap: 10px;
    margin-left: 20px;
}

.img-placeholder {
    width: 80px;
    height: 80px;
    background-color: #222;
    border-radius: 8px;
    display: flex;
    background-position: center;
    background-size: cover;
}

/* ==========================================
   DYNAMICZNE KARTY PRZYCZEP (JS)
   ========================================== */
.trailers-section {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 80px;
}

/* Kontener głównej karty */
.karta-przyczepy {
    background: #0f0f0f;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 20px;
    transition: border-color 0.3s;
}

.karta-przyczepy:hover {
    border-color: #444;
}

.karta-przyczepy h2 {
    font-size: 28px;
    color: #fff;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #222;
}

/* Galeria zdjęć (Siatka CSS) */
.galeria-przyczepy {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.galeria-przyczepy img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.galeria-przyczepy img:hover {
    transform: scale(1.03);
}

/* Sekcja szczegółów i opłat */
.szczegoly {
    margin-bottom: 40px;
}

.szczegoly p {
    font-size: 18px;
    color: #fff;
    margin-bottom: 10px;
    margin-top: 15px;
}

.szczegoly ul {
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
}

.szczegoly ul li {
    color: #bbb;
    font-size: 15px;
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}

.szczegoly ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #fff;
}

.zasady {
    font-size: 16px !important;
    color: #fff !important;
    margin-top: 25px !important;
}

/* Sekcja wyposażenia (Dwie kolumny) */
.wyposazenie {
    display: flex;
    gap: 40px;
    background: rgba(255, 255, 255, 0.02);
    padding: 30px;
    border-radius: 8px;
}

.kolumna {
    flex: 1;
}

.kolumna h3 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
}

.kolumna ul {
    list-style: none;
    padding: 0;
}

.kolumna ul li {
    color: #bbb;
    font-size: 15px;
    padding-left: 25px;
    position: relative;
    margin-bottom: 12px;
}

.kolumna ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #fff;
    font-weight: bold;
}

hr {
    border: 0;
    height: 1px;
    background: #222;
    margin: 40px 0;
}

/* ==========================================
   STYLE DLA PODSTRON TEKSTOWYCH (RODO, REGULAMIN)
   ========================================== */
.legal-page {
    min-height: calc(100vh - 200px);
    background: linear-gradient(135deg, #0b0b0b 0%, #1a1a2e 100%);
    display: flex;
    align-items: flex-start;
    padding: 40px 20px;
}

.legal-content h2 {
    font-size: 20px;
    font-weight: 500;
    margin-top: 25px;
    margin-bottom: 10px;
    color: #ffffff;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 5px;
}

.legal-content p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
    margin-bottom: 15px;
}

/* ==========================================
   STOPKA
   ========================================== */
.main-footer {
    background-color: #0b0b0b;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 100px;
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 20px;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover { opacity: 1; }

/* ==========================================
   STYLIZACJA COOKIES
   ========================================== */
.cookie-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 20px;
    display: none;
}

.cookie-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px 40px !important;
}

.cookie-container p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.cookie-container a {
    color: #fff;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

/* ==========================================
   KALENDARZ DOSTĘPNOŚCI W HERO
   ========================================== */
.availability-hero { margin-right: 0; margin-left: 5%; text-align: center; }
.availability-hero h2 { font-weight: 500; margin-bottom: 12px; }

/* własny selektor przyczepy na kalendarzu */
.hero-cal-select {
    width: 100%; max-width: 260px; margin: 0 auto 22px; display: block;
    padding: 8px 0; text-align: center; text-align-last: center;
    background: transparent; border: none;
    border-bottom: 1px solid rgba(255,255,255,0.4);
    color: #fff; font-family: inherit; font-size: 15px; cursor: pointer; outline: none;
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
}
.hero-cal-select:focus { border-bottom-color: #fff; }
.hero-cal-select option { background: #1a1a1a; color: #fff; }

#hero-availability-calendar { display: flex; justify-content: center; }
.availability-hero .flatpickr-calendar.inline {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4); border-radius: 14px; margin: 0 auto;
}

/* nagłówek + nazwy dni: zdejmujemy tło #3f4458 z ciemnego motywu → pełne szkło */
.availability-hero .flatpickr-months,
.availability-hero .flatpickr-months .flatpickr-month,
.availability-hero .flatpickr-weekdays,
.availability-hero span.flatpickr-weekday,
.availability-hero .flatpickr-current-month .flatpickr-monthDropdown-months {
    background: transparent;
    background-color: transparent;
}
/* kolory tekstu nagłówka (miesiąc + rok) */
.availability-hero .flatpickr-current-month,
.availability-hero .flatpickr-current-month input.cur-year,
.availability-hero .flatpickr-current-month .flatpickr-monthDropdown-months { color: #fff; }
/* rozwinięta lista miesięcy — czytelne opcje na ciemnym tle */
.availability-hero .flatpickr-monthDropdown-months option,
.availability-hero .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month {
    background: #1a1a1a; color: #fff;
}
/* nazwy dni tygodnia */
.availability-hero span.flatpickr-weekday {
    color: rgba(255,255,255,0.55); font-weight: 500; text-decoration: none;
}
.availability-hero .flatpickr-day { color: #fff; }
/* delikatny hover tylko dla dni klikalnych */
.availability-hero .flatpickr-day:not(.flatpickr-disabled):not(.dzien-zajety):hover {
    background: rgba(255,255,255,0.08); border-color: transparent;
}
/* dziś — obwódka w brandowym cyjanie zamiast białej */
.availability-hero .flatpickr-day.today { border-color: rgba(34,211,238,0.7); }
.availability-hero .flatpickr-day.today:hover,
.availability-hero .flatpickr-day.today:focus {
    background: rgba(34,211,238,0.15); color: #fff; border-color: rgba(34,211,238,0.7);
}

/* dni przeszłe / nieaktywne — po prostu wygaszone (NIE czerwone) */
.availability-hero .flatpickr-day.flatpickr-disabled {
    color: rgba(255,255,255,0.18) !important;
    background: transparent;
    text-decoration: none;
}

/* dni wolne — cyjanowe światełko */
.availability-hero .flatpickr-day.dzien-wolny { color: #fff; }
.availability-hero .flatpickr-day.dzien-wolny::after {
    content: ""; display: block; width: 5px; height: 5px; border-radius: 50%;
    background: #22d3ee; margin: 1px auto 0; box-shadow: 0 0 6px rgba(34,211,238,0.8);
}

/* dni zajęte — czerwone, przekreślone (reguła PO .flatpickr-disabled, by wygrała) */
.availability-hero .flatpickr-day.dzien-zajety {
    color: rgba(255,255,255,0.3) !important;
    text-decoration: line-through;
    background: rgba(255,80,80,0.10);
}
.availability-legend { display: flex; justify-content: center; gap: 22px; margin-top: 18px; font-size: 13px; color: rgba(255,255,255,0.8); }
.availability-legend .legend-item { display: inline-flex; align-items: center; gap: 7px; }
.legend-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.legend-free { background: #22d3ee; box-shadow: 0 0 6px rgba(34,211,238,0.8); }
.legend-busy { background: rgba(255,80,80,0.4); }

/* ==========================================
   LIGHTBOX / KARUZELA ZDJĘĆ
   ========================================== */
#lightbox {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 5, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

#lightbox.active { display: flex; }

#lightbox .lb-img {
    max-width: 88vw;
    max-height: 86vh;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.7);
    user-select: none;
}

#lightbox button {
    position: absolute;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 22px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

#lightbox button:hover { background: rgba(255,255,255,0.2); }

#lightbox .lb-close { top: 20px; right: 20px; font-size: 30px; }
#lightbox .lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
#lightbox .lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

#lightbox .lb-counter {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    letter-spacing: 2px;
}

/* ==========================================
   SEKCJA KONTAKT
   ========================================== */
.contact-section {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 80px;
}

.contact-container {
    display: flex;
    gap: 30px;
    align-items: stretch;
}

.contact-info {
    flex: 1;
    max-width: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h2 { margin-bottom: 20px; }

.contact-line {
    font-size: 16px !important;
    color: rgba(255,255,255,0.85) !important;
    margin-bottom: 10px !important;
}

.contact-line a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.35);
    transition: border-color 0.3s;
}

.contact-line a:hover { border-bottom-color: #22d3ee; }

.contact-note {
    margin-top: 18px !important;
    font-size: 14px !important;
    color: rgba(255,255,255,0.55) !important;
}

.contact-map {
    flex: 1.2;
    max-width: none;
    margin: 0;
    padding: 12px;
    overflow: hidden;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 0;
    border-radius: 12px;
    display: block;
    filter: grayscale(0.35) contrast(1.05);
}

/* ==========================================
   WIDOK MOBILNY (SMARTFONY I TABLETY)
   ========================================== */
@media (max-width: 768px) {
    /* 1. NAPRAWA CZARNEGO PASKA I SZEROKOŚCI */
    html, body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    /* 2. MENU HAMBURGER I PRZYCISK ZADZWOŃ */
    .hamburger { order: 3; display: flex; }

    .call-btn {
        order: 2;
        margin-left: auto;
        margin-right: 15px;
        padding: 6px 15px;
        font-size: 13px;
        display: inline-block;
    }

    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(11, 11, 11, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 20px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.4s ease;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    /* 3. NAPRAWA SEKCJI HERO (KARTY I FORMULARZ) */
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding-top: 100px;
        padding-bottom: 40px;
        justify-content: flex-start;
    }

    .huge-title {
        font-size: 22vw;
        top: 12%;
    }

    .hero-content {
        margin-top: 40px;
        justify-content: center;
        width: 100%;
        transform: translateY(0);
        flex-direction: column;   /* DODANE: stackowanie panel + formularz */
        gap: 30px;                /* DODANE */
        align-items: center;      /* DODANE: wyśrodkowanie paneli w kolumnie */
    }

    .availability-hero {          /* DODANE: panel kalendarza na telefonie */
        margin-left: 0;
        width: 90%;
        max-width: 400px;
    }

    .glass-form {
        margin-right: 0;
        width: 90%;
        max-width: 400px;
        padding: 30px 20px;
    }

    .features-wrapper {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        flex-wrap: wrap;
        justify-content: center;
        margin: 40px auto 0;
        width: 90%;
    }

    .feature-card {
        min-width: 45%;
        height: 130px;
    }

    /* 4. NAPRAWA STOPKI */
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .footer-links a {
        margin: 0;
        font-size: 16px;
    }

    /* 5. SEKCJA "JAK TO DZIAŁA" I TIMELINE */
    .about-content {
        flex-direction: column !important;
        width: 90% !important;
        margin: 0 auto;
    }

    .about-text {
        width: 100%;
        text-align: center;
    }

    .mt-large {
        margin-top: 40px !important;
    }

    .timeline {
        width: 100%;
        margin-top: 60px;
        padding-left: 20px;
    }

    .timeline-item {
        flex-direction: row !important;
        width: 100%;
        margin-bottom: 50px;
        align-items: flex-start;
    }

    .timeline-images {
        margin-left: 15px;
    }

    /* 6. DYNAMICZNE KARTY PRZYCZEP NA TELEFONIE */
    .karta-przyczepy {
        padding: 20px;
    }

    .karta-przyczepy h2 {
        font-size: 24px;
    }

    .galeria-przyczepy {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .galeria-przyczepy img {
        height: 150px;
    }

    .wyposazenie {
        flex-direction: column;
        gap: 30px;
        padding: 20px 15px;
    }

    /* 7. CIASTECZKA NA TELEFONIE */
    .cookie-container {
        flex-direction: column;
        text-align: center;
        padding: 20px !important;
    }

    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }

    /* 8. SEKCJA KONTAKT NA TELEFONIE */
    .contact-container {
        flex-direction: column;
    }

    .contact-info {
        text-align: center;
    }

    .contact-map iframe {
        min-height: 260px;
    }

    /* 9. LIGHTBOX NA TELEFONIE */
    #lightbox .lb-img { max-width: 96vw; }
    #lightbox .lb-prev { left: 8px; }
    #lightbox .lb-next { right: 8px; }
    #lightbox button { width: 42px; height: 42px; }
}

/* Węższe ekrany (małe smartfony) */
@media (max-width: 480px) {
    .galeria-przyczepy {
        grid-template-columns: 1fr;
    }
    
    .galeria-przyczepy img {
        height: 200px;
    }
}
