/* STRICT GEOMETRIC SYMMETRY CSS */
:root {
    --bg-color: #0a0a0a;
    --card-bg: #151515;
    --text-primary: #fff;
    --text-secondary: #aaa;
    --accent: #d4af37;
    /* Gold for premium feel */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Source Sans Pro', sans-serif;
    --cubic: cubic-bezier(0.645, 0.045, 0.355, 1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 3px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* UI Utilities */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    position: relative;
    z-index: 2;
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: transform 0.4s var(--cubic);
}

header.hidden {
    transform: translateY(-100%);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 5px;
    mix-blend-mode: difference;
}

.nav-toggle {
    cursor: pointer;
    mix-blend-mode: difference;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

/* HERO SLIDESHOW */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s var(--cubic);
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 8s linear;
}

.slide.active .slide-img {
    transform: scale(1);
}

/* HERO CONTENT with Parallax */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    mix-blend-mode: difference;
    width: 100%;
}

.hero-title {
    font-size: 8vw;
    line-height: 0.9;
    margin-bottom: 2rem;
    overflow: hidden;
}

.hero-title span {
    display: block;
    transform: translateY(100%);
    opacity: 0;
    animation: revealText 1.2s var(--cubic) forwards;
}

.hero-title span:nth-child(2) {
    animation-delay: 0.2s;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    font-size: 0.8rem;
    letter-spacing: 3px;
    opacity: 0.7;
}

@keyframes revealText {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* GEOMETRIC GRID */
.grid-section {
    padding: 10rem 0;
    position: relative;
}

.geometric-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* STRICT SYMMETRY */
    gap: 4rem;
    width: 100%;
}

.grid-item {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    /* Consistent Aspect Ratio */
    overflow: hidden;
    will-change: transform;
}

/* REMOVED OFFSET MARGINS TO FIX "DISJOINTED" FEEL */
/* All grid items now align perfectly */

.grid-img-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.grid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--cubic);
    /* Slower, smoother hover */
    filter: grayscale(100%) contrast(1.1);
}

.grid-item:hover .grid-img {
    transform: scale(1.05);
    /* Subtle zoom */
    filter: grayscale(0%) contrast(1);
}

.grid-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    transform: translateY(100%);
    transition: transform 0.5s var(--cubic);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.grid-item:hover .grid-info {
    transform: translateY(0);
}

.grid-title {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 0.2rem;
}

.grid-cat {
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--accent);
    text-transform: uppercase;
}

/* FULL WIDTH SECTIONS */
.full-width-block {
    width: 100%;
    height: 80vh;
    position: relative;
    margin: 10rem 0;
    overflow: hidden;
}

.full-bg {
    position: absolute;
    top: -25%;
    /* Start higher for parallax range */
    left: 0;
    width: 100%;
    height: 150%;
    background-size: cover;
    background-position: center;
    will-change: transform;
}

.block-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    /* Center vertically */
    z-index: 5;
    background: #000;
    padding: 4rem;
    max-width: 500px;
    border-left: 2px solid var(--accent);
}

/* FOOTER */
footer {
    padding: 4rem;
    border-top: 1px solid #222;
    text-align: center;
    margin-top: 5rem;
}

@media (max-width: 768px) {
    .geometric-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .container {
        padding: 0 2rem;
    }

    .hero-title {
        font-size: 15vw;
    }

    .block-content {
        left: 5%;
        right: 5%;
        width: 90%;
        max-width: none;
        padding: 2rem;
    }
}

/* INNER PAGE STYLES */
.page-hero {
    height: 60vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.4);
    z-index: -1;
    will-change: transform;
}

.page-hero h1 {
    font-size: 5rem;
    z-index: 2;
    text-align: center;
    mix-blend-mode: overlay;
    color: white;
}

/* ABOUT PAGE */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin: 5rem 0;
}

.bio-img {
    width: 100%;
    border-radius: 4px;
    filter: grayscale(100%);
    transition: 0.5s;
}

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

.bio-text {
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.8;
}

.skill-section {
    margin: 4rem 0;
}

.skill-item {
    margin-bottom: 2rem;
}

.skill-name {
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    color: #fff;
}

.skill-track {
    width: 100%;
    height: 2px;
    background: #333;
    position: relative;
}

.skill-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--accent);
    width: 0;
    transition: width 1.5s var(--cubic);
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 3rem;
    align-items: center;
    justify-items: center;
    margin: 4rem 0;
    background: #111;
    padding: 2rem;
}

.client-logo {
    max-width: 100%;
    filter: grayscale(100%) brightness(50%);
    transition: 0.3s;
    opacity: 0.7;
}

.client-logo:hover {
    filter: grayscale(0%) brightness(100%);
    opacity: 1;
}


.client-logo:hover {
    filter: grayscale(0%) brightness(100%);
    opacity: 1;
}

/* CONTACT PAGE */
.contact-hero {
    margin-bottom: 5rem;
}

.contact-info-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
    align-items: start;
}

.contact-details h3 {
    color: #fff;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.contact-meta p {
    margin-bottom: 1.5rem;
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-meta a {
    color: var(--accent);
    transition: 0.3s;
}

.contact-meta a:hover {
    color: #fff;
}

.form-group {
    margin-bottom: 2.5rem;
    position: relative;
}

.form-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #333;
    padding: 10px 0;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1.2rem;
    transition: 0.4s var(--cubic);
}

.form-input:focus {
    outline: none;
    border-bottom-color: var(--accent);
}

