/* hero.css - Estilos para la Sección Hero con fondo metálico */

/* Hero: Full-width, altura completa de viewport, centrado vertical */
.hero {
    min-height: 100vh; /* Ocupa toda la pantalla */
    background: #1a1a1a; /* Fondo oscuro para resaltar el metal */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Fondo metálico con efecto parallax */
.hero__background {
    position: absolute;
    width: 150%;
    height: 150%;
    background: url('imagenes/FondoMetal.jpg') center/cover no-repeat;
    transition: transform 0.3s ease-out;
}

/* Contenido centrado */
.hero-content {
    max-width: 600px;
    padding: 2rem;
    z-index: 1; /* Sobre el fondo */
}

/* Logo en Hero: Mantener tamaño actual con efecto hover */
.hero-logo {
    width: 650px; /* Tamaño actual del index.html */
    height: auto;
    max-height: 620px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.hero-logo:hover {
    transform: scale(1.1); /* Efecto hover se mantiene */
}

/* Animación de entrada */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contador: Layout horizontal, responsive */
.countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 8px;
    min-width: 80px;
    backdrop-filter: blur(10px);
}

.countdown-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.countdown-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.25rem;
}

/* Leyenda */
.hero-legend {
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        padding: 1rem;
    }

    .hero-logo {
        width: 350px;
    }

    .countdown {
        gap: 0.5rem;
    }

    .countdown-number {
        font-size: 2rem;
    }

    .hero-legend {
        font-size: 1.2rem;
    }
}