/* ===========================================
   KPR CAPITAL MANAGEMENT — MAIN STYLESHEET

   KLEUREN AANPASSEN: Wijzig de waarden bij :root
   FONTS: Inter van Google Fonts
   =========================================== */

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #161616;
    --bg-elevated: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --accent: #ffffff;
    --border: #1e1e1e;
    --border-light: #2a2a2a;
    --overlay: rgba(0, 0, 0, 0.6);
    --transition: 0.3s ease;
    --transition-slow: 0.6s ease;
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ---- UTILITY ---- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container--narrow {
    max-width: 900px;
}

.container--wide {
    max-width: 1400px;
}

/* ---- FADE-IN ANIMATION ---- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition), padding var(--transition);
}

.nav--scrolled {
    border-bottom-color: var(--border);
}

.nav__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-primary);
    transition: opacity var(--transition);
}

.nav__logo:hover {
    opacity: 0.7;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav__link {
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-secondary);
    transition: color var(--transition);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-primary);
    transition: width var(--transition);
}

.nav__link:hover,
.nav__link--active {
    color: var(--text-primary);
}

.nav__link:hover::after,
.nav__link--active::after {
    width: 100%;
}

/* Language switcher */
.nav__lang {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-left: 2rem;
}

.nav__lang-link {
    color: var(--text-muted);
    transition: color var(--transition);
}

.nav__lang-link--active {
    color: var(--text-primary);
    font-weight: 500;
}

.nav__lang-link:hover {
    color: var(--text-primary);
}

/* Mobile menu toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav__toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text-primary);
    transition: transform var(--transition), opacity var(--transition);
}

.nav__toggle--open span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.nav__toggle--open span:nth-child(2) {
    opacity: 0;
}

.nav__toggle--open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTIONS
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero--medium {
    min-height: 70vh;
}

.hero--small {
    min-height: 50vh;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.7) 0%,
        rgba(10, 10, 10, 0.5) 50%,
        rgba(10, 10, 10, 0.9) 100%
    );
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 8rem 0 4rem;
}

.hero__label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.hero__title {
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
    max-width: 800px;
}

.hero__title strong {
    font-weight: 600;
}

.hero__subtitle {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.hero__subtitle strong {
    font-weight: 600;
}

.hero__description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 550px;
    line-height: 1.75;
    font-weight: 300;
}

.hero__scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--text-muted), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 7rem 0;
}

.section--dark {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section--elevated {
    background: var(--bg-elevated);
}

.section__label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.section__title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.section__title strong {
    font-weight: 600;
}

.section__intro {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 650px;
    line-height: 1.8;
    font-weight: 300;
}

.divider {
    width: 40px;
    height: 1px;
    background: var(--text-muted);
    margin: 2rem 0;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats {
    padding: 4rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-secondary);
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stats__item {
    padding: 1rem 0;
}

.stats__value {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stats__label {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 400;
}

/* ============================================
   CARDS
   ============================================ */
.card-grid {
    display: grid;
    gap: 1.5rem;
}

.card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.card-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 2.5rem 2rem;
    transition: border-color var(--transition), transform var(--transition);
}

.card:hover {
    border-color: var(--text-muted);
    transform: translateY(-2px);
}

.card__number {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.12em;
    margin-bottom: 1.2rem;
    font-weight: 500;
}

.card__title {
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.card__text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.75;
    font-weight: 300;
}

/* Card with image */
.card--image {
    padding: 0;
    overflow: hidden;
}

.card--image .card__img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card--image:hover .card__img {
    transform: scale(1.03);
}

.card--image .card__body {
    padding: 2rem;
}

/* ============================================
   FEATURE ROWS (alternating image + text)
   ============================================ */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
}

.feature-row--reverse {
    direction: rtl;
}

.feature-row--reverse > * {
    direction: ltr;
}

.feature-row__img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border: 1px solid var(--border-light);
}

.feature-row__content {
    max-width: 500px;
}

.feature-row__label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.feature-row__title {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.feature-row__title strong {
    font-weight: 600;
}

.feature-row__text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 300;
}

.feature-row__text p {
    margin-bottom: 1rem;
}

