/* Estilos Generales */
body { 
    font-family: 'Roboto', sans-serif; 
    background: #0b0b0b; 
    color: #fff; 
    scroll-behavior: smooth; 
}

h1, h2, h3, .navbar-brand { 
    font-family: 'Orbitron', sans-serif; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
}

/* Navegación */
.navbar { 
    background: rgba(0,0,0,0.9) !important; 
    border-bottom: 1px solid #333; 
}
/* Navegación - Color de letras visible */
.nav-link {
    color: #ffffff !important; /* Blanco puro para máxima visibilidad */
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ff0000 !important; /* Rojo al pasar el ratón */
}

.navbar-brand {
    color: #ffffff !important;
    font-weight: bold;
}

.navbar-brand:hover {
    color: #ff0000 !important;
}
/* Sección Hero */
.hero { 
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)), 
                url('https://images.unsplash.com/photo-1511512578047-dfb367046420?q=80&w=2071&auto=format&fit=crop') center/cover no-repeat; 
    height: 100vh; 
    display: flex; 
    align-items: center; 
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

/* Tarjetas de Eventos */
.event-card { 
    height: 400px;
    border: none;
    overflow: hidden;
    position: relative;
    transition: transform 0.4s ease;
}

.event-card:hover { 
    transform: translateY(-10px); 
    border: 1px solid #ff0000; 
}

.card-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 20%, transparent);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid #333;
    text-align: center;
}
/* ====================== COUNTDOWN ====================== */
.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    overflow-x: auto;               /* Permite scroll horizontal en móvil */
    padding: 10px 20px;
    scrollbar-width: none;          /* Oculta scrollbar en Firefox */
}

.countdown::-webkit-scrollbar {
    display: none;                  /* Oculta scrollbar en Chrome/Safari */
}

.countdown-item {
    background: rgba(255, 0, 0, 0.15);
    border: 2px solid #ff0000;
    border-radius: 12px;
    padding: 18px 12px;
    min-width: 90px;
    text-align: center;
    flex: 0 0 auto;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.2);
}

.countdown-number {
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    font-size: 2.8rem;
    color: #ff0000;
    line-height: 1;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.countdown-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #cccccc;
    margin-top: 8px;
}

/* Responsivo móvil */
@media (max-width: 768px) {
    .countdown {
        gap: 12px;
        justify-content: flex-start;   /* Para scroll natural desde la izquierda */
        padding: 15px 20px;
    }
    .countdown-item {
        min-width: 75px;
        padding: 14px 8px;
    }
    .countdown-number {
        font-size: 2.2rem;
    }
    .countdown-label {
        font-size: 0.75rem;
        letter-spacing: 1.5px;
    }
}

@media (max-width: 480px) {
    .countdown-item {
        min-width: 65px;
        padding: 12px 6px;
    }
    .countdown-number {
        font-size: 1.9rem;
    }
    .countdown-label {
        font-size: 0.7rem;
    }
}
/* ====================== ANIMACIÓN FLIP PARA EL COUNTDOWN ====================== */
.flip {
    animation: flip 0.6s ease-in-out;
}

@keyframes flip {
    0% {
        transform: rotateX(0deg);
    }
    50% {
        transform: rotateX(-90deg);
    }
    100% {
        transform: rotateX(0deg);
    }
}

/* Aplicamos perspectiva al contenedor para que el flip 3D se vea bien */
.countdown-item {
    perspective: 1000px;
}

.countdown-number {
    display: inline-block;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}
/* ====================== NUESTRAS MARCAS ====================== */
#marcas {
    background: #0b0b0b;
}

.event-card {
    height: 500px;                  /* Altura fija para uniformidad */
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.event-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(255, 0, 0, 0.3);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 30%, transparent 70%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    box-sizing: border-box;
    transition: background 0.4s ease;
}

.event-card:hover .card-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.98)潇 30%, transparent 70%);
}

.card-overlay h3 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.card-overlay p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.card-overlay .btn {
    align-self: flex-start;
}

/* Responsive */
@media (max-width: 768px) {
    .event-card {
        height: 400px;
    }
    .card-overlay {
        padding: 30px;
    }
    .card-overlay h3 {
        font-size: 2rem;
    }
}
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 0;
    object-fit: cover;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.6); /* Ajusta opacidad si tu vídeo es claro u oscuro */
    z-index: 1;
}

.z-10 {
    z-index: 10;
}
