/* ========================================
   REFERTEC KOELTECHNIEK - STIJLBLAD
   Kleurenschema: Donker + Blauw
   ======================================== */

:root {
    --blauw: #1a8fd1;
    --blauw-licht: #2ea8f0;
    --donker: #0d0d0d;
    --donker-kaart: #161616;
    --donker-sectie: #111111;
    --grijs: #1e1e1e;
    --tekst-wit: #ffffff;
    --tekst-grijs: #aaaaaa;
    --rand: #2a2a2a;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    background-color: var(--donker);
    color: var(--tekst-wit);
    line-height: 1.6;
}

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

/* ========================================
   NAVIGATIEBALK
   ======================================== */

#header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 2px solid var(--blauw);
    transition: background 0.3s;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 46px;
    height: 46px;
    background: var(--blauw);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
}

.logo-icon.klein {
    width: 36px;
    height: 36px;
    font-size: 17px;
}

.logo-tekst {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-naam {
    font-family: 'Rajdhani', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--blauw);
    letter-spacing: 2px;
}

.logo-sub {
    font-size: 11px;
    color: var(--tekst-grijs);
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 8px;
}

nav ul li a {
    color: var(--tekst-wit);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.3s, background 0.3s;
}

nav ul li a:hover {
    color: var(--blauw);
    background: rgba(26, 143, 209, 0.1);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--tekst-wit);
    font-size: 22px;
    cursor: pointer;
}

/* ========================================
   MOBIEL MENU
   ======================================== */

.mobiel-menu {
    display: none;
    position: fixed;
    top: 74px;
    left: 0;
    width: 100%;
    background: #0a0a0a;
    border-bottom: 2px solid var(--blauw);
    z-index: 999;
    padding: 10px 0;
}

.mobiel-menu ul {
    list-style: none;
}

.mobiel-menu ul li a {
    display: block;
    padding: 14px 24px;
    color: var(--tekst-wit);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-bottom: 1px solid var(--rand);
    transition: color 0.3s, padding-left 0.3s;
}

.mobiel-menu ul li a:hover {
    color: var(--blauw);
    padding-left: 32px;
}

.mobiel-menu.open {
    display: block;
}

/* ========================================
   KNOPPEN
   ======================================== */

.knop {
    display: inline-block;
    padding: 13px 28px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.knop-primair {
    background: var(--blauw);
    color: white;
    border-color: var(--blauw);
}

.knop-primair:hover {
    background: var(--blauw-licht);
    border-color: var(--blauw-licht);
    transform: translateY(-2px);
}

.knop-rand {
    background: transparent;
    color: white;
    border-color: white;
}

.knop-rand:hover {
    background: white;
    color: var(--donker);
    transform: translateY(-2px);
}

/* ========================================
   HOOFDSECTIE (HELD)
   ======================================== */

.held {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #060606 0%, #0d1a26 50%, #060606 100%);
    overflow: hidden;
}

.held::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(26, 143, 209, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(26, 143, 209, 0.06) 0%, transparent 40%);
}

.held-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
}

.held-inhoud {
    position: relative;
    text-align: center;
    padding: 100px 20px 60px;
    z-index: 1;
}

.held-inhoud h1 {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(40px, 8vw, 80px);
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 20px;
    color: white;
}

.held-inhoud h1 span {
    color: var(--blauw);
}

.held-inhoud > p {
    font-size: clamp(15px, 2.5vw, 20px);
    color: var(--tekst-grijs);
    max-width: 600px;
    margin: 0 auto 36px;
}