/* ============================================
   TEAM
   ============================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    text-align: center;
}

.team-member__photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 2px solid var(--border-light);
    filter: grayscale(30%);
    transition: filter var(--transition), border-color var(--transition);
}

.team-member:hover .team-member__photo {
    filter: grayscale(0%);
    border-color: var(--text-muted);
}

.team-member__name {
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.team-member__role {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.team-member__bio {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 300;
    max-width: 300px;
    margin: 0 auto;
}

/* ============================================
   PORTFOLIO HIGHLIGHT
   ============================================ */
.portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.portfolio-card__header {
    padding: 3rem;
    border-bottom: 1px solid var(--border);
}

.portfolio-card__name {
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.portfolio-card__tag {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.portfolio-card__body {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
}

.portfolio-card__description {
    padding: 3rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 300;
    border-right: 1px solid var(--border);
}

.portfolio-card__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.portfolio-stat {
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border);
    transition: background var(--transition);
}

.portfolio-stat:hover {
    background: var(--bg-elevated);
}

.portfolio-stat:nth-child(even) {
    border-right: none;
}

.portfolio-stat:nth-last-child(-n+2) {
    border-bottom: none;
}

.portfolio-stat__value {
    font-size: 1.6rem;
    font-weight: 300;
    margin-bottom: 0.3rem;
}

.portfolio-stat__label {
    font-size: 0.68rem;
    color: var(--text-muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta {
    padding: 5rem 0;
    text-align: center;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cta__title {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 300;
    margin-bottom: 1rem;
}

.cta__title strong {
    font-weight: 600;
}

.cta__text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 300;
}

.cta__btn {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: background var(--transition), color var(--transition);
}

.cta__btn:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 300;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.contact-item__label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.contact-item__value {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 300;
    transition: color var(--transition);
}

a.contact-item__value:hover {
    color: var(--text-secondary);
}

/* Contact form (optional) */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 0.9rem 1rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 300;
    transition: border-color var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--text-muted);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* ============================================
   MAP PLACEHOLDER
   ============================================ */
.map-placeholder {
    width: 100%;
    height: 300px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 3rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 4rem 0 3rem;
    border-top: 1px solid var(--border);
}

.footer__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
}

.footer__brand {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer__tagline {
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.7;
    max-width: 300px;
}

.footer__col-title {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
}

.footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer__links a {
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 300;
    transition: color var(--transition);
}

.footer__links a:hover {
    color: var(--text-primary);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
}

.footer__copy {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 300;
}

.footer__legal {
    display: flex;
    gap: 1.5rem;
}

.footer__legal a {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 300;
    transition: color var(--transition);
}

.footer__legal a:hover {
    color: var(--text-secondary);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .card-grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-row {
        gap: 3rem;
    }

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

    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav {
        z-index: 9999;
        overflow: visible;
    }

    .nav__menu {
        display: none !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: var(--bg-primary) !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 2.5rem !important;
        z-index: 9998;
        padding: 2rem;
        margin: 0;
    }

    .nav__menu--open {
        display: flex !important;
    }

    .nav__menu--open .nav__link {
        font-size: 1.4rem;
        color: var(--text-primary);
    }

    .nav__toggle {
        display: flex;
        z-index: 10000;
        position: relative;
    }

    .nav__lang {
        margin-left: 0;
        margin-right: 1rem;
        z-index: 10000;
        position: relative;
    }

    .hero__title {
        font-size: clamp(2rem, 7vw, 3rem);
    }

    .section {
        padding: 5rem 0;
    }

    .card-grid--3,
    .card-grid--2 {
        grid-template-columns: 1fr;
    }

    .feature-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-row--reverse {
        direction: ltr;
    }

    .feature-row__img {
        height: 280px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .portfolio-card__body {
        grid-template-columns: 1fr;
    }

    .portfolio-card__description {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .footer__top {
        grid-template-columns: 1fr;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer__legal {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .hero__content {
        padding: 7rem 0 3rem;
    }

    .stats__grid {
        grid-template-columns: 1fr;
    }

    .portfolio-card__header {
        padding: 2rem;
    }

    .portfolio-card__description {
        padding: 2rem;
    }
}
