:root {

    /* Nowa paleta kolorĂłw dopasowana do logo */

    --primary-color: #446F91;
    /* Niebieski z logo */

    --secondary-color: #3a5f7d;
    /* Ciemniejszy odcieĹ„ niebieskiego dla akcentĂłw i hover */

    --accent-color: #446F91;
    /* GĹ‚Ăłwny niebieski dla przyciskĂłw */



    /* PozostaĹ‚e kolory bez zmian */

    --white: #fff;

    --light-gray-bg: #f9f9f9;

    --text-color: #4a4a4a;

    --shadow: 0 8px 20px rgba(0, 0, 0, 0.07);

    --border-radius: 12px;

    --font-family: 'Montserrat', sans-serif;

}

.footer-links {
    margin-top: 1rem; /* Odstęp od ikonek */
    text-align: center;
}

.legal-link {
    color: rgba(255, 255, 255, 0.8); /* Jasny kolor, lekko przezroczysty */
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.legal-link:hover {
    color: #ffffff; /* Biały po najechaniu */
    text-decoration: underline;
}

* {

    box-sizing: border-box;

    margin: 0;

    padding: 0;

}



html {

    scroll-behavior: smooth;

    scroll-padding-top: 80px;
    /* Offset dla przyklejonej nawigacji */

}



body {

    font-family: var(--font-family);

    color: var(--text-color);

    background-color: var(--background-color);

    line-height: 1.7;

}



.container {

    max-width: 1200px;

    margin: 0 auto;

    padding: 5rem 2rem;

}



/* Naprzemienne tĹ‚a sekcji */

section:nth-of-type(odd) {

    background-color: var(--light-gray-bg);

}



h1,
h2,
h3 {

    color: var(--primary-color);

    margin-bottom: 1rem;

    font-weight: 600;

}



h2 {

    text-align: center;

    font-size: 2.5rem;

    margin-bottom: 3.5rem;

}



.button {

    display: inline-block;

    background-color: var(--accent-color);

    color: var(--white);

    padding: 14px 28px;

    border-radius: 50px;
    /* ZaokrÄ…glone krawÄ™dzie */

    text-decoration: none;

    font-weight: 700;

    transition: background-color 0.3s ease, transform 0.3s ease;

    border: none;

    cursor: pointer;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);

}



.button:hover {

    background-color: var(--secondary-color);
    /* UĹĽycie ciemniejszego odcienia */

    transform: translateY(-3px);

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);

}



/* Navigation Bar */

.navbar {

    background: rgba(255, 255, 255, 0.9);

    backdrop-filter: blur(10px);

    height: 80px;

    display: flex;

    justify-content: center;

    align-items: center;

    font-size: 1.1rem;

    position: sticky;

    top: 0;

    z-index: 999;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);

}

.nav-container {

    display: flex;

    justify-content: space-between;

    height: 80px;

    z-index: 1;

    width: 100%;

    max-width: 1200px;

    padding: 0 2rem;

}

.nav-logo {

    color: var(--primary-color);

    justify-self: flex-start;

    cursor: pointer;

    display: flex;

    align-items: center;

    text-decoration: none;

}

.nav-logo img {

    height: 50px;
    /* MoĹĽesz dostosowaÄ‡ wysokoĹ›Ä‡ logo */

}

.nav-menu {

    display: flex;

    align-items: center;

    list-style: none;

    text-align: center;

}

.nav-item a {

    color: var(--primary-color);

    text-decoration: none;

    padding: 0.5rem 1rem;

    transition: color 0.3s ease;

}

.nav-item a:hover {

    color: var(--accent-color);

}



.nav-button {

    background-color: var(--accent-color);

    color: var(--white) !important;

    padding: 8px 16px !important;

    border-radius: 50px;

    transition: background-color 0.3s, transform 0.3s;

}



.nav-button:hover {

    background-color: var(--secondary-color);
    /* UĹĽycie ciemniejszego odcienia */

    transform: scale(1.05);

    color: var(--white) !important;

}



/* Hero Section */

.hero {

    position: relative;

    height: calc(100vh - 80px);
    /* WysokoĹ›Ä‡ minus nawigacja */

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    color: var(--white);

    background: url('../zdjecia/tlo.webp') no-repeat center center/cover;

}

.hero-overlay {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background-color: rgba(0, 0, 0, 0.5);
    /* ZwiÄ™kszona przezroczystoĹ›Ä‡ dla lepszego kontrastu */

}

