/* ===== Zmienne CSS ====== */
:root {
    --primary-color: #2F4F4F; /* Ciemny zielony - leśny */
    --secondary-color: #D2B48C; /* Piaskowy brąz */
    --accent-color: #8FBC8F; /* Delikatna zieleń */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #Fafafa;
    --bg-white: #ffffff;
    --font-main: 'Outfit', sans-serif;
    --transition-speed: 0.3s;
}

/* ===== Reset i Baza ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-weight: 600;
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.container-sm {
    max-width: 800px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.text-center { text-align: center; }
.mt-4 { margin-top: 40px; }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--primary-color); }
.text-white { color: var(--text-light); }

/* ===== Przyciski ===== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.btn-primary:hover {
    background-color: #c0a078;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(210, 180, 140, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

/* ===== Nawigacja ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: transparent;
    transition: background-color var(--transition-speed) ease, padding var(--transition-speed);
    z-index: 1000;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px 5%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
}

.navbar.scrolled .logo,
.navbar.scrolled .nav-links li a {
    color: var(--primary-color);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links li a {
    color: var(--text-light);
    font-size: 1.1rem;
    position: relative;
    font-weight: 400;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    bottom: -5px;
    left: 0;
    transition: width var(--transition-speed) ease;
}

.nav-links li a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin: 5px;
    transition: all 0.3s ease;
}
.navbar.scrolled .hamburger div {
    background-color: var(--primary-color);
}

/* ===== Hero Section ===== */
.hero {
    height: 100vh;
    background: url('images/img1.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(45, 79, 79, 0.7), rgba(0,0,0,0.5));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--text-light);
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.4);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.scroll-down-icon {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-light);
    width: 40px;
    height: 40px;
    animation: bounce 2s infinite;
    cursor: pointer;
    opacity: 0.8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-20px) translateX(-50%); }
    60% { transform: translateY(-10px) translateX(-50%); }
}

/* ===== O nas ====== */
.grids {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #555;
}

.rounded-img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
}

.shadow {
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* ===== Galeria ====== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    background: rgba(47, 79, 79, 0.85);
    color: white;
    padding: 15px;
    text-align: center;
    transition: bottom 0.3s ease;
    backdrop-filter: blur(5px);
}

.gallery-item:hover .gallery-overlay {
    bottom: 0;
}

/* ===== Udogodnienia ===== */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.amenity-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(0,0,0,0.03);
}

.amenity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.hamburger.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* ===== Lang Switcher ====== */
.lang-switcher {
    display: flex;
    gap: 10px;
    margin-right: -40px;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.4);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-family: inherit;
}

.lang-btn.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--text-dark);
}

.navbar.scrolled .lang-btn {
    color: var(--primary-color);
    border-color: rgba(0,0,0,0.2);
}

.navbar.scrolled .lang-btn.active {
    color: var(--text-dark);
    border-color: var(--secondary-color);
}
.icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: background 0.3s ease, color 0.3s ease;
}

.amenity-card:hover .icon-wrapper {
    background: var(--primary-color);
    color: var(--text-light);
}

.icon-wrapper svg, .am-icon {
    width: 38px;
    height: 38px;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.amenity-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* ===== Mapa ====== */
.map-container {
    border-radius: 20px;
    overflow: hidden;
    margin-top: 40px;
    border: 4px solid var(--bg-white);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* ===== Lightbox ====== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 20, 20, 0.95);
    backdrop-filter: blur(8px);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 75vh;
    border-radius: 10px;
    animation: zoom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

#lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: var(--secondary-color);
    padding: 20px 0;
    font-size: 1.4rem;
    font-weight: 300;
    animation: zoom 0.4s;
}

@keyframes zoom {
    from {transform:scale(0.95); opacity:0}
    to {transform:scale(1); opacity:1}
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: var(--text-light);
    font-size: 50px;
    font-weight: 300;
    transition: 0.3s ease;
    cursor: pointer;
}

.lightbox-close:hover {
    color: var(--secondary-color);
    transform: rotate(90deg);
}


/* ===== Kontakt ====== */
.contact {
    position: relative;
    background: var(--primary-color);
    color: var(--text-light);
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 150px; /* Space for wave */
}

.contact-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('images/img1.jpg') center/cover fixed;
    opacity: 0.1;
    z-index: 0;
}

.relative-z {
    position: relative;
    z-index: 1;
}

.contact-desc {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: rgba(255,255,255,0.8);
}

.contact-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin: 50px 0;
}

.contact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    width: 300px;
    transition: transform 0.4s ease, background 0.4s ease, border-color 0.4s;
}

.contact-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--secondary-color);
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: background 0.4s;
}

.contact-card:hover .icon-circle {
    background: var(--secondary-color);
}

.contact-card:hover .c-icon {
    stroke: var(--primary-color);
}

.c-icon {
    width: 30px;
    height: 30px;
    stroke: var(--secondary-color);
    stroke-width: 1.5;
    transition: stroke 0.4s;
}

.contact-card h4 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-link, .contact-card p {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-light);
}

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

/* ===== Premium Footer ====== */
.premium-footer {
    background: #111e1e;
    color: rgba(255,255,255,0.7);
    padding: 100px 0 30px;
    position: relative;
    font-size: 1rem;
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: translateY(-99%);
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

.footer-wave .shape-fill {
    fill: #111e1e;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 50px;
    margin-bottom: 30px;
}

.logo-footer {
    color: var(--text-light);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.brand-desc {
    max-width: 400px;
    line-height: 1.8;
}

.premium-footer h3 {
    color: var(--text-light);
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
}

.premium-footer h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-contact ul, .footer-nav ul {
    list-style: none;
    padding: 0;
}

.footer-contact li, .footer-nav li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.ft-icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--secondary-color);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-nav a {
    transition: color 0.3s, padding-left 0.3s;
}

.footer-nav a:hover {
    color: var(--secondary-color);
    padding-left: 8px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-scroll {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.4s ease;
}

.top-scroll svg {
    width: 24px;
    height: 24px;
    transition: transform 0.4s ease;
}

.top-scroll:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--text-dark);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.top-scroll:hover svg {
    transform: translateY(-3px);
}

/* ===== Responsywność ====== */
@media screen and (max-width: 768px) {
    .lang-switcher { /* Move lang to center on mobile inside nav OR keep it top right */
        margin-right: 15px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .premium-footer h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact li {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        gap: 20px;
    }
    .nav-links {
        position: absolute;
        right: 0px;
        height: 100vh;
        top: 0;
        background-color: var(--primary-color);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .nav-links li a {
        color: var(--text-light) !important;
        font-size: 1.5rem;
    }

    .nav-active {
        transform: translateX(0%);
    }

    .hamburger {
        display: block;
        z-index: 1001;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .grids, .amenities-grid {
        grid-template-columns: 1fr;
    }

    .contact-methods {
        flex-direction: column;
        gap: 30px;
    }
}


/* ===== Animacje ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left.visible, .slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
