@font-face {
    font-family: 'SF Mono';
    src: url('fonts/SFMono-Regular.otf') format('opentype');
    font-weight: normal;
}

@font-face {
    font-family: 'SF Mono';
    src: url('fonts/SFMono-Bold.otf') format('opentype');
    font-weight: bold;
}

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

body {
    background-color: #000;
    color: #fff;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    overflow-x: hidden;
}

/* --- FLOATING NAVIGATION BAR --- */
.floating-nav {
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
    font-size: 1.1rem;
    font-weight: bold;
    font-family: 'SF Mono', monospace;
    color: #fff;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.nav-logo:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #aaa;
}

/* --- VIDEO BACKGROUND & HERO --- */
.video-window {
    position: relative;
    width: 100%;
    height: 100vh;
    clip-path: inset(0); 
}

.video-window video {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -2;
}

.overlay {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.hero-title {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    text-align: center;
    width: 100%;
}

.hero-title.reveal {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 30px));
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.hero-title.reveal.active {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.hero-title h1 {
    font-size: 75px;
    letter-spacing: 25px;
    text-transform: uppercase;
    font-family: 'SF Mono', monospace;
}

.hero-title h2 {
    font-size: 40px;
    letter-spacing: 10px;
    text-transform: uppercase;
    font-family: 'SF Mono', monospace;
    margin-bottom: 15px;
}

.hero-title p {
    font-size: 18px;
    letter-spacing: 2px;
    color: #eee;
}

/* --- INFO BARS --- */
.info-bar {
    position: relative;
    z-index: 10;
    background-color: #050505;
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding: 10vh 10vw;
    border-top: none;
    border-bottom: none;
}

.info-bar::before {
    content: '';
    position: absolute;
    top: -10px; 
    left: 0;
    right: 0;
    height: 10px; 
    background: linear-gradient(to bottom, transparent, #050505);
    pointer-events: none;
}

.info-bar::after {
    content: '';
    position: absolute;
    bottom: -10px; 
    left: 0;
    right: 0;
    height: 10px; 
    background: linear-gradient(to top, transparent, #050505);
    pointer-events: none;
}

.footer-bar {
    min-height: 85vh;
    border-bottom: none;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    padding: 14vh 10vw 6vh 10vw !important;
    position: relative;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 60%), #050505;
}

.footer-bar .content {
    margin-top: auto;
    margin-bottom: auto;
}

.footer-bar .content h2 {
    font-family: 'SF Mono', monospace;
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    font-weight: 700;
    letter-spacing: 12px;
    margin-right: -12px; /* Compenseert letter-spacing na laatste letter */
    margin-bottom: 20px;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.1;
}

.footer-bar .content p {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.7;
    color: #aaa;
    max-width: 620px;
    margin-bottom: 35px;
    font-weight: 400;
}

.content {
    max-width: 900px;
}

.content h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.content p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #888;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 10px;
    padding: 16px 42px;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    border: 1px solid #fff;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '→';
    font-family: 'SF Mono', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover {
    background: #f0f0f0;
    border-color: #f0f0f0;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.25);
}

.btn:hover::after {
    transform: translateX(5px);
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.15);
}

/* --- ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

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

/* --- PROJECTS PAGE & TIMELINE --- */
.page-header {
    padding-top: 180px; 
    padding-bottom: 50px;
    background-color: #050505;
    text-align: center;
    justify-content: center; /* Zorgt dat het flex-element netjes in het midden staat */
}

.eyebrow {
    display: block;
    font-family: 'SF Mono', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin-right: -4px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 12px;
}

.page-header .eyebrow {
    display: block;
    font-size: 0.9rem;
    letter-spacing: 5px;
    margin-right: -5px; /* Compenseert de ruimte na de laatste letter */
    text-transform: uppercase;
    color: #888;
    margin-bottom: 5px; 
}

.timeline-main-title {
    font-family: 'SF Mono', monospace !important;
    font-size: clamp(3rem, 8vw, 5rem) !important;
    letter-spacing: 20px !important;
    margin-right: -20px; /* Compenseert de ruimte na de laatste letter */
    text-transform: uppercase;
    margin-top: 0;
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: 12px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.page-header p {
    max-width: 720px;
    margin: 0 auto;
    color: #ccc;
    line-height: 1.8;
}

.timeline-section {
    background-color: #050505;
    padding: 80px 20px;
    color: #fff;
    overflow: hidden;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.2);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 120px;
    width: 100%;
    scroll-margin-top: 120px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-content {
    width: 42%; /* Verkleind van 45% om overlap in het midden te voorkomen */
}

.timeline-date {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    
    /* Ondoorzichtige achtergrond om de lijn te verbergen, met de look van het menu */
    background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)), #050505;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    
    padding: 6px 16px;
    border-radius: 50px;
    
    font-weight: bold;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    z-index: 2;
    white-space: nowrap;
    color: #fff;
    text-transform: uppercase; /* Drukletters */
}

