@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;900&display=swap');

/* =========================================
   FOREST JOY - JASNY MOTYW (Dla Dmuchańców)
   ========================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --accent-green: #7AC142; 
    --accent-orange: #F37021; 
    --accent-yellow: #FDC60B; 
    --accent-blue: #00A9E0; 
    --accent-red: #E31837; 
    --text-dark: #2C3E50;
    --text-muted: #7F8C8D;
    --font-main: 'Montserrat', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

/* =========================================
   NAGŁÓWEK
   ========================================= */
header {
    background-color: rgba(255, 255, 255, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    height: 90px;
}

.logo-container {
    display: flex;
    align-items: center;
    height: 100%;
    z-index: 1001; 
}

.logo-img {
    height: 75px; 
    width: auto;  
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-container:hover .logo-img {
    transform: scale(1.05); 
}

nav#main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    align-items: center;
}

nav#main-nav ul a {
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    color: var(--text-dark);
}

nav#main-nav ul a:hover {
    color: var(--accent-orange);
}

.return-link {
    background-color: var(--text-dark);
    color: #FFF !important;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem !important;
}

.return-link:hover {
    background-color: #000;
}

.nav-phone {
    background: linear-gradient(135deg, var(--accent-orange), #D35400);
    color: #FFF;
    padding: 10px 20px;
    border-radius: 30px; 
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 10px rgba(243, 112, 33, 0.3);
    transition: transform 0.3s ease;
    z-index: 1001; 
}

.nav-phone:hover {
    transform: translateY(-2px);
    color: #FFF;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.active .hamburger-bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.active .hamburger-bar:nth-child(2) { opacity: 0; }
.menu-toggle.active .hamburger-bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* =========================================
   SEKCJA HERO
   ========================================= */
.hero-joy {
    padding: 180px 20px 100px 20px;
    background: radial-gradient(circle at top right, rgba(122, 193, 66, 0.1) 0%, rgba(248, 249, 250, 1) 70%),
                radial-gradient(circle at bottom left, rgba(243, 112, 33, 0.1) 0%, transparent 50%);
    text-align: center;
    border-bottom: 2px solid rgba(0,0,0,0.03);
}

.hero-badge {
    background-color: rgba(0, 169, 224, 0.1);
    color: var(--accent-blue);
    border: 1px solid var(--accent-blue);
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    border-radius: 50px;
    display: inline-block;
}

.hero-joy h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero-joy h1 span.highlight { color: var(--accent-orange); }

.hero-joy p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 40px auto;
}

.cta-button {
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-green), #569B2E);
    color: #FFF;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(122, 193, 66, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(122, 193, 66, 0.4);
}

/* =========================================
   KONTENER GŁÓWNY
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* =========================================
   CENNIKI I DOSTAWA (DMUCHAŃCE)
   ========================================= */
.transport-info-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, var(--accent-blue), #0084B4);
    color: #FFF;
    padding: 25px 35px;
    border-radius: 12px;
    margin-bottom: 50px;
    margin-top: 30px;
    box-shadow: 0 10px 25px rgba(0, 169, 224, 0.3);
}
.Festyn-info-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, var(--accent-green), #00b42d);
    color: #FFF;
    padding: 25px 35px;
    border-radius: 12px;
    margin-bottom: 50px;
    margin-top: 30px;
    box-shadow: 0 10px 25px #00f06464;
}
.transport-icon { font-size: 3rem; line-height: 1; }
.transport-text strong { font-size: 1.3rem; font-weight: 800; display: block; margin-bottom: 5px; }
.transport-text span { font-size: 0.95rem; opacity: 0.9; }

.pricing-box {
    background-color: var(--bg-light);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 25px;
    text-align: left;
    border: 1px solid rgba(0,0,0,0.05);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 0.95rem;
    color: var(--text-dark);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.price-row:last-child { border-bottom: none; }
.price-row strong { font-size: 1.1rem; font-weight: 800; color: var(--accent-orange); }

.price-row.generator { margin-top: 5px; color: var(--text-muted); font-size: 0.85rem; }
.price-row.generator strong { color: var(--text-dark); font-size: 0.95rem; }

/* =========================================
   KARTY DMUCHAŃCÓW
   ========================================= */
.inflatables-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.inflatable-card {
    background-color: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer; /* Zmiana kursora przy najechaniu */
}

.inflatable-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: rgba(243, 112, 33, 0.2);
}

.card-image {
    position: relative;
    width: 100%;
    height: 280px;
}

.card-image img { width: 100%; height: 100%; object-fit: cover; }

.category-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 6px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #FFF;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.tag-green { background-color: var(--accent-green); }
.tag-blue { background-color: var(--accent-blue); }
.tag-orange { background-color: var(--accent-orange); }
.tag-red { background-color: var(--accent-red); }

.card-content {
    padding: 30px;
    text-align: center;
}

.card-content h3 { font-size: 1.8rem; font-weight: 800; color: var(--text-dark); margin-bottom: 15px; }
.card-content p { color: var(--text-muted); margin-bottom: 25px; font-size: 0.95rem; }

.btn-book {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--bg-light);
    color: var(--accent-orange);
    border: 2px solid var(--accent-orange);
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-book:hover {
    background-color: var(--accent-orange);
    color: #FFF;
}

/* =========================================
   KONTAKT
   ========================================= */
