/* 
   CSS Proposals for Orquesta Infantil y Juvenil de Olmue 
   This file overrides styles for specific proposals without affecting the main site.
*/

/* =========================================
   Universal Fixes / Overrides 
   ========================================= */

/* Ensure videos cover properly */
.hero-video {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Dark overlay for text readability */
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

/* =========================================
   Proposal 1: Elegancia Moderna (Glassmorphism)
   ========================================= */

/* Navbar Glassmorphism */
body.proposal-1 .navbar-glass {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.05);
    /* Muy sutil */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    padding: 1.5em 15px;
}

body.proposal-1 .navbar-glass.affix {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.8em 15px;
    position: fixed;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

body.proposal-1 .navbar-glass .nav-desctop-list a {
    color: #fff;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

body.proposal-1 .navbar-glass.affix .nav-desctop-list a {
    color: #333;
    /* Darker text on sticky white navbar */
    text-shadow: none;
}

body.proposal-1 .navbar-glass .brand {
    transition: all 0.3s ease;
}

/* Video Hero Styles */
body.proposal-1 .hero-video {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.proposal-1 .hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 0.5em;
    line-height: 1.1;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

body.proposal-1 .hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2em;
    animation: fadeInUp 1s ease-out 0.3s forwards;
    opacity: 0;
    transform: translateY(20px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

body.proposal-1 .hero-buttons {
    animation: fadeInUp 1s ease-out 0.6s forwards;
    opacity: 0;
    transform: translateY(20px);
}

body.proposal-1 .hero-buttons .btn {
    border-radius: 50px;
    /* Pillow shape */
    padding: 12px 35px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin: 0 10px;
    text-transform: uppercase;
}

body.proposal-1 .hero-buttons .btn-trans {
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: transparent;
    color: #fff;
}

body.proposal-1 .hero-buttons .btn-trans:hover {
    background: #fff;
    color: #333;
}

body.proposal-1 .hero-buttons .btn-white {
    background: #fff;
    color: #333;
    border: 1px solid #fff;
}

body.proposal-1 .hero-buttons .btn-white:hover {
    background: transparent;
    color: #fff;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   Proposal 2: Dinámico y Vibrante (Floating)
   ========================================= */

/* Floating Navbar */
body.proposal-2 .navbar-floating {
    position: absolute;
    top: 20px;
    left: 5%;
    width: 90%;
    z-index: 100;
    background: #fff;
    border-radius: 50px;
    padding: 0.8em 2em;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
}

body.proposal-2 .navbar-floating.affix {
    top: 0;
    left: 0;
    width: 100%;
    border-radius: 0;
    position: fixed;
    padding: 0.8em 2em;
    background: rgba(255, 255, 255, 0.98);
}

body.proposal-2 .navbar-floating .nav-desctop-list a {
    color: #333;
    font-weight: 600;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

body.proposal-2 .navbar-floating .brand img {
    height: 35px;
    /* Adjust logo size for pill */
    width: auto;
}

/* Parallax Hero Styles */
body.proposal-2 .hero-parallax {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

body.proposal-2 .hero-parallax-bg {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: url('../img/slider/agency2.jpg') center center/cover no-repeat;
    z-index: 0;
    /* Simulate Parallax manually via JS or simple fixed attachment if preferred */
    /* Using simple css approach for now */
    filter: brightness(0.9);
}

body.proposal-2 .hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

body.proposal-2 .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
    animation: float 20s infinite linear;
}

body.proposal-2 .shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, #ff9a9e 0%, #fad0c4 99%, #fad0c4 100%);
    top: 10%;
    left: 10%;
    animation-duration: 25s;
}

body.proposal-2 .shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(to top, #a18cd1 0%, #fbc2eb 100%);
    bottom: -50px;
    right: -50px;
    animation-duration: 30s;
    animation-direction: reverse;
}

body.proposal-2 .shape-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);
    top: 40%;
    right: 20%;
    animation-duration: 20s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(20px, 40px) rotate(180deg);
    }

    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

body.proposal-2 .hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
}

body.proposal-2 .hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 0.2em;
    color: #ffffff;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    letter-spacing: -2px;
}

body.proposal-2 .hero-subtitle {
    font-family: 'Lora', serif;
    font-size: 1.8rem;
    font-style: italic;
    color: #fff;
    margin-bottom: 2em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

body.proposal-2 .btn-pill {
    border-radius: 50px;
    padding: 15px 40px;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.proposal-2 .btn-pill:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

body.proposal-2 .btn-primary {
    background: #6a11cb;
    background: linear-gradient(to right, #6a11cb 0%, #2575fc 100%);
    border: none;
    color: #fff;
}

body.proposal-2 .btn-outline {
    background: #fff;
    color: #333;
}


/* =========================================
   Proposal 3: Editorial Artístico (Split)
   ========================================= */

/* Minimal Navbar */
body.proposal-3 .navbar-minimal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body.proposal-3 .menu-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    color: #333;
    z-index: 200;
}

body.proposal-3 .menu-toggle .bar {
    display: block;
    width: 25px;
    height: 2px;
    background: #333;
    margin-right: 5px;
    position: relative;
    transition: all 0.3s ease;
}

body.proposal-3 .menu-toggle .bar:nth-child(2) {
    width: 15px;
    margin-bottom: 5px;
}

body.proposal-3 .menu-toggle .bar:nth-child(1) {
    margin-bottom: 5px;
}

body.proposal-3 .menu-toggle .label {
    margin-left: 10px;
}

/* Overlay Menu */
body.proposal-3 .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 150;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

body.proposal-3 .nav-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

body.proposal-3 .nav-overlay-list {
    list-style: none;
    padding: 0;
    text-align: center;
}

body.proposal-3 .nav-overlay-list li {
    margin: 20px 0;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

body.proposal-3 .nav-overlay.open .nav-overlay-list li {
    transform: translateY(0);
    opacity: 1;
}

/* Stagger animation for list items */
body.proposal-3 .nav-overlay.open .nav-overlay-list li:nth-child(1) {
    transition-delay: 0.1s;
}

body.proposal-3 .nav-overlay.open .nav-overlay-list li:nth-child(2) {
    transition-delay: 0.15s;
}

body.proposal-3 .nav-overlay.open .nav-overlay-list li:nth-child(3) {
    transition-delay: 0.2s;
}

body.proposal-3 .nav-overlay.open .nav-overlay-list li:nth-child(4) {
    transition-delay: 0.25s;
}

body.proposal-3 .nav-overlay.open .nav-overlay-list li:nth-child(5) {
    transition-delay: 0.3s;
}

body.proposal-3 .nav-overlay.open .nav-overlay-list li:nth-child(6) {
    transition-delay: 0.35s;
}

body.proposal-3 .nav-overlay.open .nav-overlay-list li:nth-child(7) {
    transition-delay: 0.4s;
}


body.proposal-3 .nav-overlay-list a {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #333;
    text-decoration: none;
    font-weight: 700;
}

body.proposal-3 .nav-overlay-list a:hover {
    color: #999;
}

body.proposal-3 .nav-overlay-social {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

body.proposal-3 .nav-overlay-social a {
    font-size: 20px;
    color: #333;
}

/* Split Screen Hero */
body.proposal-3 .hero-split {
    display: flex;
    height: 100vh;
    width: 100%;
    margin-top: 0;
}

body.proposal-3 .split-left {
    width: 40%;
    background: #fdfdfd;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

body.proposal-3 .split-right {
    width: 60%;
    background: #000;
}

body.proposal-3 .split-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

body.proposal-3 .split-content {
    max-width: 450px;
}

body.proposal-3 .split-content .subtitle {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999;
    margin-bottom: 20px;
}

body.proposal-3 .split-content .title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #333;
}

body.proposal-3 .split-content .description {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 40px;
}

body.proposal-3 .btn-dark {
    background: #333;
    color: #fff;
    border-radius: 0;
    padding: 15px 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
}

@media (max-width: 991px) {
    body.proposal-3 .hero-split {
        flex-direction: column;
        height: auto;
    }

    body.proposal-3 .split-left,
    body.proposal-3 .split-right {
        width: 100%;
    }

    body.proposal-3 .split-right {
        height: 50vh;
    }

    body.proposal-3 .split-left {
        padding: 60px 20px;
        order: 2;
        /* Content below image on mobile usually looks better, or keep as is */
    }

    body.proposal-3 .navbar-minimal {
        position: absolute;
        width: 100%;
    }
}