/* cinematic.css - GTA VI Style V2 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;900&family=Oswald:wght@400;500;700&display=swap');

:root {
    --cine-bg: #000000;
    --cine-dark: #0a0a0a;
    --cine-pink: #ff00bf;
    --cine-blue: #00f0ff;
    --cine-purple: #9d00ff;
    --cine-text: #ffffff;
    --cine-font-head: 'Oswald', sans-serif;
    --cine-font-body: 'Inter', sans-serif;
    --cine-ease: cubic-bezier(0.19, 1, 0.22, 1);
    /* Expo Out */
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

body {
    background-color: var(--cine-bg);
    color: var(--cine-text);
    font-family: var(--cine-font-body);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* NAVBAR (Inherited from style.css) */
/* 
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    transition: background 0.3s ease;
}

.navbar .nav-links a,
.navbar .logo-text,
.navbar .hamburger {
    pointer-events: auto;
} 
/* NAVBAR OVERRIDES REMOVED - Using standard style.css behavior but with limited links in HTML */

/* HERO SECTION */
.cine-hero {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.cine-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Subtle animated gradient */
    background: radial-gradient(circle at center, #1a0515 0%, #000 80%);
    z-index: -1;
}

.hero-title {
    font-family: var(--cine-font-head);
    font-size: 15vw;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 0.8;
    color: #fff;
    opacity: 0;
    transform: translateY(100px);
    z-index: 2;
    mix-blend-mode: overlay;
    /* Blends with bg */
}

.hero-title span {
    display: block;
    color: var(--cine-pink);
    mix-blend-mode: normal;
}

.hero-subtitle {
    font-size: 1.2rem;
    letter-spacing: 0.8rem;
    margin-top: 3rem;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(50px);
    color: var(--cine-blue);
    z-index: 2;
    font-weight: 700;
}

/* SPLIT LAYOUT GRID */
.gallery-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100vh;
    /* Full viewport height */
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* Image Side */
.split-media {
    position: relative;
    overflow: hidden;
    background: #050505;
}

.split-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.15);
    /* Start zoomed in for effect */
    transition: filter 0.5s ease;
    filter: grayscale(20%) contrast(1.1);
}

.split-section:hover .split-media img {
    filter: grayscale(0%) contrast(1.2);
}

/* Text Side */
.split-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6vw;
    background: var(--cine-dark);
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Alternating Layout */
.split-section.reverse .split-content {
    order: 2;
    /* Move text to right */
    text-align: right;
    align-items: flex-end;
}

.split-section.reverse .split-media {
    order: 1;
    /* Move image to left */
}

.split-section:not(.reverse) .split-content {
    order: 1;
    /* Text Left */
}

.split-section:not(.reverse) .split-media {
    order: 2;
    /* Image Right */
}


/* Typography */
.cine-eyebrow {
    font-family: var(--cine-font-body);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--cine-pink);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: flex;
    /* alignment helper */
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease-in-out;
}

.split-section.reverse .cine-eyebrow {
    flex-direction: row-reverse;
    transform: translateX(20px);
}

.cine-eyebrow::before {
    content: '';
    width: 3rem;
    height: 2px;
    background: var(--cine-pink);
    transition: all 0.5s ease-in-out;
}

.cine-heading {
    font-family: var(--cine-font-head);
    font-size: 4.5vw;
    line-height: 0.9;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #fff;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.5s ease-in-out;
}

.cine-text {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #888;
    max-width: 500px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.5s ease-in-out;
}

/* Hover States for Content */
.split-section:hover .cine-eyebrow {
    color: var(--cine-purple) !important;
    transform: translateX(0);
}

.split-section:hover .cine-eyebrow::before {
    background: var(--cine-purple) !important;
    width: 4rem;
}

.split-section:hover .cine-heading {
    /* Create a gradient effect on hover */
    background: linear-gradient(45deg, #fff, var(--cine-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 5px 20px rgba(255, 0, 191, 0.4) !important;
    transform: translateY(-5px);
    /* Lift effect */
}

/* Fallback for browsers that don't support webkit background clip */
@supports not (-webkit-background-clip: text) {
    .split-section:hover .cine-heading {
        color: var(--cine-pink) !important;
    }
}

.split-section:hover .cine-text {
    /* Gradient effect for the descriptive text */
    background: linear-gradient(45deg, #fff, var(--cine-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: translateX(5px);
}

@supports not (-webkit-background-clip: text) {
    .split-section:hover .cine-text {
        color: #ffffff !important;
        background: none;
    }
}

/* Cinematic Overlays */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 900;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
}

.vignette-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 901;
    background: radial-gradient(circle, transparent 40%, rgba(0, 0, 0, 0.8) 120%);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .split-section {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 100vh;
    }

    .split-media {
        height: 50vh;
        order: 1 !important;
        /* Always image on top */
    }

    .split-content {
        padding: 3rem 2rem;
        order: 2 !important;
        /* Always text bottom */
        text-align: left !important;
        align-items: flex-start !important;
    }

    .cine-heading {
        font-size: 3rem;
    }

    .hero-title {
        font-size: 20vw;
    }

    .cine-eyebrow {
        flex-direction: row !important;
        transform: translateX(0) !important;
    }
}