.hero-text {

    position: relative;

    z-index: 1;

}

.hero h1 {

    font-size: 4.5rem;

    color: var(--white);

    margin-bottom: 0.5rem;

    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    /* Dodany cieĹ„ dla lepszej czytelnoĹ›ci */

}

.hero p {

    font-size: 1.5rem;

    margin-bottom: 2.5rem;

    font-weight: 400;

    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
    /* Dodany cieĹ„ dla lepszej czytelnoĹ›ci */

}



/* Amenities Section */

.amenities-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    gap: 2rem;

}

.amenity {

    background: var(--white);

    padding: 2rem;

    text-align: center;

    border-radius: var(--border-radius);

    box-shadow: var(--shadow);

    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.amenity:hover {

    transform: translateY(-8px);

    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);

}

/* NOWY, POPRAWIONY STYL DLA IKON UDOGODNIEĹ */

.amenity-icon {

    height: 50px;
    /* Ustawia staĹ‚Ä… wysokoĹ›Ä‡ ikony */

    width: auto;
    /* SzerokoĹ›Ä‡ dostosuje siÄ™ automatycznie */

    margin-bottom: 1.5rem;

}

.amenity h3 {

    font-size: 1.25rem;

}

.amenity p {

    color: #777;

}



/* Gallery Section */

.gallery-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);
    /* 3 na liniÄ™ na desktopie */

    gap: 1rem;

}

.gallery-grid img {

    width: 100%;

    aspect-ratio: 3 / 2;
    /* wiÄ™ksze kafelki */

    height: auto;

    object-fit: cover;

    display: block;

    border-radius: var(--border-radius);

    transition: transform 0.25s ease, box-shadow 0.25s ease;

}

.gallery-grid img:hover {

    transform: scale(1.05);

    box-shadow: var(--shadow);

}



/* RWD dla galerii */

@media (max-width: 992px) {

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 576px) {

    .gallery-grid {
        grid-template-columns: 1fr;
    }

}



/* Lightbox */

.lightbox-overlay {

    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, 0.85);

    display: none;

    align-items: center;

    justify-content: center;

    z-index: 2000;

}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev {
    left: -56px;
}

.lightbox-next {
    right: -56px;
}

.lightbox-close {
    position: absolute;
    top: -52px;
    right: -8px;
    background: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}



/* Testimonials Section */

.testimonial-carousel {

    position: relative;

    max-width: 800px;

    width: 100%;
    /* Dodana reguĹ‚a, aby karuzela nie wychodziĹ‚a poza kontener */

    margin: 0 auto;

    overflow: hidden;

    background: var(--white);

    padding: 2rem;

    border-radius: var(--border-radius);

    box-shadow: var(--shadow);

}

/* ... reszta stylĂłw dla opinii bez zmian ... */

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {

    min-width: 100%;

    padding: 1rem 2rem;

    text-align: center;

}

.testimonial-slide p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}



/* Poprawione style dla stopki opinii */

.testimonial-footer {

    text-align: center;

    margin-top: 1rem;

}



.testimonial-slide .author {

    font-weight: bold;

    color: var(--primary-color);

    margin-bottom: 0.25rem;
    /* Dodaje maĹ‚y odstÄ™p pod autorem */

}

.testimonial-source {

    font-size: 0.8rem;

    color: #999;

    font-style: italic;

}

.stars {
    color: #f1c40f;
    margin-bottom: 1rem;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    line-height: 1;
    transition: background-color 0.3s;
}

.carousel-button:hover {
    background-color: var(--white);
}

.carousel-button.prev {
    left: 15px;
}

.carousel-button.next {
    right: 15px;
}



/* Location Section */

.location-content {

    display: flex;

    gap: 3rem;

    align-items: center;

}

.location-text {
    flex: 1;
}

.location-text p {

    margin-bottom: 2rem;
    /* Dodaje odstÄ™p pod tekstem, nad przyciskiem */

}

.map-container {

    flex: 1;

    width: 100%;
    /* Dodana reguĹ‚a, aby mapa zajmowaĹ‚a caĹ‚Ä… szerokoĹ›Ä‡ */

    height: 400px;

    border-radius: var(--border-radius);

    overflow: hidden;

    box-shadow: var(--shadow);

}



/* FAQ Section */

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    color: var(--secondary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.5rem;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}