.text-content h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.text-content p {
    color: #aaa;
    line-height: 1.6;
    font-size: 1rem;
}

.text-content.left {
    text-align: right;
}

.text-content.right {
    text-align: left;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background-color: #111;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    overflow: hidden;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    .timeline-main-title {
        font-size: 2.5rem !important;
        letter-spacing: 10px !important;
        margin-right: -10px !important; /* Marge aanpassen aan de kleinere letter-spacing */
    }
    
    .page-header .eyebrow {
        font-size: 0.75rem;
        letter-spacing: 3px;
        margin-right: -3px;
    }
}

@media (max-width: 900px) {
    .timeline::after {
        left: 50px;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 80px;
    }

    .timeline-content {
        width: 100%;
        padding-left: 80px;
        text-align: left !important;
    }

    .timeline-date {
        left: 50px;
        top: 0;
        transform: translate(-50%, -50%);
        padding: 5px 12px;
        font-size: 0.75rem;
    }

    .timeline-content.text-content {
        order: 1;
        margin-bottom: 20px;
        margin-top: 30px;
    }

    .timeline-content.video-content {
        order: 2;
    }

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

@media (max-width: 768px) {
    .floating-nav {
        gap: 15px;
        padding: 12px 20px;
        top: 10px;
    }

    .nav-logo {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-link {
        font-size: 0.75rem;
    }

    .hero-title h1 {
        font-size: clamp(3rem, 12vw, 5rem);
        letter-spacing: 8px;
    }

    .hero-title h2 {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
        letter-spacing: 3px;
    }

    .hero-title p {
        font-size: clamp(0.8rem, 3vw, 1.2rem);
        margin-top: 15px;
    }

    .info-bar {
        min-height: auto;
        padding: 8vh 5vw;
    }

    .page-header {
        padding-top: calc(8vh + 70px);
    }

    .content h2 {
        font-size: clamp(1.5rem, 6vw, 3rem);
        margin-bottom: 15px;
    }

    .content p {
        font-size: clamp(0.95rem, 2.5vw, 1.2rem);
        line-height: 1.5;
    }

    .btn {
        padding: 14px 34px;
        font-size: 0.88rem;
    }

    .footer-bar {
        min-height: auto;
        padding: 10vh 8vw 6vh 8vw !important;
    }

    .footer-bar .content h2 {
        font-size: clamp(2rem, 7vw, 3.2rem);
        letter-spacing: 8px;
        margin-right: -8px;
        margin-bottom: 16px;
    }

    .footer-bar .content p {
        font-size: 1rem;
        margin-bottom: 28px;
    }
}

@media (max-width: 480px) {
    .floating-nav {
        gap: 10px;
        padding: 10px 12px;
        top: 10px;
        left: 10px;
        right: 10px;
        flex-direction: column;
        justify-content: center;
    }

    .nav-logo {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }

    .nav-links {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .nav-link {
        font-size: 0.7rem;
    }

    .hero-title h1 {
        font-size: 2.5rem;
        letter-spacing: 5px;
    }

    .hero-title h2 {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }

    .hero-title p {
        font-size: 0.85rem;
    }

    .info-bar {
        padding: 6vh 4vw;
    }

    .page-header {
        padding-top: calc(6vh + 90px);
    }

    .content h2 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .content p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .btn {
        padding: 12px 28px;
        font-size: 0.82rem;
        gap: 10px;
    }

    .footer-bar {
        padding: 8vh 6vw 6vh 6vw !important;
    }

    .footer-bar .content h2 {
        font-size: clamp(1.8rem, 8vw, 2.4rem);
        letter-spacing: 6px;
        margin-right: -6px;
        margin-bottom: 14px;
    }

    .footer-bar .content p {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }
}

/* --- CONTACT FORM --- */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
    margin-top: 40px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

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

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: #fff;
    color: #000;
    border: 1px solid #fff;
    padding: 16px 42px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 10px;
    align-self: flex-start;
}

.submit-btn::after {
    content: '→';
    font-family: 'SF Mono', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.submit-btn:hover {
    background: #f0f0f0;
    border-color: #f0f0f0;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.25);
}

.submit-btn:hover::after {
    transform: translateX(5px);
}

.submit-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.15);
}

/* --- TESTIMONIALS TICKER --- */
.testimonials-ticker-container {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    overflow: hidden;
    transform: translateY(calc(-50% + 30px));
    z-index: 3;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.testimonials-ticker-container.reveal.active {
    opacity: 1;
    transform: translateY(-50%);
}

.ticker-wrap {
    display: flex;
    width: max-content;
}

.ticker-track {
    display: flex;
    gap: 40px;
    padding-right: 40px; /* Spacing between tracks matches spacing between cards */
    animation: scroll-ticker 30s linear infinite;
}

.ticker-wrap:hover .ticker-track {
    animation-play-state: paused;
}

.ticker-card {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1); /* Lighter, more glassy background */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px 40px;
    border-radius: 15px;
    width: 420px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); /* Lighter shadow to prevent dark smudge between tiles */
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.ticker-card:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.ticker-card .quote {
    font-size: clamp(1rem, 2.5vw, 1.25rem) !important;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #fff;
    text-align: left;
}

.ticker-card .author {
    font-size: 0.8rem !important;
    font-weight: bold;
    letter-spacing: 2px;
    color: #aaa;
    text-transform: uppercase;
    font-family: 'SF Mono', monospace;
    text-align: left;
}

@keyframes scroll-ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* --- FOOTER SOCIAL MEDIA (BOTTOM RIGHT IN READY TO FLY) --- */
.footer-socials {
    align-self: flex-end;
    margin-top: auto;
    padding-top: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-socials:hover {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.footer-socials-text {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ccc;
    text-transform: uppercase;
    padding-right: 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-socials-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-icon {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-icon svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.footer-icon:hover {
    background: #fff;
    color: #000;
    transform: scale(1.15);
}

@media (max-width: 768px) {
    .footer-bar {
        min-height: auto;
        padding: 10vh 8vw 40px 8vw !important;
    }
    .footer-bar .content {
        margin-top: 0;
        margin-bottom: 40px;
    }
    .footer-bar .content h2 {
        font-size: clamp(2rem, 7vw, 3.2rem);
        letter-spacing: 8px;
        margin-right: -8px;
        margin-bottom: 16px;
    }
    .footer-bar .content p {
        font-size: 1rem;
        margin-bottom: 28px;
    }
    .footer-socials {
        align-self: flex-start;
        padding: 8px 16px;
        gap: 10px;
    }
    .footer-socials-text {
        font-size: 0.65rem;
        padding-right: 8px;
        letter-spacing: 1px;
    }
    .footer-icon {
        width: 28px;
        height: 28px;
    }
    .footer-icon svg {
        width: 14px;
        height: 14px;
    }
}