/* =========================================
   ESTEE BV - ENTERPRISE IDENTITY LAYER
   ========================================= */

:root {
    /* Kleurenpalet */
    --estee-orange: #F5882A;
    --estee-orange-dark: #d66e15;
    --estee-dark: #0F172A;       /* Diep donkerblauw/zwart voor contrast */
    --estee-gray: #64748B;       /* Zakelijk grijs voor body tekst */
    --estee-light: #F8FAFC;      /* Heel lichte achtergrond */
    --estee-border: #E2E8F0;     /* Subtiele lijnen */
    --white: #ffffff;

    /* Layout & Spacing */
    --navbar-height: 90px;
    --container-width: 1280px;
    --radius-sm: 8px;
    --radius-md: 16px;
    
    /* Typografie */
    --font-sans: 'Plus Jakarta Sans', sans-serif;
}

/* --- GLOBAL RESET & BASE --- */
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    color: var(--estee-dark);
    background-color: var(--white);
    margin: 0; padding: 0;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased; /* Scherpe tekst op Mac/iOS */
}

h1, h2, h3, h4, h5 {
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-top: 0;
    color: var(--estee-dark);
}

p { margin-bottom: 1.5rem; }
a { text-decoration: none; color: inherit; transition: all 0.2s ease; }
ul { list-style: none; padding: 0; margin: 0; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- UTILITIES --- */
.section { padding: 120px 0; } /* Ruime witruimte voor luxe uitstraling */
.bg-light { background-color: var(--estee-light); border-top: 1px solid var(--estee-border); border-bottom: 1px solid var(--estee-border); }
.text-gradient { 
    color: var(--estee-orange); /* Fallback */
    background: linear-gradient(135deg, var(--estee-dark) 0%, var(--estee-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 32px; border-radius: var(--radius-sm);
    font-weight: 700; border: none; cursor: pointer; font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
    background: var(--estee-orange); color: white;
    box-shadow: 0 4px 14px 0 rgba(245, 136, 42, 0.39);
}
.btn-primary:hover {
    background: var(--estee-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 136, 42, 0.23);
}

.btn-secondary {
    background: white; border: 1px solid var(--estee-border); color: var(--estee-dark);
}
.btn-secondary:hover {
    border-color: var(--estee-dark); background: var(--estee-light);
}
.btn-lg { font-size: 1.1rem; padding: 16px 40px; }

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
.site-navbar {
    height: var(--navbar-height);
    position: sticky; top: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    z-index: 1000;
    display: flex; align-items: center;
}

.nav-inner {
    display: flex; justify-content: space-between; align-items: center; width: 100%;
}

.logo-img { height: 50px; width: auto; display: block; }

@media (max-width: 992px) {
    .logo-img {
        height: 35px; /* Iets subtieler */
    }
}

/* Desktop Navigation */
.desktop-nav { display: flex; gap: 40px; align-items: center; }
.desktop-nav a { font-weight: 600; font-size: 0.95rem; color: var(--estee-gray); }
.desktop-nav a:hover { color: var(--estee-orange); }

.desktop-actions { display: flex; align-items: center; gap: 24px; }
.link-contact { font-weight: 600; font-size: 0.9rem; color: var(--estee-gray); }
.link-contact:hover { color: var(--estee-orange); }

/* =========================================
   MOBILE MENU FIX (CRUCIAAL)
   ========================================= */

/* 1. Op Desktop (> 992px): Verberg ALLES wat mobiel is */
@media (min-width: 993px) {
    .mobile-menu-overlay, 
    .mobile-toggle,
    .mobile-close {
        display: none !important;
    }
}

/* 2. Op Mobiel (< 992px): Verberg desktop, toon mobiel */
@media (max-width: 992px) {
    .desktop-nav, .desktop-actions { display: none !important; }
    .mobile-toggle { display: block; background: none; border: none; font-size: 1.5rem; cursor: pointer; padding: 5px; }
    
    .nav-inner { padding: 0 20px; }
}

/* De Mobile Overlay Styling */
.mobile-menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: white; z-index: 9999;
    transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column;
}
.mobile-menu-overlay.is-open { transform: translateX(0); }

.mobile-menu-content { padding: 24px; height: 100%; overflow-y: auto; display: flex; flex-direction: column; }
.mobile-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; border-bottom: 1px solid var(--estee-border); padding-bottom: 20px; }
.mobile-title { font-weight: 800; font-size: 1.2rem; color: #cbd5e1; }
.mobile-close { font-size: 1.5rem; color: var(--estee-dark); cursor: pointer; background: transparent; border: none; }
.mobile-links { display: flex; flex-direction: column; gap: 24px; }
.mobile-links a { font-size: 1.5rem; font-weight: 700; color: var(--estee-dark); }
.mobile-cta-box { margin-top: auto; padding-top: 40px; }
.full-width { width: 100%; }


/* =========================================
   SECTIONS
   ========================================= */

/* --- HERO --- */
.hero {
    padding: 180px 0 120px;
    text-align: center;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 40px 40px;
    background-color: #fff;
    /* Fade out effect onderaan */
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.hero-content { max-width: 900px; margin: 0 auto; }
.hero h1 { font-size: 4rem; line-height: 1.1; margin-bottom: 24px; }
.hero-sub { font-size: 1.25rem; color: var(--estee-gray); max-width: 600px; margin: 0 auto 40px; font-weight: 400; }

/* --- TECH STACK --- */
.tech-stack-section {
    padding: 40px 0; border-bottom: 1px solid var(--estee-border); background: white;
}
.tech-grid {
    display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
    opacity: 0.6; filter: grayscale(100%); transition: all 0.3s ease;
}
.tech-grid:hover { opacity: 1; filter: grayscale(0%); }
.tech-item { font-weight: 700; font-size: 1.1rem; color: var(--estee-gray); display: flex; align-items: center; gap: 10px; }


/* --- DIENSTEN (Cards) --- */
.section-header { margin-bottom: 80px; max-width: 700px; }
.section-header h2 { font-size: 3rem; margin-bottom: 20px; }
.section-header p { font-size: 1.2rem; color: var(--estee-gray); }

.services-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.service-card {
    background: white; padding: 48px 40px; border-radius: var(--radius-md);
    border: 1px solid var(--estee-border);
    transition: all 0.3s ease;
    display: flex; flex-direction: column;
}
.service-card:hover {
    border-color: var(--estee-orange);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.05);
}
.icon-circle {
    width: 56px; height: 56px; background: #FFF7ED; color: var(--estee-orange);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 30px;
}
.service-card h3 { font-size: 1.35rem; margin-bottom: 15px; }
.service-card p { color: var(--estee-gray); flex-grow: 1; }
.feature-list { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--estee-light); }
.feature-list li { margin-bottom: 10px; font-weight: 600; font-size: 0.9rem; display: flex; align-items: center; gap: 10px; }
.feature-list li i { color: var(--estee-orange); font-size: 0.8rem; }


/* --- AANPAK (Process Grid) --- */
.process-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px;
    margin-top: 40px;
}
.process-step { position: relative; }
/* Verbindingslijn (optioneel, subtiel) */
.process-step::before {
    content: ""; position: absolute; top: 0; left: 0; width: 40px; height: 2px; background: var(--estee-orange);
}

