/* === 1. BAZA === */
:root {
    --primary: #10b981; --primary-dark: #059669; --dark: #020617;
    --text: #f8fafc; --text-gray: #94a3b8; 
    --primary-glow: #34d399; /* Tego brakowało */
    --glass: rgba(255, 255, 255, 0.03); --glass-border: rgba(255, 255, 255, 0.1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background-color: var(--dark); color: var(--text); overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; font-weight: 700; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* === 2. TŁO FIXED - PIERŚCIENIE (TE ŁADNE) === */
.fixed-background {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1; pointer-events: none; overflow: hidden;
    perspective: 1000px;
}

/* Nowa warstwa ze zdjęciem */
.fixed-image-layer {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    /* To robi ten efekt ciemnego, rozmytego tła */
    filter: brightness(0.4) blur(3px);
    transform: scale(1.05); /* Lekkie powiększenie żeby ukryć rozmyte brzegi */
    z-index: -1; /* Pod pierścieniami */
}

/* Kontener na pierścienie */
.hero-visual {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    transform-style: preserve-3d;
}

/* Styl bazowy pierścienia */
.ring {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 50px rgba(16, 185, 129, 0.05);
    background: transparent;
}

/* Pierścień 1 (Wielki) */
.ring-1 {
    width: 80vw; height: 80vw; max-width: 900px; max-height: 900px;
    border-left: 2px solid var(--primary);
    border-right: 2px solid transparent;
    animation: rotate3d 20s linear infinite;
    opacity: 0.6;
}

/* Pierścień 2 (Średni) */
.ring-2 {
    width: 60vw; height: 60vw; max-width: 600px; max-height: 600px;
    border-top: 4px solid rgba(52, 211, 153, 0.3);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    animation: rotate3d-rev 15s linear infinite;
}

/* Pierścień 3 (Mały) */
.ring-3 {
    width: 40vw; height: 40vw; max-width: 400px; max-height: 400px;
    border: 1px dashed var(--primary-glow);
    animation: rotateFlat 30s linear infinite;
    opacity: 0.3;
}

.fog-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle, transparent 30%, var(--dark) 90%);
}

