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

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Navigatie & Burger Menu --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 8%;
    background-color: #ffffff;
    position: relative;
    z-index: 1000;
    height: 80px;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: #1a3a4a;
    border-bottom: 2px solid #1a3a4a;
    padding-bottom: 5px;
}

/* Burger Menu Icon */
.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #333;
    transition: all 0.3s ease-in-out;
}

/* --- Realisaties Hero Sectie --- */
.realisaties-hero {
    position: relative;
    width: 100%;
    height: 65vh;
    background-color: #294171;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-image-container {
    position: absolute;
    right: 0;
    top: 0;
    width: 75%;
    height: 100%;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-fade-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
    rgba(41, 65, 113, 1) 0%,
    rgba(41, 65, 113, 1) 25%,
    rgba(41, 65, 113, 0) 75%
    );
    z-index: 2;
    display: flex;
    align-items: center;
}

.hero-title {
    color: #ffffff;
    font-size: clamp(3rem, 10vw, 6.5rem);
    font-weight: 700;
    z-index: 3;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.2);
}

/* --- Intro Sectie --- */
.realisaties-intro {
    background-color: #294171;
    color: #ffffff;
    padding: 80px 0;
    position: relative;
    z-index: 4;
}

.realisaties-intro h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.realisaties-intro p {
    line-height: 1.8;
    font-size: 1.1rem;
    max-width: 900px;
    opacity: 0.95;
}

/* --- Compacte Footer Sectie --- */
.main-footer {
    background-color: #ffffff;
    padding: 40px 0 0 0; /* Padding verlaagd van 80 naar 40 */
    border-top: 1px solid #eee;
    color: #555;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px; /* Gap verkleind */
    padding-bottom: 30px; /* Ruimte onderaan verkleind */
}

.footer-column {
    flex: 1;
}

.footer-logo {
    height: 40px; /* Logo iets kleiner in footer */
    width: auto;
    margin-bottom: 10px;
}

.tagline {
    font-style: italic;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.footer-column h3 {
    color: #1a3a4a;
    font-size: 1rem; /* Iets kleinere titels */
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.link-grid {
    display: flex;
    gap: 30px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 8px; /* Minder ruimte tussen links */
}

.footer-column ul li a {
    text-decoration: none;
    color: #666;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-column ul li a:hover {
    color: #1a3a4a;
    padding-left: 3px;
}

.contact-info ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.contact-info i {
    color: #1a3a4a;
    width: 15px;
    margin-top: 4px;
}

.footer-bottom {
    background-color: #111;
    color: #888;
    text-align: center;
    padding: 15px 0; /* Minder hoog */
    font-size: 0.8rem;
}

/* --- Mobiele Responsiviteit --- */
@media (max-width: 992px) {
    .footer-grid {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .contact-info li { justify-content: center; }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 80px;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        height: calc(100vh - 80px);
        text-align: center;
        transition: 0.4s;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 25px 0;
    }

    /* Burger Animatie */
    #mobile-menu.is-active .bar:nth-child(2) { opacity: 0; }
    #mobile-menu.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    #mobile-menu.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* Hero Mobiel */
    .hero-image-container { width: 100%; }
    .hero-fade-overlay {
        background: linear-gradient(to bottom, rgba(41, 65, 113, 0.4) 0%, rgba(41, 65, 113, 0.9) 100%);
        justify-content: center;
    }
    .hero-title { text-align: center; }
}