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

:root {
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-gray-light: #f5f5f5;
    --color-gray: #888888;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --spacing-xxl: 8rem;
    --max-width: 1400px;
}

:root {
    --yves-klein-blue: #002FA7;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-black);
    background: #FFFFFF;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    cursor: none;
}

/* Custom Cursor - Yves Klein Blue Circle */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--yves-klein-blue);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease;
    opacity: 0;
}

body.loaded .custom-cursor {
    opacity: 1;
}

@media (hover: none) {
    .custom-cursor {
        display: none;
    }
    
    body {
        cursor: auto;
    }
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Typography - Cutive for titles */
.hero-title,
.section-title,
.video-title,
.production-name,
.contact-name {
    font-family: 'Cutive', serif;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background: #FFFFFF;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 100;
}

/* Hero Video */
.hero-video {
    width: 100%;
    height: auto;
    overflow: hidden;
    background: #000000;
}

.hero-video video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 100px;
    width: auto;
    display: block;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.nav {
    display: flex;
    gap: var(--spacing-md);
}

.nav-link {
    color: var(--color-black);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.875rem;
    transition: opacity 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-link:hover {
    opacity: 0.6;
}

/* Hero Videos Section */
.hero-videos {
    width: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.hero-videos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    height: 50vh;
    min-height: 400px;
}

.hero-video-item {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-video-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-video-container iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 120%;
    transform: translate(-50%, -50%);
    border: none;
    object-fit: cover;
}

/* Hero Section */
.hero {
    padding: var(--spacing-xxl) 0;
    text-align: center;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 5rem);
    font-weight: 400;
    margin-bottom: var(--spacing-sm);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    font-weight: 400;
    color: var(--color-gray);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}

/* Section Labels */
.section-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: var(--spacing-lg);
    color: var(--color-black);
}

/* Videos Section */
.videos-section {
    padding: var(--spacing-xxl) 0;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
}

.video-item {
    display: flex;
    flex-direction: column;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: var(--color-black);
    margin-bottom: var(--spacing-sm);
}

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

.video-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 400;
    margin-top: var(--spacing-xs);
    line-height: 1.2;
}

/* Archive Section */
.archive-section {
    padding: var(--spacing-xxl) 0;
    background: var(--color-gray-light);
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.archive-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--color-black);
    cursor: pointer;
    transition: transform 0.3s ease;
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

.archive-item:nth-child(1) { animation-delay: 0.1s; }
.archive-item:nth-child(2) { animation-delay: 0.2s; }
.archive-item:nth-child(3) { animation-delay: 0.3s; }
.archive-item:nth-child(4) { animation-delay: 0.4s; }
.archive-item:nth-child(5) { animation-delay: 0.5s; }
.archive-item:nth-child(6) { animation-delay: 0.6s; }
.archive-item:nth-child(7) { animation-delay: 0.7s; }
.archive-item:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.archive-item:hover {
    transform: scale(1.05);
    z-index: 10;
}

.archive-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.archive-item:hover img {
    transform: scale(1.1);
}

/* Projects Gallery */
.projects-gallery {
    padding: var(--spacing-xxl) 0;
    background: #FFFFFF;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--color-black);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.gallery-item:hover img {
    opacity: 0.9;
}

/* Image Section */
.image-section {
    padding: var(--spacing-xl) 0;
    background: #FFFFFF;
}

.centered-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.centered-image img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* CTA Section */
.cta-section {
    padding: var(--spacing-xxl) 0;
    text-align: center;
    background: #FFFFFF;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 400;
    margin-bottom: var(--spacing-lg);
    line-height: 1.1;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.contact-person {
    text-align: center;
}

.contact-name {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    margin-bottom: var(--spacing-xs);
    line-height: 1.2;
}

.contact-phone {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--color-black);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-phone:hover {
    opacity: 0.6;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--color-black);
    color: var(--color-white);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.875rem;
    border: 1px solid var(--color-black);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Inter', sans-serif;
}

.cta-button:hover {
    background: var(--color-white);
    color: var(--color-black);
}

.cta-button.secondary {
    background: var(--color-white);
    color: var(--color-black);
}

.cta-button.secondary:hover {
    background: var(--color-black);
    color: var(--color-white);
}

/* Footer */
.footer {
    padding: var(--spacing-xl) 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: var(--spacing-xl);
    background: #FFFFFF;
}

.footer-content {
    text-align: center;
}

.footer-title {
    font-family: 'Cutive', serif;
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--color-black);
    line-height: 1.2;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--color-white);
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    transition: opacity 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.lightbox-close:hover {
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .videos-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

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

    .contact-info {
        gap: var(--spacing-md);
    }
    
    .hero-videos-grid {
        grid-template-columns: repeat(2, 1fr);
        height: 60vh;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .nav {
        gap: var(--spacing-sm);
    }

    .hero {
        padding: var(--spacing-xl) 0 var(--spacing-lg);
    }

    .videos-section,
    .archive-section,
    .projects-gallery,
    .cta-section {
        padding: var(--spacing-lg) 0;
    }

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

    .contact-info {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .footer-logo-img {
        height: 80px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .logo {
        height: 70px;
    }
    
    .hero-videos-grid {
        grid-template-columns: repeat(2, 1fr);
        height: 60vh;
    }

    .hero {
        padding: var(--spacing-lg) 0;
    }

    .videos-section,
    .archive-section,
    .projects-gallery,
    .cta-section {
        padding: var(--spacing-md) 0;
    }

    .gallery-grid,
    .archive-grid {
        grid-template-columns: 1fr;
    }

    .videos-grid {
        gap: var(--spacing-lg);
    }
    
    .hero-videos-grid {
        grid-template-columns: 1fr;
        height: 50vh;
        min-height: 300px;
    }

    .footer-logo-img {
        height: 60px;
    }
    
    .custom-cursor {
        display: none;
    }
}