@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');
/* --- ZMIENNE I PALETA KOLORÓW (WODA + POMARAŃCZ) --- */
:root {
    --primary-orange: #FF6B00; /* Energetyczny pomarańcz (Logo, Przyciski, Akcenty) */
    --hover-orange: #FF8533;   /* Jaśniejszy pomarańcz do efektów najechania myszką */
    --water-dark: #031B33;     /* Bardzo ciemny granat (Nagłówek, Stopka) */
    --water-blue-1: #005f9e;   /* Ciemniejszy niebieski gradientu */
    --water-blue-2: #00b4d8;   /* Jasny błękit gradientu */
    --water-light: #E0F2F9;    /* Bardzo delikatny błękit (Tło dla sekcji opinii) */
    --text-dark: #222;         /* Główny kolor tekstu */
}

/* --- RESET I USTAWIENIA BAZOWE --- */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Montserrat', sans-serif;
}
body { 
    color: var(--text-dark); 
    line-height: 1.6; 
    overflow-x: hidden; 
}

/* --- NAGŁÓWEK I NAWIGACJA --- */
header { 
    background: var(--water-dark); 
    color: white; 
    padding: 1rem 5%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    position: sticky; 
    top: 0; 
    z-index: 100; 
    flex-wrap: wrap;
    border-bottom: 3px solid var(--primary-orange);
}
/* --- WYGLĄD LOGO --- */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 1001; /* Zapewnia, że logo zawsze jest nad menu */
}

.logo img {
    max-height: 45px; /* Wysokość logo na komputerze - możesz modyfikować tę wartość */
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05); /* Delikatne powiększenie po najechaniu myszką */
}

/* Responsywność dla smartfonów */
@media (max-width: 768px) {
    .logo img {
        max-height: 35px; /* Nieco mniejsze logo na telefonach */
    }
}

/* Menu Główne */
nav { 
    display: flex; 
    align-items: center; 
    gap: 2rem; 
}
nav ul { 
    list-style: none; 
    display: flex; 
    gap: 1.5rem; 
}
nav a { 
    color: white; 
    text-decoration: none; 
    font-weight: 500; 
    transition: color 0.3s; 
}
nav a:hover, nav a.active { 
    color: var(--primary-orange); 
}

/* Przełącznik Języków */
.lang-switcher { 
    display: flex; 
    gap: 0.5rem; 
    font-weight: bold; 
    border-left: 2px solid rgba(255,255,255,0.2); 
    padding-left: 1rem; 
}
.lang-switcher a { 
    color: #888; 
    text-decoration: none; 
    transition: 0.3s; 
    font-size: 0.9rem; 
}
.lang-switcher a.active { 
    color: white; 
    border-bottom: 2px solid var(--primary-orange); 
}
.lang-switcher a:hover { 
    color: var(--water-blue-2); 
}

/* Przycisk Hamburger (Domyślnie ukryty na desktopie) */
.hamburger { 
    display: none; 
    font-size: 2rem; 
    cursor: pointer; 
    color: var(--primary-orange); 
    background: none;
    border: none;
    user-select: none; 
}

/* --- HERO SECTION (Wodny gradient na zdjęciu) --- */
.hero { 
    /* Wodny gradient przechodzący w przezroczystość nałożony na zdjęcie */
    background: linear-gradient(135deg, rgba(3, 27, 51, 0.85) 0%, rgba(0, 180, 216, 0.6) 100%), 
                url('tlo-hero.jpeg') center/cover; 
    color: white; 
    padding: 120px 5%; 
    text-align: center; 
}
.hero h1 { 
    font-size: 3.5rem; 
    margin-bottom: 1rem; 
    line-height: 1.2; 
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero p { 
    font-size: 1.2rem; 
    margin-bottom: 2rem; 
    max-width: 600px; 
    margin-inline: auto; 
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Przyciski Główne (Pomarańczowe) */
.btn { 
    display: inline-block; 
    background: var(--primary-orange); 
    color: white; 
    padding: 12px 30px; 
    text-decoration: none; 
    font-weight: bold; 
    border-radius: 5px; 
    font-size: 1.1rem; 
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 107, 0, 0.3);
}
.btn:hover { 
    background: var(--hover-orange); 
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 107, 0, 0.4);
}

/* --- SEKCJE OGÓLNE --- */
section { 
    padding: 4rem 5%; 
}
h2 { 
    text-align: center; 
    color: var(--water-dark); 
    margin-bottom: 2.5rem; 
    font-size: 2.2rem; 
}

/* Sekcja Intro Tekstowego */
.intro p {
    text-align: center; 
    max-width: 800px; 
    margin: auto;
}

