/*
Theme Name: Reda Karpacz0106
Theme URI: 
Author: Antigravity
Description: Szablon dla Ośrodka Reda
Version: 1.0
*/


        :root {
            --primary-dark: #1f2742;
            --primary-cyan: #00c6d0;
            --primary-yellow: #ffc107;
            --secondary-yellow: #f6d04d;
            /* Jaśniejszy żółty do nagłówka */
            --bg-light: #f3f9f9;
            --text-gray: #a0a0a0;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Montserrat', sans-serif;
            color: var(--primary-dark);
            overflow-x: hidden;
        }

        /* --- HEADER & NAWIGACJA --- */

        header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-right: 3rem;
            background-color: #fff;
            height: 90px;
        }

        .logo-container {
            background-color: var(--primary-dark);
            color: #fff;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 0 2.5rem;
        }

        .logo-title {
            font-size: 1.8rem;
            font-weight: 700;
            letter-spacing: 2px;
            line-height: 1;
        }

        .logo-subtitle {
            font-size: 0.6rem;
            font-weight: 400;
            letter-spacing: 1.5px;
            color: #8c97b8;
            margin-top: 4px;
            text-transform: uppercase;
        }

        nav ul {
            list-style: none;
            display: flex;
            gap: 1.8rem;
            align-items: center;
        }

        nav a {
            text-decoration: none;
            color: var(--primary-dark);
            font-weight: 700;
            font-size: 0.8rem;
            text-transform: uppercase;
            transition: color 0.3s;
        }

        nav a:hover {
            color: var(--primary-cyan);
        }

        nav a.btn-start {
            color: var(--primary-cyan);
            padding: 0.6rem 0;
            position: relative;
        }

        nav a.btn-start::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--primary-cyan);
            transition: width 0.3s ease;
        }

        nav a.btn-start:hover::after {
            width: 100%;
        }

        nav a.btn-start:hover {
            color: var(--primary-cyan);
        }

        .dropdown-arrow {
            font-size: 0.7rem;
            margin-left: 3px;
        }

        /* --- SEKCJA HERO --- */

        .hero {
            display: grid;
            grid-template-columns: 55% 45%;
            height: calc(100vh - 90px);
            min-height: 600px;
        }

        .hero-content {
            background-color: var(--bg-light);
            padding: 4rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: flex-start;
        }

        .hero-content h1 {
            font-size: 3.7rem;
            font-weight: 700;
            line-height: 1.1;
            margin-bottom: 2rem;
        }

        .hero-content h1 .cyan-text {
            color: var(--primary-cyan);
            display: block;
        }

        .hero-content p {
            font-size: 1.3rem;
            font-weight: 600;
            line-height: 1.5;
            margin-bottom: 4rem;
            max-width: 600px;
        }

        .hero-content p .yellow-text {
            color: var(--primary-yellow);
        }

        .btn-more {
            text-decoration: none;
            background-color: var(--secondary-yellow);
            color: var(--primary-dark);
            font-weight: 700;
            font-size: 1rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 1.5rem 3rem;
            border-radius: 5px;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: all 0.3s ease;
            box-shadow: 0 10px 20px rgba(255, 193, 7, 0.2);
            width: fit-content;
        }

        .btn-more:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(255, 193, 7, 0.3);
            background-color: #ffca28;
        }

        .hero-image-wrapper {
            position: relative;
            background-image: url('assets/glowna2.jpeg');
            background-size: cover;
            background-position: center;
        }

        .slider-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 40px;
            height: 40px;
            background-color: rgba(255, 255, 255, 0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            font-weight: bold;
            font-size: 1.2rem;
            user-select: none;
            transition: background 0.3s;
        }

        .slider-arrow:hover {
            background-color: #fff;
        }

        .slider-arrow.left {
            left: 20px;
        }

        .slider-arrow.right {
            right: 20px;
        }

        .slider-dots {
            position: absolute;
            bottom: 40px;
            left: 40px;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .dot {
            width: 6px;
            height: 6px;
            background-color: #fff;
            border-radius: 50%;
            cursor: pointer;
        }

        .dot.active {
            width: 14px;
            height: 14px;
            background-color: transparent;
            border: 2px solid #fff;
            position: relative;
        }

        .dot.active::after {
            content: "";
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 4px;
            height: 4px;
            background-color: #fff;
            border-radius: 50%;
        }

        .floating-badge {
            position: absolute;
            bottom: 50px;
            right: 80px;
            text-align: right;
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 5px;
        }

        .floating-badge .badge-title {
            background-color: #5abde6;
            color: var(--primary-dark);
            padding: 0.5rem 1rem;
            font-size: 1.6rem;
            font-weight: 700;
        }

        .floating-badge .badge-link {
            color: #fff;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
            border-bottom: 1px solid #fff;
            padding-bottom: 2px;
            transition: opacity 0.3s;
        }

        .floating-badge .badge-link:hover {
            opacity: 0.8;
        }

        /* --- NOWA SEKCJA GALERII (SLIDER CSS) --- */

        .gallery-section {
            padding: 6rem 0;
            background-color: #fff;
        }

        .gallery-header {
            max-width: 1400px;
            margin: 0 auto 3rem auto;
            padding: 0 3rem;
        }

        .gallery-eyebrow {
            display: block;
            font-size: 0.85rem;
            font-weight: 700;
            color: var(--text-gray);
            text-transform: uppercase;
            letter-spacing: 1.5px;
            margin-bottom: 1rem;
        }

        .gallery-title {
            font-size: 3rem;
            font-weight: 600;
            color: var(--primary-dark);
            letter-spacing: -0.5px;
        }

        .gallery-title .cyan {
            color: var(--primary-cyan);
        }

        .gallery-title .yellow {
            color: var(--secondary-yellow);
            font-weight: 600;
        }

        .image-slider-wrapper {
            width: 100%;
            overflow: hidden;
            position: relative;
        }

        .image-slider-track {
            display: flex;
            gap: 20px;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            /* Padding pozwala wyśrodkować slide'y i ukazać ucięte boki */
            padding: 0 15vw;
            scrollbar-width: none;
            /* Ukrycie paska w FF */
            -ms-overflow-style: none;
            /* Ukrycie paska w IE/Edge */
        }

        .image-slider-track::-webkit-scrollbar {
            display: none;
            /* Ukrycie paska w Chrome/Safari */
        }

        .gallery-slide {
            flex: 0 0 70vw;
            /* Szerokość pojedynczego zdjęcia */
            height: 500px;
            scroll-snap-align: center;
            position: relative;
        }

        .gallery-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        /* Responsywność dla slidera */

        @media (min-width: 1024px) {
            .image-slider-track {
                padding: 0 20vw;
            }

            .gallery-slide {
                flex: 0 0 60vw;
            }
        }

        @media (max-width: 768px) {
            .hero {
                grid-template-columns: 1fr;
            }

            header {
                flex-direction: column;
                height: auto;
                padding: 1rem;
            }

            nav ul {
                flex-wrap: wrap;
                justify-content: center;
                margin-top: 1rem;
            }

            .gallery-title {
                font-size: 2rem;
            }

            .image-slider-track {
                padding: 0 10vw;
            }

            .gallery-slide {
                flex: 0 0 80vw;
                height: 350px;
            }
        }

        /* --- NOWE SEKCJE DOKLEJONE NA DOLE --- */

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 3rem;
        }

        .section-padding {
            padding: 6rem 0;
        }

        /* Sekcja Opis i Lista Atutów */

        .text-columns {
            display: flex;
            flex-direction: column;
            gap: 4rem;
            color: var(--primary-dark);
            align-items: center;
        }

        .text-columns .col-left {
            max-width: 900px;
            text-align: center;
        }

        .text-columns p {
            line-height: 2;
            font-size: 1.1rem;
            margin-bottom: 1rem;
        }

        .text-columns .col-right {
            width: 100%;
        }

        .text-columns h3 {
            font-size: 2rem;
            margin-bottom: 3rem;
            font-weight: 600;
            text-align: center;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 2.5rem 1.5rem;
            width: 100%;
        }

        .feature-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            gap: 1.2rem;
        }

        .feature-icon-wrapper {
            flex-shrink: 0;
            width: 70px;
            height: 70px;
            background-color: rgba(0, 198, 208, 0.15);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-cyan);
            transition: all 0.3s ease;
        }

        .feature-item:hover .feature-icon-wrapper {
            background-color: var(--primary-cyan);
            color: #fff;
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 198, 208, 0.3);
        }

        .feature-icon-wrapper svg,
        .feature-icon-wrapper i {
            width: 32px;
            height: 32px;
            font-size: 32px;
            line-height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .feature-text {
            font-size: 0.95rem;
            line-height: 1.5;
            color: var(--primary-dark);
            text-align: center;
        }

        /* Sekcje dzielone na pół (Obrazek + Tekst) */

        .split-section {
            display: grid;
            grid-template-columns: 1fr 1fr;
            min-height: 600px;
        }

        .split-image {
            background-size: cover;
            background-position: center;
            position: relative;
            z-index: 1;
            transition: background-image 0.5s ease-in-out;
        }

        .split-content {
            background-color: var(--bg-light);
            padding: 6rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            position: relative;
            z-index: 2;
        }

        .split-content.white-bg {
            background-color: #fff;
        }

        .split-content h2 {
            font-size: 2.8rem;
            font-weight: 600;
            margin-bottom: 2.5rem;
            line-height: 1.2;
            letter-spacing: -0.5px;
        }

        .split-content h2 .cyan {
            color: var(--primary-cyan);
            display: block;
            font-weight: 700;
        }

        .split-content h2 .yellow {
            color: var(--secondary-yellow);
            display: block;
            font-weight: 700;
        }

        .split-content p {
            font-size: 0.95rem;
            line-height: 2;
            margin-bottom: 1.5rem;
            color: #4a4a4a;
        }

        .link-line {
            display: inline-block;
            font-weight: 700;
            font-size: 0.9rem;
            background-color: var(--secondary-yellow);
            color: var(--primary-dark);
            text-transform: uppercase;
            text-decoration: none;
            letter-spacing: 1px;
            padding: 1.2rem 2.5rem;
            border-radius: 5px;
            transition: all 0.3s ease;
            box-shadow: 0 10px 20px rgba(255, 193, 7, 0.2);
            align-self: flex-start;
        }

        .link-line:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(255, 193, 7, 0.3);
            background-color: #ffca28;
        }

        .link-line.yellow-line {
            border-color: var(--secondary-yellow);
        }

        /* Sekcja Kafelki / Atuty 2x2 */

        .assets-grid-wrapper {
            background-color: #fff;
        }

        .assets-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-template-rows: 1fr 1fr;
            background-color: rgba(255, 255, 255, 0.2);
            gap: 1px;
            /* Tworzy efekt cienkich białych linii między kafelkami */
            height: 100%;
        }

        .asset-box {
            background-color: #242b45;
            /* Ciemny granat */
            padding: 4rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            color: #fff;
            position: relative;
        }

        .asset-icon {
            width: 45px;
            height: 45px;
            margin-bottom: 2rem;
        }

        .asset-icon svg,
        .asset-icon i {
            width: 100%;
            height: 100%;
            font-size: 45px;
            line-height: 45px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .asset-title {
            font-size: 1.2rem;
            font-weight: 600;
            line-height: 1.4;
            margin-bottom: 1rem;
        }

        .asset-desc {
            font-size: 0.85rem;
            line-height: 1.6;
            color: rgba(255, 255, 255, 0.7);
            font-weight: 400;
        }

        .asset-title span {
            display: block;
            font-weight: 400;
        }

        .asset-title.yellow-text span {
            color: var(--secondary-yellow);
        }

        .asset-title.cyan-text span {
            color: var(--primary-cyan);
        }

        .asset-title.blue-text span {
            color: #69a7db;
        }

        .asset-box::after {
            content: '';
            position: absolute;
            bottom: 4rem;
            left: 4rem;
            width: 40px;
            height: 3px;
        }

        .asset-box.y-line::after {
            background-color: var(--secondary-yellow);
        }

        .asset-box.c-line::after {
            background-color: var(--primary-cyan);
        }

        .asset-box.b-line::after {
            background-color: #69a7db;
        }

        /* Sekcja Plaża Banner */

        .beach-banner {
            position: relative;
            height: 600px;
            background-image: url('assets/zdjecie z drona 4.jpg');
            background-size: cover;
            background-position: center;
        }

        .beach-box {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50%;
            background-color: #242b45;
            color: #fff;
            padding: 5rem 6rem;
        }

        .sun-icon {
            width: 60px;
            height: 60px;
            margin-bottom: 2rem;
        }

        .beach-box p {
            font-size: 1.05rem;
            line-height: 2;
            font-weight: 400;
        }

        .beach-box p span {
            color: #69a7db;
            font-weight: 600;
        }

        /* --- FOOTER --- */

        footer {
            background-color: #fcfcfc;
            color: var(--primary-dark);
            padding: 6rem 3rem 2rem;
            font-size: 0.9rem;
            border-top: 1px solid #eee;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1.2fr 1.5fr 1fr;
            gap: 3rem;
            margin-bottom: 6rem;
            max-width: 1400px;
            margin-left: auto;
            margin-right: auto;
        }

        .section-icon {
            display: block;
            width: 50px;
            height: 50px;
            margin-bottom: 1.5rem;
        }

        .footer-form-col {
            display: flex;
            flex-direction: column;
        }

        .footer-form-col h4 {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 2rem;
            color: #fff;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .contact-form {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .contact-form input,
        .contact-form textarea {
            background-color: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 0.8rem 1rem;
            color: #fff;
            font-family: inherit;
            font-size: 0.85rem;
            border-radius: 2px;
            transition: border-color 0.3s;
        }

        .contact-form input:focus,
        .contact-form textarea:focus {
            outline: none;
            border-color: var(--primary-cyan);
        }

        .contact-form button {
            background-color: var(--secondary-yellow);
            color: var(--primary-dark);
            border: none;
            padding: 1.2rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 0.5rem;
            border-radius: 4px;
        }

        .contact-form button:hover {
            transform: translateY(-3px);
            background-color: #ffca28;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        .contact-section-wrapper {
            background-color: #242b45;
            padding: 6rem 0;
            margin-top: 4rem;
        }

        .footer-contact-map {
            display: grid;
            grid-template-columns: 40% 60%;
            gap: 4rem;
            max-width: 1400px;
            margin: 0 auto;
            color: #fff;
        }

        .map-wrapper {
            width: 100%;
            height: 100%;
            min-height: 550px;
            border-radius: 10px;
            overflow: hidden;
        }

        .map-wrapper iframe {
            width: 100%;
            height: 100%;
            border: 0;
            filter: grayscale(0.5) opacity(0.9);
        }

        .split-content h2 {
            font-size: 2.8rem;
            font-weight: 600;
            margin-bottom: 2.5rem;
            line-height: 1.2;
            letter-spacing: -0.5px;
            position: relative;
            background-color: inherit;
            padding: 3rem;
            width: fit-content;
            z-index: 5;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
        }

        .split-image+.split-content h2 {
            margin-left: -8rem;
        }

        .split-content:has(+ .split-image) h2 {
            margin-right: -8rem;
            margin-left: auto;
        }

        .assets-grid-wrapper+.split-content h2 {
            margin-left: -8rem;
        }

        .footer-col {
            position: relative;
        }

        .footer-col:not(:last-child)::after {
            content: '';
            position: absolute;
            top: 0;
            right: -2rem;
            width: 1px;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.05);
        }

        .footer-logo {
            font-size: 2.8rem;
            font-weight: 700;
            letter-spacing: 3px;
            line-height: 1;
            margin-bottom: 5px;
            color: var(--primary-dark);
        }

        .footer-subtitle {
            font-size: 0.8rem;
            letter-spacing: 2.5px;
            color: var(--text-gray);
            margin-bottom: 2.5rem;
            display: block;
            text-transform: uppercase;
        }

        .footer-col p {
            line-height: 2;
            color: #666;
            margin-bottom: 1.5rem;
            max-width: 85%;
        }

        .footer-col p.trust-text {
            color: #69a7db;
            font-weight: 600;
            max-width: 200px;
        }

        .footer-links {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            list-style: none;
            padding-top: 1rem;
        }

        .footer-links a,
        .contact-list a {
            color: var(--primary-dark);
            text-decoration: none;
            font-weight: 600;
            padding-bottom: 4px;
            transition: color 0.3s;
            display: inline-block;
        }

        .footer-links a:hover,
        .contact-list a:hover {
            color: var(--secondary-yellow);
        }

        .contact-list {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 2.5rem;
            padding-top: 1rem;
        }

        .footer-bottom {
            border-top: 1px solid rgba(0, 0, 0, 0.05);
            padding-top: 2rem;
            display: flex;
            justify-content: space-between;
            color: #888;
            font-size: 0.85rem;
            max-width: 1400px;
            margin: 0 auto;
        }

        .footer-bottom a {
            color: #fff;
            text-decoration: none;
            border-bottom: 1px solid #fff;
        }

        /* Responsywność dla nowych sekcji */

        @media (max-width: 1024px) {
            .text-columns {
                gap: 3rem;
            }

            .features-grid {
                grid-template-columns: repeat(3, 1fr);
            }

            .split-section,
            .footer-grid {
                grid-template-columns: 1fr;
            }

            .assets-grid {
                display: flex;
                flex-direction: column;
            }

            .split-content {
                padding: 4rem 3rem;
            }

            .beach-box {
                width: 70%;
                padding: 3rem;
            }

            .footer-col:not(:last-child)::after {
                display: none;
            }

            .footer-grid {
                gap: 3rem;
            }
        }

        @media (max-width: 768px) {
            .features-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .beach-box {
                width: 100%;
                position: relative;
            }

            .footer-links {
                grid-template-columns: 1fr;
            }

            .footer-bottom {
                flex-direction: column;
                gap: 1rem;
                text-align: center;
            }

            .split-content h2 {
                font-size: 2.2rem;
            }
        }

        @media (max-width: 480px) {
            .features-grid {
                grid-template-columns: 1fr;
            }
        }

        /* --- ANIMACJE WEJŚCIA --- */
        .reveal {
            opacity: 0;
            transform: translateY(40px);
            transition: all 0.9s cubic-bezier(0.17, 0.55, 0.55, 1);
        }

        .reveal.active {
            opacity: 1;
            transform: translateY(0);
        }
    

        html {
            scroll-behavior: smooth;
        }

        /* Style dla checkboxa polityki prywatności */
        .contact-form .privacy-policy-consent input[type="checkbox"] {
            width: auto;
            height: auto;
            padding: 0;
            margin: 4px 0 0 0;
            background: none;
            border: none;
            cursor: pointer;
        }
        .form-status {
            transition: all 0.3s ease;
        }
    
