/* ---------- CSS VARIABLES ---------- */
:root {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F5F5F5;
    --text-primary: #0A192F;
    --text-secondary: #4a5a78;
    --card-bg: #FFFFFF;
    --border-light: rgba(0,0,0,0.05);
    --shadow-sm: 0 10px 30px rgba(0,0,0,0.03);
    --shadow-hover: 0 30px 50px rgba(0,0,0,0.1);
    --nav-bg: transparent;
    --nav-scrolled: rgba(10, 25, 47, 0.85);
    --footer-bg: #0A192F;
    --gold: #D4AF37;
    --gold-glow: rgba(212, 175, 55, 0.4);
    --transition-smooth: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
    --navy: #0A192F;
}

body.dark {
    --bg-primary: #0A192F;
    --bg-secondary: #11223b;
    --text-primary: #F0F4FA;
    --text-secondary: #b0c4de;
    --card-bg: #13273e;
    --border-light: rgba(255,255,255,0.08);
    --shadow-sm: 0 10px 30px rgba(0,0,0,0.2);
    --shadow-hover: 0 30px 50px rgba(0,0,0,0.3);
    --nav-scrolled: rgba(10, 25, 47, 0.95);
    --footer-bg: #05121f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.2s ease, border-color 0.2s ease;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

section {
    padding: 100px 0;
}

@media (max-width: 768px) {
    section { padding: 64px 0; }
    .container { padding: 0 24px; }
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

@media (max-width: 768px) { h2 { font-size: 2.2rem; } }

.section-subhead {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- HEADER ---------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 12px 32px;
    transition: all 0.4s var(--ease-premium);
    background: var(--nav-bg);
}
header.scrolled {
    background: var(--nav-scrolled);
    backdrop-filter: blur(12px);
    padding: 8px 32px;
}
.header-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.dark-toggle {
    cursor: pointer;
    background: rgba(255,255,255,0.12);
    border-radius: 40px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    transition: 0.3s;
    color: var(--gold);
    font-size: 1.2rem;
    border: 1px solid rgba(255,255,255,0.2);
}
.dark-toggle:hover {
    background: var(--gold);
    color: #0A192F;
    transform: scale(1.05);
}

/* ---------- HERO SECTION ---------- */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 800px; /* Increased to ensure enough height for luxury content stack */
    overflow: hidden;
    background-color: #0a1120;
    display: flex;
    flex-direction: column;
    justify-content: center; /* True vertical center */
    align-items: center;
}
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.hero-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10,25,47,0.4), rgba(10,25,47,0.4)), url('assets/Specialistische reiniging.webp') center/cover no-repeat;
    z-index: 5;
    transition: opacity 1s ease;
    pointer-events: none;
}

.hero-video-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 ratio */
    min-width: 177.77vh;
    min-height: 100vh;
    transform: translate(-50%, -50%);
    border: none;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10,25,47,0.2), rgba(10,25,47,0.6));
    z-index: 2;
}
.hero-vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 150px rgba(0,0,0,0.5);
    z-index: 3;
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2vh 20px; /* Use viewport height for better vertical distribution */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px; /* Tightened gap to ensure CTA is above fold */
}

.hero-logo {
    max-width: clamp(320px, 48vw, 680px); /* Micro boost: 300->320, 45->48, 650->680 */
    width: 100%;
    height: auto;
    animation: fadeLogo 1.5s var(--ease-premium) forwards;
    filter: drop-shadow(0 0 40px rgba(0,0,0,0.6));
    display: block;
    object-fit: contain;
}