/* Contact Section */

#contactForm {
    max-width: 700px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

#contactForm input,
#contactForm textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

#contactForm input:focus,
#contactForm textarea:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(122, 158, 126, 0.2);
    outline: none;
}

#contactForm button {
    width: auto;
    justify-self: center;
}



/* Komunikaty zwrotne z formularza */

#contact-form-feedback {

    padding: 1rem;

    margin-bottom: 2rem;

    border-radius: 8px;

    text-align: center;

    font-weight: 600;

    display: none;
    /* DomyĹ›lnie ukryty */

}



#contact-form-feedback.success {

    background-color: #d4edda;

    color: #155724;

    display: block;

}



#contact-form-feedback.error {

    background-color: #f8d7da;

    color: #721c24;

    display: block;

}



.contact-details {
    text-align: center;
    margin-top: 4rem;
}



/* NOWY, POPRAWIONY STYL DLA INFORMACJI KONTAKTOWYCH */

.contact-info p {

    margin-bottom: 1rem;

    font-size: 1.1rem;

    display: flex;
    /* UĹĽywamy flexbox do wyrĂłwnania */

    justify-content: center;
    /* WyĹ›rodkowanie w poziomie */

    align-items: center;
    /* WyĹ›rodkowanie w pionie */

}

.contact-info a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--secondary-color);
}



/* NOWY, POPRAWIONY STYL DLA IKON W KONTAKCIE */

.contact-icon {

    height: 24px;
    /* Ustawia staĹ‚Ä… wysokoĹ›Ä‡ ikony */

    width: 24px;
    /* Ustawia staĹ‚Ä… szerokoĹ›Ä‡ ikony */

    margin-right: 0.75rem;
    /* OdstÄ™p od tekstu */

}



.social-icons {
    margin-top: 2rem;
}

.social-icons a {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 0 1rem;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.social-icons a:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}



/* Footer */

footer {

    text-align: center;

    padding: 1.6rem;
    /* mniejsza stopka */

    background-color: var(--primary-color);

    color: rgba(255, 255, 255, 0.8);

}

/* Social icons in footer */

footer .social-icons {
    margin-top: 0.75rem;
}

footer .social-icons a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.4rem;
    margin: 0 0.5rem;
    display: inline-block;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

footer .social-icons a:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}



/* Dodatkowe dopracowanie sekcji Lokalizacja dla telefonów,

   bez ingerencji w desktop */

@media (max-width: 768px) {

    #location .location-content {
        gap: 1.25rem;
        align-items: center;
    }

    #location .location-text {
        text-align: center;
        margin: 0 auto;
    }

    #location .location-text h3 {
        text-align: center;
    }

    #location .location-text .button {
        display: inline-block;
        margin: 0.75rem auto 0;
    }

    #location .map-container {
        height: 340px;
        margin: 0.5rem auto 0;
    }

}



/* Animacje przy przewijaniu */

.animate-on-scroll {

    opacity: 0;

    transform: translateY(30px);

    transition: opacity 0.6s ease-out, transform 0.6s ease-out;

}



.animate-on-scroll.visible {

    opacity: 1;

    transform: translateY(0);

}



/* =================================== */

/*          STYLE RESPONSYWNE          */

/* =================================== */



/* Tablety (do 992px) */

@media (max-width: 992px) {

    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        /* TA LINIA CENTRUJE LOGO I PRZYCISK W PIONIE */
        height: 80px;
        padding: 0 2rem;
    }



    .nav-menu {
        display: flex;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        height: 100vh;
        /* Menu na cały ekran telefonu */
        position: fixed;
        top: 0;
        /* Startuje od samej góry */
        left: -100%;
        transition: 0.4s ease-in-out;
        padding-top: 100px;
        /* Miejsce, żeby nie zasłonić przycisku zamknięcia */
        z-index: 999;
        /* Musi być wyżej niż sekcja hero */
        box-shadow: var(--shadow);
    }



    .nav-menu.active {

        left: 0;

    }



    .nav-item {

        width: 100%;

        text-align: center;

    }



    .nav-item a {

        padding: 1.2rem 0;
        /* zmniejszone o ~1/3 */

        font-size: 1.2rem;

        display: block;
        /* caĹ‚a szerokoĹ›Ä‡ jako cel dotykowy */

    }



    .nav-button {

        display: block;
        /* pozwala zastosowaÄ‡ szerokoĹ›Ä‡ */

        width: 80%;

        margin: 1rem auto 0;
        /* wyĹ›rodkowanie przycisku */

        text-align: center;
        /* wyĹ›rodkowanie tekstu */

    }



    .menu-toggle {

        display: flex;

        flex-direction: column;

        cursor: pointer;

    }



    .menu-toggle .bar {

        height: 3px;

        width: 25px;

        background-color: var(--primary-color);

        margin: 4px 0;

        transition: all 0.3s ease-in-out;

    }



    .menu-toggle.active .bar:nth-child(1) {

        transform: translateY(11px) rotate(45deg);

    }

    .menu-toggle.active .bar:nth-child(2) {

        opacity: 0;

    }

    .menu-toggle.active .bar:nth-child(3) {

        transform: translateY(-11px) rotate(-45deg);

    }



    .amenities-grid {

        grid-template-columns: repeat(2, 1fr);

    }



    .location-content {

        flex-direction: column;

    }

}



