:root {
    --bg-color: #ffffff;
    --text-color: #2c2e33;
    --accent-color: #b08d2b; /* Slightly darker gold for better contrast on white */
    --card-bg: rgba(0, 0, 0, 0.03);
    --border-color: rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 80px;
    text-align: left;
    background: url('assets/AdobeStock_135759365.jpeg') center/cover no-repeat;
    position: relative;
}

.hero-content {
    background: #008bc5;
    padding: 40px;
    max-width: 600px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1.5s ease forwards 0.5s;
}

.hero-logo {
    position: absolute;
    top: 40px;
    left: 40px;
    height: 50px;
    width: auto;
    z-index: 10;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 600;
    letter-spacing: 0;
    margin-bottom: 10px;
    color: #ffffff;
}

.hero h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.6;
    animation: bounce 2s infinite;
}

.scroll-indicator .arrow {
    margin-top: 10px;
    font-size: 1.5rem;
}

/* Storyboard Container */
.storyboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
}

.section-title {
    font-size: 3rem;
    font-weight: 300;
    margin: 100px 0 60px;
    text-align: center;
    color: var(--accent-color);
    width: 100%;
}

.section-title:first-child {
    margin-top: 0;
}

/* Layout for Voice-Over Box */
.location-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 100px;
}

.scenes-column .scene {
    margin-bottom: 60px;
}

.scenes-column .scene:last-child {
    margin-bottom: 0;
}

.voiceover-column {
    position: relative;
}

.voiceover-box {
    position: sticky;
    top: 100px;
    background: #ffffff;
    border: 2px solid var(--accent-color);
    border-radius: 12px;
    padding: 30px;
    height: fit-content;
    min-height: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.voiceover-box h3 {
    font-size: 1.4rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 10px;
}

.voiceover-box p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .location-grid {
        grid-template-columns: 1fr;
    }
    .voiceover-box {
        position: relative;
        top: 0;
        min-height: auto;
        margin-bottom: 60px;
    }
}

/* Scene Layout */
.scene {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 100px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.scene.visible {
    opacity: 1;
    transform: translateY(0);
}

.scene:nth-child(even) {
    flex-direction: column;
}

.scene-image-container, .scene-video-container {
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.scene-image, .scene-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.scene-image-container:hover .scene-image {
    transform: scale(1.03);
}

.placeholder-container {
    background-color: #f1f3f5;
    border: 2px dashed rgba(0, 0, 0, 0.1);
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: rgba(0, 0, 0, 0.4);
    background-color: rgba(0, 0, 0, 0.02);
}

.scene-timestamp {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.scene-content {
    flex: 0 0 auto;
    width: 100%;
    margin-top: 20px;
    position: relative;
    z-index: 2;
    padding: 30px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.scene-title {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 15px;
    color: #111;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tag {
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-color);
    border: 1px solid rgba(212, 175, 55, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scene-desc {
    font-size: 1.1rem;
    color: rgba(0, 0, 0, 0.8);
    margin-bottom: 20px;
}

.scene-audio {
    font-size: 0.95rem;
    color: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 15px;
}

.scene-audio strong {
    color: rgba(0, 0, 0, 0.7);
}

/* Footer */
.footer {
    text-align: center;
    padding: 50px 20px;
    border-top: 1px solid var(--border-color);
    color: rgba(0, 0, 0, 0.4);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-15px) translateX(-50%); }
    60% { transform: translateY(-7px) translateX(-50%); }
}

/* Responsive */
@media (max-width: 900px) {
    .hero-logo {
        top: 20px;
        left: 20px;
        height: 35px;
    }

    .scene, .scene:nth-child(even) {
        flex-direction: column;
        margin-bottom: 80px;
    }
    
    .scene-image-container, .scene-video-container, .scene-content {
        flex: 0 0 100%;
        width: 100%;
    }
    
    .scene-content {
        margin-top: 20px;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    
    .hero {
        padding: 40px 20px;
        align-items: flex-end;
    }

    .hero-content {
        padding: 25px;
        max-width: 100%;
    }

    .hero h1 { font-size: 2.2rem; }
    .hero h2 { font-size: 1.5rem; }
}