.contact-joy {
    background-color: #FFF;
    padding: 80px 20px;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.contact-box { max-width: 700px; margin: 0 auto; }
.contact-box h2 { font-size: 2.5rem; font-weight: 900; margin-bottom: 15px; }
.contact-box p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 30px; }

.contact-details {
    background: radial-gradient(circle at center, rgba(243, 112, 33, 0.05) 0%, transparent 100%);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(243, 112, 33, 0.1);
}

.phone-huge {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-green);
    margin-bottom: 10px;
    transition: color 0.3s;
}

.phone-huge:hover { color: var(--accent-orange); }

/* =========================================
   STOPKA
   ========================================= */
.footer-joy {
    background-color: var(--text-dark);
    color: rgba(255,255,255,0.6);
    padding: 30px 20px;
    text-align: center;
    font-size: 0.85rem;
}

/* =========================================
   OKNO MODALNE (SZCZEGÓŁY DMUCHAŃCA)
   ========================================= */
.modal-overlay {
    display: none; 
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.modal-overlay.active { display: flex; }

.modal-content {
    background-color: var(--bg-white);
    width: 100%; 
    max-width: 800px;
    max-height: 90vh; 
    overflow-y: auto; 
    border-radius: 15px; 
    position: relative;
    padding: 40px;
    animation: modalFadeIn 0.3s ease;
    text-align: left;
}

.modal-content h2 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.modal-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.modal-content p strong {
    color: var(--text-dark);
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-close {
    position: absolute; 
    top: 15px; 
    right: 20px;
    font-size: 2.5rem; 
    cursor: pointer; 
    color: var(--text-muted);
    line-height: 1;
    transition: color 0.3s;
}

.modal-close:hover { color: var(--accent-red); }

.modal-gallery {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px; 
    margin: 25px 0;
}

.modal-gallery img {
    width: 100%; 
    height: 200px; 
    object-fit: cover; 
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.05);
}

/* =========================================
   RESPONSYWNOŚĆ (MEDIA QUERIES)
   ========================================= */
@media (max-width: 992px) {
    .hero-joy h1 { font-size: 3rem; }
    
    .menu-toggle { display: flex; }
    header .nav-phone { display: none; }
    
    nav#main-nav {
        position: fixed;
        top: 0;
        right: -100%; 
        width: 80vw; 
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
    }
    
    nav#main-nav.active { right: 0; }
    nav#main-nav ul { flex-direction: column; gap: 30px; }
    nav#main-nav ul a { font-size: 1.5rem; }
}

@media (max-width: 768px) {
    .nav-container { padding: 10px 15px; height: 80px; }
    .logo-img { height: 60px; }
    
    .hero-joy { padding-top: 130px; }
    .hero-joy h1 { font-size: 2.2rem; }
    
    .inflatables-grid { grid-template-columns: 1fr; gap: 30px; }
    
    .phone-huge { font-size: 2.2rem; }

    .transport-info-box {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .modal-content {
        padding: 30px 20px;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
        padding-right: 25px; /* Żeby tytuł nie właził na krzyżyk */
    }
    
    .modal-gallery img {
        height: 150px;
    }
}
/* =========================================
   LIGHTBOX (POWIĘKSZANIE ZDJĘĆ Z GALERII)
   ========================================= */
.fs-lightbox {
    position: fixed;
    z-index: 100000; /* Bardzo wysoki z-index, musi być nad oknem modalnym */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none; /* Zablokowane, gdy ukryte */
    transition: opacity 0.3s ease;
}

.fs-lightbox.active {
    opacity: 1;
    pointer-events: auto; /* Aktywne po wywołaniu */
}

.fs-lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain; /* Zdjęcie zachowuje proporcje i nie wyłazi za ekran */
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0,0,0,0.8);
    animation: zoomIn 0.3s ease;
}

.fs-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    z-index: 100001;
    transition: color 0.3s;
    line-height: 1;
}

.fs-lightbox-close:hover {
    color: var(--accent-red);
}

.fs-lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 40px;
    padding: 15px 20px;
    cursor: pointer;
    z-index: 100001;
    transition: background 0.3s;
    border-radius: 5px;
}

.fs-lightbox-btn:hover {
    background: rgba(0,0,0,0.9);
    color: var(--accent-orange);
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

/* Kursor i lekki zoom przy najechaniu na miniaturki */
.modal-gallery img {
    cursor: zoom-in;
    transition: transform 0.3s;
}

.modal-gallery img:hover {
    transform: scale(1.03);
}

/* Dostosowanie nawigacji na małych ekranach */
@media (max-width: 768px) {
    .fs-lightbox-btn { font-size: 25px; padding: 10px 15px; }
    .prev-btn { left: 5px; }
    .next-btn { right: 5px; }
    .fs-lightbox-close { right: 15px; top: 10px; font-size: 40px; }
}
/* =========================================
   PRZYCISK NA ZIELONYM BANERZE (FESTYNY)
   ========================================= */
.btn-white {
    background-color: #ffffff;
    color: var(--accent-green);
    border-color: #ffffff;
    margin-left: auto; /* Wypycha przycisk do prawej krawędzi na PC */
}

.btn-white:hover {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

/* Poprawka układu zielonego banera na telefonach */
@media (max-width: 768px) {
    .Festyn-info-box {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 15px;
    }
    .btn-white {
        margin-left: 0;
        width: 100%; /* Na telefonie przycisk będzie na całą szerokość */
    }
}