/* Telefony (do 768px) */

@media (max-width: 768px) {

    h2 {
        font-size: 2rem;
    }

    .container {
        padding: 3rem 1.5rem;
    }



    .hero {
        height: 85vh;
    }

    .hero-text {
        padding: 0 30px;
        /* To odsuwa napis od lewej i prawej krawędzi */
        width: 100%;
    }

    .hero h1 {
        font-size: 2.3rem;
        /* Mniejsza czcionka lepiej mieści się na telefonie */
        line-height: 1.2;
        margin-bottom: 1.2rem;
    }

    .location-content {
        gap: 1.5rem;
    }

    \r\n .location-text {
        text-align: center;
    }

    \r\n .location-text h3 {
        text-align: center;
    }

    \r\n .location-text p {

        font-size: 1rem;

    }

    .map-container {

        height: 450px;
        /* ZwiÄ™kszenie wysokoĹ›ci mapy na telefonach */

    }



    .testimonial-slide p {

        font-size: 1rem;
        /* Zmniejszenie tekstu opinii na telefonach */

    }



    .carousel-button {

        width: 40px;

        height: 40px;

        font-size: 1.5rem;

    }

}



/* MaĹ‚e telefony (do 576px) */

@media (max-width: 576px) {

    .amenities-grid {

        grid-template-columns: 1fr;

    }



    .gallery-grid {

        grid-template-columns: 1fr;

    }



    .contact-info p {

        font-size: 1rem;

        flex-direction: column;

        gap: 0.5rem;

    }

}



/* Poprawiony Baner Cookies - Styl Pływający */

.cookie-banner {

    position: fixed;

    bottom: 20px;
    /* Odstęp od dołu */

    left: 50%;

    transform: translateX(-50%);
    /* Centrowanie na środku */

    width: 90%;
    /* Nie na całą szerokość, żeby nie dotykał brzegów */

    max-width: 500px;

    background: #ffffff;

    padding: 20px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    /* Mocny cień, żeby "odstawał" od strony */

    z-index: 999999;
    /* Bardzo wysoki priorytet, żeby nic go nie przykryło */

    display: none;

    border-radius: 12px;
    /* Zaokrąglone rogi - nowocześniejszy wygląd */

    border: 1px solid #eee;

}



.cookie-container {

    display: flex;

    flex-direction: column;
    /* Na mobile tekst nad przyciskiem */

    align-items: center;

    gap: 15px;

    text-align: center;

}



.cookie-text {

    font-size: 14px;

    line-height: 1.5;

    color: #333;

    margin: 0;

}



.cookie-button {

    background: #2c3e50;

    color: white;

    border: none;

    padding: 12px 30px;
    /* Większy przycisk, łatwiej kliknąć palcem */

    border-radius: 25px;
    /* Okrągły przycisk */

    cursor: pointer;

    font-weight: 700;

    width: 100%;
    /* Przycisk na całą szerokość kafelka na mobile */

    transition: all 0.3s ease;

}



.cookie-button:hover {

    background: #34495e;

    transform: scale(1.02);

}



/* Na większych ekranach (Laptop) przycisk wraca do normy */

@media (min-width: 768px) {

    .cookie-container {

        flex-direction: row;

        text-align: left;

    }

    .cookie-button {

        width: auto;

    }

    .cookie-banner {

        width: auto;

        bottom: 30px;

    }

}