/* ===== CSS Variables ===== */
:root {
    --color-bg: #0a0a0f;
    --color-bg-light: #12121a;
    --color-bg-card: #1a1a25;
    --color-primary: #c8a45c;
    --color-primary-light: #e0c580;
    --color-text: #f0f0f0;
    --color-text-muted: #8a8a9a;
    --color-border: rgba(200, 164, 92, 0.15);
    --color-border-light: rgba(255, 255, 255, 0.06);
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-display: Georgia, 'Times New Roman', serif;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 8px;
    z-index: 2000;
    background: var(--color-primary);
    color: #0a0a0f;
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 600;
}

.skip-link:focus {
    left: 12px;
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    backdrop-filter: blur(0px);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border-light);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
}

.has-submenu {
    position: relative;
}

.submenu-parent {
    display: flex;
    align-items: center;
    gap: 6px;
}

.submenu-toggle {
    display: none;
    padding: 2px 6px;
    color: var(--color-text-muted);
    background: transparent;
    border: 1px solid var(--color-border-light);
    border-radius: 4px;
    cursor: pointer;
    font: inherit;
}

.product-submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    min-width: 230px;
    padding: 10px 0;
    list-style: none;
    background: var(--color-bg-light);
    border: 1px solid var(--color-border-light);
    border-radius: 8px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -8px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

@media (min-width: 769px) {
    .has-submenu:hover .product-submenu,
    .has-submenu:focus-within .product-submenu {
        opacity: 1;
        pointer-events: auto;
        transform: translate(-50%, 0);
    }
}

.product-submenu a {
    display: block;
    padding: 9px 16px;
    white-space: nowrap;
    font-size: 0.85rem;
}

.product-submenu a::after {
    display: none;
}

.product-submenu a:hover {
    background: rgba(200, 164, 92, 0.08);
    color: var(--color-primary);
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: url('../afbeeldingen/Afb 1.png') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.58));
    pointer-events: none;
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 120px 24px 80px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.15;
    margin-bottom: 24px;
    font-weight: 700;
}

.highlight {
    color: var(--color-primary);
    position: relative;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 300;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FOCUS & ACCESSIBILITY ===== */
*:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-family: var(--font-main);
    outline: none;
}

.btn:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

.btn-primary {
    background: var(--color-primary);
    color: #0a0a0f;
}

.btn-primary:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(200, 164, 92, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-outline {
    border: 2px solid var(--color-border);
    color: var(--color-text);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
    background: rgba(200, 164, 92, 0.05);
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1rem;
}

/* ===== Scroll Indicator ===== */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--color-primary);
    animation: scrollPulse 2s ease-in-out infinite;
}

/* ===== Trust Signals ===== */
.trust-signals {
    background: linear-gradient(135deg, rgba(200, 164, 92, 0.05) 0%, transparent 100%);
    padding: 48px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.trust-signals .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 32px;
    text-align: center;
}

.signal-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.signal-item strong {
    display: block;
    font-size: 2.2rem;
    color: var(--color-primary);
    font-weight: 700;
    line-height: 1;
}

.signal-item span {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ===== Sections ===== */
.section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-desc {
    color: var(--color-text-muted);
    max-width: 550px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* ===== Services Grid ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.service-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.service-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-border);
    box-shadow: var(--shadow);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(200, 164, 92, 0.1);
    color: var(--color-primary);
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.product-features {
    color: var(--color-text-muted);
    padding-left: 20px;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

.product-details-link,
.product-back-link {
    margin-top: 80px;
}

.product-logo {
    display: block;
    width: min(100%, 360px);
    max-height: 160px;
    object-fit: contain;
    margin: 28px auto 0;
}

.product-gallery {
    display: grid;
    gap: 40px;
    margin: 48px 0;
}

.product-gallery-category h2 {
    font-size: 1.35rem;
    margin-bottom: 16px;
}

.product-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.product-image-grid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    padding: 12px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius);
}

.product-card {
    display: flex;
    flex-direction: column;
}

.product-card .product-details-link {
    margin-top: auto;
    align-self: flex-start;
}

.product-detail-card {
    max-width: 760px;
    margin: 0 auto;
}

.product-detail-card h2 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

/* ===== About Section ===== */
.over-ons {
    background: var(--color-bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-light);
}

.about-image-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--color-text-muted);
    gap: 12px;
    font-size: 0.85rem;
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border-radius: var(--radius-lg);
    background: var(--color-primary);
    opacity: 0.1;
    z-index: -1;
}

