/* --- Over Mij - Custom Styling --- */
/* Eyebrow & Project Metadata styling */
.project-meta {
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 2px;
}

/* Highlight accent */
.text-highlight {
    color: #ffffff;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

/* Stat Box hover effect */
.stat-box {
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.stat-box:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.4) !important;
}

/* Cards Glassmorphism styling */
.bio-card, .info-card, .process-card, .contact-panel {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.process-card:hover, .info-card:hover, .bio-card:hover {
    border-color: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-4px);
}

/* Step badges */
.step-badge {
    opacity: 0.3;
    transition: opacity 0.3s ease;
}
.process-card:hover .step-badge {
    opacity: 0.9;
}

/* Contact CTA Section */
.contact-panel {
    background: linear-gradient(180deg, rgba(20, 20, 20, 0.6) 0%, rgba(10, 10, 10, 0.8) 100%);
}

.max-w-600 {
    max-width: 600px;
}

.max-w-500 {
    max-width: 500px;
}

.fs-7 {
    font-size: 0.8rem;
}

.tracking-wider {
    letter-spacing: 1.5px;
}

.about-image-card {
    position: relative;
    aspect-ratio: 4 / 3;
}

/* Portret met een rustige camera- en scanline-beweging. */
.portrait-frame {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #111;
}

.portrait-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.85) contrast(1.08);
    animation: portraitDrift 9s ease-in-out infinite alternate;
}

.portrait-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 35%, rgba(255, 166, 0, 0.2) 50%, transparent 65%);
    background-size: 220% 100%;
    mix-blend-mode: screen;
    animation: portraitSweep 6s ease-in-out infinite;
}

.portrait-scanline {
    position: absolute;
    left: 0;
    right: 0;
    top: -20%;
    height: 18%;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    mix-blend-mode: screen;
    animation: portraitScan 4.5s linear infinite;
}

@keyframes portraitDrift {
    0% {
        transform: scale(1.02) translate3d(-1%, 0, 0);
    }
    100% {
        transform: scale(1.08) translate3d(1%, -1%, 0);
    }
}

@keyframes portraitSweep {
    0%, 25% {
        background-position: 140% 0;
    }
    65%, 100% {
        background-position: -40% 0;
    }
}

@keyframes portraitScan {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    15%, 75% {
        opacity: 1;
    }
    100% {
        transform: translateY(680%);
        opacity: 0;
    }
}