/* ============================================
   LUPKER CREATIVE SERVICES
   Page-Specific Styles - Bold Edition
   ============================================ */

/* Subtle floating animations for content blocks */
@keyframes subtleFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

@keyframes subtleFloatAlt {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
}

/* Very gentle float - for containers, images, headers */
@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

@keyframes gentleFloatAlt {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
}

@keyframes subtleFloatSlow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

/* ============================================
   PAGE HERO - Creative Backgrounds
   ============================================ */
.page-hero {
    position: relative;
    height: 50vh;
    max-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-height) + var(--space-sm)) var(--space-md) var(--space-md);
    overflow: hidden;
}

/* Full screen hero with intro text */
.page-hero-full {
    position: relative;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-height) + var(--space-sm)) var(--space-md) calc(var(--space-xl) + 60px);
    overflow: hidden;
    box-sizing: border-box;
}

.page-hero-full .page-hero-content {
    flex: 0 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: var(--space-sm);
}

.page-intro {
    max-width: 800px;
    text-align: center;
    z-index: 1;
    padding: 0 var(--space-md);
    animation: pageHeroIn 0.6s ease-out 0.2s both;
}

.page-intro .intro-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--black);
}

.page-hero-dark .page-intro .intro-text {
    color: rgba(255, 255, 255, 0.7);
}

.page-hero-full .scroll-indicator {
    position: absolute;
    bottom: var(--space-md);
    flex-shrink: 0;
}

.page-hero-compact {
    min-height: 45vh;
}

/* Hero color variants */
.page-hero-dark {
    background-color: var(--black);
    color: var(--white);
}