.about-content .section-tag {
    display: block;
    text-align: left;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-text {
    color: var(--color-text-muted);
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border-light);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 8px;
}

/* ===== Contact Section ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-form {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: 48px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--color-text-muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--radius);
    border: 2px solid var(--color-border-light);
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(200, 164, 92, 0.2);
    background: rgba(200, 164, 92, 0.03);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
}

.form-group input:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
    border-color: #10b981;
}

.form-group input[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
    border-color: #ef4444;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(138, 138, 154, 0.6);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.95rem;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(16, 185, 129, 0.15);
    border: 2px solid #10b981;
    color: #10b981;
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.15);
    border: 2px solid #ef4444;
    color: #ef4444;
}

.contact-info-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contact-info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 28px;
    font-weight: 600;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item svg {
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.contact-item a {
    color: var(--color-text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-item a:hover {
    color: var(--color-primary);
}

.contact-hours {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border-light);
}

.contact-hours strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-hours p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

/* ===== Footer ===== */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--color-border-light);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-top: 12px;
    max-width: 300px;
}

.footer-brand p a {
    color: var(--color-primary-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-brand p a:hover {
    color: var(--color-primary);
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--color-border-light);
    text-align: center;
}

.footer-bottom p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

/* ===== 3D Scroll Effects ===== */
.section {
    perspective: 1000px;
}

.scroll-3d {
    transform: rotateX(8deg) translateY(60px) scale(0.95);
    opacity: 0;
    transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.8s ease;
    transform-style: preserve-3d;
    will-change: transform, opacity;
}

.scroll-3d.in-view {
    transform: rotateX(0deg) translateY(0) scale(1);
    opacity: 1;
}

.service-card {
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.6s ease, opacity 0.8s ease;
}

.service-card.scroll-3d {
    transform: rotateY(15deg) rotateX(5deg) translateY(40px) scale(0.9);
}

.service-card.scroll-3d.in-view {
    transform: rotateY(0deg) rotateX(0deg) translateY(0) scale(1);
}

.about-image.scroll-3d {
    transform: rotateY(-10deg) translateX(-40px) scale(0.92);
}

.about-image.scroll-3d.in-view {
    transform: rotateY(0deg) translateX(0) scale(1);
}

.about-content.scroll-3d {
    transform: rotateY(10deg) translateX(40px) scale(0.92);
}

.about-content.scroll-3d.in-view {
    transform: rotateY(0deg) translateX(0) scale(1);
}

/* ===== Animations ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up.delay-1 { transition-delay: 0.15s; }
.fade-up.delay-2 { transition-delay: 0.3s; }
.fade-up.delay-3 { transition-delay: 0.45s; }
.fade-up.delay-4 { transition-delay: 0.6s; }

/* ===== Mobile Responsive ===== */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .about-content .section-tag,
    .about-content .section-title {
        text-align: center;
    }

    .about-text {
        text-align: center;
    }

    .about-stats {
        justify-content: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .service-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-bg-light);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        transition: var(--transition);
        border-left: 1px solid var(--color-border-light);
    }

    .has-submenu {
        width: 100%;
        text-align: center;
    }

    .submenu-parent {
        justify-content: center;
    }

    .submenu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
    }

    .submenu-toggle span {
        transition: transform 0.2s ease;
    }

    .has-submenu.is-open .submenu-toggle span {
        transform: rotate(45deg);
    }

    .product-submenu {
        position: static;
        width: 100%;
        min-width: 0;
        padding: 8px 0 0;
        background: transparent;
        border: none;
        box-shadow: none;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        pointer-events: none;
        transform: none;
        transition: opacity 0.25s ease, max-height 0.25s ease;
    }

    .has-submenu.is-open .product-submenu {
        opacity: 1;
        max-height: 220px;
        pointer-events: auto;
    }

    .product-submenu a {
        padding: 6px 0;
        font-size: 0.95rem;
        text-align: center;
        white-space: normal;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content {
        padding: 100px 20px 60px;
    }

    .section {
        padding: 80px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 32px 24px;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-brand p {
        max-width: none;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .about-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .contact-info-card {
        padding: 28px 20px;
    }

    .service-list {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 32px 24px;
    }

    .hero-scroll {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    .scroll-3d,
    .service-card.scroll-3d,
    .about-image.scroll-3d,
    .about-content.scroll-3d {
        transform: none !important;
    }

    .hero-particles {
        display: none;
    }
}
