﻿/* ============================================
   EL MANUAL DE LA MALA CONDUCTA - ESTILOS
   ============================================ */

/* ========== RESET Y VARIABLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-oro: #D4AF37;
    --color-oro-claro: #F0D060;
    --color-oscuro: #0D0A08;
    --color-marron: #2C1810;
    --color-crema: #F5F0E8;
    --color-texto: #2C2C2C;
    --fuente-titulos: 'Playfair Display', serif;
    --fuente-texto: 'Inter', sans-serif;
    --sombra-oro: rgba(212, 175, 55, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--fuente-texto);
    background: var(--color-crema);
    color: var(--color-texto);
    overflow-x: hidden;
}
/* ========== PRELOADER ========== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-oscuro);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

    #preloader.hidden {
        opacity: 0;
        visibility: hidden;
    }

.loader {
    width: 80px;
    height: 80px;
    border: 4px solid transparent;
    border-top: 4px solid var(--color-oro);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

    /* === IMAGEN DENTRO DEL PRELOADER === */
    .loader .logo-preloader {
        width: 45px;
        height: 45px;
        object-fit: contain;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border-radius: 50%;
        animation: spin 1s linear infinite reverse; /* Gira en sentido contrario */
    }

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ========== NAVEGACIÓN ========== */
.navbar-principal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 14px 5%;
    background: rgba(13, 10, 8, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    transition: all 0.4s ease;
}

    .navbar-principal.scrolled {
        padding: 10px 5%;
        background: rgba(13, 10, 8, 0.98);
        box-shadow: 0 4px 30px rgba(0,0,0,0.5);
    }

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icono {
    font-size: 1.8rem;
    color: var(--color-oro);
}

.logo-texto h1 {
    font-family: var(--fuente-titulos);
    color: var(--color-oro);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.1;
}

.logo-texto span {
    color: #aaa;
    font-size: 0.7rem;
    font-weight: 300;
    letter-spacing: 3px;
    font-style: italic;
}
/* ========== LOGO CON IMAGEN ========== */
.logo-imagen {
    height: 60px; /* ← Cambia este valor para ajustar la altura */
    width: auto; /* ← Mantiene la proporción automáticamente */
    transition: all 0.3s ease;
}
.logo-imagen2 {
    height: 100px; /* ← Cambia este valor para ajustar la altura */
    width: auto; /* ← Mantiene la proporción automáticamente */
    transition: all 0.3s ease;
}
    .logo-imagen:hover {
        transform: scale(1.05);
    }
.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

    .nav-menu a {
        color: #fff;
        text-decoration: none;
        font-weight: 500;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        position: relative;
    }

        .nav-menu a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--color-oro);
            transition: width 0.3s ease;
        }

        .nav-menu a:hover {
            color: var(--color-oro);
        }

            .nav-menu a:hover::after {
                width: 100%;
            }

    .nav-menu .btn-nav {
        background: var(--color-oro);
        color: var(--color-oscuro);
        padding: 8px 20px;
        border-radius: 30px;
        font-weight: 600;
        transition: all 0.3s ease;
        font-size: 0.85rem;
    }

        .nav-menu .btn-nav:hover {
            background: var(--color-oro-claro);
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
        }

        .nav-menu .btn-nav::after {
            display: none;
        }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

    .hamburger span {
        width: 28px;
        height: 3px;
        background: #fff;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

/* ========== HERO / BANNER ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-oscuro) 0%, #1a0f0a 50%, var(--color-marron) 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 5% 40px;
}

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
        pointer-events: none;
    }

.hero-particulas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particula {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-oro);
    border-radius: 50%;
    opacity: 0;
    animation: flotar 8s infinite;
}

    .particula:nth-child(1) {
        left: 10%;
        animation-delay: 0s;
    }

    .particula:nth-child(2) {
        left: 25%;
        animation-delay: 1s;
    }

    .particula:nth-child(3) {
        left: 40%;
        animation-delay: 2s;
    }

    .particula:nth-child(4) {
        left: 55%;
        animation-delay: 3s;
    }

    .particula:nth-child(5) {
        left: 70%;
        animation-delay: 4s;
    }

    .particula:nth-child(6) {
        left: 85%;
        animation-delay: 5s;
    }

@keyframes flotar {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0;
    }
}

.hero-contenido {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ========== HERO - CENTRADO ========== */
.hero-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 30px;
}

.hero-texto {
    text-align: center;
    max-width: 800px;
}

    .hero-texto .hero-mascara {
        font-size: 4rem;
        margin-bottom: 15px;
        display: inline-block;
        animation: flotarIcono 3s ease-in-out infinite;
    }

