/* ==========================================================================
   Lokalizacja Styles - Location Landing Page Template
   ========================================================================== */

/* --- NAVIGATION --- */
nav {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1300px;
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5000;
    transition: var(--transition);
    border: 1px solid rgba(26, 34, 56, 0.05);
}

nav.scrolled {
    top: 15px;
    padding: 10px 30px;
    border-radius: 100px;
    width: 95%;
}

.logo {
    font-family: 'Newsreader', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--deep-sea);
    text-decoration: none;
    z-index: 5001;
}

.logo span {
    color: var(--accent-sand);
    font-style: italic;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--deep-sea);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.nav-cta {
    background: var(--deep-sea);
    color: white !important;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    transition: 0.3s;
}

/* --- MOBILE HAMBURGER --- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 5001;
    padding: 10px;
    position: relative;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--deep-sea);
    transition: 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: white;
    z-index: 4500;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transform: translateX(100%);
    transition: var(--transition);
}

.mobile-nav-overlay.active {
    transform: translateX(0);
}

.mobile-nav-overlay a {
    font-size: 1.8rem;
    text-decoration: none;
    color: var(--deep-sea);
    font-weight: 800;
    font-family: 'Newsreader', serif;
}

/* --- MOBILE STICKY BOTTOM --- */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    display: none;
    grid-template-columns: repeat(3, 1fr);
    z-index: 3000;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
}

.sticky-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 5px;
    text-decoration: none;
    color: var(--deep-sea);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    gap: 4px;
}

.sticky-item i {
    font-size: 1.2rem;
    color: var(--accent-sand);
}

.sticky-item.reserver {
    background: var(--deep-sea);
    color: white;
}

/* --- BUTTONS --- */
.btn-check {
    display: inline-block;
    background: var(--accent-sand);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    margin-top: 20px;
}

.btn-check:hover {
    background: var(--deep-sea);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

@media (min-width: 992px) {
    .btn-check {
        padding: 20px 50px;
        font-size: 1rem;
        letter-spacing: 2px;
    }
}

/* --- HERO --- */
.hero {
    height: 95vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
    background: var(--deep-sea);
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 2s ease-in;
}

.video-background.loaded iframe {
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(26, 34, 56, 0.2), rgba(26, 34, 56, 0.6));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1100px;
    padding: 0 20px;
}

.hero-content h1 {
    font-family: 'Newsreader', serif;
    font-size: clamp(2.2rem, 5.8vw, 4.5rem);
    margin-bottom: 20px;
    line-height: 1.15;
    display: block;
    width: 100%;
}

.hero-content h1 span {
    white-space: nowrap;
}

/* --- HIGHLIGHTS --- */
.highlights {
    padding: 60px 10%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    background: white;
    text-align: center;
}

.highlight-item i {
    font-size: 2rem;
    color: var(--accent-sand);
    margin-bottom: 15px;
    display: block;
}

.highlight-item span {
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- QUICK PREVIEW STYLES --- */
.quick-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 0 10% 80px;
    background: #fff;
}

.preview-card {
    position: relative;
    height: 450px;
    border-radius: 40px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.preview-card:hover {
    transform: translateY(-10px);
}

.preview-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}

.preview-card:hover img {
    transform: scale(1.1);
}

.preview-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 34, 56, 0.8), transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    color: white;
}

.preview-overlay span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 800;
    color: var(--accent-sand);
    margin-bottom: 10px;
}

.preview-overlay h3 {
    font-family: 'Newsreader', serif;
    font-size: 2.2rem;
    line-height: 1.1;
}

/* --- SILENCE SCALE --- */
.noise-box {
    padding: 80px 10%;
    background: #F9FAF2;
    border-radius: 60px;
    margin: 0 20px;
}

.silence-scale {
    max-width: 600px;
    margin: 0 auto;
}

.scale-bar {
    height: 12px;
    background: #E2E8F0;
    border-radius: 100px;
    margin: 15px 0 40px;
    position: relative;
    overflow: hidden;
}

.scale-fill {
    height: 100%;
    border-radius: 100px;
    transition: 2s cubic-bezier(0.23, 1, 0.32, 1);
    width: 0;
}

