:root {
    /* BLYNCK HUISSTIJL */
    --bg: #f5f7fb;              /* fris lichtgrijs/blauw */
    --bg-alt: #ffffff;
    --bg-soft: #eef2f8;

    --text: #020F40;            /* donkerblauw */
    --text-muted: #5c678f;

    --accent: #E69138;          /* oranje */
    --accent-soft: #ffd7b0;

    --border-soft: #d8deee;

    --shadow-soft: 0 18px 45px rgba(2, 15, 64, 0.12);
    --radius-lg: 1.5rem;
    --radius-md: 1rem;
    --radius-pill: 999px;
}

/* Global reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top left, #ffffff 0, #f5f7fb 40%, #dfe6f5 100%);
    color: var(--text);
}

/* Containers & sections */
.container {
    width: min(1120px, 100% - 3rem);
    margin-inline: auto;
}

.section {
    padding: 5rem 0;
}

.section-light {
    padding: 5rem 0;
    background: var(--bg);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem auto;
}

.section-header h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 2.3vw, 2.4rem);
    margin-bottom: 0.75rem;
    letter-spacing: 0.03em;
}

.section-header p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.6;
}

/* Header / Navbar */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(2, 15, 64, 0.96);   /* Blynck donkerblauw */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0;
    gap: 1.5rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 1.2rem;
    background: radial-gradient(circle at 20% 0, #ffffff, #e1e6f4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    color: #020F40;
    box-shadow: 0 10px 26px rgba(2, 15, 64, 0.26);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-weight: 600;
    font-size: 1rem;
    color: #ffffff;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Logo image in navbar */
.logo-image {
    height: 64px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    display: block;
}

/* Nav links */
.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.8rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-size: 0.9rem;
    text-decoration: none;
    color: #ffffff;
    position: relative;
    padding-bottom: 0.2rem;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), #ffb56a);
    transition: width 0.2s ease;
}

.nav-link:hover {
    color: var(--accent);
    opacity: 0.95;
}

.nav-link.active,
.nav-link:focus-visible {
    color: var(--accent);
}

.nav-link.active::after {
    width: 100%;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    width: 2rem;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.nav-toggle span {
    height: 2px;
    width: 100%;
    border-radius: 999px;
    background: #ffffff;
}

/* Hero */
.hero {
    padding: 4.5rem 0 4rem 0;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 3.5rem;
    align-items: center;
}

.hero-text h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.4rem, 3vw, 3rem);
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
    color: #020F40;
}

.hero-text h1 span {
    color: #020F40;
    font-weight: 600;
}

.hero-text p {
    margin: 0 0 1.8rem 0;
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius-pill);
    font-size: 0.92rem;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #E69138, #ffb56a);
    color: #020F40;
    box-shadow: 0 14px 34px rgba(230, 145, 56, 0.45);
    font-weight: 600;
    letter-spacing: 0.04em;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(230, 145, 56, 0.5);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(216, 222, 238, 0.9);
    color: var(--text);
}

.btn-ghost:hover {
    background: #ffffff;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.hero-highlights > div {
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-soft);
    background: rgba(255, 255, 255, 0.95);
}

/* Hero card */
.hero-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 2rem;
    padding: 1.2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(216, 222, 238, 0.9);
}

.hero-car-photo {
    overflow: hidden;
    border-radius: 1.4rem;
    background: #c9d2ee;
}

.hero-car-photo img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-card-info {
    padding: 0.9rem 0.4rem 0.2rem 0.4rem;
}

.hero-badge {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0 0 0.5rem 0;
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-pill);
    background: var(--accent-soft);
    color: #9b5b11;
}

.hero-card-title {
    margin: 0 0 0.25rem 0;
    font-size: 0.98rem;
    font-weight: 600;
}

.hero-card-text {
    margin: 0;
    font-size: 0.86rem;
    color: var(--text-muted);
}