@media (max-width: 1024px) {
    .hero-logo {
        max-width: 75vw; /* Micro boost: 70->75 */
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .hero-content {
        padding: 0 10px;
        gap: 15px;
        width: 100%;
    }
    .hero-logo {
        max-width: 95vw;
        transform: scale(1.6); /* Micro boost: 1.5->1.6 */
        filter: drop-shadow(0 0 25px rgba(0,0,0,0.5));
        margin-top: -5vh;
    }
}

@media (max-width: 480px) {
    .hero-logo {
        max-width: 115vw;
        transform: scale(1.85); /* Micro boost: 1.75->1.85 */
    }
    .hero-btn {
        padding: 16px 40px;
        font-size: 0.95rem;
        margin-top: 5vh;
    }
}

.hero-btn {
    display: inline-block;
    padding: clamp(16px, 2vw, 22px) clamp(35px, 5vw, 60px);
    background: transparent;
    border: 2px solid var(--gold);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    letter-spacing: 1.5px;
    transition: all 0.4s;
    animation: fadeBtn 1.5s var(--ease-premium) 0.5s forwards;
    opacity: 0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

@keyframes fadeLogo {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes fadeBtn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---------- INTRO SECTION ---------- */
.intro { 
    text-align: center; 
    background: var(--bg-primary); 
    padding: 140px 0 100px; /* Added more top padding to create distance from Hero CTA */
}
.intro-text { font-size: 1.8rem; line-height: 1.4; color: var(--text-primary); }

/* ---------- NEW: SERVICE NAMES SECTION (Blue) ---------- */
.service-names-section {
    background-color: #0A192F;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Luxury Branded Badge for ONZE DIENSTEN */
.service-names-title {
    display: inline-block;
    color: #0A192F;
    background: var(--gold);
    padding: 12px 45px; /* Larger, more dominant badge */
    border-radius: 50px;
    font-size: 1.4rem; /* Increased dominant scale */
    letter-spacing: 5px; /* More premium spacing */
    margin-bottom: 80px; /* More breathing room */
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    box-shadow: 0 0 30px var(--gold-glow);
    animation: goldPulse 3s infinite ease-in-out;
    position: relative;
}

@keyframes goldPulse {
    0% { transform: scale(1); box-shadow: 0 0 20px var(--gold-glow); }
    50% { transform: scale(1.05); box-shadow: 0 0 45px var(--gold-glow); }
    100% { transform: scale(1); box-shadow: 0 0 20px var(--gold-glow); }
}

.service-names-list {
    display: flex;
    flex-direction: column;
    gap: 30px; /* Better vertical spacing between items */
    align-items: center;
}

.service-nav-item {
    color: white;
    text-decoration: none;
    font-size: clamp(1.8rem, 4vw, 2.5rem); /* Slightly smaller refinement */
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    transition: all 0.5s var(--ease-premium);
    opacity: 0.6;
    position: relative;
    cursor: pointer;
}

.service-nav-item::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gold);
    transition: all 0.5s var(--ease-premium);
    transform: translateX(-50%);
    box-shadow: 0 0 10px var(--gold-glow);
}

.service-nav-item:hover {
    color: var(--gold);
    opacity: 1;
    transform: scale(1.05) translateY(-3px);
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.service-nav-item:hover::after {
    width: 50%; /* Cleaner shorter underline */
}

@media (max-width: 768px) {
    .service-nav-item { font-size: 2rem; }
    .service-names-section { padding: 100px 0; }
    .service-names-title { font-size: 1.1rem; letter-spacing: 4px; margin-bottom: 60px; padding: 10px 35px; }
    .service-names-list { gap: 20px; }
}

/* ---------- SERVICES GRID ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}
.service-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease-premium);
    opacity: 0;
    transform: translateY(30px);
}
.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}
.service-img {
    height: 240px;
    background-size: cover;
    background-position: center;
}
.service-info { padding: 25px; }
.service-info h3 { font-size: 1.6rem; margin-bottom: 10px; color: var(--text-primary); }
.service-info p { color: var(--text-secondary); font-size: 0.95rem; }

/* Service Highlight */
.service-card.highlight {
    outline: 4px solid var(--gold);
    box-shadow: 0 0 40px var(--gold-glow);
    transform: scale(1.02);
}

/* ---------- ADVANTAGES ---------- */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.advantage-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}
.advantage-card i { font-size: 3rem; color: var(--gold); margin-bottom: 20px; }
.advantage-card h4 { font-size: 1.4rem; margin-bottom: 15px; }

/* ---------- TRUST SECTION ---------- */
.trust-section { background: var(--bg-secondary); text-align: center; }
.trust-grid { display: flex; justify-content: center; gap: 80px; flex-wrap: wrap; }
.trust-number { font-size: 3.5rem; font-weight: 700; color: var(--gold); font-family: 'Playfair Display'; }

.hero-btn:hover {
    background: var(--gold);
    color: #0A192F;
    box-shadow: 0 0 40px var(--gold-glow);
    transform: translateY(-5px);
}

/* ---------- PORTFOLIO SECTION ---------- */
.portfolio-section {
    background: var(--bg-secondary);
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}
.portfolio-card {
    border-radius: 20px;
    overflow: hidden;
    background: var(--card-bg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.6s var(--ease-premium), box-shadow 0.6s var(--ease-premium);
}
.portfolio-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}
.portfolio-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-premium);
}
.portfolio-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
}
.portfolio-card:hover img {
    transform: scale(1.1);
}
.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(10, 25, 47, 0.9));
    color: white;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}