/* --- CONTRAST SECTION --- */
.contrast-section {
    padding: 100px 10%;
    background: #fdfdfd;
    text-align: center;
}

.contrast-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

.contrast-card {
    padding: 40px;
    border-radius: 30px;
    background: white;
    border: 1px solid #eee;
    text-align: left;
}

.contrast-card.featured {
    border-color: var(--accent-sand);
    background: var(--mist-blue);
}

.contrast-card h4 {
    font-family: 'Newsreader', serif;
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
}

.contrast-list {
    list-style: none;
}

.contrast-list li {
    margin-bottom: 12px;
    opacity: 0.8;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* --- LIFESTYLE --- */
.lifestyle-section {
    padding: 100px 10%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.lifestyle-img {
    border-radius: 40px;
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* --- ARCHITECTURE --- */
.arch-section {
    padding: 100px 5%;
    background: var(--mist-blue);
}

.arch-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.arch-plans {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.plan-box {
    background: white;
    padding: 15px;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.plan-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.plan-box img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
    display: block;
}

.plan-box p {
    text-align: center;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-top: 20px;
    letter-spacing: 1.5px;
    color: var(--deep-sea);
}

/* --- GALERIA - LUPA I MECHANIKA --- */
.gal-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
}

.magnify-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 34, 56, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
}

.gal-item:hover .magnify-overlay,
.plan-box:hover .magnify-overlay {
    opacity: 1;
}

.magnify-overlay i {
    color: white;
    font-size: 2.5rem;
    transform: scale(0.8);
    transition: 0.3s;
}

.gal-item:hover .magnify-overlay i,
.plan-box:hover .magnify-overlay i {
    transform: scale(1);
}

.see-more-tag {
    position: absolute;
    inset: 0;
    background: rgba(26, 34, 56, 0.6);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 5;
}

.see-more-tag i {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: var(--accent-sand);
}

.see-more-tag span {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.7rem;
}

/* --- QUALIFY --- */
.qualify-section {
    padding: 100px 10%;
    background: var(--white);
}

.qualify-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.qualify-card {
    background: var(--mist-blue);
    padding: 60px 40px;
    border-radius: 40px;
    text-align: center;
    transition: var(--transition);
}

.qualify-card:hover {
    transform: translateY(-10px);
    background: white;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

.qualify-card i {
    font-size: 3rem;
    color: var(--accent-sand);
    margin-bottom: 25px;
}

.qualify-list {
    list-style: none;
    text-align: left;
    display: inline-block;
}

.qualify-list li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.qualify-list li::before {
    content: '✓';
    color: var(--accent-sand);
    font-weight: 800;
}

/* --- REVIEWS --- */
.reviews-section {
    padding: 100px 10%;
    background: var(--deep-sea);
    color: white;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.review-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.review-card p {
    font-style: italic;
    opacity: 0.9;
    margin-bottom: 20px;
    font-size: 1rem;
}

.review-author {
    font-weight: 800;
    color: var(--accent-sand);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- GALLERY GRID --- */
.gallery-advanced {
    padding: 100px 5%;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 15px;
}

.gal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    display: block;
}

.gi-1 {
    grid-column: span 8;
    height: 500px;
}

.gi-2 {
    grid-column: span 4;
    height: 500px;
}

.gi-3 {
    grid-column: span 4;
    height: 350px;
}

.gi-4 {
    grid-column: span 4;
    height: 350px;
}

.gi-5 {
    grid-column: span 4;
    height: 350px;
}

/* --- FAQ --- */
.faq-section {
    padding: 100px 10%;
    background: var(--mist-blue);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 20px;
    overflow: hidden;
}

.faq-q {
    padding: 25px 35px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 800;
}

.faq-a {
    padding: 0 35px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    opacity: 0;
    line-height: 1.6;
}

.faq-item.active .faq-a {
    padding-bottom: 25px;
    max-height: 500px;
    opacity: 1;
}

/* --- CLOSER GATE --- */
.closer-gate {
    padding: 100px 10%;
    background: var(--white);
}

/* --- FOOTER --- */
footer {
    background: var(--deep-sea);
    color: white;
    padding: 80px 10% 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    font-family: 'Newsreader', serif;
    font-size: clamp(1.3rem, 5vw, 1.8rem);
    margin-bottom: 20px;
    display: block;
    color: white;
    text-decoration: none;
    white-space: nowrap;
}

.footer-logo span {
    color: var(--accent-sand);
    font-style: italic;
}

.footer-col {
    min-width: 0;
}

.footer-col h5 {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 25px;
    color: var(--accent-sand);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.7;
    transition: 0.3s;
    font-size: 0.9rem;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-sand);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    opacity: 0.6;
}

.btn-xl {
    background: var(--deep-sea);
    color: white;
    padding: 25px 60px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    display: inline-block;
    transition: var(--transition);
    margin-top: 30px;
}

.btn-xl:hover {
    background: var(--accent-sand);
    transform: scale(1.05);
}

/* --- LIGHTBOX --- */
#lightbox {
    position: fixed;
    inset: 0;
    background: rgba(26, 34, 56, 0.98);
    z-index: 9000;
    display: none;
    align-items: center;
    justify-content: center;
}

#lb-img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lb-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 9001;
}

.lb-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 3rem;
    cursor: pointer;
    padding: 20px;
    transition: 0.3s;
    z-index: 9001;
}