/* Oferta (Grid) */
.offer-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 2rem; 
}
.offer-card { 
    background: #fff; 
    padding: 2rem; 
    border-radius: 8px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); 
    text-align: center; 
    border-bottom: 5px solid var(--primary-orange);
    transition: transform 0.3s ease;
}
.offer-card:hover {
    transform: translateY(-5px);
}
.offer-card h3 { 
    color: var(--water-blue-1); 
    margin-bottom: 1rem; 
}
.offer-action {
    text-align: center; 
    margin-top: 3rem;
}

/* Opinie (Grid) */
.reviews { 
    background: var(--water-light);
}
.reviews-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 2rem; 
}
.review-card { 
    background: #fff; 
    padding: 2rem; 
    border-radius: 8px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
    font-style: italic; 
    border-top: 4px solid var(--water-blue-2);
}
.review-author { 
    font-weight: bold; 
    margin-top: 1rem; 
    color: var(--primary-orange); 
    font-style: normal; 
    text-align: right; 
}

/* --- ZOPTYMALIZOWANA STOPKA pod SEO --- */
footer { 
    background: var(--water-dark); 
    color: white; 
    padding: 3rem 5% 1rem; 
}
.footer-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 2rem; 
    margin-bottom: 2rem; 
}
.footer-col h4 { 
    color: var(--primary-orange); 
    margin-bottom: 1rem; 
    font-size: 1.2rem; 
}
.footer-col p, .footer-col ul { 
    font-size: 0.9rem; 
    color: #cbd5e1; 
}
.footer-col ul { 
    list-style: none; 
}
.footer-col ul li { 
    margin-bottom: 0.5rem; 
}
.footer-col a { 
    color: #cbd5e1; 
    text-decoration: none; 
    transition: 0.3s;
}
.footer-col a:hover { 
    color: var(--water-blue-2); 
}

/* Przyciski Social Media (Wodny gradient, pomarańczowy na hover) */
.social-btns { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 1rem; 
    margin-top: 1rem; 
}
.social-btns a { 
    display: inline-block; 
    padding: 8px 15px; 
    background: linear-gradient(135deg, var(--water-blue-1), var(--water-blue-2));
    color: white; 
    border-radius: 4px; 
    text-decoration: none; 
    font-weight: bold; 
    transition: all 0.3s; 
}
.social-btns a:hover { 
    background: var(--primary-orange); 
    transform: scale(1.05);
}

.footer-bottom { 
    text-align: center; 
    padding-top: 2rem; 
    border-top: 1px solid rgba(255,255,255,0.1); 
    font-size: 0.8rem; 
    color: #888; 
}

/* ========================================= */
/* --- ZAPYTANIA MEDIALNE (MOBILNOŚĆ RWD) -- */
/* ========================================= */
@media (max-width: 900px) {
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1rem; }
}

@media (max-width: 768px) {
    /* Pokazanie przycisku hamburgera i zmiana układu nagłówka */
    .hamburger { 
        display: block; 
        order: 2; 
    }
    .lang-switcher { 
        order: 1; 
        border-left: none; 
        padding-left: 0; 
        margin-right: auto; 
        margin-left: 1rem;
    }
    
    /* Ukrycie menu domyślnie na urządzeniach mobilnych */
    nav { 
        width: 100%; 
        order: 3; 
        display: none; 
    }
    
    /* Klasa aktywowana przez JavaScript do rozwijania menu */
    nav.open { 
        display: block; 
    }
    
    nav ul { 
        flex-direction: column; 
        width: 100%; 
        background: var(--water-dark); 
        padding: 1rem 0; 
        gap: 0;
        border-top: 1px solid rgba(255,255,255,0.1);
        margin-top: 1rem;
    }
    nav ul li { 
        text-align: center; 
    }
    nav ul li a { 
        display: block; 
        padding: 1rem; 
        border-bottom: 1px solid rgba(255,255,255,0.05); 
    }
    
    /* Zmniejszenie paddingów na mobile */
    section { 
        padding: 3rem 5%; 
    }
    h2 { 
        font-size: 1.8rem; 
    }
    
    .social-btns { 
        justify-content: flex-start; 
    }
}
/* ========================================= */
/* --- PŁYWAJĄCA IKONA ZADZWOŃ (MOBILE) ---- */
/* ========================================= */

/* Bezwzględne ukrycie na komputerach (desktop) */
.floating-call-btn {
    display: none !important; 
}