@keyframes flotarIcono {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.hero-texto h1 {
    font-family: var(--fuente-titulos);
    font-size: 4rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 3px;
    text-align: center;
    line-height: 1.1;
}

    .hero-texto h1 span {
        color: var(--color-oro);
    }

.hero-texto .subtitulo {
    font-size: 1.2rem;
    font-weight: 300;
    color: #ccc;
    margin-bottom: 20px;
    letter-spacing: 10px;
    text-transform: uppercase;
    text-align: center;
}

.hero-texto .descripcion {
    font-size: 1.1rem;
    color: #aaa;
    max-width: 650px;
    margin: 0 auto 30px;
    line-height: 1.8;
    text-align: center;
}

.hero-botones {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== HERO IMAGEN ========== */
.hero-imagen {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

    .hero-imagen img {
        width: 100%;
        max-width: 850px;
        height: auto;
        border-radius: 20px;
        box-shadow: 0 25px 70px rgba(0,0,0,0.6);
        border: 3px solid var(--color-oro);
        transition: all 0.5s ease;
        object-fit: cover;
    }

        .hero-imagen img:hover {
            transform: scale(1.02);
            box-shadow: 0 35px 90px var(--sombra-oro);
        }

/* ========== BOTONES ========== */
.btn-oro {
    background: var(--color-oro);
    color: var(--color-oscuro);
    padding: 16px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
}

    .btn-oro:hover {
        background: var(--color-oro-claro);
        transform: translateY(-3px);
        box-shadow: 0 12px 40px rgba(212, 175, 55, 0.4);
    }

.btn-outline {
    background: transparent;
    color: #fff;
    padding: 16px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 2px solid var(--color-oro);
    transition: all 0.4s ease;
}

    .btn-outline:hover {
        background: var(--color-oro);
        color: var(--color-oscuro);
        transform: translateY(-3px);
        box-shadow: 0 12px 40px rgba(212, 175, 55, 0.2);
    }

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: #666;
    font-size: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: bounce 2s infinite;
}

    .scroll-indicator i {
        font-size: 1.2rem;
        color: var(--color-oro);
    }

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-8px);
    }
}

/* ========== SECCIÓN: PRÓXIMAS FUNCIONES ========== */
.seccion-funciones {
    padding: 80px 5%;
    background: var(--color-crema);
    text-align: center;
}

.encabezado-seccion {
    text-align: center;
    margin-bottom: 50px;
}

    .encabezado-seccion .etiqueta {
        display: inline-block;
        color: var(--color-oro);
        font-weight: 600;
        font-size: 0.85rem;
        letter-spacing: 4px;
        text-transform: uppercase;
        background: rgba(212, 175, 55, 0.1);
        padding: 8px 20px;
        border-radius: 20px;
        margin-bottom: 15px;
    }

    .encabezado-seccion h2 {
        font-family: var(--fuente-titulos);
        font-size: 2.8rem;
        color: var(--color-oscuro);
        margin-bottom: 15px;
    }

        .encabezado-seccion h2 span {
            color: var(--color-oro);
        }

    .encabezado-seccion p {
        color: #888;
        font-size: 1.1rem;
        max-width: 600px;
        margin: 0 auto;
    }

/* ========== PRESENTACIONES EN HORIZONTAL ========== */
.presentaciones-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.tarjeta-presentacion {
    background: #fff;
    border-radius: 16px;
    padding: 30px 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
    border-bottom: 4px solid var(--color-oro);
    text-align: center;
}

    .tarjeta-presentacion:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    }

    .tarjeta-presentacion .ciudad {
        font-family: var(--fuente-titulos);
        font-size: 1.4rem;
        font-weight: 700;
        color: var(--color-oscuro);
        margin-bottom: 8px;
    }

        .tarjeta-presentacion .ciudad i {
            color: var(--color-oro);
            margin-right: 10px;
        }

    .tarjeta-presentacion .fechas {
        color: #777;
        font-size: 1rem;
        font-weight: 500;
    }

        .tarjeta-presentacion .fechas i {
            color: var(--color-oro);
            margin-right: 8px;
        }