.form-input::placeholder {
    color: #555;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

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

.success-msg {
    color: #4CAF50;
    margin-top: 1rem;
    display: block;
    font-weight: bold;
}

.error-msg {
    color: #f44336;
    margin-top: 1rem;
    display: block;
    font-weight: bold;
}

/* NAVIGATION OVERLAY */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--cubic);
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.nav-links {
    list-style: none;
    text-align: center;
}

.nav-item {
    margin: 1rem 0;
    transform: translateY(20px);
    opacity: 0;
    transition: 0.5s var(--cubic);
}

.nav-overlay.active .nav-item {
    transform: translateY(0);
    opacity: 1;
}

.nav-overlay.active .nav-item:nth-child(1) {
    transition-delay: 0.1s;
}

.nav-overlay.active .nav-item:nth-child(2) {
    transition-delay: 0.2s;
}

.nav-overlay.active .nav-item:nth-child(3) {
    transition-delay: 0.3s;
}

.nav-overlay.active .nav-item:nth-child(4) {
    transition-delay: 0.4s;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: #fff;
    transition: color 0.3s;
}

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

.nav-close {
    position: absolute;
    top: 2rem;
    right: 4rem;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
    z-index: 1000;
    font-family: var(--font-heading);
    letter-spacing: 2px;
}

/* HERO SOCIAL ICONS */
.hero-socials {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s 1.5s forwards;
    /* Delay after text */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s var(--cubic);
    color: #fff;
}

.social-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    transition: transform 0.4s var(--cubic);
}

.social-btn:hover {
    background: #fff;
    color: #000;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.social-btn:hover svg {
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .hero-socials {
        gap: 1rem;
    }

    .social-btn {
        width: 45px;
        height: 45px;
    }

    .social-btn svg {
        width: 18px;
        height: 18px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* SPLASH PAGE ELEMENTS */
.enter-btn {
    display: inline-block;
    margin-top: 3rem;
    padding: 1rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-family: var(--font-heading);
    letter-spacing: 4px;
    font-size: 1.2rem;
    background: transparent;
    transition: all 0.4s var(--cubic);
    opacity: 0;
    animation: fadeInUp 1s 2s forwards;
    /* Delay longer than text */
    text-transform: uppercase;
}

.enter-btn:hover {
    background: #fff;
    color: #000;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.bottom-strip {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    z-index: 50;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bottom-strip .hero-socials {
    margin: 0;
    gap: 2rem;
    opacity: 1;
    /* Override hide */
    animation: none;
}

/* NEON SPLASH BUTTON */
.enter-btn {
    /* Reset & Base */
    position: relative;
    padding: 1rem 4rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 4px;
    background: transparent;
    border: none;
    /* We use pseudo-elements for the border */
    border-radius: 50px;
    /* Pill Shape */
    overflow: hidden;
    transition: 0.2s;
    z-index: 1;
    margin-top: 3rem;
    display: inline-block;
}

/* Moving Neon Border Effect */
.enter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    padding: 2px;
    /* Border width */
    background: linear-gradient(90deg, transparent, #00f3ff, transparent);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    /* Animation */
    background-size: 200% 100%;
    animation: neonMove 2s linear infinite;
}

/* Fallback/Glow for the border */
.enter-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    border: 1px solid rgba(0, 243, 255, 0.3);
    z-index: -1;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2), inset 0 0 10px rgba(0, 243, 255, 0.1);
}

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

    100% {
        background-position: -100% 0;
    }
}

/* Hover Effects */
.enter-btn:hover {
    color: #00f3ff;
    text-shadow: 0 0 10px #00f3ff, 0 0 20px #00f3ff;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.4), inset 0 0 20px rgba(0, 243, 255, 0.2);
}

.enter-btn:hover::before {
    background: #00f3ff;
    box-shadow: 0 0 20px #00f3ff;
    animation: none;
    /* Solid neon on hover */
}

/* CINEMA SLIDER (Gallery) */
.cinema-slider {
    position: relative;
    width: 100%;
    height: 80vh;
    /* Dominant viewport height */
    overflow: hidden;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

/* Blurred Background Layer */
.cinema-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    opacity: 0.4;
    /* Darken for contrast */
}

.cinema-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(20px) brightness(0.7);
    transform: scale(1.2);
    /* Avoid edge bleed from blur */
    transition: opacity 1s ease;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.cinema-bg-img.active {
    opacity: 1;
}

/* Main Stage */
.cinema-stage {
    position: relative;
    z-index: 10;
    width: 80%;
    max-width: 1000px;
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.cinema-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.8s var(--cubic);
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.cinema-slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    z-index: 5;
}

.cinema-img {
    max-width: 100%;
    max-height: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    object-fit: contain;
}

/* Controls */
.cinema-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 20;
    transform: translateY(-50%);
    pointer-events: none;
    /* Let clicks pass through center */
}

.cinema-btn {
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
    backdrop-filter: blur(5px);
}

.cinema-btn:hover {
    background: #fff;
    color: #000;
}

.cinema-counter {
    position: absolute;
    bottom: 2rem;
    right: 3rem;
    z-index: 20;
    color: #fff;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.cinema-caption {
    position: absolute;
    bottom: 2rem;
    left: 3rem;
    z-index: 20;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .cinema-stage {
        width: 100%;
        height: 60vh;
    }

    .cinema-nav {
        padding: 0 1rem;
    }
}