/* Over ons */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.about-card {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 1.6rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(216, 222, 238, 0.9);
}

.about-card h3 {
    margin-top: 0;
    margin-bottom: 0.6rem;
    font-size: 1rem;
}

.about-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.7;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
    margin-bottom: 2.5rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--radius-lg);
    padding: 1.6rem 1.5rem;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(230, 145, 56, 0.16), transparent 60%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.service-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Gallery */
.gallery {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 2rem;
    padding: 2.2rem 2rem 2.3rem 2rem;
    border: 1px solid rgba(216, 222, 238, 0.9);
    box-shadow: var(--shadow-soft);
}

.gallery-header h3 {
    margin: 0 0 0.4rem 0;
    font-size: 1.1rem;
}

.gallery-header p {
    margin: 0 0 1.4rem 0;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.gallery-item {
    margin: 0;
}

.gallery-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

.gallery-image {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    background: #e5e7eb;
    border: 1px solid rgba(216, 222, 238, 0.9);
    width: 100%;
    height: 450px;      /* vaste hoogte desktop */
}

.gallery-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-image:hover img {
    transform: scale(1.03);
}

.gallery-label {
    position: absolute;
    top: 0.55rem;
    left: 0.55rem;
    padding: 0.25rem 0.55rem;
    border-radius: var(--radius-pill);
    background: rgba(2, 15, 64, 0.9);
    color: #f9fafb;
    font-size: 0.7rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.gallery-label-after {
    background: rgba(34, 197, 94, 0.9);
}

.gallery-item figcaption {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.gallery-title {
    margin: 0 0 0.5rem 0;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    text-align: center;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 1.8rem;
}

.contact-card {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 1.8rem 1.6rem;
    border: 1px solid rgba(216, 222, 238, 0.9);
    box-shadow: var(--shadow-soft);
}

.contact-card h3 {
    margin-top: 0;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.contact-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0.2rem 0;
}

.contact-card a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(230, 145, 56, 0.6);
}

.contact-card a:hover {
    border-bottom-color: rgba(230, 145, 56, 1);
}

.contact-card ul {
    margin: 0.4rem 0 1.2rem 1rem;
    padding: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-card li {
    margin-bottom: 0.25rem;
}

/* Footer */
.site-footer {
    padding: 1.8rem 0 2rem 0;
    background: #020F40;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-note {
    margin-top: 0.35rem;
}

/* Formulieren */
.form-wrapper {
    max-width: 640px;
    margin: 0 auto;
}

.form-card {
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 2rem 1.8rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(216, 222, 238, 0.9);
}

.form-group {
    margin-bottom: 1.1rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
    color: var(--text);
}

.form-required {
    color: #dc2626;
    margin-left: 0.15rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    font-family: inherit;
    font-size: 0.92rem;
    padding: 0.6rem 0.75rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-soft);
    background: #f9fafb;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(230, 145, 56, 0.6);
    background: #ffffff;
}

.form-group input[type="file"] {
    padding: 0.4rem 0;
    background: transparent;
    border: none;
}

.form-help {
    margin-top: 0.3rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.form-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1.2rem;
}

.form-status {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Contact-grid responsief (als extra check) */
@media (max-width: 960px) {
    .form-card {
        padding-inline: 1.4rem;
    }
}

/* Responsive */
@media (max-width: 960px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-card {
        order: -1;
    }

    .about-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .gallery-image {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .gallery-image {
        height: 240px;
    }
}

@media (max-width: 720px) {
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        inset-inline: 0;
        top: 100%;
        background: rgba(2, 15, 64, 0.98);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transform: translateY(-16px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .main-nav.open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.6rem 1.3rem 1rem 1.3rem;
        gap: 0.9rem;
    }

    .nav-container {
        padding-inline: 0;
    }

    .hero {
        padding-top: 3.2rem;
    }

    .gallery {
        padding-inline: 1.4rem;
    }

    .about-grid,
    .services-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