/* Light red gradient - for Creative/Concepten page */
.page-hero-red {
    background: linear-gradient(135deg, 
        #ffffff 0%, 
        #fef2f2 20%, 
        #fecaca 40%, 
        #f87171 60%, 
        #ef4444 80%, 
        #dc2626 100%);
    background-size: 200% 200%;
    animation: gradientRed 8s ease-in-out infinite;
    color: var(--black);
}

@keyframes gradientRed {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}

.page-hero-red .page-subtitle {
    color: #800000;
    font-weight: 700;
}

.page-hero-red .page-tag {
    background: transparent;
    color: var(--black);
}

/* Red shine effect for Creative page */
.page-hero-red .page-title {
    color: #800000;
}

.page-hero-red .typewriter-cursor {
    color: #800000;
}

.page-hero-red .page-title.shine-active .title-letter {
    animation: letterShineRed 6s ease-in-out infinite;
    animation-delay: calc(var(--index) * 0.25s + 0.5s);
}

@keyframes letterShineRed {
    0%, 100% {
        color: #800000;
    }
    15% {
        color: #a00000;
    }
    25% {
        color: #cc0000;
    }
    35% {
        color: #e00000;
    }
    45% {
        color: #ff2020;
    }
    55% {
        color: #e00000;
    }
    65% {
        color: #cc0000;
    }
    75% {
        color: #a00000;
    }
    85% {
        color: #800000;
    }
}

/* Ensure Creative AI page has solid black background for Matrix effect */
.page-ai .page-hero {
    background-color: #000000;
}

.page-ai .page-hero-bg {
    background-color: #000000;
}

/* Red theme removed - using dark for Creative */

.page-hero-gray {
    background: linear-gradient(135deg, 
        #ffffff 0%, 
        #f5f5f5 20%, 
        #e5e5e5 40%, 
        #d4d4d4 60%, 
        #a3a3a3 80%, 
        #737373 100%);
    background-size: 200% 200%;
    background-position: 40% 40%;
    animation: gradientGray 8s ease-in-out infinite;
    color: var(--black);
}

@keyframes gradientGray {
    0%, 100% {
        background-position: 40% 40%;
    }
    50% {
        background-position: 100% 100%;
    }
}

/* Gray shine effect for Film page */
.page-hero-gray .page-title.shine-active .title-letter {
    animation: letterShineGray 6s ease-in-out infinite;
    animation-delay: calc(var(--index) * 0.25s + 0.5s);
}

@keyframes letterShineGray {
    0%, 100% {
        color: var(--black);
    }
    15% {
        color: #404040;
    }
    25% {
        color: #525252;
    }
    35% {
        color: #636363;
    }
    45% {
        color: #737373;
    }
    55% {
        color: #636363;
    }
    65% {
        color: #525252;
    }
    75% {
        color: #404040;
    }
    85% {
        color: var(--black);
    }
}

/* Light blue gradient - for Webdesign page */
.page-hero-blue {
    background: linear-gradient(135deg, 
        #ffffff 0%, 
        #e0f2fe 20%, 
        #bae6fd 40%, 
        #7dd3fc 60%, 
        #38bdf8 80%, 
        #0ea5e9 100%);
    background-size: 200% 200%;
    background-position: 40% 40%;
    animation: gradientBlue 8s ease-in-out infinite;
    color: var(--black);
}

@keyframes gradientBlue {
    0%, 100% {
        background-position: 40% 40%;
    }
    50% {
        background-position: 100% 100%;
    }
}

.page-hero-blue .page-subtitle {
    color: #004080;
    font-weight: 700;
}

/* Blue shine effect for Webdesign page */
.page-hero-blue .page-title {
    color: #004080;
}

.page-hero-blue .typewriter-cursor {
    color: #004080;
}

.page-hero-blue .page-title.shine-active .title-letter {
    animation: letterShineBlue 6s ease-in-out infinite;
    animation-delay: calc(var(--index) * 0.25s + 0.5s);
}

@keyframes letterShineBlue {
    0%, 100% {
        color: #004080;
    }
    15% {
        color: #1a5a9a;
    }
    25% {
        color: #3374b4;
    }
    35% {
        color: #4d8ece;
    }
    45% {
        color: #66a8e8;
    }
    55% {
        color: #4d8ece;
    }
    65% {
        color: #3374b4;
    }
    75% {
        color: #1a5a9a;
    }
    85% {
        color: #004080;
    }
}

/* Light green gradient - for Design page */
.page-hero-green {
    background: linear-gradient(135deg, 
        #ffffff 0%, 
        #ecfdf5 20%, 
        #d1fae5 40%, 
        #a7f3d0 60%, 
        #6ee7b7 80%, 
        #34d399 100%);
    background-size: 200% 200%;
    background-position: 40% 40%;
    animation: gradientGreen 8s ease-in-out infinite;
    color: var(--black);
}

@keyframes gradientGreen {
    0%, 100% {
        background-position: 40% 40%;
    }
    50% {
        background-position: 100% 100%;
    }
}

.page-hero-green .page-subtitle {
    color: #006600;
    font-weight: 700;
}

/* Green shine effect for Design page */
.page-hero-green .page-title {
    color: #006600;
}

.page-hero-green .typewriter-cursor {
    color: #006600;
}

.page-hero-green .page-title.shine-active .title-letter {
    animation: letterShineGreen 6s ease-in-out infinite;
    animation-delay: calc(var(--index) * 0.25s + 0.5s);
}

@keyframes letterShineGreen {
    0%, 100% {
        color: #006600;
    }
    15% {
        color: #1a7a1a;
    }
    25% {
        color: #2e8b2e;
    }
    35% {
        color: #3d9d3d;
    }
    45% {
        color: #4caf4c;
    }
    55% {
        color: #3d9d3d;
    }
    65% {
        color: #2e8b2e;
    }
    75% {
        color: #1a7a1a;
    }
    85% {
        color: #006600;
    }
}

/* White Hero - for Nieuws page */
.page-hero-white {
    background-color: var(--white);
    color: var(--black);
}

.page-hero-white .page-subtitle {
    color: var(--gray-600);
}

.page-hero-white .page-title {
    color: var(--black);
}

/* Purple gradient - for Nieuws page */
.page-hero-purple {
    background: linear-gradient(135deg, 
        #ffffff 0%, 
        #faf5ff 20%, 
        #e9d5ff 40%, 
        #c084fc 60%, 
        #a855f7 80%, 
        #9333ea 100%);
    background-size: 200% 200%;
    background-position: 40% 40%;
    animation: gradientPurple 8s ease-in-out infinite;
    color: var(--black);
}

@keyframes gradientPurple {
    0%, 100% {
        background-position: 40% 40%;
    }
    50% {
        background-position: 100% 100%;
    }
}

.page-hero-purple .page-title {
    color: #5b0080;
}

.page-hero-purple .page-subtitle {
    color: #5b0080;
    font-weight: 700;
}

.page-hero-purple .typewriter-cursor {
    color: #5b0080;
}

/* Purple shine effect for Nieuws page */
.page-hero-purple .page-title.shine-active .title-letter {
    animation: letterShinePurple 6s ease-in-out infinite;
    animation-delay: calc(var(--index) * 0.25s + 0.5s);
}

@keyframes letterShinePurple {
    0%, 100% {
        color: #5b0080;
    }
    15% {
        color: #7a1ba0;
    }
    25% {
        color: #9333c0;
    }
    35% {
        color: #a855d8;
    }
    45% {
        color: #c084f0;
    }
    55% {
        color: #a855d8;
    }
    65% {
        color: #9333c0;
    }
    75% {
        color: #7a1ba0;
    }
    85% {
        color: #5b0080;
    }
}

/* White with purple glow - for Contact page */
.page-hero-yellow {
    background-color: #ffffff;
    color: var(--black);
}

.page-hero.page-hero-yellow .page-title,
.page-hero-yellow .page-title {
    color: #5b0080 !important;
}

.page-hero-yellow .page-subtitle {
    color: #5b0080;
    font-weight: 700;
}

.page-hero.page-hero-yellow .typewriter-cursor,
.page-hero-yellow .typewriter-cursor {
    color: #5b0080 !important;
}

/* Purple shine effect for Contact page */
.page-hero-yellow .page-title.shine-active .title-letter {
    animation: letterShinePurple 6s ease-in-out infinite;
    animation-delay: calc(var(--index) * 0.25s + 0.5s);
}

/* Abstract Background Shapes */
.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

/* Background shapes are now handled by grid-background.js canvas */

/* Page Hero Content */
.page-hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 1;
    animation: pageHeroIn 0.6s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Page Hero Image - positioned above H1, flexible size */
.page-hero-image {
    position: relative;
    width: 60vw;
    max-width: 60%;
    max-height: 25vh;
    height: auto;
    object-fit: contain;
    margin: 0 auto var(--space-sm);
    opacity: 0.25;
    filter: grayscale(100%);
    flex-shrink: 1;
    animation: pageHeroImageFloat 6s ease-in-out infinite;
}

@keyframes pageHeroImageFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pageHeroIn {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw + 1rem, 7rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    animation: gentleFloat 6s ease-in-out infinite;
    line-height: 0.95;
    margin-bottom: var(--space-sm);
    word-break: keep-all;
    overflow-wrap: break-word;
    white-space: normal;
}

.page-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--gray-600);
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Dark Hero */
.page-hero-dark {
    background-color: var(--black);
    color: var(--white);
}

.page-hero-dark .page-subtitle {
    color: var(--gray-300);
}

.page-hero-dark .typewriter-cursor {
    color: var(--accent);
}

/* Shine effect for dark pages - cycle through white/red/gray */
.page-hero-dark .page-title.shine-active .title-letter {
    animation: letterShineDark 6s ease-in-out infinite;
    animation-delay: calc(var(--index) * 0.25s + 0.5s);
}

@keyframes letterShineDark {
    0%, 100% {
        color: var(--white);
    }
    15% {
        color: #d0a0a0;
    }
    25% {
        color: #b07070;
    }
    35% {
        color: #aa0000;
    }
    45% {
        color: #900000;
    }
    55% {
        color: #aa0000;
    }
    65% {
        color: #b07070;
    }
    75% {
        color: #d0a0a0;
    }
    85% {
        color: var(--white);
    }
}

/* AI Hero Effects */
.ai-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.1) 0%, transparent 50%);
    transform: translate(-50%, -50%);
}

.ai-noise {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.content-section {
    padding: var(--space-lg) 0;
}

/* Intro Block */
.intro-block {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
    animation: subtleFloatSlow 8s ease-in-out infinite;
}

.intro-text {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    line-height: 1.7;
    color: var(--black);
}

/* Section Headers */
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-xs);
}

