/* --- Basis Instellingen --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #121212;
}

header, footer {
    flex-shrink: 0;
}

/* Maximale breedte verhoogd naar 1500px voor een mooie, brede desktop-look */
.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 60px 0;
}

/* --- Navigatie (Witte Balk & Goud Logo) --- */
header {
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
}

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: #121212;
    text-decoration: none;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo span {
    color: #dfb15b;
    font-weight: 600;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #555555;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-links a.active, .nav-links a:hover {
    color: #dfb15b;
    border-bottom: 2px solid #dfb15b;
    padding-bottom: 4px;
}

/* --- Hero Sectie --- */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url('images/Gemini.png') no-repeat center center/cover;
    height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: 40px 24px;
    padding-bottom: 60px; /* Extra ademruimte voor de mobiele knop */
}

.hero h1 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: normal;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    font-weight: 300;
    color: #e0e0e0;
}

.btn {
    display: inline-block;
    background-color: #dfb15b;
    color: #121212;
    padding: 14px 28px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: normal;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 rgba(223, 177, 91, 0);
}

.btn:hover {
    background-color: #ebd197;
    box-shadow: 0 0 20px rgba(223, 177, 91, 0.6);
    transform: translateY(-2px);
}

/* --- Over Ons Sectie --- */
.about {
    text-align: center;
    background-color: #1a1a1a;
}

.about h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.about .subtitle, .contact-section .subtitle {
    color: #dfb15b;
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-align: center;
}

.contact-section h2 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.about p {
    max-width: 650px;
    margin: 0 auto 20px auto;
    font-size: 1rem;
    color: #b0b0b0;
    line-height: 1.7;
}

/* --- Footer --- */
footer {
    background-color: #0a0a0a;
    color: #707070;
    text-align: center;
    padding: 30px 20px;
    font-size: 0.8rem;
    letter-spacing: normal;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: auto; /* Sticky footer */
}

/* --- Mobiel Menu Styling (Hamburger) --- */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    margin-bottom: 10px;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: #121212;
    transition: all 0.3s ease;
}

@media (max-width: 767px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding: 15px 0;
        gap: 25px;
        background-color: #ffffff;
    }

    .nav-links a.active, .nav-links a:hover {
        border-bottom: none;
        color: #dfb15b;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle.is-open .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle.is-open .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.is-open .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* --- Diensten Pagina CSS --- */
.services-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding-top: 12vh !important;
    padding-bottom: 8vh !important;
}

.services-section .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    width: 100%;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.service-card {
    background-color: #1a1a1a;
    padding: 40px 30px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: left;
    border-top: 3px solid #dfb15b;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.service-card p {
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.65;
}

/* --- Contact Pagina CSS --- */
.contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 30px;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    text-align: center;
    background-color: #1a1a1a;
    padding: 30px 20px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.contact-info h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

.info-text {
    color: #a0a0a0;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.info-blocks {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-block strong {
    color: #dfb15b;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 4px;
}

.info-block p, .info-block p a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    transition: color 0.3s;
}

.info-block p a:hover {
    color: #dfb15b;
}

.contact-form-container {
    background-color: #1a1a1a;
    padding: 35px 25px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: left;
    border-top: 3px solid #dfb15b;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 0.95rem;
    border: 1px solid #333333;
    border-radius: 4px;
    font-family: inherit;
    background-color: #242424;
    color: #ffffff;
    transition: border-color 0.3s, background-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #dfb15b;
    background-color: #2a2a2a;
    box-shadow: 0 0 10px rgba(223, 177, 91, 0.2);
}

.btn-submit {
    width: 100%;
    border: none;
    cursor: pointer;
    text-align: center;
}

/* --- Realisaties Slider CSS --- */
.slider-container {
    position: relative;
    max-width: 850px;
    margin: 40px auto 0 auto;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.slider-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
    width: 100%;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
    position: relative;
    background-color: #1a1a1a;
}

.slide img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

.slide-info {
    padding: 25px;
    text-align: left;
    background-color: #1a1a1a;
}

.slide-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 6px;
}

.slide-info p {
    color: #a0a0a0;
    font-size: 0.95rem;
}

.slider-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background-color: #dfb15b;
    color: #121212;
    box-shadow: 0 0 15px rgba(223, 177, 91, 0.5);
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

/* --- Media Query voor grotere schermen (Desktop breekpunt) --- */
@media (min-width: 768px) {
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        max-width: 1500px; /* Synchronisatie met container */
        margin: 0 auto;
        padding: 25px 20px;
    }

    .logo {
        margin-bottom: 0;
        font-size: 1.4rem;
    }

    .hero h1 {
        font-size: 3.2rem;
    }

    .section-padding {
        padding: 90px 0;
    }

    .menu-toggle {
        display: none;
    }

    .nav-links {
        display: flex !important;
        background-color: transparent;
        padding: 0;
    }

    .services-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        max-width: 1500px; /* Nu 1500px breedte voor de 3 vakjes naast elkaar */
        margin: 50px auto 0 auto;
        gap: 35px;
        padding: 0 20px;
    }

    .info-blocks {
        flex-direction: row;
        justify-content: space-around;
        gap: 20px;
        margin-top: 10px;
    }

    .contact-form-container {
        padding: 50px;
    }

    .btn-submit {
        display: block;
        width: auto;
        margin: 0 auto;
        padding: 14px 45px;
    }

    .slide img {
        height: 520px;
    }
}

/* --- Success Popup Styling --- */
.popup-notification {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1a1a1a;
    border: 2px solid #dfb15b;
    border-radius: 6px;
    padding: 16px 24px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(223, 177, 91, 0.2);
    transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
    width: 90%;
    max-width: 450px;
    flex-shrink: 0; /* Voorkomt dat Flexbox de pop-up dwingt om onder de footer te stapelen */
}

/* Zorgt dat ze absoluut onzichtbaar zijn en buiten de document-flow vallen als .show ontbreekt */
:not(.show).popup-notification {
    bottom: -200px !important;
    opacity: 0 !important;
}

.popup-notification.show {
    bottom: 30px;
    opacity: 1;
}

.popup-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.popup-icon {
    background-color: #dfb15b;
    color: #121212;
    font-weight: bold;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.popup-content p {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.popup-notification.error-style {
    border: 2px solid #ff4a4a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 74, 74, 0.15);
}

.popup-icon.success-icon {
    background-color: #dfb15b;
    color: #121212;
}

.popup-icon.error-icon {
    background-color: #ff4a4a;
    color: #ffffff;
    font-size: 1.1rem;
    padding-bottom: 2px;
}