/* Wygląd i aktywacja TYLKO na ekranach do 768px (smartfony i tablety) */
@media (max-width: 768px) {
    .floating-call-btn {
        display: flex !important;
        position: fixed;
        bottom: 25px;
        right: 25px;
        background-color: var(--primary-orange);
        color: white;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
        z-index: 1000;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease, background-color 0.3s ease;
        text-decoration: none; /* Usuwa ewentualne podkreślenie linku */
    }

    .floating-call-btn:hover, 
    .floating-call-btn:active {
        background-color: var(--hover-orange);
        transform: scale(1.1);
    }

    /* Blokada wielkości samej ikony wektorowej */
    .floating-call-btn svg {
        width: 28px !important;
        height: 28px !important;
        fill: currentColor;
    }
}
/* ========================================= */
/* --- STYLE PODSTRON (OFERTA / CENNIK) ---- */
/* ========================================= */

/* Krótki nagłówek na podstronach */
.page-header {
    background: linear-gradient(135deg, var(--water-dark) 0%, var(--water-blue-1) 100%);
    color: white;
    text-align: center;
    padding: 80px 5% 60px;
    border-bottom: 5px solid var(--primary-orange);
}
.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}
.page-header p {
    font-size: 1.1rem;
    color: var(--water-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Siatka Cennika */
.pricing-section {
    padding: 5rem 5%;
    background-color: #f8f9fa;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Karta Cennika */
.price-card {
    background: white;
    border-radius: 10px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: relative;
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 180, 216, 0.15);
}

/* Wyróżniona Karta (Środkowa) */
.price-card.featured {
    border: 2px solid var(--primary-orange);
    box-shadow: 0 10px 25px rgba(255, 107, 0, 0.15);
    transform: scale(1.05);
}
.price-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}
.badge {
    background: var(--primary-orange);
    color: white;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.85rem;
    text-transform: uppercase;
}

/* Typografia w karcie cennika */
.price-card h3 {
    color: var(--water-dark);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.price-amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-orange);
    margin-bottom: 1rem;
}
.price-amount span {
    font-size: 1rem;
    color: #888;
    font-weight: normal;
}
.price-desc {
    color: #666;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}
.price-features {
    list-style: none;
    margin-bottom: 2.5rem;
    text-align: left;
}
.price-features li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--text-dark);
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 0.5rem;
}
.price-btn {
    width: 100%;
    display: block;
}

/* Sekcja z tekstem opisowym pod cennikiem */
.info-section {
    padding: 4rem 5%;
    background: white;
}
.info-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
}
.info-content p {
    margin-bottom: 1.5rem;
}

/* Responsywność dodatkowa dla cennika */
@media (max-width: 900px) {
    .price-card.featured {
        transform: scale(1); /* Wyłączenie powiększenia środkowej karty na mniejszych ekranach */
    }
    .price-card.featured:hover {
        transform: translateY(-10px);
    }
}
/* ========================================= */
/* --- STYLE PODSTRONY (O NAS / ŁÓDŹ) ------ */
/* ========================================= */

/* Układ "Kim jesteśmy" - tekst + obrazek */
.about-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4rem;
    padding: 5rem 5%;
    background-color: white;
    max-width: 1300px;
    margin: 0 auto;
}
.about-text {
    flex: 1 1 500px;
}
.about-text h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}
.about-text p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    color: var(--text-dark);
}
.about-image {
    flex: 1 1 400px;
    position: relative;
}
/* Dekoracyjny efekt dla zdjęcia - przesunięta pomarańczowa ramka */
.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}
.about-image::after {
    content: '';
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 4px solid var(--primary-orange);
    border-radius: 12px;
    z-index: 1;
}

/* Sekcja Łodzi - Generator Fali */
.boat-section {
    background: var(--water-light);
    padding: 5rem 5%;
}
.boat-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}
.boat-intro p {
    color: var(--text-dark);
    font-size: 1.1rem;
}

/* Siatka parametrów łodzi */
.boat-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.spec-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    border-bottom: 3px solid var(--water-blue-2);
    transition: transform 0.3s ease;
}
.spec-card:hover {
    transform: translateY(-5px);
    border-bottom: 3px solid var(--primary-orange);
}
.spec-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.spec-card h3 {
    color: var(--water-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}
.spec-card p {
    font-size: 0.95rem;
    color: #555;
}

/* Responsywność dla sekcji "O nas" */
@media (max-width: 768px) {
    .about-layout {
        gap: 3rem;
        padding: 4rem 5%;
    }
    .about-image::after {
        top: 10px;
        left: -10px;
    }
    .about-text h2 {
        text-align: center;
    }
}
/* ========================================= */
/* --- INNOWACYJNA GALERIA (ZDJĘCIA + WIDEO) */
/* ========================================= */
.media-section {
    padding: 5rem 5%;
    background-color: #f8f9fa;
}
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-auto-rows: 280px;
    gap: 1.5rem;
    max-width: 1300px;
    margin: 0 auto;
}