/* ============================================
   FILTER BUTTONS
   ============================================ */
.filter-section {
    padding: 0 0 var(--space-md) 0;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    justify-content: center;
}

.filter-btn {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    padding: var(--space-xs) var(--space-sm);
    background: transparent;
    border: 2px solid var(--gray-200);
    border-radius: 100px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.is-active {
    background: var(--black);
    border-color: var(--black);
    color: var(--white);
}

/* ============================================
   PORTFOLIO MASONRY GRID
   ============================================ */
.portfolio-grid-section {
    padding: var(--space-lg) 0;
}

.portfolio-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-md);
}

.portfolio-item {
    background: var(--gray-100);
    border-radius: 16px;
    overflow: hidden;
    transition: transform var(--transition-fast);
    animation: gentleFloat 7s ease-in-out infinite;
}

.portfolio-item:nth-child(2n) {
    animation: gentleFloatAlt 8s ease-in-out infinite;
}

.portfolio-item:nth-child(3n) {
    animation: gentleFloat 9s ease-in-out infinite;
    animation-delay: 1s;
    animation: subtleFloat 6s ease-in-out infinite;
}

.portfolio-item:nth-child(2n) {
    animation: subtleFloatAlt 7s ease-in-out infinite;
}

.portfolio-item:nth-child(3n) {
    animation: subtleFloatSlow 8s ease-in-out infinite;
}

