/* ==========================================================================
   3Dre.nl - Rich & Warm Premium Vossen Theme (Filled & Vibrant)
   ========================================================================== */

:root {
    --bg-body: #fdfbf7;         /* Warm Cream Off-White */
    --bg-surface: #ffffff;      /* White Card Surface */
    --bg-alt: #f8f1e9;          /* Warm Cream Neutral */
    
    --primary: #e05d38;         /* Terracotta Sunset Orange */
    --primary-hover: #c84c2a;
    --primary-light: #fdeee9;
    
    --accent: #d97706;          /* Warm Golden Amber */
    --accent-light: #fef3c7;
    
    --text-dark: #1e293b;       /* Deep Slate Navy */
    --text-muted: #475569;
    --text-light: #64748b;
    
    --border-color: #f3e6d8;
    --border-hover: #e05d38;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 4px 14px rgba(224, 93, 56, 0.04);
    --shadow-md: 0 10px 30px rgba(30, 41, 59, 0.07);
    --shadow-lg: 0 20px 48px rgba(30, 41, 59, 0.1);

    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Outfit', sans-serif;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-body);
    color: var(--text-dark);
    font-family: var(--font-body);
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
}

/* Background Warm Grid & Glow Orbs */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(224, 93, 56, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 70%, rgba(217, 119, 6, 0.05) 0%, transparent 40%),
        linear-gradient(to right, rgba(224, 93, 56, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(224, 93, 56, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
    z-index: -1;
    pointer-events: none;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.25;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Perfect Section Headers */
.section-header {
    margin-bottom: 56px;
    width: 100%;
}

.section-header.center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.sub-heading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--primary);
    background: var(--primary-light);
    border: 1px solid rgba(224, 93, 56, 0.2);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(224, 93, 56, 0.08);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 14px;
    text-align: center;
    width: 100%;
    letter-spacing: -0.5px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 660px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #c84c2a 100%);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(224, 93, 56, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(224, 93, 56, 0.5);
}

.btn-outline {
    background: var(--bg-surface);
    color: var(--text-dark);
    border: 1.5px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 9px 20px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 16px 34px;
    font-size: 1.05rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
}

.logo-img {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 1.5px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.highlight {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-item {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-item:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--primary-light);
    color: var(--primary);
    border: 1px solid rgba(224, 93, 56, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.hero-title {
    font-size: 3.4rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.8px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-features-list {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.h-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    background: var(--bg-surface);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.h-feature i {
    color: var(--primary);
    width: 18px;
    height: 18px;
}

.visual-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    position: relative;
}

.visual-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: calc(var(--radius-lg) + 2px);
    z-index: -1;
    opacity: 0.25;
}

.card-image-box {
    width: 100%;
    height: 280px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-caption {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    background: var(--bg-alt);
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.caption-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(224, 93, 56, 0.3);
}

.card-caption strong {
    display: block;
    font-size: 1.05rem;
}

.card-caption span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Sections */
.section {
    padding: 90px 0;
}

/* How It Works */
.how-it-works {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.step-card {
    background: var(--bg-body);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
    background: var(--bg-surface);
}

.step-num {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(224, 93, 56, 0.3);
}

.step-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.step-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.98rem;
}

/* Materials Grid (FDM Capabilities) */
.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.material-card {
    background: var(--bg-surface);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.material-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.mat-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: var(--primary-light);
    color: var(--primary);
}

.mat-strong { background: #fee2e2; color: #dc2626; }
.mat-tough { background: #ffedd5; color: #c2410c; }
.mat-flex { background: #fef3c7; color: #d97706; }

.mat-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--bg-alt);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.material-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.material-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Voorbeelden Gallery Grid */
.gallery-section {
    background: var(--bg-body);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.gallery-card {
    background: var(--bg-surface);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.gallery-img-wrapper {
    position: relative;
    width: 100%;
    height: 230px;
    overflow: hidden;
    background: var(--bg-alt);
}

.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-img-wrapper img {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 41, 59, 0.7);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    width: 32px;
    height: 32px;
}

.gallery-overlay span {
    font-weight: 700;
    font-size: 0.9rem;
}

.gallery-info {
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gallery-info h4 {
    font-size: 1rem;
    font-weight: 700;
    text-transform: capitalize;
}

.g-tag {
    font-size: 0.75rem;
    background: var(--primary-light);
    color: var(--primary);
    padding: 3px 12px;
    border-radius: var(--radius-full);
    font-weight: 700;
}

.gallery-loading, .gallery-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 56px;
    background: var(--bg-surface);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-sm);
}

.gallery-loading i, .gallery-empty i {
    width: 48px;
    height: 48px;
    color: var(--primary);
}

.spin-icon {
    animation: spin 1.2s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(30, 41, 59, 0.94);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    color: #ffffff;
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
}

.lightbox img {
    max-width: 85vw;
    max-height: 75vh;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.lightbox-caption {
    margin-top: 16px;
    color: #ffffff;
    font-size: 1.2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: capitalize;
}

/* 3D Scanning Secondary Section */
.scanning-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    border-radius: var(--radius-lg);
    margin: 40px auto;
    max-width: 1140px;
    box-shadow: var(--shadow-lg);
}

.scanning-card {
    padding: 60px 48px;
}

.scanning-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 44px;
    align-items: center;
}

.scanning-info h2 {
    color: #ffffff;
    font-size: 2.2rem;
    margin-bottom: 18px;
}

.scanning-info p {
    color: #94a3b8;
    font-size: 1.08rem;
    margin-bottom: 28px;
}

.scan-bullets {
    list-style: none;
}

.scan-bullets li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #cbd5e1;
    font-size: 0.98rem;
    margin-bottom: 12px;
}

.scan-bullets li i {
    color: var(--primary);
}

.scanning-visual {
    display: flex;
    justify-content: center;
}

.scan-box {
    background: rgba(255, 255, 255, 0.06);
    border: 2px dashed rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-lg);
    padding: 44px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.scan-box i {
    font-size: 3rem;
    color: var(--primary);
    width: 60px;
    height: 60px;
}

.scan-box span {
    color: #e2e8f0;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Calculator Section */
.calculator-card {
    background: var(--bg-surface);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 52px;
    box-shadow: var(--shadow-lg);
}

.calc-form {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 44px;
    align-items: start;
    margin-top: 40px;
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.form-select {
    background: var(--bg-body);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.98rem;
    color: var(--text-dark);
    outline: none;
    transition: var(--transition);
}

.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 12px rgba(224, 93, 56, 0.2);
}

.form-range {
    accent-color: var(--primary);
    cursor: pointer;
}

.checkbox-group {
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    cursor: pointer;
    color: var(--primary);
    background: var(--primary-light);
    border: 1px solid rgba(224, 93, 56, 0.2);
    padding: 14px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.checkbox-label input {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
}

.price-display-box {
    background: var(--bg-body);
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: var(--shadow-md);
}

.p-title {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.2px;
    font-weight: 800;
    color: var(--text-muted);
}

.p-amount {
    font-family: var(--font-heading);
    font-size: 3.4rem;
    font-weight: 800;
    color: var(--primary);
}

.p-sub {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* About Box */
.about-box {
    background: var(--bg-surface);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 52px;
    box-shadow: var(--shadow-md);
}

.about-box h2 {
    font-size: 2.2rem;
    margin-bottom: 14px;
}

.about-box p {
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 24px;
    font-size: 1.08rem;
}

.about-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    color: var(--text-dark);
}

/* Footer */
.footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    margin-top: 50px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.footer-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-dark);
}

.f-logo {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.top-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid, .scanning-grid, .calc-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 24px;
        display: none;
    }
    .nav-links.active { display: flex; }
    .mobile-menu-btn { display: block; }
}
