/* KLEUREN & VARIABELEN */
:root {
    --primary: #6AC7CC;
    --secondary: #FFC178;
    --accent-blue: #3B6594;
    --accent-pink: #C94B75;
    --accent-light: #FFE0BA;
    --dark: #0A0E27;
    --dark-mid: #1A1F3A;
    --dark-light: #2A3156;
    --text-primary: #E8EAED;
    --text-secondary: #B4B8C5;
    --accent-glow: rgba(106, 199, 204, 0.15);
}

/* BASISSTYLING & RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Archivo', sans-serif;
    background: var(--dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* BACKGROUND EFFECT */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(106, 199, 204, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(106, 199, 204, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

.bg-gradient {
    position: fixed;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: float 20s ease-in-out infinite;
}

.bg-gradient::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 193, 120, 0.08) 0%, transparent 70%);
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -30px) scale(1.1); }
    66% { transform: translate(-30px, 50px) scale(0.9); }
}

/* HEADER & NAVIGATIE */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(106, 199, 204, 0.1);
    z-index: 1000;
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-text {
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

/* MOBIEL MENU STYLING & HAMBURGER */
.menu-toggle {
    display: none; /* Standaard verborgen op desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001; /* Boven de navigatie */
}

.hamburger-icon {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    position: relative;
    transition: background-color 0.3s ease;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

.hamburger-icon::before {
    top: -8px;
}

.hamburger-icon::after {
    top: 8px;
}

/* Hamburger animatie (X-vorm) */
.menu-toggle.active .hamburger-icon {
    background-color: transparent;
}

.menu-toggle.active .hamburger-icon::before {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .hamburger-icon::after {
    transform: translateY(-8px) rotate(-45deg);
}


/* MOBILE NAVIGATIE (OVERLAY) STYLING */
.nav-links.mobile {
    display: flex; 
    flex-direction: column;
    position: absolute;
    top: 100%; /* Direct onder de header */
    left: 0;
    width: 100%;
    background: var(--dark);
    border-top: 1px solid var(--primary);
    padding: 1rem 5%;
    gap: 0; /* Geen gap meer, want links staan onder elkaar */
}

.nav-links.mobile li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--dark-light);
}

.nav-links.mobile li:last-child {
    border-bottom: none;
}

/* CONTAINER */
.container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    z-index: 1;
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 101, 148, 0.3) 0%, rgba(106, 199, 204, 0.2) 50%, rgba(201, 75, 117, 0.2) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
    background: rgba(10, 14, 39, 0.7);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(106, 199, 204, 0.2);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary);
    border-radius: 2px;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero h1 .highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--accent-pink);
    opacity: 0.4;
    z-index: -1;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary);
    color: var(--dark);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-pink), var(--secondary));
    transition: left 0.3s ease;
    z-index: -1;
}

.cta-button:hover::before {
    left: 0;
}

.cta-button:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(106, 199, 204, 0.3);
}

/* SERVICES SECTION */
.services {
    padding: 8rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out both;
}

.section-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--dark-mid);
    border: 1px solid rgba(106, 199, 204, 0.1);
    padding: 2.5rem;
    border-radius: 8px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out both;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent-pink));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(106, 199, 204, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--dark-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    transition: all 0.3s ease;
}

.service-card:nth-child(1) .service-icon {
    background: linear-gradient(135deg, var(--primary), var(--accent-blue));
}

.service-card:nth-child(2) .service-icon {
    background: linear-gradient(135deg, var(--secondary), var(--accent-light));
}

.service-card:nth-child(3) .service-icon {
    background: linear-gradient(135deg, var(--accent-pink), var(--secondary));
}

.service-card:nth-child(4) .service-icon {
    background: linear-gradient(135deg, var(--accent-blue), var(--primary));
}

.service-card:nth-child(5) .service-icon {
    background: linear-gradient(135deg, var(--accent-light), var(--secondary));
}


.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* EXPERTISE SECTION */
.expertise {
    padding: 8rem 0;
    background: var(--dark-mid);
    border-top: 1px solid rgba(106, 199, 204, 0.1);
    border-bottom: 1px solid rgba(106, 199, 204, 0.1);
}

