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

/* ===== Base ===== */
body {
    background-color: #f5f1eb;
    color: #2b2b2b;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ===== Top Navigation Bar ===== */
.topbar {
    position: absolute;
    top: 40px;
    width: 100%;
    z-index: 10;
    display: flex;
    justify-content: center;
    padding: 15px 0;
}

/* ===== NAVIGATIE — zelfde font als logo + iets meer naar links ===== */
.nav {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 1.15rem;
    font-weight: 600;
    font-family: Georgia, "Times New Roman", serif;
    margin-left: -60px;
}

/* ===== Links ===== */
.nav-link {
    text-decoration: none;
    color: #4a4a4a;
    position: relative;
    padding-bottom: 4px;
}

/* Hover underline */
.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 3px;
    background-color: #c05621;
    transition: width 0.25s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Active underline */
.nav-link.active::after {
    width: 100%;
}

/* ===== Video Banner ===== */
.video-banner {
    width: 100%;
    height: 75vh;
    overflow: hidden;
    background-color: #000;
    position: relative;
}

/* ===== Rafelrand onder video ===== */
.video-banner::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 40px;
    background: url('torn-edge-grey.svg') repeat-x;
    background-size: contain;
    pointer-events: none;
}

.video-banner video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% bottom;
    display: block;
}

/* ===== Floating Text Logo (centrum + float op container) ===== */
.video-logo {
    position: absolute;
    top: 48%; /* iets hoger voor optisch midden */
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    text-align: center;
    animation: floatLogo 4s ease-in-out infinite;
}

.video-logo-text {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 5rem;
    color: white;

    /* subtiele glow */
    text-shadow:
        0 0 4px rgba(255,255,255,0.7),
        0 0 10px rgba(255,255,255,0.4);
}

/* Float animatie op de container, centrering blijft intact */
@keyframes floatLogo {
    0%   { transform: translate(-50%, -50%) translateY(0); }
    50%  { transform: translate(-50%, -50%) translateY(-12px); }
    100% { transform: translate(-50%, -50%) translateY(0); }
}

/* ===== Grijze banner ===== */
.gray-banner {
    background-color: #e8e3de;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* ===== Rafelrand onder grijze balk ===== */
.gray-banner::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 40px;
    background: url('torn-edge-warm.svg') repeat-x;
    background-size: contain;
    pointer-events: none;
}

/* ===== Info + Foto ===== */
.gray-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 90px;
    width: 80%;
}

.portrait {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 360px;
    height: 360px;
    overflow: visible;
}

.portrait img {
    width: 320px;
    height: auto;
    border-radius: 12px;
    transition: transform 0.2s ease-out;
    will-change: transform;
}

.info {
    max-width: 400px;
    text-align: left;
}

.info h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    margin-bottom: 15px;
}

.info ul {
    list-style: disc inside;
    font-size: 1.1rem;
    color: #4a4a4a;
}

.info ul li {
    margin-bottom: 10px;
}

/* ===== Warm White Banner ===== */
.warm-white-banner {
    background-color: #faf5ee;
    height: 65vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 30px;
    gap: 30px;
    position: relative;
}

/* ===== Rafelrand onder warm-white balk ===== */
.warm-white-banner::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 40px;
    background: url('torn-edge-body.svg') repeat-x;
    background-size: contain;
    pointer-events: none;
}

/* ===== Counters ===== */
.counters {
    display: flex;
    gap: 50px;
    margin-bottom: 20px;
}

.counter h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.5rem;
    color: #c05621;
    text-align: center;
}

.counter p {
    font-size: 1rem;
    text-align: center;
    color: #4a4a4a;
}

/* ===== Social icons ===== */
.social-icons {
    display: flex;
    gap: 30px;
    align-items: flex-end;
}

.social-icons a img {
    transition: transform 0.2s ease;
}

.social-icons a:first-child img {
    width: 40px;
    height: 40px;
}

.social-icons a:last-child img {
    width: 50px;
    height: 50px;
    margin-bottom: -10px;
}

.social-icons img:hover {
    transform: scale(1.1);
}

/* ===== Page Section ===== */
.page-section {
    width: 80%;
    margin: 200px auto 60px auto;
}
/* --- MOBIELE OPTIMALISATIE HOME --- */

/* --- DE ULTIEME MOBIELE FIX --- */

@media screen and (max-width: 900px) {

    /* Body moet GEEN flex zijn */
    body {
        display: block !important;
        overflow-x: hidden !important;
    }

    /* Navigatie */
    .topbar {
        position: relative !important;
        top: 0 !important;
        padding: 15px 0 !important;
    }

    .nav {
        margin-left: 0 !important;
        gap: 18px !important;
        justify-content: center !important;
        font-size: 1rem !important;
    }

    /* Video banner */
    .video-banner {
        height: 45vh !important;
    }

    .video-logo-text {
        font-size: 2.2rem !important;
    }

    /* Grijze banner */
    .gray-banner {
        height: auto !important;
        padding: 40px 0 !important;
    }

    .gray-flex {
        flex-direction: column !important;
        width: 100% !important;
        gap: 25px !important;
    }

    .portrait {
        width: 100% !important;
        height: auto !important;
        display: flex !important;
        justify-content: center !important;
    }

    .portrait img {
        width: 75% !important;
        max-width: 260px !important;
        transform: none !important;
    }

    .info {
        max-width: 90% !important;
        text-align: center !important;
        margin: 0 auto !important;
    }

    .info ul {
        text-align: left !important;
        display: inline-block !important;
    }

    /* Warm white banner */
    .warm-white-banner {
        height: auto !important;
        padding: 50px 0 !important;
    }

    .counters {
        flex-direction: column !important;
        gap: 25px !important;
    }

    .social-icons {
        justify-content: center !important;
        margin-top: 20px !important;
    }
}