/* ===============================
   BASIS
   =============================== */

body {
    margin: 0;
    font-family: 'Advent Pro', sans-serif;
    background: #f5f5f5;
    color: #222;
    transition: background .3s ease, color .3s ease;
}

/* ===============================
   TOP BANNER
   =============================== */
/* .top-banner,
#banner-frame {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
} */

/* Afbeelding in beide omgevingen identiek */
/* .top-banner img,
#banner-frame img {
    position: absolute;
    top: 240px;
    left: 0;
    transform-origin: center center;
    user-select: none;
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
} */

/* ===============================
   HERO VIDEO
   =============================== */

.hero-video {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 75%;
    object-fit: cover;
}

/* ===============================
   HERO OVERLAY
   =============================== */

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    padding: 2rem 3rem;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(4px);
    border-radius: 12px;
}

.hero-overlay h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-overlay p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

/* ===============================
   CTA BUTTON
   =============================== */

.cta-btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    background: #fff;
    color: #000;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1.2rem;
    transition: background .2s;
}

.cta-btn:hover {
    background: #ddd;
}

/* ===============================
   SECTIES
   =============================== */

.section {
    padding: 5rem 2rem;
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.section h2 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
}

/* ===============================
   DIENSTEN GRID
   =============================== */

.diensten-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.dienst {
    padding: 2rem;
    background: rgba(255,255,255,0.8);
    border-radius: 12px;
    backdrop-filter: blur(4px);
}

.falling-images {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999; /* >>> bovenop alles, ook boven video */
}

.fall-item {
    position: absolute;
    width: 240px;
    opacity: 1;
    transition: none; /* scroll-engine doet alles */
}

/* De container draait langzaam na landing */
.falling-images.rotate-star {
    animation: rotateStar 18s linear infinite;
    transform-origin: center center;
}

@keyframes rotateStar {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Slow elastic bounce + motion curve */
@keyframes fallIn {
    0% {
        transform:
            translateX(var(--start-x))
            translateY(var(--start-y))
            rotate(var(--start-rot))
            rotateY(0deg);
    }
    60% {
        transform:
            translateX(calc(var(--end-x) + 40px))
            translateY(calc(var(--end-y) - 40px))
            rotate(calc(var(--end-rot) * 0.3))
            rotateY(8deg);
    }
    80% {
        transform:
            translateX(calc(var(--end-x) - 20px))
            translateY(calc(var(--end-y) + 20px))
            rotate(calc(var(--end-rot) * 0.8))
            rotateY(0deg);
    }
    100% {
        transform:
            translateX(var(--end-x))
            translateY(var(--end-y))
            rotate(var(--end-rot))
            rotateY(0deg);
    }
}

.text-item {
    font-family: 'Advent Pro', sans-serif;
    font-size: 144px;
    font-weight: 300;
    color: #000000;
    letter-spacing: 2px;
    text-transform: uppercase;
    width: auto !important; /* tekst mag eigen breedte hebben */
    white-space: nowrap;
    pointer-events: none;
}


/* ===============================
   FOOTER
   =============================== */

footer {
    text-align: center;
    padding: 2rem;
    opacity: 0.7;
}

.site-footer {
    width: 100%;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    letter-spacing: 0.5px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.4); /* subtiele overlay */
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 9999; /* boven video en animaties */
    backdrop-filter: blur(4px); /* luxe glas-effect */
}

.footer-inner {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
}

/* ===============================
   MOBIEL
   =============================== */

@media (max-width: 900px) {

    .hero-overlay h1 {
        font-size: 2.2rem;
    }

    .hero-overlay p {
        font-size: 1.1rem;
    }

    .cta-btn {
        font-size: 1.1rem;
    }
}

/* Container */
.contact-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

/* Fade-in animatie */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Formulier */
.contact-form .form-group {
    margin-bottom: 18px;
}

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    background: #fafafa;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: #c7a7ff;
    outline: none;
    background: #fff;
}

.large-textarea {
    height: 160px;
    resize: vertical;
}

/* Meer opties */
.more-options-toggle {
    display: block;
    margin: 20px 0 10px;
    font-weight: 600;
}

.more-options {
    display: none;
    margin-bottom: 20px;
}

/* Button */
.contact-btn {
    background: #a46e3b;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.25s;
    width: 100%;
}

.contact-btn:hover {
    background: #c59b73;
}

.thankyou-container {
    max-width: 600px;
    margin: 80px auto;
    text-align: center;
    padding: 40px;
}