.expertise-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.expertise-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.expertise-text p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-item {
    background: var(--dark);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(106, 199, 204, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: var(--primary);
    transform: scale(1.05);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
}

/* Text-fill gradient for stats */
.stat-item:nth-child(1) .stat-number {
    background: linear-gradient(135deg, var(--primary), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item:nth-child(2) .stat-number {
    background: linear-gradient(135deg, var(--secondary), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item:nth-child(3) .stat-number {
    background: linear-gradient(135deg, var(--accent-pink), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item:nth-child(4) .stat-number {
    background: linear-gradient(135deg, var(--accent-blue), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tech-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    padding: 0.75rem 1.5rem;
    background: var(--dark);
    border: 1px solid var(--dark-light);
    border-radius: 4px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

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

.tech-badge:nth-child(2n):hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

.tech-badge:nth-child(3n):hover {
    border-color: var(--accent-pink);
    color: var(--accent-pink);
}

.tech-badge:nth-child(5n):hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

/* CLIENTS SECTION */
.clients {
    padding: 8rem 0;
    background: var(--dark);
}

/* CAROUSEL STYLING */
.carousel-container {
    overflow-x: scroll; 
    scroll-behavior: smooth; 
    -webkit-overflow-scrolling: touch; 
    padding-bottom: 15px; 
    padding-top: 3rem;
}

.carousel-container .scroll-reveal {
    animation: none; 
    opacity: 1;
    transform: none;
}

.carousel-container .client-card,
.carousel-container .testimonial-card {
    flex-shrink: 0; 
    width: 90vw; 
    max-width: 400px; 
    margin-right: 15px; 
}

.carousel-container .clients-grid,
.carousel-container .testimonials-grid {
    display: flex; 
    gap: 0; 
    width: max-content; 
}

/* HERSTEL GRID VOOR GROTERE SCHERMEN (Desktop) */
@media (min-width: 641px) {
    .carousel-container {
        overflow-x: visible; 
        padding-bottom: 0;
    }

    .carousel-container .client-card,
    .carousel-container .testimonial-card {
        width: auto; 
        margin-right: 0;
    }
    
    .carousel-container .clients-grid,
    .carousel-container .testimonials-grid {
        display: grid; 
        width: auto;
    }

    /* Herstel scroll-reveal animaties op desktop */
    .carousel-container .scroll-reveal {
        animation: fadeInUp 0.8s ease-out both;
    }
}

/* Clients Grid (Standaard/Desktop) - Dit is de default state */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.client-card {
    background: var(--dark-mid);
    border: 1px solid rgba(106, 199, 204, 0.1);
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.client-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(106, 199, 204, 0.1);
}


/* TESTIMONIALS SECTION */
.testimonials {
    padding: 8rem 0;
    background: var(--dark-mid);
    border-top: 1px solid rgba(106, 199, 204, 0.1);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--dark);
    border: 1px solid rgba(106, 199, 204, 0.1);
    padding: 2.5rem;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
}

.testimonial-text {
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(106, 199, 204, 0.1);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--dark);
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.testimonial-role {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* CONTACT SECTION */
.contact {
    padding: 8rem 0;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.contact p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: var(--dark-mid);
    border: 1px solid rgba(106, 199, 204, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-method:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(106, 199, 204, 0.2);
}

.contact-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), var(--accent-blue));
    transition: all 0.3s ease;
}

.contact-method:nth-child(2) .contact-icon {
    background: linear-gradient(135deg, var(--secondary), var(--accent-pink));
}

.contact-method:nth-child(3) .contact-icon {
    background: linear-gradient(135deg, #0077b5, #004c7c); /* LinkedIn Kleur */
}

.contact-method:hover .contact-icon {
    transform: scale(1.1) rotate(-5deg);
}

.contact-text {
    text-align: left;
}

.contact-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    color: var(--primary);
}

/* FOOTER */
footer {
    background: var(--dark-mid);
    padding: 3rem 5%;
    border-top: 1px solid rgba(106, 199, 204, 0.1);
    text-align: center;
}

footer p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.footer-logo-icon {
    width: 30px;
    height: 30px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 968px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .expertise-content {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        gap: 1rem;
        font-size: 0.875rem;
    }
    
    .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-content {
        padding: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-methods {
        flex-direction: column;
    }
    
    /* --- MOBIELE NAVIGATIE ACTIVERING --- */
    .menu-toggle {
        display: block; /* Toon de hamburger op kleine schermen */
    }
    
    .nav-links:not(.mobile) {
        display: none; /* Verberg desktop navigatie op kleine schermen */
    }
    
    .clients-grid {
        grid-template-columns: 1fr;
    }
}

/* AANVULLENDE AANPASSING VOOR KLEINE/HOGE DPI SCHERMEN (bv. Pixel 9 Pro) */
@media (max-width: 450px) {
    .hero h1 {
        font-size: 2rem;
    }
    .hero-content {
        padding: 1.5rem;
    }
    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
    .stat-number {
        font-size: 2rem;
    }
}


/* SCROLL REVEAL STYLING */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ANIMATIE VOOR H1 TAG ROTATOR */
@keyframes textFade {
    0% { opacity: 0; transform: scale(0.95); }
    20% { opacity: 1; transform: scale(1); } /* Kort zichtbaar */
    80% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.95); } /* Klaar voor de volgende fade-in */
}

.tagline-fade {
    animation: textFade 2.5s ease-in-out forwards; /* Duur van de animatie */
    display: inline-block; 
}

/* SCROLLBAR VERBERGEN (VOOR CAROUSELS) MAAR SCROLLEN MOGELIJK HOUDEN */
.carousel-container::-webkit-scrollbar {
    display: none;
}
.carousel-container {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}