:root {
    --bg-color: #0a0a0a;
    --text-primary: #f5f5f7;
    --text-secondary: #a1a1a6;
    --accent: #d4af37;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: initial;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Hero Entrance Mask */
.hero-entrance-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 2000;
    pointer-events: none;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #a1a1a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-content {
    z-index: 5;
    max-width: 750px;
    position: relative;
}

.hero-subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--accent);
    margin-bottom: 25px;
    display: block;
    font-weight: 500;
}

.hero h1 {
    font-size: clamp(3.5rem, 9vw, 6.5rem);
    line-height: 1;
    margin-bottom: 35px;
    letter-spacing: -0.04em;
    font-weight: 700;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin-bottom: 50px;
    font-weight: 300;
}

.hero-image-container {
    position: absolute;
    right: 5%;
    top: 55%; /* Slightly lower to give more room at the top */
    transform: translateY(-50%);
    width: 35%;
    height: 70%; /* Reduced height slightly */
    max-height: 750px;
    z-index: 2;
    overflow: hidden;
    border-radius: 30px;
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center; /* Ensures the top of the subject is visible */
    filter: grayscale(0.1) contrast(1.1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.hero-bg-text {
    position: absolute;
    bottom: 5%;
    left: 5%;
    font-size: 12vw;
    font-weight: 900;
    color: rgba(255,255,255,0.02);
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
    font-family: var(--font-heading);
    transition: var(--transition);
}

@media (max-width: 1024px) {
    .hero-bg-text {
        font-size: 20vw;
        bottom: 10%;
        left: 50%;
        transform: translateX(-50%);
        opacity: 0.04;
    }
}

/* Gallery Section */
.gallery-section {
    padding: 150px 0;
}

.section-header {
    margin-bottom: 80px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.section-title h2 {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.filters {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 12px 28px;
    border-radius: 40px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--text-primary);
    color: var(--bg-color);
    border-color: var(--text-primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 35px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--glass);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--accent);
    margin-bottom: 8px;
    font-weight: 600;
}

.gallery-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
}

/* Cinema Section */
.cinema-section {
    padding: 180px 0;
    background: #000;
    overflow: hidden;
}

.cinema-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 100px;
    align-items: center;
}

.cinema-visual {
    position: relative;
}

.film-strip {
    position: relative;
    border: 15px solid #1a1a1a;
    border-left: none;
    border-right: none;
    padding: 20px 0;
}

.film-strip::before, .film-strip::after {
    content: '▪ ▪ ▪ ▪ ▪ ▪ ▪ ▪ ▪ ▪ ▪ ▪ ▪ ▪';
    position: absolute;
    left: 0;
    width: 100%;
    color: #333;
    font-size: 1.2rem;
    letter-spacing: 1.5rem;
    text-align: center;
}

.film-strip::before { top: -10px; }
.film-strip::after { bottom: -10px; }

.film-strip img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    filter: sepia(0.2) contrast(1.2);
    border-radius: 4px;
}

.cinema-text h2 {
    font-size: 4.5rem;
    margin-bottom: 40px;
}

.cinema-text h2 .italic {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 300;
}

.cinema-quote {
    margin-top: 50px;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-style: italic;
    color: var(--accent);
    border-left: 2px solid var(--accent);
    padding-left: 30px;
    line-height: 1.4;
}

/* About Section */
.about-section {
    padding: 180px 0;
    background: #080808;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 120px;
    align-items: center;
}

.about-text h2 {
    font-size: 4rem;
    margin-bottom: 40px;
    line-height: 1.1;
}

.about-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-weight: 300;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
}

.about-visual-box {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 6rem;
    color: rgba(255,255,255,0.05);
    font-weight: 800;
}

/* Contact Section */
.contact-section {
    padding: 180px 0;
}

.contact-card {
    background: linear-gradient(145deg, var(--glass), transparent);
    border: 1px solid var(--glass-border);
    padding: 100px 60px;
    border-radius: 40px;
    text-align: center;
}

.contact-card h2 {
    font-size: 5rem;
    margin-bottom: 25px;
    letter-spacing: -0.03em;
}

.contact-card p {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 50px;
}

.contact-link {
    font-size: 1.8rem;
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 500;
    transition: var(--transition);
    opacity: 0.8;
}

.contact-link:hover {
    opacity: 1;
    color: var(--accent);
    transform: scale(1.05);
}

.contact-btn {
    display: inline-block;
    background: var(--text-primary);
    color: var(--bg-color);
    padding: 22px 55px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.contact-btn:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Footer */
footer {
    padding: 100px 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-socials a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
    font-weight: 500;
}

.footer-socials a:hover {
    color: var(--text-primary);
}

.copyright {
    font-size: 0.9rem;
    color: var(--text-secondary);
    opacity: 0.4;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-image-container {
        width: 40%;
        right: 2%;
    }
}

@media (max-width: 1024px) {
    .hero {
        height: auto;
        min-height: 100vh;
        flex-direction: column;
        justify-content: center;
        padding-top: 150px;
        padding-bottom: 100px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        order: 2;
        padding: 0 20px;
    }

    .hero-image-container {
        position: relative;
        display: block;
        width: 100%;
        max-width: 450px;
        height: 65vh;
        max-height: 550px;
        right: auto;
        top: auto;
        transform: none;
        margin: 0 auto 40px;
        order: 1;
        border-radius: 20px;
        box-shadow: 0 40px 100px rgba(0,0,0,0.8);
    }

    .hero-image-container::after {
        content: '';
        position: absolute;
        inset: -15px;
        border: 1px solid rgba(212, 175, 55, 0.2);
        border-radius: 30px;
        z-index: -1;
        pointer-events: none;
    }

    .hero h1 {
        font-size: clamp(2.8rem, 10vw, 4rem);
        margin-bottom: 25px;
    }

    .hero p {
        margin: 0 auto 40px;
        font-size: 1.1rem;
        padding: 0 10px;
    }

    .about-grid, .cinema-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .stats-grid {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }
    .contact-card {
        padding: 60px 30px;
    }
    .contact-card h2 {
        font-size: 3rem;
    }
    .about-text h2 {
        font-size: 3rem;
    }
}