.held-knoppen {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.held-contact-balk {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    border-top: 1px solid var(--rand);
    padding-top: 32px;
}

.held-contact-balk a {
    color: var(--tekst-grijs);
    text-decoration: none;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.held-contact-balk a:hover {
    color: var(--blauw);
}

.held-contact-balk a i {
    color: var(--blauw);
    font-size: 16px;
}

/* ========================================
   SECTIE HEADERS
   ======================================== */

.sectie-header {
    text-align: center;
    margin-bottom: 50px;
}

.sectie-header.links {
    text-align: left;
}

.sectie-header h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.sectie-header h2 span {
    color: var(--blauw);
}

.sectie-header p {
    color: var(--tekst-grijs);
    font-size: 16px;
}

/* ========================================
   DIENSTEN
   ======================================== */

.diensten {
    padding: 90px 0;
    background: var(--donker-sectie);
}

.diensten-raster {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.dienst-kaart {
    background: var(--donker-kaart);
    border: 1px solid var(--rand);
    border-radius: 8px;
    padding: 36px 28px;
    transition: border-color 0.3s, transform 0.3s;
    text-align: center;
}

.dienst-kaart:hover {
    border-color: var(--blauw);
    transform: translateY(-6px);
}

.dienst-icoon {
    width: 70px;
    height: 70px;
    background: rgba(26, 143, 209, 0.12);
    border: 2px solid var(--blauw);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--blauw);
    transition: background 0.3s;
}

.dienst-kaart:hover .dienst-icoon {
    background: var(--blauw);
    color: white;
}

.dienst-kaart h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.dienst-kaart p {
    color: var(--tekst-grijs);
    font-size: 14px;
    line-height: 1.7;
}

/* ========================================
   PROJECTEN
   ======================================== */

.projecten {
    padding: 90px 0;
    background: var(--donker);
}

.projecten-raster {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-kaart {
    background: var(--donker-kaart);
    border: 1px solid var(--rand);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
}

.project-kaart:hover {
    transform: translateY(-6px);
    border-color: var(--blauw);
}

.project-afbeelding {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.project-afbeelding img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.project-kaart:hover .project-afbeelding img {
    transform: scale(1.08);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 143, 209, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.project-kaart:hover .project-overlay {
    opacity: 1;
}

.project-overlay span {
    color: white;
    font-family: 'Rajdhani', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--tekst-wit);
}

.project-info p {
    color: var(--tekst-grijs);
    font-size: 13px;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .projecten-raster {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .projecten-raster {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   OVER ONS
   ======================================== */

.over-ons {
    padding: 90px 0;
    background: var(--donker);
}

.over-ons-raster {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.over-ons-tekst p {
    color: var(--tekst-grijs);
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.8;
}

.voordelen {
    list-style: none;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.voordelen li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--tekst-wit);
}

.voordelen li i {
    color: var(--blauw);
    font-size: 14px;
    flex-shrink: 0;
}

.statistieken {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-kaart {
    background: var(--donker-kaart);
    border: 1px solid var(--rand);
    border-radius: 8px;
    padding: 28px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: border-color 0.3s;
}

.stat-kaart:hover {
    border-color: var(--blauw);
}

.stat-kaart i {
    font-size: 28px;
    color: var(--blauw);
}

.stat-getal {
    font-family: 'Rajdhani', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--tekst-wit);
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: var(--tekst-grijs);
}

/* ========================================
   CONTACT
   ======================================== */

.contact {
    padding: 90px 0;
    background: var(--donker-sectie);
}

.contact-raster {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-gegevens {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.contact-icoon {
    width: 48px;
    height: 48px;
    background: rgba(26, 143, 209, 0.12);
    border: 1px solid var(--blauw);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--blauw);
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--blauw);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item p,
.contact-item a {
    color: var(--tekst-grijs);
    font-size: 15px;
    text-decoration: none;
    line-height: 1.6;
}

.contact-item a:hover {
    color: var(--blauw);
}

.contact-formulier {
    background: var(--donker-kaart);
    border: 1px solid var(--rand);
    border-radius: 8px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.formulier-groep input,
.formulier-groep textarea {
    width: 100%;
    background: var(--grijs);
    border: 1px solid var(--rand);
    border-radius: 4px;
    padding: 13px 16px;
    color: var(--tekst-wit);
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
    resize: vertical;
}

.formulier-groep input::placeholder,
.formulier-groep textarea::placeholder {
    color: #666;
}

.formulier-groep input:focus,
.formulier-groep textarea:focus {
    border-color: var(--blauw);
}

.contact-formulier .knop {
    width: 100%;
    text-align: center;
    border: none;
    font-family: 'Open Sans', sans-serif;
}

.formulier-succes {
    background: rgba(26, 143, 209, 0.12);
    border: 1px solid var(--blauw);
    border-radius: 4px;
    padding: 14px 16px;
    color: var(--blauw);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ========================================
   VOETTEKST
   ======================================== */

footer {
    background: #080808;
    border-top: 2px solid var(--blauw);
    padding: 36px 0;
}

.voet-inhoud {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.voet-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.voet-adres {
    color: var(--tekst-grijs);
    font-size: 14px;
}

.voet-adres a {
    color: var(--blauw);
    text-decoration: none;
}

.voet-adres a:hover {
    text-decoration: underline;
}

.voet-copyright {
    color: #555;
    font-size: 13px;
}

/* ========================================
   RESPONSIEF (MOBIEL)
   ======================================== */

@media (max-width: 768px) {
    nav {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .held-inhoud {
        padding: 100px 20px 50px;
    }

    .over-ons-raster,
    .contact-raster {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .statistieken {
        grid-template-columns: 1fr 1fr;
    }

    .held-contact-balk {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .contact-formulier {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .diensten-raster {
        grid-template-columns: 1fr;
    }

    .statistieken {
        grid-template-columns: 1fr 1fr;
    }

    .held-knoppen {
        flex-direction: column;
        align-items: center;
    }
}
