/* --- RESET & GLOBAL --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Custom Scrollbar for Luxury Feel */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #555; }

body {
    font-family: 'Inter', sans-serif;
    background: #000;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}
body.noscroll { overflow: hidden; }

/* --- LUXURY COVER SECTION (CINEMA STANDARD) --- */
#luxury-cover {
    position: relative;
    width: 100%;
    /* CHANGED: Switched from 100vh to 16/9 Ratio for perfect framing everywhere */
    height: auto;
    aspect-ratio: 16/9;
    overflow: hidden; 
    background: #000;
    z-index: 10;
}

/* The Track that moves left/right */
.cover-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1); /* "Quart" easing = Ultra Smooth */
}

/* Individual Slides */
.cover-slide {
    min-width: 100%; /* Each slide takes full width */
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Forces every image to be the exact same shape and center aligned */
.cover-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16/9;       
    object-position: center;  
    display: block;
}

/* --- GHOST CONTROLS (Arrows & Dots) --- */
.cover-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: transparent; border: none;
    color: rgba(255, 255, 255, 0.3); 
    font-size: 3rem; cursor: pointer;
    z-index: 20; padding: 20px;
    transition: all 0.3s ease;
    user-select: none;
}
.cover-arrow:hover { 
    color: #fff; 
    transform: translateY(-50%) scale(1.1); 
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}
.prev { left: 20px; }
.next { right: 20px; }

/* DOTS */
.cover-dots {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 15px; z-index: 20;
}
.dot {
    width: 10px; height: 10px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%; cursor: pointer;
    background: transparent;
    transition: all 0.3s ease;
}
.dot:hover { background: rgba(255, 255, 255, 0.3); }
.dot.active { 
    background: #fff; 
    border-color: #fff; 
    transform: scale(1.2); 
    box-shadow: 0 0 10px rgba(255,255,255,0.3);
}

/* --- NIKE EMBED FIX (GLOBAL) --- */
.iframe-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    border: 1px solid #222;
}
.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- MOBILE SPECIFIC FIXES --- */
@media (max-width: 768px) {
    
    /* 1. Mobile Cinema Mode + Header Space */
    #luxury-cover { 
        padding-top: 80px; /* Pushes content down below the nav bar */
        box-sizing: content-box; /* Ensures padding adds to height, keeps 16:9 ratio for image */
    }
    
    .cover-slide img {
        object-fit: contain;
    }
    
    /* 2. Hide Arrows (User will swipe instead) */
    .cover-arrow { display: none; }
    
    /* 3. Adjust dots */
    .cover-dots { bottom: 10px; }
    .dot { width: 6px; height: 6px; }

    /* 4. Nav & General Mobile */
    nav { 
        display: flex !important; 
        padding: 0.8rem 1rem; 
        justify-content: space-between;
        background: rgba(0, 0, 0, 0.9) !important; 
    }
    
    .nav-left { font-size: 0.9rem; white-space: nowrap; }
    .nav-right { gap: 15px; }
    .nav-right a { font-size: 0.75rem; font-weight: 500; text-transform: uppercase; }
    .nav-right a:nth-child(1), .nav-right a:nth-child(2) { display: none; }

    #hero { padding-top: 0; }
    .container { padding: 0 1.5rem; }
    .section { padding: 60px 0; }
    .hero-name { font-size: 14vw; letter-spacing: -1px; margin-bottom: 1rem; } 
    .hero-subheader { font-size: 5vw; margin-bottom: 2rem; letter-spacing: 2px;} 
    .project-header { padding-top: 100px; }
    .project-title { font-size: 10vw; letter-spacing: 2px; }
}


/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; font-weight: 600; letter-spacing: -0.5px; }

/* HERO SPECIFIC TYPOGRAPHY */
h1.hero-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 9vw; 
    font-weight: 600; 
    margin-bottom: 0.5rem;
    line-height: 0.9;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -2px; 
}

h2.hero-subheader {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8vw; 
    font-weight: 400; 
    color: #ccc; 
    line-height: 1.4;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px; 
}

p.hero-tagline {
    font-family: 'Montserrat', sans-serif;
    color: #888; 
    font-size: 1rem; 
    font-weight: 500; 
    text-transform: uppercase; 
    letter-spacing: 8px; 
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #333;
    display: inline-block;
}