/* Wyróżniony kafel (np. główny film) zajmujący więcej miejsca na desktopie */
@media (min-width: 900px) {
    .featured-media {
        grid-column: span 2;
        grid-row: span 2;
    }
}

.media-item {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background-color: var(--water-dark); /* Tło ładowania */
}

/* Ustawienia dla obrazków i filmów */
.media-item img, 
.media-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Efekt przybliżenia po najechaniu myszką */
.media-item:hover img,
.media-item:hover video {
    transform: scale(1.08);
}

/* Nakładka z opisem (półprzezroczysty gradient + tekst) */
.media-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(3, 27, 51, 0.9) 0%, rgba(0,0,0,0) 60%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.media-item:hover .media-overlay {
    opacity: 1;
}

.media-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    transform: translateY(15px);
    transition: transform 0.4s ease;
}
.media-item:hover .media-icon {
    transform: translateY(0);
}

.media-overlay figcaption {
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.4;
    transform: translateY(15px);
    transition: transform 0.4s ease;
}
.media-item:hover figcaption {
    transform: translateY(0);
}

/* Dostosowanie galerii dla urządzeń mobilnych - nakładka zawsze delikatnie widoczna */
@media (max-width: 768px) {
    .media-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(3, 27, 51, 0.8) 0%, rgba(0,0,0,0) 40%);
        padding: 1rem;
    }
    .media-icon, .media-overlay figcaption {
        transform: translateY(0);
    }
}
/* ========================================= */
/* --- STYLE PODSTRONY (KONTAKT) ----------- */
/* ========================================= */

.contact-section {
    padding: 5rem 5%;
    background-color: white;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Informacje kontaktowe (Lewa strona) */
.contact-info h2 {
    text-align: left;
    margin-bottom: 1rem;
}
.contact-intro {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
}

.info-boxes {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.info-box {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.5rem;
    background: var(--water-light);
    border-radius: 10px;
    border-left: 4px solid var(--water-blue-2);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.info-box:hover {
    transform: translateX(5px);
    border-color: var(--primary-orange);
}
.info-icon {
    font-size: 2rem;
}
.info-details h3 {
    font-size: 1.1rem;
    color: var(--water-dark);
    margin-bottom: 0.3rem;
}
.info-details a, .info-details p {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}
.info-details a:hover {
    color: var(--primary-orange);
}

/* Formularz kontaktowy (Prawa strona) */
.contact-form-container {
    background: #f8f9fa;
    padding: 3rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}
.contact-form-container h2 {
    text-align: left;
    margin-bottom: 2rem;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--water-dark);
    font-size: 0.95rem;
}
/* Innowacyjny i responsywny input */
.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: white;
}
.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
}
.submit-btn {
    width: 100%;
    cursor: pointer;
    border: none;
    font-size: 1.1rem;
    padding: 15px;
}

/* Mapa dojazdu */
.map-section {
    padding: 0 5% 5rem;
    background-color: white;
}
.map-container {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Responsywność (Telefony) */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .contact-form-container {
        padding: 2rem 1.5rem;
    }
}
/* --- ANIMACJE WEJŚCIA --- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1, .hero p, .hero .btn, .offer-card, .review-card {
    animation: fadeUp 0.8s ease-out forwards;
}

/* Opóźnienia dla kart, aby pojawiały się jedna po drugiej */
.offer-card:nth-child(1) { animation-delay: 0.1s; }
.offer-card:nth-child(2) { animation-delay: 0.3s; }
.offer-card:nth-child(3) { animation-delay: 0.5s; }
/* ========================================= */
/* --- LIGHTBOX (POWIĘKSZANIE W GALERII) --- */
/* ========================================= */
.lightbox {
    display: none; /* Domyślnie ukryte */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 27, 51, 0.95); /* Ciemnogranatowe, lekko przezroczyste tło */
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.lightbox.active {
    display: flex; /* Klasa dodawana przez JS, by pokazać lightbox */
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85vh;
}

.lightbox-content img, 
.lightbox-content video {
    display: none; /* Ukryte, dopóki JS nie zdecyduje, czy kliknięto img czy video */
    max-width: 100%;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 180, 216, 0.4);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 2001;
}

.lightbox-close:hover {
    color: var(--primary-orange);
}

/* Wskazówka dla kursora, że kafelek jest klikalny */
.media-item {
    cursor: pointer; 
}