/* ================================================
   NIMBLE DEMO OMGEVING — Huisstijl CSS
   Kleuren en stijl gebaseerd op nimble.expert
   ================================================ */

/* === FELLIX FONT (lokaal) === */
@font-face {
    font-family: 'Fellix';
    src: url('../fonts/Fellix-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Fellix';
    src: url('../fonts/Fellix-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Fellix';
    src: url('../fonts/Fellix-RegularItalic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}
@font-face {
    font-family: 'Fellix';
    src: url('../fonts/Fellix-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Fellix';
    src: url('../fonts/Fellix-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'Fellix';
    src: url('../fonts/Fellix-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

:root {
    --nimble-dark: #051C2C;
    --nimble-primary: #91C713;
    --nimble-secondary: #6a8f34;
    --nimble-green-light: #a7da20;
    --nimble-blue: #4c6895;
    --nimble-blue-light: #93a7cb;
    --nimble-sky: #3cb4e5;
    --nimble-light: #dce3eb;
    --nimble-white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Fellix', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--nimble-dark);
    color: var(--nimble-white);
    min-height: 100vh;
    overflow-x: hidden;
}

/* === GRADIENT ACHTERGROND (exact als nimble.expert hero) === */
.page-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 0% 0%, rgba(76, 104, 149, 0.6) 0px, transparent 50%),
        radial-gradient(ellipse at 100% 100%, rgba(145, 199, 19, 0.35) 0px, transparent 50%);
    z-index: 0;
    pointer-events: none;
}


/* === NAVIGATIE === */
nav {
    position: relative;
    z-index: 10;
    padding: 28px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo svg {
    height: 30px;
    width: auto;
}

.nav-badge {
    font-size: 11px;
    font-weight: 600;
    color: var(--nimble-dark);
    background: var(--nimble-primary);
    padding: 6px 18px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* === MAIN CONTENT === */
.main {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 170px);
    padding: 0 48px;
}

.content-wrapper {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1200px;
    width: 100%;
}

.text-side {
    flex: 1;
    padding-left: 80px;
}

.text-side h1 {
    font-size: clamp(34px, 4.5vw, 56px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.green-line {
    width: 50px;
    height: 4px;
    background: var(--nimble-primary);
    margin-bottom: 28px;
    border-radius: 2px;
}

.subtitle {
    font-size: clamp(16px, 1.8vw, 22px);
    font-weight: 400;
    color: var(--nimble-primary);
    margin-bottom: 20px;
    font-style: italic;
}

.description {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    max-width: 520px;
}

/* === VISUAL SIDE: N-shape + raket === */
.visual-side {
    flex: 0 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 420px;
    height: 500px;
}

/* N-shape: achtergrond, half transparant */
.n-shape {
    width: 340px;
    height: auto;
    opacity: 0.15;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
}

/* Raket: voorgrond, vóór de N-shape */
.rocket {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    width: 260px;
    height: auto;
    z-index: 3;
    filter: drop-shadow(0 20px 60px rgba(0,0,0,0.5));
    cursor: pointer;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
                filter 0.6s ease,
                opacity 0.4s ease;
    transform-origin: center bottom;
}

.rocket:hover {
    transform: translateY(-50%) rotate(-25deg) translate(-60px, -80px) scale(1.15);
    filter: drop-shadow(0 30px 80px rgba(145, 199, 19, 0.5));
}

.rocket.launched {
    transform: translateY(-50%) rotate(-45deg) translate(-400px, -700px) scale(0.2);
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.8s ease 0.4s,
                filter 0.6s ease;
    filter: drop-shadow(0 10px 40px rgba(145, 199, 19, 0.8));
}

/* === FOOTER === */
footer {
    position: relative;
    z-index: 2;
    border-top: 2px solid var(--nimble-primary);
    padding: 28px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(5, 28, 44, 0.5);
    backdrop-filter: blur(10px);
}

.footer-logo svg {
    height: 18px;
    fill: rgba(255,255,255,0.3);
}

.footer-info {
    color: rgba(255,255,255,0.3);
    font-size: 13px;
}

.footer-info a {
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-info a:hover {
    color: var(--nimble-primary);
}

/* === RESPONSIVE: TABLET (max 960px) === */
@media (max-width: 960px) {
    nav {
        padding: 24px 32px;
    }

    .main {
        padding: 0 32px;
        min-height: calc(100vh - 150px);
    }

    .content-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .text-side {
        padding-left: 0;
        order: 2;
    }

    .green-line {
        margin-left: auto;
        margin-right: auto;
    }

    .description {
        margin: 0 auto;
    }

    .visual-side {
        order: 1;
        width: 300px;
        height: 360px;
    }

    .rocket {
        width: 180px;
        right: -10px;
    }

    .n-shape {
        width: 220px;
    }

    footer {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding: 24px 32px;
    }
}

/* === RESPONSIVE: MOBILE (max 600px) === */
@media (max-width: 600px) {
    nav {
        padding: 20px 20px;
    }

    .logo svg {
        height: 24px;
    }

    .nav-badge {
        font-size: 9px;
        padding: 5px 12px;
        letter-spacing: 1px;
    }

    .main {
        padding: 20px 20px 40px;
        min-height: calc(100vh - 130px);
        align-items: flex-start;
    }

    .content-wrapper {
        gap: 24px;
    }

    .text-side h1 {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 14px;
    }

    .green-line {
        width: 36px;
        height: 3px;
        margin-bottom: 18px;
    }

    .subtitle {
        font-size: 16px;
        margin-bottom: 14px;
    }

    .description {
        font-size: 14px;
        line-height: 1.65;
    }

    .visual-side {
        width: 220px;
        height: 260px;
    }

    .rocket {
        width: 130px;
        right: -5px;
    }

    .n-shape {
        width: 160px;
    }

    footer {
        padding: 20px;
        gap: 8px;
    }

    .footer-logo svg {
        height: 14px;
    }

    .footer-info {
        font-size: 11px;
    }
}

/* === RESPONSIVE: SMALL MOBILE (max 380px) === */
@media (max-width: 380px) {
    .text-side h1 {
        font-size: 24px;
    }

    .visual-side {
        width: 180px;
        height: 220px;
    }

    .rocket {
        width: 110px;
    }

    .n-shape {
        width: 130px;
    }
}