/* GENERAL ELEMENTS */
h1 { font-size: 6vw; font-weight: 900; line-height: 1.1; }
h2 { font-size: 2.2rem; margin-bottom: 1.5rem; }
p { font-size: 1rem; font-weight: 300; line-height: 1.8; color: #ddd; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* --- NAVIGATION --- */
nav {
    position: fixed; top: 0; left: 0; right: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, transparent 100%) !important;
    backdrop-filter: none !important;
    border-bottom: none !important;
    z-index: 1000;
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 2rem;
    transition: transform 0.4s ease-in-out;
}
.nav-hidden { transform: translateY(-100%); }
.nav-left { font-family: 'Poppins', sans-serif; font-size: 1.3rem; font-weight: 700; cursor: pointer; letter-spacing: 0; }
.nav-right { display: flex; gap: 2.5rem; }
.nav-right a { font-size: 0.95rem; font-weight: 400; position: relative; cursor: pointer; letter-spacing: 0; }
.nav-right a::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
    background: #fff; transition: width 0.3s ease;
}
.nav-right a:hover::after { width: 100%; }

/* --- SECTIONS & HERO --- */
.section { opacity: 1; transform: none; padding: 100px 0; background: transparent; position: relative; z-index: 1; }
.section.is-visible { opacity: 1; transform: translateY(0); }
#hero {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-height: 100vh; text-align: center; position: relative; z-index: 1; padding-top: 80px;
}

/* --- SLIDER ENGINE --- */
.slider-viewport {
    width: 100%; overflow: hidden; margin-top: 5rem;
    position: relative; display: flex; flex-direction: column; gap: 20px; 
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.slide {
    height: 300px; width: auto; flex-shrink: 0;
    border-radius: 4px; overflow: hidden; cursor: pointer;
    transition: transform 0.6s ease;
}
.slide img { height: 100%; width: auto; object-fit: cover; display: block; }
.slide:hover { transform: scale(1.02); border: 1px solid rgba(255, 255, 255, 0.5); }
.slider-track { display: flex; gap: 20px; width: max-content; animation: scroll 90s linear infinite; }
.slider-track-reverse { display: flex; gap: 20px; width: max-content; animation: scroll-reverse 90s linear infinite; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-320px * 9)); } }
@keyframes scroll-reverse { 0% { transform: translateX(calc(-320px * 9)); } 100% { transform: translateX(0); } }