/* ========== GRID DE FUNCIONES (TARJETAS) ========== */
.grid-funciones {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.tarjeta-funcion {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0,0,0,0.06);
    transition: all 0.5s ease;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
}

    .tarjeta-funcion:hover {
        transform: translateY(-12px);
        box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    }

    .tarjeta-funcion .imagen {
        height: 400px;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        transition: all 0.5s ease;
        flex-shrink: 0;
        background-size: cover;
        background-position: center;
    }

        .tarjeta-funcion .imagen::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(13, 10, 8, 0.3) 0%, rgba(44, 24, 16, 0.6) 100%);
            z-index: 1;
        }

    .tarjeta-funcion:hover .imagen {
        transform: scale(1.02);
    }

    .tarjeta-funcion .imagen .badge {
        position: absolute;
        top: 15px;
        right: 15px;
        background: var(--color-oro);
        color: var(--color-oscuro);
        padding: 5px 15px;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 600;
        z-index: 2;
    }

    .tarjeta-funcion .imagen .fecha-badge {
        position: absolute;
        bottom: 15px;
        left: 15px;
        background: rgba(13, 10, 8, 0.85);
        color: #fff;
        padding: 8px 16px;
        border-radius: 10px;
        font-size: 0.85rem;
        font-weight: 500;
        backdrop-filter: blur(5px);
        z-index: 2;
    }

        .tarjeta-funcion .imagen .fecha-badge i {
            color: var(--color-oro);
            margin-right: 8px;
        }

    .tarjeta-funcion .info {
        padding: 25px 30px 30px;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

        .tarjeta-funcion .info .genero {
            color: var(--color-oro);
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .tarjeta-funcion .info h3 {
            font-family: var(--fuente-titulos);
            font-size: 1.4rem;
            margin: 8px 0 12px;
            color: var(--color-oscuro);
        }

        .tarjeta-funcion .info p {
            color: #777;
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 15px;
            flex: 1;
        }

        .tarjeta-funcion .info .detalles {
            display: flex;
            justify-content: space-between;
            padding-top: 15px;
            border-top: 1px solid #eee;
            font-size: 0.85rem;
            color: #888;
            flex-wrap: wrap;
            gap: 8px;
        }

            .tarjeta-funcion .info .detalles span {
                display: flex;
                align-items: center;
                gap: 6px;
            }

            .tarjeta-funcion .info .detalles i {
                color: var(--color-oro);
            }

/* ========== UBICACIÓN DEL TEATRO ========== */
.ubicacion {
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.btn-ubicacion {
    display: inline-flex;
    background-color: #e63946;
    align-items: center;
    gap: 8px;
    color: var(--color-oscuro);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

    .btn-ubicacion i {
        color: var(--color-oro);
        font-size: 1rem;
    }

    .btn-ubicacion:hover {
        background: var(--color-oro);
        color: var(--color-oscuro);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    }

        .btn-ubicacion:hover i {
            color: var(--color-oscuro);
        }

.btn-ver-mas {
    margin-top: 50px;
    text-align: center;
}

/* ========== SECCIÓN: ELENCO / ACTORES ========== */
.seccion-elenco {
    padding: 80px 5%;
    background: linear-gradient(135deg, var(--color-oscuro) 0%, #1a0f0a 100%);
    color: #fff;
    text-align: center;
}

    .seccion-elenco .encabezado-seccion .etiqueta {
        background: rgba(212, 175, 55, 0.15);
    }

    .seccion-elenco .encabezado-seccion h2 {
        color: #fff;
    }

        .seccion-elenco .encabezado-seccion h2 span {
            color: var(--color-oro);
        }

    .seccion-elenco .encabezado-seccion p {
        color: #999;
    }

.grid-elenco {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.tarjeta-actor {
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
}

    .tarjeta-actor:hover {
        transform: translateY(-8px);
    }

    .tarjeta-actor .avatar {
        width: 140px;
        height: 140px;
        border-radius: 50%;
        margin: 0 auto 15px;
        border: 3px solid var(--color-oro);
        transition: all 0.4s ease;
        position: relative;
        overflow: hidden;
        background: linear-gradient(135deg, var(--color-marron), var(--color-oscuro));
    }

        .tarjeta-actor .avatar .foto-actor {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: all 0.4s ease;
        }

    .tarjeta-actor:hover .avatar {
        border-color: var(--color-oro-claro);
        box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
    }

        .tarjeta-actor:hover .avatar .foto-actor {
            transform: scale(1.05);
        }

    .tarjeta-actor .avatar .sin-foto {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 3.5rem;
        color: var(--color-oro);
        background: linear-gradient(135deg, var(--color-marron), var(--color-oscuro));
    }

    .tarjeta-actor .nombre {
        font-family: var(--fuente-titulos);
        font-size: 1.1rem;
        font-weight: 700;
        color: #fff;
    }

    .tarjeta-actor .rol {
        color: var(--color-oro);
        font-size: 0.85rem;
        font-weight: 300;
    }

/* ========== SECCIÓN: TESTIMONIOS ========== */
.seccion-testimonios {
    padding: 80px 5%;
    background: var(--color-crema);
    text-align: center;
}

.grid-testimonios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.tarjeta-testimonio {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    position: relative;
    transition: all 0.4s ease;
    text-align: left;
}

    .tarjeta-testimonio:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    }

    .tarjeta-testimonio .comillas {
        font-size: 3rem;
        color: var(--color-oro);
        opacity: 0.3;
        line-height: 0.5;
        margin-bottom: 10px;
    }

    .tarjeta-testimonio p {
        color: #555;
        font-size: 0.95rem;
        line-height: 1.7;
        font-style: italic;
    }

    .tarjeta-testimonio .autor {
        margin-top: 15px;
        display: flex;
        align-items: center;
        gap: 12px;
    }

        .tarjeta-testimonio .autor .foto {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--color-marron), var(--color-oscuro));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            color: var(--color-oro);
        }

        .tarjeta-testimonio .autor .nombre {
            font-weight: 600;
            font-size: 0.95rem;
        }

        .tarjeta-testimonio .autor .obra {
            font-size: 0.8rem;
            color: #999;
        }

/* ========== FOOTER ========== */
.footer {
    background: var(--color-oscuro);
    padding: 60px 5% 30px;
    border-top: 3px solid var(--color-oro);
    text-align: center;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

    .footer-grid h4 {
        font-family: var(--fuente-titulos);
        color: var(--color-oro);
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .footer-grid p {
        color: #999;
        font-size: 0.9rem;
        line-height: 1.8;
    }

    .footer-grid ul {
        list-style: none;
    }

        .footer-grid ul li {
            margin-bottom: 10px;
        }

        .footer-grid ul a {
            color: #999;
            text-decoration: none;
            transition: color 0.3s ease;
        }

            .footer-grid ul a:hover {
                color: var(--color-oro);
            }

.social-links {
    display: flex;
    gap: 15px;
}

    .social-links a {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: rgba(255,255,255,0.05);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        text-decoration: none;
        transition: all 0.3s ease;
    }

        .social-links a:hover {
            background: var(--color-oro);
            color: var(--color-oscuro);
            transform: translateY(-3px);
        }

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #666;
    font-size: 0.85rem;
}

    .footer-bottom span {
        color: var(--color-oro);
    }

/* ========== ANIMACIONES AL SCROLL ========== */
.animar {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s ease;
}

    .animar.visible {
        opacity: 1;
        transform: translateY(0);
    }

.animar-izquierda {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.7s ease;
}

    .animar-izquierda.visible {
        opacity: 1;
        transform: translateX(0);
    }

.animar-derecha {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.7s ease;
}

    .animar-derecha.visible {
        opacity: 1;
        transform: translateX(0);
    }

/* ========== RESPONSIVE ========== */
/* Tablets y pantallas medianas */
@media (max-width: 992px) {
    .hero-texto h1 {
        font-size: 3rem;
    }

    .hero-imagen {
        max-width: 100%;
    }

        .hero-imagen img {
            max-width: 100%;
        }

    .presentaciones-container {
        grid-template-columns: 1fr 1fr;
    }
}

/* Móviles grandes y tablets pequeñas */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: var(--color-oscuro);
        flex-direction: column;
        padding: 90px 30px 30px;
        gap: 15px;
        transition: right 0.4s ease;
    }

        .nav-menu.active {
            right: 0;
        }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 80px 5% 30px;
        min-height: auto;
    }

    .hero-texto h1 {
        font-size: 2.2rem;
    }

    .hero-texto .subtitulo {
        font-size: 0.8rem;
        letter-spacing: 4px;
    }

    .hero-texto .descripcion {
        font-size: 0.95rem;
    }

    .hero-imagen {
        max-width: 100%;
    }

        .hero-imagen img {
            max-width: 100%;
            width: 100%;
            height: auto;
        }

    .hero-botones {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .btn-oro, .btn-outline {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.9rem;
        white-space: normal;
        text-align: center;
    }

    .presentaciones-container {
        grid-template-columns: 1fr;
    }

    .grid-funciones {
        grid-template-columns: 1fr;
    }

    .grid-elenco {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .encabezado-seccion h2 {
        font-size: 2rem;
    }

    .tarjeta-funcion .imagen {
        height: 220px;
    }

    .footer-grid {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .logo-texto h1 {
        font-size: 1rem;
    }

    .logo-icono {
        font-size: 1.3rem;
    }

    .hero-texto h1 {
        font-size: 1.8rem;
    }

    .hero-texto .hero-mascara {
        font-size: 2.5rem;
    }

    .hero-imagen img {
        max-width: 100%;
        width: 100%;
    }

    .hero-botones {
        max-width: 220px;
    }

    .btn-oro, .btn-outline {
        padding: 10px 16px;
        font-size: 0.8rem;
    }

    .tarjeta-funcion .imagen {
        height: 180px;
    }

    .tarjeta-funcion .info {
        padding: 18px 20px 22px;
    }

        .tarjeta-funcion .info h3 {
            font-size: 1.2rem;
        }

        .tarjeta-funcion .info .detalles {
            flex-direction: column;
            align-items: center;
        }

    .encabezado-seccion h2 {
        font-size: 1.6rem;
    }

    .grid-testimonios {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