.portfolio-item:nth-child(5n) {
    animation: subtleFloat 9s ease-in-out infinite;
}

.portfolio-item:hover {
    transform: translateY(-4px);
    animation-play-state: paused;
}

.portfolio-image {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform var(--transition-medium), filter 0.4s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.04);
    filter: grayscale(0%);
}

.portfolio-info {
    padding: var(--space-md);
}

.portfolio-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-xs);
}

.portfolio-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.portfolio-desc {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.5;
}

/* ============================================
   FILM PROJECTS - With YouTube Embeds
   ============================================ */
.film-projects-section {
    padding: 0 0 var(--space-lg) 0;
}

.film-project {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    padding: var(--space-xl) 0;
    border-bottom: 1px solid var(--gray-200);
    align-items: center;
    animation: gentleFloat 8s ease-in-out infinite;
}

.film-project:nth-child(2n) {
    animation: gentleFloatAlt 9s ease-in-out infinite;
    animation: subtleFloat 7s ease-in-out infinite;
}

.film-project:nth-child(2n) {
    animation: subtleFloatAlt 8s ease-in-out infinite;
}

.film-project:nth-child(3n) {
    animation: subtleFloatSlow 9s ease-in-out infinite;
}

.film-project:nth-child(even) {
    direction: rtl;
}

.film-project:nth-child(even) > * {
    direction: ltr;
}

.film-project:last-child {
    border-bottom: none;
}

.film-project-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    background: var(--gray-900);
    border-radius: 12px;
    overflow: hidden;
}

.film-project-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Lazy load video placeholder */
.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    background: var(--gray-900);
}

.video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    filter: grayscale(100%);
    transition: opacity var(--transition-fast), filter 0.4s ease;
}

.video-placeholder:hover img {
    opacity: 1;
    filter: grayscale(0%);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: var(--accent);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform var(--transition-fast), background var(--transition-fast);
}

.video-play-btn svg {
    width: 30px;
    height: 30px;
    fill: var(--white);
    margin-left: 4px;
}

.video-placeholder:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
}

.film-project-video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-900);
    color: var(--gray-600);
    font-size: 0.9rem;
}

.film-project-content {
    max-width: 500px;
}

.film-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

.film-title {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    line-height: 1.2;
}

.film-desc {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

.film-link {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.film-link:hover {
    color: var(--accent-dark);
}

@media (max-width: 900px) {
    .film-project,
    .film-project:nth-child(even) {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    
    .film-project-video {
        order: -1;
    }
}

/* ============================================
   CONCEPT CASES
   ============================================ */
.concepts-cases-section {
    padding: 0 0 var(--space-lg) 0;
}

.concept-case {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    padding: var(--space-xl) 0;
    animation: gentleFloat 8s ease-in-out infinite;
}

.concept-case:nth-child(2n) {
    animation: gentleFloatAlt 9s ease-in-out infinite;
    border-bottom: 1px solid var(--gray-200);
    align-items: center;
    animation: subtleFloat 7s ease-in-out infinite;
}

.concept-case:nth-child(2n) {
    animation: subtleFloatAlt 8s ease-in-out infinite;
}

.concept-case:nth-child(3n) {
    animation: subtleFloatSlow 9s ease-in-out infinite;
}

.concept-case:last-child {
    border-bottom: none;
}

.concept-case-reverse {
    direction: rtl;
}

.concept-case-reverse > * {
    direction: ltr;
}

.concept-case-image {
    border-radius: 16px;
    overflow: hidden;
}

.concept-case-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%);
    transition: filter 1s ease;
}

.concept-case-image:hover img {
    filter: grayscale(0%);
}

/* Sequential color highlight for concept cases - slow fade */
.concept-case.color-highlight .concept-case-image img {
    filter: grayscale(0%) !important;
}

.concept-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

.concept-title {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 700;
    margin-bottom: var(--space-xs);
    line-height: 1.2;
}

.concept-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: var(--space-md);
}

