/* ================================================================= */
/* Basis CSS voor Diversity Audio - style.css (DONKER THEMA) */
/* ================================================================= */

/* Globale Reset en Typografie */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #fff; /* Witte tekst op de donkere achtergrond */
    background-color: #121212; /* Zeer donkere achtergrondkleur */
    padding-top: 180px; /* Ruimte voor de vaste header op desktop */
}

/* Container voor maximale breedte */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Hoofdstukken en Koppen */
h1, h2, h3 {
    color: #00aaff; /* Lichtere, opvallende blauwe kleur */
    margin-bottom: 15px;
    font-weight: 700;
}

h1 {
    font-size: 2.5em;
    border-bottom: 3px solid #00aaff;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

h2 {
    font-size: 1.8em;
    margin-top: 30px;
}

p {
    margin-bottom: 15px;
}

/* ================================================================= */
/* 1. HEADER EN NAVIGATIE */
/* ================================================================= */

header {
    background-color: #1f1f1f; /* Iets lichtere donkere kleur voor de header */
    color: white;
    padding: 10px 0;
    border-bottom: 3px solid #00aaff;
    position: fixed; /* Maakt de header vast bovenaan */
    top: 0;
    width: 100%;
    z-index: 1000; /* Zorgt dat de header boven de content ligt */
}

/* DESKTOP LAYOUT (Logo & Nav verticaal gestapeld) */
header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
}

/* Navigatie container voor afstand */
nav {
    margin-top: 15px;
}

/* Logo Styling */
.logo img {
    height: 130px;
    vertical-align: middle;
}

/* Navigatie Menu Items (Desktop) */
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin-left: 20px;
}

/* Standaard link styling (niet-actief, niet-knop) */
nav ul li a {
    color: white; /* Tekst blijft wit */
    text-decoration: none;
    transition: all 0.3s;
    border-radius: 5px;
    border: 2px solid transparent;
    
    /* Zorgt voor consistente afmeting (geen 'groei') */
    padding: 6px 15px;
    font-weight: normal; /* Alle menu items niet vetgedrukt */
}

/* HOVER EFFECT VOOR REGULIERE LINKS (BLAUW MET ZWART) */
nav ul li a:hover {
    color: #121212; /* Zwarte tekst */
    background-color: #00aaff; /* Blauwe achtergrond */
    border-color: #00aaff;
}

/* CTA Knop in Navigatie - ZWART NAAR BLAUW OP HOVER (NIET VETGEDRUKT) */
.cta-button {
    background-color: #1f1f1f;
    color: #fff !important;
    padding: 6px 15px !important;
    border-radius: 5px;
    font-weight: normal; /* Contact & Offerte is niet vetgedrukt */
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
    border: 2px solid #1f1f1f;
}

.cta-button:hover {
    background-color: #00aaff;
    color: #121212 !important;
    border-color: #00aaff;
}

/* *** AANGEPAST ***: Actieve link in navigatie (Blijft Blauw met Zwarte Tekst) */
nav ul li a.active,
nav ul li a.active:hover,
nav ul li a.cta-button.active, /* Zorgt dat actieve CTA knop de correcte stijl krijgt */
nav ul li a.cta-button.active:hover {
    background-color: #00aaff !important; /* Blauwe achtergrond */
    color: #121212 !important; /* Zwarte tekst */
    border: 2px solid #00aaff !important; /* Blauwe kader */
    padding: 6px 15px !important;
}

/* Hamburger Toggle (standaard verborgen op desktop) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #00aaff;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    z-index: 1001;
}

/* ================================================================= */
/* 2. HERO SECTIE */
/* ================================================================= */

#hero {
    background-color: #1f1f1f;
    text-align: center;
    padding: 80px 0;
    margin-bottom: 30px;
}

#hero h1 {
    color: white;
    border-bottom: none;
    font-size: 3em;
}

.slogan {
    font-size: 1.2em;
    color: #00aaff;
    margin-bottom: 30px;
}

/* CTA Knoppen (Algemeen) */
.btn {
    display: inline-block;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin: 5px;
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

.btn.primary {
    background-color: #1f1f1f;
    color: #fff;
    border: 2px solid #1f1f1f;
}

.btn.primary:hover {
    background-color: #00aaff;
    color: #121212;
    border-color: #00aaff;
}

.btn.secondary {
    background-color: #1f1f1f;
    color: #fff;
    border: 2px solid #1f1f1f;
}

.btn.secondary:hover {
    background-color: #00aaff;
    color: #121212;
    border-color: #00aaff;
}

/* ================================================================= */
/* 3. ALGEMENE INHOUD EN LINKS */
/* ================================================================= */

main a {
    color: #00aaff;
}

main a:visited,
main a:hover,
main a:active {
    color: #00aaff;
}


/* ================================================================= */
/* 4. DIENSTEN OVERZICHT (Kaarten op de Homepagina) */
/* ================================================================= */

#diensten-overzicht {
    padding-bottom: 50px;
}