.step-nr {
    font-size: 4rem; font-weight: 800; color: #F1F5F9; /* Heel licht grijs */
    line-height: 1; margin-bottom: 10px; display: block;
}
.step-content h3 { font-size: 1.5rem; margin-bottom: 15px; }
.step-content p { color: var(--estee-gray); }


/* --- STATS (Dark Mode) --- */
.stats-section {
    background: var(--estee-dark); padding: 100px 0; color: white;
}
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center;
}
.stat-item h2 { color: var(--estee-orange); font-size: 3.5rem; margin-bottom: 10px; }
.stat-item p { 
    color: #94A3B8; font-weight: 700; text-transform: uppercase; 
    letter-spacing: 2px; font-size: 0.85rem; margin: 0; 
}


/* --- FOOTER --- */
.site-footer {
    background: white; padding: 80px 0 40px; border-top: 1px solid var(--estee-border);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-desc { margin-top: 20px; color: var(--estee-gray); max-width: 300px; font-size: 0.95rem; }
.logo-img-small { height: 26px; opacity: 0.8; }

.footer-list li { margin-bottom: 14px; }
.footer-list a { color: var(--estee-gray); font-weight: 500; }
.footer-list a:hover { color: var(--estee-orange); text-decoration: underline; }

.footer-bottom {
    margin-top: 60px; pt: 30px; border-top: 1px solid var(--estee-light);
    text-align: center; color: #cbd5e1; font-size: 0.9rem;
}


/* =========================================
   RESPONSIVE OVERRIDES
   ========================================= */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.8rem; }
    .hero-sub { font-size: 1.1rem; }
    .hero { padding: 140px 0 80px; }
    
    .services-grid, 
    .process-grid, 
    .stats-grid, 
    .footer-grid { 
        grid-template-columns: 1fr; 
        gap: 50px; 
    }
    
    .step-nr { font-size: 3rem; }
    .process-step::before { width: 2px; height: 40px; } /* Lijn verticaal op mobiel */
}

