/* =========================================================================
   ORNELLAS CENTRO DE ARTES - BRANDBOOK STYLES
   ========================================================================= */

/* CSS Variables */
:root {
    --bg-dark: #121212;
    --bg-light: #F4EBE1; /* Warm off-white from the posters */
    --text-light: #F4EBE1;
    --text-dark: #1A1A1A;
    
    --accent-red: #C62828;
    --accent-green: #1B5E20;
    --accent-yellow: #FBC02D;
    --accent-blue: #1565C0;
    
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, .nav-menu a {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* =========================================================================
   NAVIGATION
   ========================================================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    transition: background-color 0.4s ease, padding 0.4s ease;
    z-index: 1000;
}

.navbar.scrolled {
    background-color: rgba(18, 18, 18, 0.95);
    padding: 15px 0;
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.logo-img {
    height: 35px;
    transition: transform 0.3s ease;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 5px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--text-light);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-light);
}

/* =========================================================================
   SECTIONS & LAYOUT (POSTER CENTRIC)
   ========================================================================= */

/* The entire site acts as a digital gallery for the beautiful marketing posters */
.fullscreen-section {
    width: 100vw;
    /* Removed min-height: 100vh here to let images dictate flow without excessive black gaps */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 60px 0;
}

.fullscreen-section:first-of-type {
    padding-top: 100px; /* Accounts for navbar */
    min-height: 100vh;
}

.image-wrapper {
    width: 90%;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.poster-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    /* Soft shadow to lift the poster from the black */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border-radius: 4px; /* Optional slight rounding for premium feel */
}

/* Split Section for horizontal images */
.split-section {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}

.split-pane {
    flex: 1;
    min-width: 50%;
}

.split-pane img.cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =========================================================================
   ANIMATIONS & EFFECTS
   ========================================================================= */

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

.scroll-indicator span {
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.scroll-indicator .line {
    width: 1px;
    height: 40px;
    background-color: var(--text-light);
}

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

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

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

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
    background-color: #0A0A0A;
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-icon {
    width: 40px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.footer-content p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* =========================================================================
   MEDIA QUERIES
   ========================================================================= */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-dark);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 40px 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .split-pane {
        min-width: 100%;
    }
    
    .fullscreen-section {
        padding: 30px 0;
    }
}