.portfolio-overlay span {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .portfolio-grid { grid-template-columns: 1fr; gap: 20px; }
    .portfolio-img-wrapper { aspect-ratio: 4/3; }
}

/* ---------- CONTACT ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
@media (max-width: 992px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-details p { margin-bottom: 20px; display: flex; align-items: center; gap: 15px; font-size: 1.1rem; }
.contact-details i { width: 40px; height: 40px; background: var(--gold); color: #0A192F; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.whatsapp-highlight { background: #25D36620; padding: 10px 20px; border-radius: 30px; font-weight: 700; border: 1px solid #25D36640; }
.map iframe { width: 100%; height: 350px; border-radius: 20px; border: none; }

/* ---------- MODAL ---------- */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10,25,47,0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}
.modal.active { display: flex; }
.modal-content { max-width: 700px; width: 90%; background: var(--card-bg); border-radius: 30px; overflow: hidden; position: relative; animation: modalIn 0.5s var(--ease-premium); }
@keyframes modalIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
.modal-img { width: 100%; height: 300px; object-fit: cover; }
.modal-body { padding: 30px; }
.close-modal { position: absolute; top: 20px; right: 20px; font-size: 2rem; cursor: pointer; color: white; background: rgba(0,0,0,0.3); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 10; }
.benefits-list { list-style: none; margin: 20px 0; }
.benefits-list li:before { content: "✓"; color: var(--gold); margin-right: 10px; font-weight: 900; }
.modal-wa-btn { display: inline-flex; align-items: center; gap: 10px; background: #25D366; color: white; padding: 12px 25px; border-radius: 30px; text-decoration: none; font-weight: 700; transition: 0.3s; }
.modal-wa-btn:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(37,211,102,0.4); }

/* ---------- FLOATING BUTTONS ---------- */
.floating-buttons { position: fixed; bottom: 30px; right: 30px; z-index: 1000; display: flex; flex-direction: column; gap: 15px; }
.float-btn { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.8rem; text-decoration: none; box-shadow: 0 5px 15px rgba(0,0,0,0.3); transition: 0.3s; }
.btn-wa { background: #25D366; }
.btn-phone { background: #0A192F; border: 1px solid var(--gold); }
.float-btn:hover { transform: scale(1.1); }

/* ---------- FINAL CTA & KVK ---------- */
.final-cta {
    text-align: center;
    background: var(--bg-primary);
    padding: 80px 60px;
    border-radius: 50px;
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--border-light);
    position: relative;
}
.final-cta h3 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 40px;
}
.kvk-wrapper {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 50px;
    background: var(--bg-secondary);
    border-radius: 20px;
    border: 1px solid var(--gold);
    box-shadow: 0 10px 30px var(--gold-glow);
    margin-bottom: 40px;
    position: relative;
}
.kvk-wrapper::before {
    content: "OFFICIEEL GEREGISTREERD";
    position: absolute;
    top: -12px;
    background: var(--gold);
    color: #0A192F;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 10px;
    letter-spacing: 1px;
}
.kvk-line {
    display: none; /* Removed lines for badge style */
}
.kvk-display {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .final-cta { padding: 60px 20px; }
    .kvk-wrapper { padding: 20px 30px; }
    .kvk-display { font-size: 1rem; }
}

footer { background: var(--footer-bg); color: white; text-align: center; padding: 50px 20px; }

/* ---------- ANIMATIONS ---------- */
[data-animate] { opacity: 0; transition: all 0.8s var(--ease-premium); }
[data-animate="fade-up"] { transform: translateY(40px); }
[data-animate="fade-down"] { transform: translateY(-40px); }
[data-animate="slide-left"] { transform: translateX(-40px); }
[data-animate="slide-right"] { transform: translateX(40px); }
.visible { opacity: 1 !important; transform: translate(0, 0) !important; }