/* --- SERVICES --- */
#about .container { text-align: center; max-width: 800px; }
#about p { margin-bottom: 1.5rem; color: #bbb; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; }
.service-card {
    background: #111; padding: 2.5rem 1.5rem; border-radius: 16px;
    text-align: center; border: 1px solid #222;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover { transform: translateY(-10px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
.service-card h3 { font-size: 1.3rem; margin-bottom: 1rem; letter-spacing: -0.5px; }

/* --- BUNDLES --- */
.bundles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; margin-top: 3rem; align-items: stretch; justify-content: center; }
.bundle-card {
    background: #111; padding: 2.5rem 2rem; border-radius: 16px;
    text-align: center; border: 1px solid #333;
    transition: transform 0.3s ease; position: relative;
    display: flex; flex-direction: column;
}
.bundle-card:hover { transform: scale(1.03); }
.bundle-card.featured { border: 2px solid #fff; transform: scale(1.05); }
.featured-tag {
    position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
    background: #fff; color: #000; padding: 0.3rem 1rem; border-radius: 20px;
    font-size: 0.9rem; font-weight: 600; letter-spacing: 0;
}
.bundle-card h3 { font-size: 1.8rem; margin-bottom: 1rem; letter-spacing: -0.5px; color: #fff; font-weight: 600; }
.price-desc { font-size: 1rem; font-weight: 300; margin-bottom: 2rem; color: #bbb; min-height: 60px; font-family: 'Inter', sans-serif; }
.bundle-card ul { list-style: none; padding: 0; text-align: left; margin-bottom: 2rem; color: #bbb; flex-grow: 1; }
.bundle-card ul li { margin-bottom: 1rem; line-height: 1.4; border: none; padding: 0; }
.bundle-card ul li strong { color: #fff; }
.bundle-extra-info { text-align: left; margin: 1rem 0 2rem 0; font-size: 0.9rem; color: #bbb; border: none; }
.bundle-extra-info p { color: #bbb; line-height: 1.5; }
.bundle-extra-info strong { color: #fff; }
.value-angle { font-style: italic; color: #fff !important; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #333; }
.cta-button {
    padding: 1rem 2.5rem; background: #fff; color: #000; border-radius: 50px;
    font-weight: 500; cursor: pointer; font-size: 1rem; text-decoration: none;
    display: inline-block; transition: all 0.3s ease; border: 1px solid transparent; width: auto; letter-spacing: 0;
}
.cta-button:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15); background: #fff; }
.bundle-card .cta-button { margin-top: auto; }
.cta-button.secondary { background: transparent; border-color: #fff; color: #fff; }
.cta-button.secondary:hover { background: #fff; color: #000; }

/* --- LUXURY GALLERY GRID (BIG & BOLD) --- */
#gallery .container { 
    max-width: none; 
    width: 85%; 
    padding: 0; 
}

.project-grid { 
    display: flex; 
    flex-direction: column; 
    gap: 120px; 
    margin-top: 5rem; 
}

.project-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%; 
    gap: 25px; 
}

.project-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 300; 
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 6px; 
    text-align: center;
    opacity: 0.9;
}

.project-item {
    position: relative; 
    display: block; 
    width: 100%; 
    aspect-ratio: 16/9;
    border: 1px solid rgba(255, 255, 255, 0.15); 
    padding: 0; 
    background: #000;
    overflow: hidden; 
    cursor: pointer;
    transition: all 0.5s ease;
}

.project-item:hover {
    border-color: #fff; 
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.08); 
}

.project-item img {
    display: block; width: 100%; height: 100%; object-fit: cover; 
    transition: transform 0.7s ease; 
}
.project-item:hover img { 
    transform: scale(1.02); 
}

.project-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; justify-content: center; align-items: center;
    opacity: 0; transition: opacity 0.5s ease; z-index: 20; 
    background: rgba(0,0,0,0.3);
    pointer-events: none;
}
.project-item:hover .project-overlay { opacity: 1; }
.overlay-text {
    color: #fff; font-family: 'Montserrat', sans-serif; font-size: 1.2rem;
    font-weight: 500; letter-spacing: 6px; text-transform: uppercase;
}

/* --- LIGHTBOX --- */
#lightbox {
    position: fixed; inset: 0; background: rgba(0, 0, 0, 0.95);
    display: none; justify-content: center; align-items: center;
    z-index: 2000; overflow: auto; padding: 2rem;
}
#lightbox-content { max-width: 90%; max-height: 90%; position: relative; }
#lightbox img, #lightbox video, #lightbox iframe { width: 100%; height: auto; border-radius: 12px; }
#lightbox-close { position: absolute; top: -20px; right: -20px; font-size: 2rem; color: #fff; cursor: pointer; z-index: 2100; }

/* --- CONTACT & FOOTER --- */
#cta { text-align: center; }
.cta-content h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.cta-content p { font-size: 1.2rem; margin-bottom: 2.5rem; max-width: 600px; margin-left: auto; margin-right: auto; color: #ddd; }
.cta-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
#contact-form { display: flex; flex-direction: column; gap: 1.5rem; max-width: 700px; margin: 2rem auto 0; text-align: left; }
.form-group { display: flex; flex-direction: column; }
.form-group label { margin-bottom: 0.5rem; font-size: 0.9rem; color: #aaa; }
.form-group input, .form-group textarea, .form-group select {
    background-color: #111; border: 1px solid #333; color: #fff; padding: 1rem;
    border-radius: 8px; font-family: 'Inter', sans-serif; font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: #fff; box-shadow: 0 0 15px rgba(255, 255, 255, 0.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
#contact-form button.cta-button { margin-top: 1rem; border: none; }
.project-footer { margin-top: 8rem; padding-bottom: 4rem; text-align: center; border-top: 1px solid #222; padding-top: 4rem; }
.back-link { display: inline-block; color: #aaa; text-decoration: none; transition: color 0.3s ease; }
.back-link:hover { color: #fff; }
.more-work-banner { margin-top: 2rem; padding-top: 2rem; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.more-work-label { font-size: 0.75rem; color: #666; letter-spacing: 3px; text-transform: uppercase; }
.more-work-link { font-family: 'Montserrat', sans-serif; font-size: 1.5rem; font-weight: 500; color: #fff; text-transform: uppercase; letter-spacing: 2px; position: relative; }
.more-work-link::after { content: '→'; margin-left: 10px; transition: margin 0.3s; }
.more-work-link:hover::after { margin-left: 15px; }
.legal-section { padding-top: 150px; min-height: 80vh; }
.legal-content { max-width: 800px; text-align: left; }
.legal-content h1 { font-family: 'Montserrat', sans-serif; font-size: 2.5rem; text-align: center; margin-bottom: 3rem; letter-spacing: -1px; color: #fff; }
.legal-block { margin-bottom: 2.5rem; border-bottom: 1px solid #222; padding-bottom: 2rem; }
.legal-block:last-child { border-bottom: none; }
.legal-block h3 { color: #fff; font-size: 1.1rem; margin-bottom: 0.8rem; letter-spacing: 1px; }
.legal-block p { color: #eee; font-size: 1rem; line-height: 1.7; font-family: 'Inter', sans-serif; font-weight: 300; }
footer { border-top: 1px solid #222; padding: 3rem 0; text-align: center; background: #000; position: relative; z-index: 100; }
.copyright { color: #999; font-size: 0.8rem; letter-spacing: 2px; margin-bottom: 1rem; font-family: 'Montserrat', sans-serif; font-weight: 500; }
.legal-links a { color: #ccc; font-size: 0.75rem; text-decoration: none; margin: 0 15px; transition: color 0.3s ease; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; position: relative; z-index: 101; }
.legal-links a:hover { color: #fff; text-shadow: 0 0 10px rgba(255, 255, 255, 0.8); }

/* --- MOBILE NAV FIX (GALLERY | BUNDLES | CONTACT) --- */
@media (max-width: 768px) {
    
    /* 1. Turn the Nav Back ON */
    nav { 
        display: flex !important; 
        padding: 0.8rem 1rem; 
        justify-content: space-between;
        background: rgba(0, 0, 0, 0.85) !important; /* Keep mobile nav readable */
    }

    /* 2. Adjust Logo Size */
    .nav-left { 
        font-size: 0.9rem; 
        white-space: nowrap; 
    }

    /* 3. Adjust Link Spacing & Size */
    .nav-right { 
        gap: 15px; 
    }
    .nav-right a { 
        font-size: 0.75rem; 
        font-weight: 500;
        letter-spacing: 0.5px;
        text-transform: uppercase;
    }

    /* 4. HIDE "About" and "Services" on Mobile */
    /* This hides the 1st (About) and 2nd (Services) links */
    .nav-right a:nth-child(1),
    .nav-right a:nth-child(2) {
        display: none;
    }

    /* 5. General Mobile Adjustments */
    #hero { padding-top: 0; }
    .container { padding: 0 1.5rem; }
    .section { padding: 80px 0; }
    .hero-name { font-size: 14vw; letter-spacing: -1px; margin-bottom: 1rem; } 
    .hero-subheader { font-size: 5vw; margin-bottom: 2rem; letter-spacing: 2px;} 
    .hero-tagline { font-size: 0.7rem; letter-spacing: 4px; }
    .slide { height: 200px; } 
    .slider-track { animation-duration: 60s; }
    .slider-track-reverse { animation-duration: 60s; }
    @keyframes scroll { 100% { transform: translateX(calc(-220px * 9)); } }
    @keyframes scroll-reverse { 0% { transform: translateX(calc(-220px * 9)); } }
    .bundle-card ul li { font-size: 0.9rem; }
    .bundles-grid { gap: 1.5rem; border: none; }
    .cta-button { padding: 0.9rem 2rem; font-size: 1rem; }
    #contact-form { gap: 1rem; }
    .form-group input, .form-group textarea { padding: 0.9rem; }
    #gallery .container { width: 90%; }
    .project-grid { gap: 80px; }
    .services-grid { grid-template-columns: 1fr; }
    .legal-content h1 { font-size: 1.8rem; }
    .legal-links { display: flex; flex-direction: column; gap: 15px; }
}

.hidden-field { display: none; transition: opacity 0.5s ease; opacity: 0; }
.form-group select { appearance: none; -webkit-appearance: none; -moz-appearance: none; cursor: pointer; }

/* --- NIKE ANIMATION ENGINE (EXTRACTED) --- */

/* 1. The Hidden State (Same as Nike page) */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px); /* Pushes element down 30px */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out; /* Smooth float up */
    will-change: opacity, transform;
}

/* 2. The Visible State (Triggered by Script) */
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0); /* Returns to original spot */
}

/* 3. Safety: Mobile/Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll { opacity: 1; transform: none; }
}