/* css/style.css */

/* 1. Fonts & Variabelen */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;600;800&display=swap');

:root {
    --primary: #0a1118;    /* Diepdonker uit je logo */
    --accent: #0ea5e9;     /* Het heldere cyan blauw */
    --bg: #f8fafc;         /* Frisse, lichte achtergrond */
    --text: #334155;       /* Zacht grijs/blauw voor tekst */
    --border: rgba(14, 165, 233, 0.15);
    --white: #ffffff;
}

/* 2. Basis Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg);
    /* Subtiel tech-grid op de achtergrond */
    background-image: radial-gradient(var(--border) 0.8px, transparent 0.8px);
    background-size: 30px 30px;
    color: var(--text);
    line-height: 1.6;
}

/* 3. Header & Navigatie (Typografisch) */
header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text-link {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: 2px;
}

nav ul {
    display: flex;
    gap: 35px;
    list-style: none;
}

nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--accent);
}

/* 4. Layout */
main {
    max-width: 1100px;
    margin: 4rem auto;
    padding: 0 5%;
}

/* 5. Glassmorphism Cards */
.glass-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.02);
    margin-bottom: 30px;
}

.glass-card.small {
    padding: 2rem;
}

/* Styling voor lijstjes in kaarten (Diensten pagina) */
.glass-card ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.glass-card ul li:last-child {
    border-bottom: none;
}

.glass-card ul li strong {
    color: var(--primary);
}

/* 6. Hero Sectie (Zij-aan-zij) */
.hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text {
    flex: 1.5;
}

.hero-visual {
    flex: 1;
    text-align: right;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--primary);
    line-height: 1.1;
    margin: 1rem 0 1.5rem 0;
}

.badge {
    color: var(--accent);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 10px;
}

/* Tekst en de knop ruimte geven */
.hero-text p {
    margin-bottom: 3.5rem; 
    font-size: 1.15rem;
    color: var(--text);
    max-width: 550px;
}

/* Logo styling */
.main-logo-display {
    width: 100%;
    max-width: 420px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    transition: transform 0.5s ease;
}

.main-logo-display:hover {
    transform: scale(1.02);
}

/* 7. Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* 8. Knoppen */
.button {
    display: inline-block;
    padding: 16px 36px;
    background: var(--primary);
    color: white !important;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 1px solid var(--primary);
}

.button:hover {
    background: transparent;
    color: var(--primary) !important;
    border-color: var(--accent);
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.2);
}

/* 9. PORTFOLIO PRO STYLING (NIEUW) */

/* Layout voor Project Cards */
.project-layout {
    display: flex;
    gap: 50px;
    align-items: center;
}

.project-visual {
    flex: 1;
    min-width: 300px;
}

.project-details {
    flex: 1;
}

.project-subtitle {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* Browser Frame Effect */
.browser-frame {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: transform 0.4s ease;
}

.browser-frame:hover {
    transform: translateY(-5px) scale(1.01);
}

.browser-header {
    background: #f1f5f9;
    padding: 10px 15px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #e2e8f0;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28c940; }

.project-img {
    width: 100%;
    display: block;
    height: auto;
}

/* Tech Stack Badges */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2rem;
}

.tech-badge {
    background: rgba(14, 165, 233, 0.1);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid rgba(14, 165, 233, 0.2);
}

/* 10. Animaties */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.fade-in-delayed {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards 0.4s;
}

/* 11. Mobiele Weergave */
@media (max-width: 900px) {
    .hero-flex {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero-visual {
        order: -1; 
        text-align: center;
    }

    .hero-text p {
        margin: 0 auto 2.5rem auto;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Mobiel voor Portfolio */
    .project-layout {
        flex-direction: column;
    }
    .project-visual {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 4rem 0;
    color: #94a3b8;
    font-size: 0.85rem;
    border-top: 1px solid var(--border);
}
/* --- MOBIELE NAVIGATIE FIX --- */
@media (max-width: 900px) {
    nav {
        /* Zet logo en linkjes onder elkaar in plaats van naast elkaar */
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        /* Zorgt dat linkjes naar een nieuwe regel springen als het scherm te smal is */
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    nav a {
        /* Maakt het lettertype op mobiel heel iets kleiner voor een betere fit */
        font-size: 0.75rem; 
    }
}