/* Animacje */
@keyframes rotate3d {
    0% { transform: translate(-50%, -50%) rotateX(60deg) rotateZ(0deg); }
    100% { transform: translate(-50%, -50%) rotateX(60deg) rotateZ(360deg); }
}
@keyframes rotate3d-rev {
    0% { transform: translate(-50%, -50%) rotateY(30deg) rotateZ(0deg); }
    100% { transform: translate(-50%, -50%) rotateY(30deg) rotateZ(-360deg); }
}
@keyframes rotateFlat {
    0% { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
    50% { transform: translate(-50%, -50%) rotate(180deg) scale(1.1); }
    100% { transform: translate(-50%, -50%) rotate(360deg) scale(1); }
}

/* === UPROSZCZONE HERO === */
.hero-section {
    position: relative; height: 100vh;
    display: flex; align-items: center; justify-content: center;
    /* Usuwamy stare style 3D */
}

/* WARSTWA 3: TREŚĆ HERO (Na samym wierzchu) */
.hero-content-layer {
    position: relative; z-index: 2; text-align: center;
    transform: translateZ(50px); /* Lekkie wysunięcie tekstu do przodu w 3D */
}

/* === RESZTA STYLI (Widget, Sekcje, itd. - bez większych zmian) === */
.hero-content-layer h1 { font-size: 4rem; line-height: 1.1; margin: 20px 0; text-shadow: 0 5px 15px rgba(0,0,0,0.3); }
.gradient-text { background: linear-gradient(to right, #fff, var(--primary)); -webkit-background-clip: text; color: transparent; }
.badge-glass { padding: 8px 16px; background: rgba(255,255,255,0.15); border-radius: 50px; border: 1px solid var(--glass-border); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 2px; backdrop-filter: blur(5px); }

.booking-widget { margin-top: 50px; padding: 30px; background: rgba(0,0,0,0.5); border: 1px solid var(--glass-border); backdrop-filter: blur(20px); border-radius: 20px; text-align: left; box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.widget-row { display: flex; gap: 20px; flex-wrap: wrap; align-items: flex-end; }
.input-group { flex: 1; min-width: 150px; }
.input-group label { display: block; font-size: 0.8rem; color: var(--text-gray); margin-bottom: 8px; }
.input-wrapper { position: relative; width: 100%; height: 50px; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); border-radius: 10px; display: flex; align-items: center; padding: 0 15px; transition: 0.3s; }
.input-wrapper:hover { border-color: var(--primary); }
input[type="date"] { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; z-index: 2; cursor: pointer; }
input[type="date"]::-webkit-calendar-picker-indicator { position: absolute; top: 0; left: 0; width: 100%; height: 100%; padding: 0; margin: 0; opacity: 0; cursor: pointer; }
.date-placeholder { color: #fff; font-size: 1rem; z-index: 1; pointer-events: none; }
input[type="date"]:valid + .date-placeholder { opacity: 0; }
input[type="date"]:valid { opacity: 1; background: transparent; border: none; color: #fff; padding: 0 15px; }
select { width: 100%; height: 100%; background: transparent; border: none; color: #fff; outline: none; cursor: pointer; -webkit-appearance: none; }
select option { background: var(--dark); color: #fff; }
.btn-hero { background: var(--primary); color: #000; border: none; padding: 0 30px; height: 50px; border-radius: 10px; font-weight: 700; cursor: pointer; font-size: 1rem; flex: 1; min-width: 180px; transition: 0.3s; }
.btn-hero:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 5px 20px var(--primary); }

.glass-card { background: var(--glass); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border: 1px solid var(--glass-border); border-radius: 20px; transition: 0.4s; }
.hover-lift:hover { transform: translateY(-10px); border-color: var(--primary); box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 20px rgba(16, 185, 129, 0.2); }
.section-padding { padding: 100px 0; }
.section-title { text-align: center; margin-bottom: 60px; } .section-title h2 { font-size: 2.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.feature-box { padding: 30px; text-align: center; } .icon-glow { font-size: 2.5rem; color: var(--primary); margin-bottom: 20px; filter: drop-shadow(0 0 10px var(--primary)); }
.rooms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.room-item { overflow: hidden; } .room-img-wrap { height: 250px; position: relative; overflow: hidden; } .room-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; } .room-item:hover img { transform: scale(1.1); } .price { position: absolute; bottom: 15px; right: 15px; background: var(--primary); color: #000; padding: 5px 12px; border-radius: 8px; font-weight: 700; } .room-desc { padding: 25px; } .specs { display: flex; gap: 15px; margin-top: 15px; color: var(--text-gray); }
.bento-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 20px; }
.bento-item { padding: 25px; display: flex; flex-direction: column; justify-content: flex-end; background-size: cover; background-position: center; position: relative; overflow: hidden; }
.item-large { grid-column: span 2; grid-row: span 2; } .item-wide { grid-column: span 2; } .item-tall { grid-column: span 2; grid-row: span 2; }
.bento-content { background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); padding: 20px; margin: -25px; margin-top: 50px; }
.icon-circle { width: 50px; height: 50px; background: rgba(16, 185, 129, 0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.2rem; margin-bottom: 15px; }

.glass-nav { position: fixed; top: 0; width: 100%; z-index: 100; padding: 20px 0; transition: 0.4s; }
.glass-nav.scrolled { background: rgba(2,6,23,0.95); padding: 15px 0; border-bottom: 1px solid var(--glass-border); }
.nav-flex { display: flex; justify-content: space-between; align-items: center; } .logo { font-size: 1.5rem; font-weight: 700; } .highlight { color: var(--primary); }
.nav-links { display: flex; gap: 30px; list-style: none; } .btn-nav { border: 1px solid var(--primary); padding: 8px 20px; border-radius: 50px; transition:0.3s; } .btn-nav:hover {background:var(--primary); color:#000;}
footer { padding: 80px 0 30px; border-top: 1px solid var(--glass-border); background: rgba(0,0,0,0.5); }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; }
.phone-big { font-size: 1.5rem; color: var(--primary); font-weight: 700; } .footer-bottom { text-align: center; margin-top: 50px; color: var(--text-gray); font-size: 0.9rem; }

/* ========================================= */
/* === NAPRAWIONY MIŚ I KOŃCÓWKA PLIKU === */
/* ========================================= */

/* 1. KONTENER Z PADDINGIEM (STREFA OCHRONNA) */
.mascot-container { 
    position: fixed; top: 75px; left: 20px; z-index: 900; 
    width: 140px; height: 120px; cursor: pointer; 
    /* To zapobiega glitchowaniu - powiększamy obszar wykrywania myszki */
    padding-right: 60px; 
    padding-bottom: 60px; 
}

/* 2. CIAŁO MISIA (TO ONO SIĘ RUSZA, NIE KONTENER) */
.bear-body {
    position: relative; width: 100%; height: 100%;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.mascot-container:hover .bear-body { 
    transform: translateY(-170px); 
}

/* 3. WYGLĄD ELEMENTÓW MISIA */
.bear-head { position: relative; width: 120px; height: 100px; margin: 0 auto; z-index: 2; } 
.bear-face { width: 120px; height: 90px; background: #5d4037; border-radius: 40px 40px 60px 60px; position: relative; z-index: 2; box-shadow: 0 10px 20px rgba(0,0,0,0.4); } 
.bear-ear { width: 35px; height: 35px; background: #4e342e; border-radius: 50%; position: absolute; top: -10px; z-index: 1; } .bear-ear.left { left: 0; } .bear-ear.right { right: 0; } 
.eye-group { display: flex; justify-content: center; gap: 24px; padding-top: 35px; } 

/* 4. OCZY (PRZYGOTOWANE POD JS) */
.eye { 
    width: 26px; height: 26px; background: #fff; border-radius: 50%; 
    position: relative; overflow: hidden; 
    display: flex; align-items: center; justify-content: center; 
} 
.pupil { 
    width: 12px; height: 12px; background: #000; border-radius: 50%; 
    position: absolute; 
    transform: translate(6px, 0); /* Startowa pozycja */
} 

.bear-muzzle { width: 50px; height: 30px; background: #8d6e63; border-radius: 20px; position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); z-index: 3; } 
.bear-nose { width: 20px; height: 12px; background: #222; border-radius: 10px; position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 4; } 

/* 5. HAMBURGER (ZOSTAWIAMY BEZ ZMIAN) */
.hamburger { display: none; cursor: pointer; z-index: 1001; } 
.bar { width: 30px; height: 3px; background: #fff; margin: 5px 0; transition: 0.4s; }

/* 6. UKRYWANIE MISIA - ZMIENIONE NA 1000px (BĘDZIE NA LAPTOPACH) */
@media (max-width: 1000px) { 
    .mascot-container { display: none !important; } 
}

/* 7. RESZTA RWD (ZOSTAWIAMY BEZ ZMIAN) */
@media (max-width: 768px) {
    .hero-content-layer h1 { font-size: 2.5rem; } .widget-row { flex-direction: column; }
    .hero-overlay-card { width: 95vw; height: 80vh; } 
    .rings-3d-container { width: 300px; height: 300px; } 
    .bento-grid { grid-template-columns: 1fr; grid-auto-rows: auto; } .item-large, .item-wide, .item-tall { grid-column: span 1; grid-row: span 1; }
    .hamburger { display: block; }
    .nav-links { position: fixed; left: 0; top: 0; width: 100%; height: 100vh; background: rgba(2,6,23,0.98); flex-direction: column; justify-content: center; transform: translateY(-100%); transition: 0.5s; }
    .nav-links.open { transform: translateY(0); } .nav-links a { font-size: 1.5rem; }
    .hamburger.toggle .bar:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); } .hamburger.toggle .bar:nth-child(2) { opacity: 0; } .hamburger.toggle .bar:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); }
}

/* 8. WYNIK WIDGETU I ANIMACJE */
.success-content { text-align: center; } .success-img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin-bottom: 15px; border: 3px solid var(--primary); } .phone-highlight { font-size: 2rem; color: var(--primary); font-weight: 700; display: block; margin: 10px 0; } .btn-text { background: none; border: none; color: var(--text-gray); text-decoration: underline; cursor: pointer; } .spinner { width: 40px; height: 40px; border: 3px solid rgba(255,255,255,0.1); border-top: 3px solid var(--primary); border-radius: 50%; animation: spin 1s infinite linear; margin: 0 auto; } 

@keyframes spin { 0% {transform: rotate(0deg);} 100% {transform: rotate(360deg);} }

/* === DODATEK: SEKCJA SPLIT (ZDJĘCIE + TEKST) === */

/* Układ 2-kolumnowy */
.split-layout { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 60px; 
    align-items: center; 
}

/* Stylowanie tekstów po lewej */
.section-title-left h2 { 
    font-size: 2.5rem; 
    margin-bottom: 20px; 
    font-family: 'Outfit', sans-serif;
}
.section-title-left span { 
    color: var(--primary); 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    font-weight: 700; 
    display: block; 
    margin-bottom: 10px; 
}
.split-text p { 
    color: var(--text-gray); 
    margin-bottom: 20px; 
    font-size: 1.05rem; 
    line-height: 1.6; 
}

/* Obrazek po prawej */
.split-image img { 
    width: 100%; 
    border-radius: 15px; 
    display: block; 
    /* Subtelny efekt po najechaniu */
    transition: transform 0.5s;
}
.split-image:hover img {
    transform: scale(1.02);
}

/* Małe pastylki z udogodnieniami */
.amenities-grid { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 15px; 
    margin-top: 35px; 
}
.amenity {
    padding: 10px 25px; 
    background: rgba(16, 185, 129, 0.1); /* Przezroczysta zieleń */
    border-radius: 50px; 
    font-size: 0.9rem; 
    font-weight: 600;
    border: 1px solid var(--primary); 
    color: var(--primary);
    transition: 0.3s;
    cursor: default;
}
.amenity:hover {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 15px var(--primary);
}
.amenity i { margin-right: 8px; }

/* RWD - Żeby na telefonie było jedno pod drugim */
@media (max-width: 900px) {
    .split-layout { grid-template-columns: 1fr; gap: 40px; }
    .section-title-left { text-align: center; }
    .amenities-grid { justify-content: center; }
}

/* === DODATEK 2: HISTORIA I LISTA POZIOMA === */

/* Lista cech (ta na dole tekstu) */
.features-list { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 30px; /* Odstępy między elementami */
    margin-top: 40px; 
    padding-top: 20px;
    border-top: 1px solid var(--glass-border); /* Cienka linia oddzielająca */
}

.feature-item { 
    color: var(--primary); /* Twój zielony kolor */
    font-weight: 700; 
    font-size: 0.95rem; 
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item i { 
    font-size: 1.1rem;
}

/* Specjalny styl dla zdjęcia z cieniem (zamiast złota dałem zieleń) */
.split-image-shadow img { 
    width: 100%; 
    border-radius: 20px; 
    display: block;
    /* To robi ten przesunięty cień pod zdjęciem */
    box-shadow: 20px 20px 0 rgba(16, 185, 129, 0.1); 
    transition: 0.5s; 
}

.split-image-shadow:hover img { 
    transform: scale(1.02) translate(-5px, -5px);
    box-shadow: 25px 25px 0 rgba(16, 185, 129, 0.2); 
}

/* RWD dla listy cech */
@media (max-width: 600px) {
    .features-list { flex-direction: column; gap: 15px; }
}


/* --- CZYSTY STYL DLA GALERII (BEZ PASKA) --- */

/* 1. Ukrywamy cały dolny pasek (napisy, licznik i X) */
.lb-dataContainer {
    display: none !important;
}

/* 2. Robimy zieloną ramkę bezpośrednio wokół zdjęcia */
.lb-image {
    border: 5px solid #00bfa5 !important; /* Twoja zieleń */
    border-radius: 8px !important; /* Zaokrąglone rogi */
}

/* 3. Usuwamy białe tło z "pudełka" trzymającego zdjęcie */
.lb-outerContainer {
    background-color: transparent !important;
}

/* --- Ramka dla zdjęcia w sekcji "O obiekcie" --- */

/* 1. Ustawienie, żeby ramka pojawiała się płynnie */
.split-image {
    border: 2px solid transparent; /* Domyślnie ramka jest niewidoczna */
    transition: all 0.4s ease; /* Płynna animacja */
}

/* 2. Co się dzieje po najechaniu myszką */
.split-image:hover {
    border-color: #00bfa5; /* Zmienia kolor na zielony */
    transform: translateY(-5px); /* Unosi zdjęcie do góry */
    box-shadow: 0 12px 24px rgba(0, 191, 165, 0.2); /* Dodaje zieloną poświatę */
}


/* =========================================
   POPRAWKI NA TELEFON (MEDIA QUERIES)
   ========================================= */

@media (max-width: 900px) {

    /* 1. PASEK NAWIGACJI - ZAWSZE NA WIERZCHU I CZYTELNY */
    .glass-nav {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
        background: rgba(2, 6, 23, 0.98) !important; /* Ciemne tło, żeby nic nie prześwitywało */
        z-index: 9999; /* Najwyższy priorytet */
        padding: 15px 0;
        height: 70px; /* Sztywna wysokość paska */
    }

    /* 2. MENU HAMBURGERA - POPRAWA CENTROWANIA */
    .nav-links {
        position: fixed;
        top: 70px; /* Zaczyna się pod paskiem */
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(2, 6, 23, 0.99); /* Mocne tło */
        
        /* KLUCZ DO CENTROWANIA: */
        display: flex;
        flex-direction: column;
        align-items: center !important;     /* Centruje poziomo (lewo-prawo) */
        justify-content: center !important; /* Centruje pionowo (góra-dół) */
        text-align: center;                 /* Centruje tekst wewnątrz linków */
        
        transform: translateX(100%);
        transition: 0.3s ease-in-out;
        gap: 30px; /* Odstępy między linkami */
        padding-bottom: 50px; /* Lekkie uniesienie optyczne */
    }

    .nav-links.open {
        transform: translateX(0);
    }
    
    .nav-links a {
        font-size: 1.5rem; /* Duże, wygodne napisy */
        display: block;
        width: 100%;
    }

    /* Dodatkowe zabezpieczenie dla przycisku Kontakt w menu */
    .nav-links .btn-nav {
        width: auto !important; /* Żeby przycisk nie rozciągał się na cały ekran */
        padding: 10px 40px;     /* Większy przycisk w menu */
    }

    .nav-links.open {
        transform: translateX(0);
    }
    
    .nav-links a {
        font-size: 1.4rem;
    }

    /* 3. NAPRAWA GŁÓWNEJ SEKCJI (HERO) - TU BYŁ PROBLEM! */
    .hero-section {
        display: block !important; /* Wyłączamy Flexbox (centrowanie) */
        height: auto !important;   /* Wysokość dopasowana do treści */
        min-height: 100vh;         /* Ale minimum cały ekran */
        padding-top: 140px !important; /* DUŻY ODSTĘP OD GÓRY, żeby nie wchodziło na logo */
        padding-bottom: 50px;      /* Luz na dole */
        align-items: flex-start;
    }

    /* 4. TREŚĆ (Napisy) */
    .hero-content-layer {
        transform: none !important; /* Wyłączamy efekty 3D na telefonie */
        width: 100%;
        padding: 0 15px;
    }

    .hero-content-layer h1 {
        font-size: 2.2rem; /* Trochę mniejszy tytuł */
        line-height: 1.2;
        margin-top: 10px;
    }

    .hero-content-layer p {
        font-size: 1rem;
        padding: 0 10px;
    }

    /* 5. WIDŻET REZERWACJI - PIONOWY UKŁAD */
    .booking-widget {
        width: 100%;
        margin-top: 30px;
        padding: 20px 15px;
    }

    .widget-row {
        flex-direction: column; /* Pola jedno pod drugim */
        gap: 15px;
    }

    .input-group {
        width: 100%;
        margin-bottom: 5px;
    }

    .btn-hero {
        width: 100%; /* Przycisk na całą szerokość */
        margin-top: 10px;
    }
    
    /* Ukrycie misia na telefonach */
    .mascot-container {
        display: none !important;
    }
    
    /* Poprawa sekcji z obrazkiem i tekstem */
    .split-layout {
        display: flex;
        flex-direction: column-reverse; /* Najpierw zdjęcie, potem tekst na górze */
        gap: 30px;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}


/* --- NOWY KAFELEK POD ZDJĘCIEM --- */
.gallery-tile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    
    /* Wygląd */
    background: var(--primary); /* Twój zielony kolor */
    color: #000; /* Czarny tekst */
    border-radius: 20px; /* Takie same zaokrąglenia jak zdjęcie */
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    
    /* Cień i ramka */
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
}

/* Po najechaniu myszką */
.gallery-tile-btn:hover {
    background: transparent; /* Tło znika */
    color: #fff; /* Tekst robi się biały */
    border-color: var(--primary); /* Zielona ramka zostaje */
    transform: translateY(-5px); /* Lekko do góry */
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2); /* Zielona poświata */
}

.gallery-tile-btn i {
    font-size: 1.4rem;
}



/*----------------------------------------------------------------------------------/*
                                                                                     * 
                                                                                     * 
                                                                                     * 
                                                                                     * 




/* =========================================
   STYLE PODSTRONY GALERIA
   ========================================= */

.gallery-grid {
    display: grid;
    /* To automatycznie układa kafelki: minimum 300px szerokości */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-tile {
    position: relative;
    display: block;
    height: 250px; /* Wysokość każdego kafelka */
    border-radius: 15px;
    overflow: hidden; /* Żeby zdjęcie nie wyłaziło przy powiększaniu */
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.1);
}

.gallery-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Zdjęcie wypełnia cały kafelek */
    transition: transform 0.5s ease;
}

/* Efekt najechania myszką */
.gallery-tile:hover img {
    transform: scale(1.1); /* Lekki zoom */
}

.gallery-tile:hover {
    border-color: var(--primary); /* Zielona ramka */
}

/* Ikonka lupy na środku po najechaniu */
.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex; justify-content: center; align-items: center;
    opacity: 0;
    transition: 0.3s;
}

.gallery-tile:hover .overlay {
    opacity: 1;
}

.overlay i {
    font-size: 2rem;
    color: #fff;
}

/* --- STYL DUŻEGO KAFELKA POWROTU --- */
.return-card {
    display: flex;
    flex-direction: column; /* Ustawia ikonę nad tekstem */
    align-items: center;
    justify-content: center;
    
    width: 200px;  /* Szerokość kafelka */
    height: 160px; /* Wysokość kafelka */
    
    background: rgba(0, 0, 0, 0.6); /* Ciemne tło jak na zdjęciu */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    text-decoration: none;
    transition: 0.3s ease;
    gap: 15px; /* Odstęp między ikoną a napisem */
}

/* Wygląd ikony (domek) */
.return-card i {
    font-size: 3rem; /* Duża ikona */
    color: var(--primary); /* Zielony kolor */
    /* Ten cień robi efekt świecenia (glow) */
    filter: drop-shadow(0 0 15px var(--primary)); 
    transition: 0.3s;
}

/* Wygląd tekstu */
.return-card span {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
}

/* Efekt po najechaniu myszką */
.return-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px); /* Unosi się do góry */
    background: rgba(0, 0, 0, 0.8);
}

.return-card:hover i {
    transform: scale(1.1); /* Ikona lekko rośnie */
}


/*PODSTRONY INNE*/


/* --- STYLE DLA PODSTRON ATRAKCJI --- */

/* Sekcja Opinii */
.reviews-section {
    margin-top: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.review-box {
    margin-bottom: 20px;
    padding-left: 20px;
    border-left: 4px solid var(--primary); /* Zielony pasek z lewej */
}

.review-text {
    font-style: italic;
    color: #ddd;
    font-size: 1.1rem;
}

.review-author {
    margin-top: 10px;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Przyciski zewnętrzne (oficjalna strona) */
.btn-external {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    margin-top: 15px;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-external:hover {
    border-color: var(--primary);
    background: rgba(16, 185, 129, 0.1);
}

/* Poziomy trudności szlaków */
.trail-level {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.level-easy { background: #10B981; color: #000; } /* Zielony */
.level-medium { background: #F59E0B; color: #000; } /* Pomarańczowy */
.level-hard { background: #EF4444; color: #fff; } /* Czerwony */

/* Lista szlaków */
.trail-item {
    background: rgba(0,0,0,0.4);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}





/* --- SEKCJA OPINII GOOGLE --- */
.reviews-section-container {
    overflow: hidden; /* Żeby strzałki nie wyjeżdżały poza ekran */
}

.google-rating-badge {
    margin-top: 10px;
    font-size: 1.1rem;
    color: #ddd;
}

.google-rating-badge i {
    color: var(--primary); /* Zielony */
    margin-right: 5px;
}

.reviews-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 40px;
}

/* Obszar przewijania */
.reviews-scroll-area {
    display: flex;
    gap: 20px;
    overflow-x: auto; /* Pozwala przewijać w bok */
    scroll-behavior: smooth; /* Płynne przewijanie */
    padding: 20px 5px; /* Margines na cienie */
    width: 100%;
    
    /* Ukrywanie paska przewijania */
    scrollbar-width: none; /* Firefox */
}

.reviews-scroll-area::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

/* Pojedyncza karta opinii */
.review-card {
    min-width: 320px; /* Stała szerokość */
    max-width: 320px;
    padding: 25px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: rgba(255, 255, 255, 0.03); /* Bardzo ciemne tło */
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary); /* Zielone kółko */
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.reviewer-info h4 {
    font-size: 1rem;
    margin-bottom: 3px;
    color: #fff;
}

.stars {
    color: gold; /* Złote gwiazdki */
    font-size: 0.8rem;
}

.google-icon {
    margin-left: auto; /* Dopycha ikonę Google do prawej */
    font-size: 1.5rem;
    color: #ddd;
    opacity: 0.5;
}

.review-body {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.5;
    font-style: italic;
}

/* Przyciski strzałek */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    color: #000;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    transition: 0.3s;
    
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-btn:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}

.left-btn { left: -20px; }
.right-btn { right: -20px; }

/* Na telefonach ukrywamy strzałki (bo się palcem przesuwa) */
@media (max-width: 768px) {
    .scroll-btn { display: none; }
    .reviews-wrapper { margin-left: -20px; margin-right: -20px; padding: 0 20px; }
}

/* --- PEŁNA SIATKA UDOGODNIEŃ (STYL METEOR) --- */

.features-grid {
    display: grid;
    /* To układa kafelki gęsto obok siebie (min. 280px szerokości każdy) */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature-tile {
    padding: 25px;
    background: rgba(255, 255, 255, 0.02); /* Ciemne tło */
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left; /* Tekst do lewej, jak na liście */
}

/* Nagłówek kafelka (Ikona + Tytuł) */
.tile-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 5px;
}

.tile-header i {
    font-size: 1.4rem;
    color: var(--primary); /* Zielona ikona główna */
}

.tile-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

/* Lista punktów */
.tile-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tile-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #ccc;
}

/* Mały ptaszek przy każdym punkcie */
.tile-list li i {
    color: var(--primary);
    font-size: 0.8rem;
    opacity: 0.8;
}


/* --- STYL FORMULARZA OPINII --- */
.review-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.review-form .input-group input,
.review-form .input-group textarea,
.review-form .input-group select {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: 0.3s;
}

.review-form ::placeholder { color: rgba(255, 255, 255, 0.6); }
.review-form select option { background: #222; color: #fff; }

.review-form input:focus,
.review-form textarea:focus,
.review-form select:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.15);
}

/* --- POWIĘKSZENIE PRZYCISKU "WYŚLIJ OPINIĘ" --- */
.review-form button[type="submit"] {
    padding: 25px !important;      /* Dużo wyższy przycisk */
    font-size: 1.5rem !important;  /* Dużo większy tekst */
    font-weight: 900 !important;   /* Bardzo gruby tekst */
    text-transform: uppercase;     /* Wielkie litery */
    letter-spacing: 2px;           /* Szersze odstępy między literami */
    margin-top: 30px !important;   /* Większy odstęp od pól powyżej */
    /* Dla pewności, że jest zielony z czarnym tekstem */
    background: var(--primary) !important;
    color: #000 !important;
    box-shadow: 0 10px 20px -10px rgba(16, 185, 129, 0.5); /* Lekki cień pod spodem */
}
