/* -------------------------------------------------
   dot11.be – Volledige CSS
   Doel:
   - Rustige, warme uitstraling
   - Onderhoudbaar via CSS-variabelen
   - SEO- en toegankelijkheidsvriendelijk
   - Responsive navigatie met hamburger menu
-------------------------------------------------- */

/* =================================================
   ROOT VARIABELEN (branding & kleuren)
   ================================================= */
:root {
    --primary: #3F3524;      /* donker logo-bruin */
    --secondary: #7D684C;    /* warm bruin */
    --accent: #A99477;       /* goud accent */
    --bg-light: #F2EDE7;     /* warm beige */
    --text-dark: #3F3524;
    --text-light: #FFFFFF;
}

/* =================================================
   RESET & BASISINSTELLINGEN
   ================================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #ffffff;

    /* Zorgt ervoor dat footer altijd onderaan blijft */
    display: flex;
    flex-direction: column;
}

/* =================================================
   LAYOUT HELPERS
   ================================================= */
.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* =================================================
   HELPER CLASSES
   ================================================= */
.hidden {
    display: none;
}

/* =================================================
   HEADER & NAVIGATIE
   ================================================= */
.site-header {
    background: var(--primary);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo img {
    max-height: 48px;
    display: block;
}

/* Navigatie links (desktop) */
.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

/* Navigatie links stijl */
.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

/* Subtiele underline animatie */
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a:hover::after {
    width: 100%;
}

/* =================================================
   HAMBURGER KNOP
   ================================================= */
.nav-toggle {
    display: none; /* standaard verborgen (desktop) */
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
}

/* =================================================
   HERO SECTIE
   ================================================= */
.hero {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text-light);
    padding: 4rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: auto;
}

/* =================================================
   ALGEMENE SECTIES
   ================================================= */
section {
    padding: 4rem 0;
}

section h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.alt-bg {
    background: var(--bg-light);
}

/* =================================================
   GRID & CARDS
   ================================================= */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card h3 {
    margin-bottom: 0.6rem;
    color: var(--primary);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(169, 148, 119, 0.35);
}

.card-link a {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.card-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.card-cta {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--accent-color);
}

/* =================================================
   CONTACT
   ================================================= */
.mail a {
    text-decoration: none;
    color: var(--text-dark);
}

.mail a:hover {
    color: var(--accent);
}

/* =================================================
   FOOTER
   ================================================= */
.site-footer {
    background: var(--primary);
    color: var(--text-light);
    padding: 1.2rem 0;
    text-align: center;
    font-size: 0.9rem;

    /* duwt footer naar onderkant */
    margin-top: auto;
}

/* =================================================
   RESPONSIVE NAVIGATIE (MOBIEL)
   ================================================= */
@media (max-width: 768px) {

    /* Hamburger zichtbaar */
    .nav-toggle {
        display: block;
    }

    /* Menu verborgen standaard */
    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        background: var(--primary);
        flex-direction: column;
        width: 100%;
        display: none;
        padding: 1rem 0;
    }

    /* Menu zichtbaar na klik */
    .nav-links.open {
        display: flex;
    }

    .nav-links li {
        text-align: center;
        padding: 0.75rem 0;
    }

    /* Hero iets kleiner */
    .hero h2 {
        font-size: 1.8rem;
    }
}
