/* ==============================================
   COMMERCIALS - MC Global Style
   ============================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ==============================================
   Navigation
   ============================================== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
    padding: 0 2rem;
}

nav.scrolled {
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

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

.logo a {
    display: inline-block;
    line-height: 0;
}

.logo-image {
    height: 25px;
    width: auto;
    transition: opacity 0.3s ease;
    margin-right: 0.5rem;
}

.logo-text {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.03em;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

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

.logo a:hover .logo-image {
    opacity: 0.8;
}

.nav-description {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    margin: 0 2rem;
    flex: 1;
    text-align: center;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #999;
}

.nav-menu a.active {
    color: #999;
}

.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-button svg {
    width: 24px;
    height: 24px;
}

/* ==============================================
   Hero Section
   ============================================== */
.hero-section {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 0 2rem 6rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.mobile-break {
    display: none;
}

/* Shorts Section (Vertical Videos) */
.shorts-section .hero-title {
    white-space: nowrap;
}

.title-line {
    display: block;
}

.hero-subtitle {
    font-size: 0.875rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-description {
    max-width: clamp(600px, 75vw, 900px);
    margin: 0 auto 2rem;
}

.hero-description p {
    font-size: clamp(0.875rem, 1.5vw, 1.125rem);
    font-weight: 300;
    letter-spacing: 0;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.hero-credits {
    font-size: 0.875rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.05em;
}

/* Video Background */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.video-background iframe,
.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
    object-fit: cover;
}

/* Ensure video covers the entire section */
@media (min-aspect-ratio: 16/9) {
    .video-background iframe,
    .video-background video {
        height: 56.25vw;
    }
}

@media (max-aspect-ratio: 16/9) {
    .video-background iframe,
    .video-background video {
        width: 177.78vh;
    }
}

/* Lazy Loading Video Placeholder */
.video-background.lazy-video {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-background.lazy-video::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Ensure video covers the entire section */
@media (min-aspect-ratio: 16/9) {
    .hero-video {
        height: 56.25vw;
    }
}

@media (max-aspect-ratio: 16/9) {
    .hero-video {
        width: 177.78vh;
    }
}


/* ==============================================
   Contact Section
   ============================================== */
.contact-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    padding: 6rem 2rem 4rem;
}

.contact-container {
    max-width: 1200px;
    width: 100%;
}

.contact-title {
    font-size: clamp(3rem, 6vw, 8rem);
    font-weight: 200;
    letter-spacing: -0.03em;
    margin-bottom: 8rem;
    color: #fff;
    text-align: center;
    opacity: 1;
    transform: translateY(0);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-item {
    text-align: left;
}

.contact-label {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: #fff;
    text-transform: uppercase;
}

.contact-text {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.contact-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.copyright {
    font-size: 0.875rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
}


/* ==============================================
   Scrollbar
   ============================================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ==============================================
   Responsive Design
   ============================================== */
@media (max-width: 1024px) {
    .nav-description {
        white-space: normal;
        font-size: 0.65rem;
        margin: 0 1rem;
    }

    .contact-grid {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-description {
        display: none;
    }

    nav {
        padding: 0 1rem;
    }

    .hero-section {
        padding: 0 1rem 4rem;
    }

    .hero-title {
        font-size: 2rem;
        white-space: normal;
    }

    .mobile-break {
        display: inline;
    }

    .hero-subtitle {
        font-size: 0.75rem;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .contact-title {
        font-size: 2rem;
        margin-bottom: 6rem;
    }

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

    .contact-section {
        padding: 4rem 2rem 3rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 0 1rem 3rem;
    }

    .hero-title {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .hero-description p {
        font-size: 0.875rem;
    }
}

