/* Base Settings & Variables */
:root {
    --primary-font: 'Cinzel', serif;
    --secondary-font: 'Inter', sans-serif;
    
    --bg-color: #F7F7F5;
    --text-color: #111111;
    --accent-light: #EBEBE8;
    --accent-dark: #333333;
    
    --spacing-sm: 1rem;
    --spacing-md: 2.5rem;
    --spacing-lg: 5rem;
    --spacing-xl: 10rem;
}

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

html {
    scroll-behavior: smooth;
}

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

img, video {
    max-width: 100%;
    display: block;
}

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

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-padding {
    padding: var(--spacing-xl) 0;
}

/* Typography Details */
h1, h2, h3, h4, h5, .logo {
    font-family: var(--primary-font);
    font-weight: 400;
}

.text-center {
    text-align: center;
}

/* Header & Navigation */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: background-color 0.4s ease, padding 0.4s ease;
    padding: 2rem 0;
}

#main-header.scrolled {
    background-color: rgba(247, 247, 245, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

#main-header.scrolled .nav-link, 
#main-header.scrolled .logo {
    color: var(--text-color);
}

.nav-container {
    width: 95%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left, .nav-right, .nav-center {
    flex: 1;
}

.nav-center {
    text-align: center;
}

.nav-right {
    display: flex;
    justify-content: flex-end;
    gap: 2rem;
}

.logo {
    font-size: 2rem;
    letter-spacing: 0.1em;
    color: #fff;
    transition: color 0.4s;
}

.nav-link {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    transition: color 0.4s, opacity 0.3s;
}

.nav-link:hover {
    opacity: 0.7;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Dark overlay to make text readable */
}

.hero-content {
    text-align: center;
    color: #fff;
    z-index: 1;
    padding: 2rem;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 6rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.explore-btn {
    display: inline-block;
    padding: 1rem 3rem;
    border: 1px solid #fff;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.explore-btn:hover {
    background: #fff;
    color: var(--text-color);
}

/* Brand Story */
.section-heading {
    font-size: 3rem;
    margin-bottom: var(--spacing-lg);
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
}

.story-text {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--text-color);
    font-weight: 300;
}

.text-link {
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    border-bottom: 1px solid var(--text-color);
    padding-bottom: 0.25rem;
    margin-top: 2rem;
    transition: opacity 0.3s;
}

.text-link:hover {
    opacity: 0.6;
}

/* Gallery / Showcase */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(100px, auto);
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    background: var(--accent-light);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.item-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
    color: #fff;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.gallery-item:hover .item-caption {
    opacity: 1;
    transform: translateY(0);
}

.item-caption h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.item-caption p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

/* Grid Cell Placement */
.large {
    grid-column: 1 / 8;
    grid-row: span 4;
}

.portrait {
    grid-column: 8 / 13;
    grid-row: span 6;
}

.landscape {
    grid-column: 1 / 8;
    grid-row: span 4;
}

.feature {
    grid-column: 8 / 13;
    grid-row: span 4;
}

.square {
    grid-column: 4 / 9;
    grid-row: span 4;
    margin-top: -4rem; /* Break grid overlap slightly */
    z-index: 10;
}

/* Posters Split Section */
.posters-section {
    background-color: var(--accent-light);
}

.posters-split {
    display: flex;
    gap: 4rem;
}

.poster-item {
    flex: 1;
    text-align: center;
}

.poster-item img {
    margin-bottom: 1.5rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.poster-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-color);
    font-weight: 500;
}

/* Footer */
.footer {
    padding: var(--spacing-lg) 0 2rem;
    background-color: var(--text-color);
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.footer-desc {
    opacity: 0.6;
    font-size: 0.9rem;
}

.footer-heading {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.5);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    font-size: 0.95rem;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 0.6;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    font-size: 0.8rem;
    opacity: 0.5;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.2s;
}

.reveal-delay-2 {
    transition-delay: 0.4s;
}

.fade-up {
    animation: fadeUp 1.5s cubic-bezier(0.5, 0, 0, 1) forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .gallery-grid {
        display: flex;
        flex-direction: column;
    }
    
    .square {
        margin-top: 0;
    }
    
    .posters-split {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: var(--spacing-md) 0;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }
    
    .story-text {
        font-size: 1.2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
