/* ==============================
   Algemene instellingen
============================== */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --dark: #0f172a;
    --text: #334155;
    --muted: #64748b;
    --light: #f1f5f9;
    --white: #ffffff;
    --border: #e2e8f0;
    --radius: 20px;
    --shadow: 0 12px 35px rgba(15, 23, 42, 0.07);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
    color: var(--text);
    background-color: var(--white);
    line-height: 1.75;
}

h1,
h2,
h3 {
    color: var(--dark);
    font-weight: 750;
    line-height: 1.2;
}

p {
    color: var(--muted);
}

/* ==============================
   Navigatie
============================== */

.site-navbar {
    background-color: var(--dark);
    padding: 0.9rem 0;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.12);
}

.site-navbar .navbar-brand {
    color: var(--white);
    font-size: 1.2rem;
    letter-spacing: -0.3px;
}

.site-navbar .navbar-brand:hover {
    color: #bfdbfe;
}

.site-navbar .navbar-nav {
    gap: 0.3rem;
}

.site-navbar .nav-link {
    padding: 0.6rem 0.9rem;
    color: #cbd5e1;
    border-radius: 10px;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link:focus {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.09);
}

.site-navbar .nav-link.active {
    color: var(--white);
    background-color: var(--primary);
}

.site-navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: none;
}

.site-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.3);
}

/* ==============================
   Introductie
============================== */

.contact-hero {
    padding: 5rem 0 4.5rem;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(59, 130, 246, 0.12),
            transparent 30%
        ),
        linear-gradient(135deg, #f8fafc, #eff6ff);
    border-bottom: 1px solid var(--border);
}

.contact-hero .container {
    max-width: 850px;
}

.section-label {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.35rem 0.85rem;
    color: var(--primary-dark);
    background-color: #dbeafe;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-hero h1 {
    margin-bottom: 1.25rem;
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.05em;
}

.contact-hero p {
    max-width: 680px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* ==============================
   Hoofdindeling
============================== */

.contact-section {
    padding: 5rem 0 6rem;
    background-color: #f8fafc;
}

/* ==============================
   Contactformulier
============================== */

.contact-card,
.contact-info-card {
    height: 100%;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.card-heading {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.card-icon {
    display: flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: var(--primary);
    background-color: #dbeafe;
    border-radius: 14px;
    font-size: 1.5rem;
}

.card-heading h2,
.contact-info-card h2 {
    margin-bottom: 0.6rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: -0.035em;
}

.card-heading p {
    margin-bottom: 0;
}

.form-label {
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-size: 0.95rem;
    font-weight: 650;
}

.form-control {
    min-height: 50px;
    padding: 0.8rem 1rem;
    color: var(--text);
    background-color: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 12px;
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.form-control::placeholder {
    color: #94a3b8;
}

.form-control:hover {
    border-color: #cbd5e1;
}

.form-control:focus {
    color: var(--text);
    background-color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

textarea.form-control {
    min-height: 160px;
    resize: vertical;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 50px;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary);
    border-color: var(--primary);
    border-radius: 12px;
    font-weight: 650;
    transition: background-color 0.2s ease, transform 0.2s ease,
        box-shadow 0.2s ease;
}

.submit-button:hover,
.submit-button:focus-visible {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
    transform: translateY(-1px);
}

.submit-button span {
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.submit-button:hover span {
    transform: translateX(3px);
}

/* ==============================
   Contactgegevens
============================== */

.contact-info-card {
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(59, 130, 246, 0.1),
            transparent 35%
        ),
        var(--white);
}

.contact-info-card > .section-label {
    margin-bottom: 1rem;
}

.contact-info-intro {
    margin-bottom: 2rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    color: var(--text);
    text-decoration: none;
    background-color: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: border-color 0.2s ease, background-color 0.2s ease,
        transform 0.2s ease;
}

.contact-link:hover {
    color: var(--text);
    background-color: #eff6ff;
    border-color: #bfdbfe;
    transform: translateY(-2px);
}

.contact-link-icon {
    display: flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--primary);
    background-color: #dbeafe;
    border-radius: 12px;
    font-size: 1.35rem;
}

.instagram-icon {
    color: #9d174d;
    background-color: #fce7f3;
}

.contact-link-text {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.contact-link-label {
    margin-bottom: 0.2rem;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.contact-link-value {
    overflow-wrap: anywhere;
    color: var(--dark);
    font-size: 0.95rem;
    font-weight: 650;
}

.contact-arrow {
    align-self: center;
    color: var(--primary);
    font-size: 1.2rem;
}

.contact-note {
    display: flex;
    gap: 0.9rem;
    margin-top: 2rem;
    padding: 1.25rem;
    background-color: #eff6ff;
    border-radius: 14px;
}

.note-icon {
    flex-shrink: 0;
    font-size: 1.4rem;
}

.contact-note h3 {
    margin-bottom: 0.45rem;
    font-size: 1rem;
}

.contact-note p {
    font-size: 0.9rem;
}

/* ==============================
   Footer
============================== */

.site-footer {
    padding: 1.75rem 0;
    color: #cbd5e1;
    background-color: var(--dark);
}

.site-footer p {
    color: #cbd5e1;
    font-size: 0.9rem;
}

/* ==============================
   Responsive ontwerp
============================== */

@media (max-width: 991.98px) {
    .site-navbar .navbar-nav {
        gap: 0.15rem;
        padding-top: 1rem;
    }

    .site-navbar .nav-link {
        padding: 0.7rem 0.85rem;
    }

    .contact-section {
        padding: 3.5rem 0 4rem;
    }
}

@media (max-width: 767.98px) {
    .contact-hero {
        padding: 3.75rem 0;
    }

    .contact-hero p {
        font-size: 1rem;
    }

    .contact-card,
    .contact-info-card {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .card-heading {
        gap: 0.8rem;
    }

    .card-icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }

    .submit-button {
        width: 100%;
    }
}

/* Minder animatie indien ingesteld op het toestel */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