/* Legal Pages Styling */
.legal-hero {
    padding: 120px 0 60px 0;
    text-align: center;
    background: #F8FAFC;
    border-bottom: 1px solid #E2E8F0;
}
.legal-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--estee-dark);
    margin-bottom: 10px;
}
.legal-hero p {
    color: var(--estee-gray);
    font-size: 1.1rem;
}

.legal-content {
    max-width: 800px; /* Belangrijk voor leesbaarheid */
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--estee-dark);
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #E2E8F0;
}

.legal-content p, .legal-content ul {
    margin-bottom: 20px;
    color: #475569;
}

.legal-content ul {
    padding-left: 20px;
}
.legal-content li {
    margin-bottom: 10px;
}

.legal-content a {
    color: var(--estee-orange);
    text-decoration: underline;
}

.cookie-type {
    background: #F8FAFC;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #E2E8F0;
}
.cookie-type h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.cookie-type p { margin: 0; }

/* Compact Footer Styling */
.site-footer {
    background: #F8FAFC;
    padding: 60px 0 30px 0; /* Minder padding onderaan */
    border-top: 1px solid #E2E8F0;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; /* 1e kolom breder */
    gap: 40px;
    margin-bottom: 30px; /* Ruimte tussen grid en bottom line verkleind */
}

/* Headers en Lijsten */
.footer-col h5 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94A3B8;
    margin-bottom: 15px;
    font-weight: 700;
}

.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 8px; }
.footer-list a { color: var(--estee-dark); text-decoration: none; transition: 0.2s; }
.footer-list a:hover { color: var(--estee-orange); }

.brand-col p { margin-top: 15px; color: var(--estee-gray); line-height: 1.6; max-width: 300px; }
.logo-img-small { height: 35px; width: auto; }

/* De nieuwe compacte bottom line */
.footer-bottom-compact {
    font-size: 0.85rem;
    color: #CBD5E1;
    /* Geen border-top meer, gewoon subtiel eronder */
}

.footer-bottom-compact a {
    color: #94A3B8;
    text-decoration: none;
    margin: 0 5px;
    transition: color 0.2s;
}

.footer-bottom-compact a:hover {
    color: var(--estee-orange);
    text-decoration: underline;
}

/* Mobiel */
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .brand-col p { margin: 15px auto; }
    .footer-bottom-compact { text-align: center; margin-top: 20px; }
}