/* ==========================================================================
   ESTILOS PREMIUM PARA EL HOME - CIRCO GIGANTE DE MÉXICO
   ========================================================================== */


/* 1. SECCIÓN HERO CON SLIDER CINEMATOGRÁFICO
   ========================================================================== */

.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 60px 10%;
    overflow: hidden;
    background-color: #0a050f;
    /* Color base de seguridad */
}


/* Contenedor padre del Slider */

.hero-slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}


/* Configuración de las Diapositivas */

.hero-slider-container .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.03);
    animation: premiumSlider 24s infinite ease-in-out;
}


/* Fondos y Tiempos de Transición */

.hero-slider-container .slide-1 {
    background-image: url('../images/slider/catrinaslider.png');
    /* Ruta de tu imagen */
    background-position: center right;
    animation-delay: 0s;
}

.hero-slider-container .slide-2 {
    background-image: url('../images/slider/acto.png');
    background-position: center center;
    animation-delay: 8s;
}

.hero-slider-container .slide-3 {
    background-image: url('../images/slider/carpa.png');
    background-position: center center;
    animation-delay: 16s;
}


/* Animación de Fundido Cruzado + Zoom Ken Burns */

@keyframes premiumSlider {
    0% {
        opacity: 0;
        transform: scale(1.03);
    }
    4% {
        opacity: 1;
    }
    33.33% {
        opacity: 1;
        transform: scale(1.08);
        /* Crece sutilmente de fondo */
    }
    37.33% {
        opacity: 0;
        transform: scale(1.10);
    }
    100% {
        opacity: 0;
    }
}


/* Filtro Avanzado para Legibilidad de Textos (Overlay) */

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient( 90deg, rgba(10, 5, 15, 0.95) 0%, /* Oscuro profundo para leer el texto */
    rgba(10, 5, 15, 0.75) 45%, rgba(15, 5, 25, 0.25) 75%, /* Muestra la iluminación de la Catrina */
    rgba(10, 5, 15, 0.50) 100%);
    z-index: 2;
}


/* Contenido de Textos y Logos */

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 600px;
    color: #ffffff;
    animation: fadeInContent 1.2s ease-out;
}

.hero-logo-container {
    margin-bottom: 25px;
}

.hero-main-logo {
    max-width: 240px;
    height: auto;
    filter: drop-shadow(0px 4px 20px rgba(212, 175, 55, 0.4));
    /* Destello dorado premium */
}

.hero-tagline {
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #d4af37;
    /* Dorado Circo */
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #e0e0e0;
    margin-bottom: 35px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}


/* Botones Premium */

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-premium {
    display: inline-block;
    padding: 14px 35px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.btn-premium.primary {
    background: linear-gradient(135deg, #d4af37 0%, #aa842c 100%);
    color: #0b0612;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.btn-premium.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.6);
}

.btn-premium.secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-premium.secondary:hover {
    background: #ffffff;
    color: #0b0612;
    transform: translateY(-3px);
}

@keyframes fadeInContent {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* 2. ESTILOS ADICIONALES DE SOPORTE PARA LAS SECCIONES 2 Y 3 
   (Por si no los tenías definidos en tu archivo original)
   ========================================================================== */

.experience-section,
.cta-section {
    padding: 80px 0;
    background-color: #0f0a17;
    color: #ffffff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #d4af37;
}

.grid-experience {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1sfr));
    gap: 30px;
}

.exp-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

.exp-card h3 {
    color: #d4af37;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.exp-card p {
    color: #cccccc;
    line-height: 1.6;
    font-size: 0.95rem;
}

.cta-section {
    background: linear-gradient(rgba(10, 5, 15, 0.9), rgba(10, 5, 15, 0.9)), url('../images/atraccion/magia.png');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.cta-content p {
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: #dddddd;
    font-size: 1.1rem;
}


/* 3. RESPONSIVE / ADAPTACIÓN MÓVIL
   ========================================================================== */

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 6% 40px 6%;
        min-height: 85vh;
    }
    .hero-slider-container .slide {
        background-position: 75% center;
    }
    .hero-overlay {
        background: linear-gradient( 180deg, rgba(10, 5, 15, 0.80) 0%, rgba(10, 5, 15, 0.95) 100%);
    }
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 12px;
    }
    .btn-premium {
        width: 100%;
    }
    .grid-experience {
        grid-template-columns: 1fr;
    }
}