.concept-desc {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

@media (max-width: 900px) {
    .concept-case,
    .concept-case-reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    
    .concept-case-image {
        order: -1;
    }
}

/* ============================================
   PROGRAMS GRID (Schermhelden)
   ============================================ */
.programs-section {
    padding: var(--space-xl) 0;
    background-color: var(--gray-100);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-md);
}

.program-card {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: 16px;
    transition: transform var(--transition-fast);
    animation: subtleFloat 6s ease-in-out infinite;
}

.program-card:nth-child(2n) {
    animation: subtleFloatAlt 7s ease-in-out infinite;
}

.program-card:nth-child(3n) {
    animation: subtleFloatSlow 8s ease-in-out infinite;
}

.program-card:hover {
    transform: translateY(-3px);
    animation-play-state: paused;
}

.program-header {
    margin-bottom: var(--space-md);
}

.program-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-xs);
}

.program-title {
    font-size: 1.4rem;
    font-weight: 700;
}

.program-desc {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.program-features {
    list-style: none;
    margin-bottom: var(--space-md);
}

.program-features li {
    font-size: 0.95rem;
    color: var(--gray-600);
    padding: var(--space-xs) 0;
    padding-left: var(--space-md);
    position: relative;
}

.program-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* ============================================
   KERNDOELEN SECTION
   ============================================ */
.kerndoelen-section {
    padding: var(--space-xl) 0;
}

.kerndoelen-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.kerndoelen-desc {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.kerndoelen-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.feature-number {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    min-width: 28px;
}

.feature-text {
    font-size: 1rem;
    color: var(--gray-600);
}

@media (max-width: 768px) {
    .kerndoelen-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ABOUT MARK SECTION
   ============================================ */
.about-mark-section {
    padding: var(--space-xl) 0;
    background-color: var(--gray-100);
}

.about-mark-desc {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

/* ============================================
   SCHERMHELDEN CONTACT
   ============================================ */
.schermhelden-contact-section {
    padding: var(--space-xl) 0;
}

.schermhelden-contact {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}

.contact-desc {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: var(--space-lg);
}

.contact-options {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.contact-option {
    display: flex;
    flex-direction: column;
    padding: var(--space-md);
    background: var(--gray-100);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: background var(--transition-fast);
    min-width: 160px;
}

.contact-option:hover {
    background: var(--gray-200);
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-600);
    margin-bottom: var(--space-xs);
}

.contact-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--black);
}

.contact-downloads {
    margin-top: var(--space-md);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: var(--space-xl) 0;
}

.cta-block {
    text-align: center;
    max-width: 550px;
    margin: 0 auto;
    animation: subtleFloat 7s ease-in-out infinite;
}

.cta-title {
    font-size: clamp(1.75rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.cta-desc {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: var(--space-lg);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding: var(--space-lg) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-xl);
}

/* Contact Form */
.form-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

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

.form-label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.form-input,
.form-select,
.form-textarea {
    font-family: var(--font-primary);
    font-size: 1rem;
    padding: var(--space-sm) var(--space-md);
    background-color: var(--gray-100);
    border: 2px solid transparent;
    border-radius: 10px;
    transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    background-color: var(--white);
}

.form-input.is-error {
    border-color: var(--accent);
}

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

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23525252' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 44px;
}

.form-message {
    margin-top: var(--space-md);
    padding: var(--space-md);
    border-radius: 8px;
    font-size: 0.95rem;
    text-align: center;
}

.form-message-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.form-message-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Success Overlay */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(5px);
}

.success-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.success-modal {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: 24px;
    text-align: center;
    max-width: 450px;
    margin: var(--space-md);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.success-overlay.is-visible .success-modal {
    transform: scale(1) translateY(0);
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-md);
    background: linear-gradient(135deg, #d1fae5, #6ee7b7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon svg {
    width: 40px;
    height: 40px;
    stroke: #065f46;
    stroke-width: 2.5;
}

.success-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--black);
}

.success-message {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.success-close {
    min-width: 150px;
}

.form-success {
    text-align: center;
    padding: var(--space-xl);
}

.form-success h3 {
    font-size: 1.4rem;
    margin-bottom: var(--space-sm);
}

.form-success p {
    color: var(--gray-600);
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.info-block {
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--gray-200);
}

.info-block:last-child {
    border-bottom: none;
}

.info-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
}

