/* Estilos para el Hero Section con imágenes de fondo rotativas */

.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Contenedor de imágenes de fondo rotativas */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.background-image.active {
    opacity: 1;
}

.background-image:nth-child(1) {
    background-image: url('../img/fondo1.jpg');
}

.background-image:nth-child(2) {
    background-image: url('../img/fondo2.jpg');
}

.background-image:nth-child(3) {
    background-image: url('../img/fondo3.jpg');
}

/* Contenido del hero */
.hero-content {
    position: relative;
    z-index: 3;
}

.hero-video-container {
    position: relative;
    z-index: 3;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-video {
    width: 100%;
    height: auto;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.hero-video:hover {
    transform: scale(1.05);
}

/* Efectos de partículas flotantes */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.floating-particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-particle:nth-child(1) {
    width: 10px;
    height: 10px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-particle:nth-child(2) {
    width: 15px;
    height: 15px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.floating-particle:nth-child(3) {
    width: 8px;
    height: 8px;
    bottom: 20%;
    left: 30%;
    animation-delay: 4s;
}

.floating-particle:nth-child(4) {
    width: 12px;
    height: 12px;
    top: 40%;
    right: 30%;
    animation-delay: 1s;
}

.floating-particle:nth-child(5) {
    width: 6px;
    height: 6px;
    bottom: 40%;
    left: 60%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

/* Logo container */
.logo-container {
    margin-bottom: 2rem;
    text-align: center;
}

.logo-container img {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.logo-container img:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Botones del hero */
.btn-primary-custom {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.4);
    background: linear-gradient(45deg, #0056b3, #007bff);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/* Texto con gradiente */
.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Efectos de typing */
.typewriter-text {
    border-right: 3px solid rgba(255, 255, 255, 0.8);
    animation: blink-caret 1s step-end infinite;
}

@keyframes blink-caret {
    from, to { 
        border-color: transparent; 
    }
    50% { 
        border-color: rgba(255, 255, 255, 0.8); 
    }
}

/* Responsividad */
@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
        padding: 2rem 0;
    }
    
    .logo-container img {
        max-width: 150px;
    }
    
    .btn-primary-custom,
    .btn-outline-light {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .floating-particle {
        display: none;
    }
}

/* Indicadores de fondo */
.background-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 4;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

