/* Hero Section y Carrusel */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    width: 100%;
    padding: 0 2rem;
}

.hero-cta { margin: 2rem 0; }

.hero-register-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 1.2rem 3rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.hero-register-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.hero-register-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.6);
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

.hero-register-btn:hover::before { left: 100%; }

.hero-register-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.5);
}

.hero-register-btn i { font-size: 1.8rem; animation: bounce 1s infinite; }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description { font-size: 1.2rem; margin-bottom: 2rem; opacity: 0.9; }

/* Countdown en el Hero */
.event-countdown { margin-top: 1.5rem; }
.countdown-container { background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 16px; padding: 1rem 1.2rem; display: inline-block; backdrop-filter: blur(6px); }
.countdown-title { color: var(--white); margin-bottom: .5rem; font-weight: 700; letter-spacing: .5px; }
.countdown-timer { display: inline-flex; align-items: center; gap: .6rem; }
.countdown-item { text-align: center; min-width: 80px; }
.countdown-number { font-size: 2.8rem; font-weight: 800; color: var(--white); line-height: 1; }
.countdown-label { font-size: .8rem; color: rgba(255, 255, 255, 0.85); margin-top: .2rem; text-transform: uppercase; letter-spacing: .5px; }
.countdown-separator { color: rgba(255, 255, 255, 0.7); font-size: 2.4rem; font-weight: 700; }
.countdown-date { margin-top: .6rem; color: rgba(255, 255, 255, 0.9); font-size: .95rem; display: flex; align-items: center; gap: .4rem; justify-content: center; }
.countdown-date i { color: var(--white); opacity: .9; }

@media (max-width: 480px) {
    .countdown-item { min-width: 46px; }
    .countdown-number { font-size: 2.2rem; }
    .countdown-separator { font-size: 1.8rem; }
    .countdown-title { font-size: 1rem; }
}

/* Carrusel */
.hero-carousel { position: absolute; top: 0; left: 0; width: 100%; height: 100vh; z-index: 1; }
.carousel-container { position: relative; width: 100%; height: 100%; overflow: hidden; }
.carousel-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; visibility: hidden; transition: opacity 0.6s ease-in-out; }
.carousel-slide.active { opacity: 1; visibility: visible; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.4); transition: filter 0.3s ease; }
.carousel-slide:hover img { filter: brightness(0.6); }

.carousel-caption { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); text-align: center; color: var(--white); z-index: 2; max-width: 90%; }
.carousel-caption h3 { font-size: 2rem; margin-bottom: 0.5rem; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); }
.carousel-caption p { font-size: 1.1rem; opacity: 0.9; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); }

.carousel-prev,
.carousel-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, 0.2); color: var(--white); border: none; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; transition: all 0.3s ease; z-index: 3; backdrop-filter: blur(5px); }
.carousel-prev:hover,
.carousel-next:hover { background: rgba(255, 255, 255, 0.3); transform: translateY(-50%) scale(1.1); }
.carousel-prev { left: 20px; }
.carousel-next { right: 20px; }

.carousel-indicators { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.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: var(--white); transform: scale(1.2); }
.indicator:hover { background: rgba(255, 255, 255, 0.8); }

/* Responsive para pantallas grandes */
@media (min-width: 1200px) {
    .hero-content img {
        max-width: 700px;
    }
}

/* Responsive hero */
@media (max-width: 768px) {
    .hero { height: 100vh; padding: 0; }
    .hero-content h2 { font-size: 2rem; }
    .hero-content { padding: 0 1rem; }
    .hero-register-btn { padding: 1rem 2rem; font-size: 1.2rem; gap: 0.8rem; }
    .hero-register-btn i { font-size: 1.5rem; }

    /* Imagen responsiva para tablet */
    .hero-content img {
        max-width: 450px;
    }

    .carousel-prev, .carousel-next { width: 40px; height: 40px; font-size: 1rem; }
    .carousel-caption h3 { font-size: 1.5rem; }
    .carousel-caption p { font-size: 1rem; }
    .carousel-caption { bottom: 30px; }
}

@media (max-width: 480px) {
    .hero { height: 100vh; padding: 0; }
    .hero-content { padding: 0 1rem; }
    .hero-content h2 { font-size: 1.8rem; }
    .hero-register-btn { padding: 0.8rem 1.5rem; font-size: 1rem; gap: 0.6rem; display: flex; justify-content: center; }
    .hero-register-btn i { font-size: 1.3rem; }
    
    /* Imagen responsiva para móvil */
    .hero-content img {
        max-width: 320px;
    }
    
    .carousel-prev, .carousel-next { width: 35px; height: 35px; font-size: 0.9rem; }
    .carousel-prev { left: 10px; }
    .carousel-next { right: 10px; }
    .carousel-caption { bottom: 20px; max-width: 95%; }
    .carousel-caption h3 { font-size: 1.3rem; }
    .carousel-caption p { font-size: 0.9rem; }
    .carousel-indicators { bottom: 10px; gap: 8px; }
    .indicator { width: 10px; height: 10px; }
}