.info-link {
    display: block;
    color: var(--black);
    text-decoration: none;
    transition: color var(--transition-fast);
    margin-bottom: var(--space-xs);
    font-size: 1.05rem;
}

.info-link:hover {
    color: var(--accent);
}

.info-link-large {
    font-size: 1.4rem;
    font-weight: 700;
}

.info-text {
    font-size: 1rem;
    line-height: 1.6;
}

.info-subtext {
    font-size: 0.9rem;
    color: var(--gray-600);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SERVICES OVERVIEW (Contact Page)
   ============================================ */
.services-overview-section {
    padding: var(--space-xl) 0;
    background-color: var(--gray-100);
}

.services-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
}

.service-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-lg);
    background: var(--white);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    text-align: center;
    transition: transform var(--transition-fast);
}

.service-link:hover {
    transform: translateY(-3px);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
}

.service-link .service-name {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.service-link .service-brief {
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* ============================================
   BUTTON VARIANTS
   ============================================ */
.btn-accent {
    background-color: var(--accent);
    color: var(--white);
}

.btn-accent:hover {
    background-color: var(--accent-dark);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    color: var(--black);
    border: 2px solid var(--black);
}

.btn-outline:hover {
    background-color: var(--black);
    color: var(--white);
}

/* ============================================
   RESPONSIVE - Mobile Typography
   ============================================ */
@media (max-width: 600px) {
    .portfolio-masonry {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons {
        gap: 6px;
    }
    
    .filter-btn {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

.lightbox-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: 80vh;
}

.lightbox-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
    transition: opacity 0.3s ease;
    filter: none !important; /* Always full color in lightbox */
}

.lightbox-info {
    text-align: center;
    padding: var(--space-md);
    color: var(--white);
}

.lightbox-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.lightbox-desc {
    font-size: 0.95rem;
    color: var(--gray-300);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--white);
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 10;
}

.lightbox-close:hover {
    color: var(--accent);
}

.lightbox-close svg {
    width: 28px;
    height: 28px;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--accent);
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

.lightbox-prev svg,
.lightbox-next svg {
    width: 24px;
    height: 24px;
}

.lightbox-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gray-300);
    font-size: 0.85rem;
}

@media (max-width: 900px) {
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, 0.5);
    }
}

@media (max-width: 600px) {
    .lightbox-close {
        top: 10px;
        right: 10px;
    }
    
    .lightbox-container {
        width: 100%;
        padding: var(--space-sm);
    }
    
    .lightbox-image {
        max-height: 60vh;
    }
}

/* ============================================
   ABOUT MARK SECTION (Contact Page)
   ============================================ */
.about-mark-contact-section {
    padding: var(--space-xl) 0;
    background-color: var(--gray-100);
}

.about-mark-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-xl);
    align-items: start;
}

.mark-photo {
    margin-top: var(--space-lg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.mark-photo img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.4s ease;
}

.mark-photo:hover img {
    filter: grayscale(0%);
}

.about-mark-intro {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: var(--space-md);
}

.about-mark-text {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.about-mark-text:last-child {
    margin-bottom: 0;
}

.about-mark-clients {
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--gray-200);
}

.about-mark-clients h3 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-600);
    margin-bottom: var(--space-sm);
}

.client-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.client-tag {
    font-size: 0.8rem;
    padding: 4px 12px;
    background: var(--white);
    border-radius: 100px;
    color: var(--gray-600);
}

@media (max-width: 768px) {
    .about-mark-contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile hero adjustments */
@media (max-width: 768px) {
    .page-hero-full {
        height: 100vh;
        height: 100dvh;
        padding: calc(var(--header-height) + var(--space-xs)) var(--space-sm) calc(var(--space-lg) + 50px);
    }
    
    .page-hero-image {
        max-height: 18vh;
    }
    
    .page-intro .intro-text {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .page-hero-full .scroll-indicator {
        position: absolute;
        bottom: var(--space-sm);
        left: 50%;
        transform: translateX(-50%);
    }
    
    .page-subtitle {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
    }
}

/* Portfolio section title */
.portfolio-section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin: var(--space-lg) 0 var(--space-md);
    color: var(--black);
    padding: 0 var(--space-md);
}

/* Disable floating animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .portfolio-item,
    .intro-block,
    .cta-block,
    .film-project,
    .concept-case,
    .program-card,
    .page-title,
    .section-title,
    .bento-item,
    .news-item {
        animation: none !important;
    }
}