.lb-arrow:hover {
    color: var(--accent-sand);
}

.lb-prev {
    left: 20px;
}

.lb-next {
    right: 20px;
}

/* --- MOBILE MEDIA QUERIES --- */
@media (max-width: 991px) {
    body {
        padding-bottom: 70px;
    }

    nav {
        padding: 10px 20px;
        top: 15px;
        width: 95%;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-sticky-bar {
        display: grid;
    }

    /* HERO MOBILE */
    .hero-content {
        width: 100%;
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .hero-content h1 span {
        white-space: normal;
    }

    .hero-content h1 br {
        display: none;
    }

    .hero-content p {
        font-size: 1rem;
    }

    /* HIGHLIGHTS MOBILE */
    .highlights {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 40px 20px;
    }

    .highlight-item i {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .highlight-item span {
        font-size: 0.7rem;
    }

    /* QUICK PREVIEW MOBILE */
    .quick-preview {
        grid-template-columns: 1fr;
        padding: 0 20px 60px;
    }

    .preview-card {
        height: 350px;
        border-radius: 30px;
    }

    .preview-overlay h3 {
        font-size: 1.8rem;
    }

    /* LIFESTYLE MOBILE */
    .lifestyle-section {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .lifestyle-img {
        height: auto;
        width: 100%;
        max-height: 400px;
        margin-top: 20px;
        border-radius: 20px;
    }

    /* WIDTH & PADDING OPTIMIZATION */
    .noise-box,
    .contrast-section,
    .arch-section,
    .qualify-section,
    .reviews-section,
    .gallery-advanced,
    .faq-section,
    .closer-gate {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .noise-box {
        margin: 0 10px;
        border-radius: 30px;
        padding-top: 50px;
        padding-bottom: 50px;
    }

    /* HEADERS OPTIMIZATION */
    h2 {
        font-size: 1.8rem !important;
        line-height: 1.2;
        text-align: center;
    }

    /* BOXES OPTIMIZATION */
    .contrast-grid,
    .arch-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .qualify-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .qualify-card {
        padding: 30px 20px;
    }

    .qualify-card i {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .qualify-card h3 {
        font-size: 1.1rem;
    }

    .qualify-list li {
        font-size: 0.85rem;
    }

    .contrast-card,
    .review-card {
        padding: 30px 20px;
    }

    .arch-plans {
        grid-template-columns: 1fr;
    }

    .plan-box img {
        height: 350px;
    }

    footer {
        padding: 60px 20px 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .gallery-advanced {
        display: flex;
        flex-direction: column;
    }

    .gi-1,
    .gi-2,
    .gi-3,
    .gi-4,
    .gi-5 {
        height: 300px;
        width: 100%;
        grid-column: auto;
    }

    .lb-arrow {
        font-size: 2rem;
        padding: 10px;
    }
}
/* --- VIDEO INTEGRATION --- */
.lifestyle-video-responsive {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.lifestyle-video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gi-full-video {
    grid-column: span 12;
    height: 700px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.gi-full-video iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .gi-full-video {
        height: 400px;
    }
}