.drie-kolommen {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.dienst-kaart {
    flex: 1;
    background: #1f1f1f;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    border-top: 4px solid #00aaff;
    transition: transform 0.3s;
    color: white;
}

.dienst-kaart a {
    color: #00aaff;
}

.dienst-kaart:hover {
    transform: translateY(-5px);
}

.dienst-kaart h3 {
    color: #fff;
    font-size: 1.4em;
}

/* ================================================================= */
/* 5. DIENSTEN PAGINA (Detail) */
/* ================================================================= */

#tuning, #netwerken {
    margin-top: 40px;
}

.highlight-box {
    background-color: #2a2a2a;
    border-left: 5px solid #00aaff;
    padding: 15px;
    margin: 15px 0;
    font-style: italic;
    color: #ddd;
}

/* Tabel Styling (Diensten en Projecten) */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    color: white;
}

table th, table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #3a3a3a;
}

table th {
    background-color: #00aaff;
    color: #121212;
    font-weight: bold;
    text-transform: uppercase;
}

table tr {
    background-color: #1f1f1f;
}

table tr:nth-child(even) {
    background-color: #2a2a2a;
}

/* ================================================================= */
/* 6. OVER ONS PAGINA */
/* ================================================================= */

.team-lid-profiel {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-top: 30px;
}

.profiel-foto {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #00aaff;
    flex-shrink: 0;
}

.testimonial {
    background-color: #2a2a2a;
    border-left: 5px solid #00aaff;
    padding: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #ddd;
}

.testimonial cite {
    display: block;
    margin-top: 10px;
    font-style: normal;
    font-weight: bold;
    text-align: right;
    color: white;
}

/* ================================================================= */
/* 7. CONTACT PAGINA (Formulier) */
/* ================================================================= */

#contactformulier form {
    background: #1f1f1f;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.form-groep {
    margin-bottom: 20px;
}

.form-groep label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #fff;
}

.form-groep input,
.form-groep select,
.form-groep textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #555;
    border-radius: 4px;
    font-size: 1em;
    background-color: #333;
    color: #fff;
}

.form-groep textarea {
    resize: vertical;
}

#offerte-proces ol {
    margin: 20px 0 20px 40px;
    color: #ddd;
}

/* ================================================================= */
/* 8. FOOTER */
/* ================================================================= */

footer {
    background-color: #1f1f1f;
    color: white;
    padding: 30px 0 10px 0;
    margin-top: 50px;
}

footer .container {
    display: flex;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
}

.footer-kolom {
    flex: 1;
    margin-right: 20px;
}

.footer-kolom h4 {
    color: #00aaff;
    margin-bottom: 10px;
}

.footer-kolom p, .footer-kolom ul {
    font-size: 0.9em;
    color: #ccc;
}

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

.footer-kolom a {
    color: #fff;
    text-decoration: none;
}

.footer-kolom a:visited {
    color: #fff;
}

.footer-kolom a:hover {
    color: #00aaff;
}

.copyright {
    text-align: center;
    padding-top: 10px;
    font-size: 0.8em;
    color: #888;
}


/* ================================================================= */
/* MEDIA QUERIES (Basis Responsiviteit - HAMBURGER MENU) */
/* ================================================================= */

@media (max-width: 768px) {
    
    /* Body en Header Positioning */
    body {
        padding-top: 0;
    }

    header {
        position: static;
        padding: 0;
    }
    
    /* Header container voor Logo en Toggle knop (Horizontaal) */
    header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 5%;
        border-bottom: 3px solid #00aaff;
        width: 100%;
    }
    
    /* Logo aanpassing op mobiel */
    .logo img {
        height: 70px;
    }

    /* Toon de Hamburger Toggle */
    .menu-toggle {
        display: block;
    }

    /* Navigatie als Overlay (Standaard verborgen) */
    nav {
        display: none;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        height: auto;
        background-color: #1f1f1f;
        border-top: 1px solid #333;
        z-index: 999;
        margin-top: 0;
    }

    /* Toon de navigatie wanneer de .nav-open class op de header staat */
    header.nav-open nav {
        display: block;
    }
    
    /* Stijl de links binnen het geopende menu */
    nav ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 5%;
        margin: 0;
        width: 100%;
    }

    nav ul li {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid #333;
    }
    
    nav ul li:last-child {
        border-bottom: none;
        padding-bottom: 10px;
    }
    
    /* Geef de links meer klikbare ruimte in het menu */
    nav ul li a,
    nav ul li a.cta-button {
        display: block;
        padding: 12px 0 !important;
        font-size: 1.1em;
        width: 100%;
        text-align: left;
    }
    
    /* Kolommen worden gestapeld */
    .drie-kolommen, footer .container, .team-lid-profiel {
        flex-direction: column;
    }

    .dienst-kaart, .footer-kolom {
        margin-bottom: 20px;
        margin-right: 0;
        width: 100%;
    }
}
