/* --- ESTILOS HERO SECTION (PORTADA) --- */
/* --- SECCIÓN 1: RED BULL STYLE SLIDER --- */

.rb-slider-container {
    position: relative;
    height: 100vh; /* Pantalla completa */
    width: 100%;
    overflow: hidden;
    background: var(--sx-navy);
}

/* Cada diapositiva individual */
.rb-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; /* Ocultas por defecto */
    transition: opacity 0.8s ease-in-out; /* Efecto suave de desvanecimiento */
    z-index: 1;
}

.rb-slide.active {
    opacity: 1; /* Solo la activa se ve */
    z-index: 2;
}

/* Imagen de fondo del slide */
.slide-bg {
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.05); /* Un pequeño zoom inicial */
    transition: transform 6s linear; /* Efecto de movimiento lento (Ken Burns) */
}
.rb-slide.active .slide-bg { transform: scale(1); }


/* Overlay degradado para que el texto se lea */
.slide-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, var(--sx-navy) 10%, rgba(2,27,53,0.5) 50%, transparent 100%);
}

/* Contenido del texto del slide */
.slide-content {
    position: absolute;
    bottom: 100px; /* Posición desde abajo */
    left: 5%;        /* Posición desde la izquierda */
    max-width: 700px;
    z-index: 3;
}

/* Etiquetas pequeñas arriba del título (Ej: "MMA • 10 Min") */
.slide-tags {
    font-family: 'Roboto', sans-serif; font-size: 0.9rem;
    color: #a0a0a0; margin-bottom: 15px;
    font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    position: relative;
}
.slide-imgs {
    width: 100%;
    max-width: 100px;
    height: auto;
    padding: 0;
    position: absolute;
    margin-top: -35px;
    margin-left: 1rem;
}

.slide-title {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    line-height: 1.1; margin-bottom: 25px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    color: white;
}

/* Botón rojo estilo Red Bull (para destacar) */
.btn-red {
    background-color: #E10D36; /* Rojo Red Bull aproximado */
    color: white; border: none;
    padding: 12px 30px; font-family: 'Oswald', sans-serif;
    font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    border-radius: 4px; text-decoration: none; display: inline-block;
    transition: 0.3s;
}
.btn-red:hover { background-color: #ff1f4c; }

/* Puntos de navegación (Dots) */
.slider-navigation {
    position: absolute;
    bottom: 30px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 10px; z-index: 10;
}

.nav-dot {
    width: 12px; height: 12px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%; cursor: pointer;
    transition: 0.3s;
}
.nav-dot.active { background: white; transform: scale(1.2); }
/* 1. El Contenedor Principal */
.hero-section {
    position: relative;
    height: 100vh; /* Ocupa toda la altura de la pantalla */
    display: flex;
    align-items: center; /* Centra verticalmente el contenido */
    overflow: hidden;
    padding-top: 80px; /* Espacio para que el menú fijo no tape el texto */
}

/* 2. Imagen y Overlay de Fondo */
.hero-bg-img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: 0;
}

.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    /* Degradado de azul oscuro a transparente para que el texto se lea bien */
    /* background: linear-gradient(90deg, #00183210 10%, rgba(2, 27, 53, 0.7) 60%, transparent 100%); */
    z-index: 1;
}

/* 3. Contenido de Texto */
.hero-content {
    position: relative; z-index: 2; /* Encima del overlay */
    max-width: 800px; /* Que no se estire mucho a la derecha */
}

/* La línea vertical de acento al lado del subtítulo */
.accent-line-box {
    border-left: 4px solid var(--sx-cyan);
    padding-left: 15px;
    margin-bottom: 25px;
    display: inline-block;
}

.hero-subtitle {
    font-family: 'Oswald', sans-serif; color: var(--sx-cyan);
    letter-spacing: 2px; text-transform: uppercase; font-weight: 500;
}

/* El Título Gigante */
.hero-title {
    font-size: clamp(3.5rem, 6vw, 6rem); /* Tamaño dinámico según pantalla */
    line-height: 0.95;
    text-transform: uppercase;
    margin-bottom: 30px;
}

/* EFECTO "HOLLOW" (Texto Hueco) como en tu diseño */
.text-hollow {
    color: transparent;
    -webkit-text-stroke: 2px white; /* Borde blanco */
    /* Opcional: si quieres que el borde sea cyan o dorado, cámbialo aquí */
}

.hero-description {
    font-size: 1.2rem; color: #ccc;
    max-width: 500px; margin-bottom: 40px;
    line-height: 1.6;
}

/* Contenedor de botones */
.hero-btns { display: flex; gap: 20px; flex-wrap: wrap; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-section { align-items: flex-end; padding-bottom: 100px; } /* En móvil el texto baja */
    .hero-overlay { background: linear-gradient(0deg, var(--sx-navy) 20%, transparent 100%); }
    .hero-title { font-size: 3rem; }
}

.container {
    max-width: 1200px;     /* Ancho máximo del contenido */
    margin: 0 auto;        /* ESTO CENTRA EL CONTENIDO AUTOMÁTICAMENTE */
    padding: 0 5%;         /* Deja un respiro a los lados en celulares */
    width: 100%;
}

/* --- 2. ESTILOS DE BOTONES (Para que se vean PRO) --- */
.btn-sport {
    display: inline-flex;  /* Para que se comporten como cajas */
    align-items: center;
    justify-content: center;
    padding: 15px 35px;    /* Tamaño del botón */
    border: 2px solid white; /* Borde blanco */
    background: transparent;
    color: white;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none; /* Quita la raya de enlace */
    transition: all 0.3s ease;
    cursor: pointer;
    
    /* El corte en la esquina (Estilo futurista) */
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

/* Efecto al pasar el mouse (Hover) */
.btn-sport:hover {
    background: white;
    color: #021B35; /* Color azul oscuro */
    transform: translateY(-3px); /* Se eleva un poco */
}

/* Variación: Botón Dorado (.gold) */
.btn-sport.gold {
    border-color: #FFC107; /* Amarillo */
    color: #FFC107;
}

.btn-sport.gold:hover {
    background: #FFC107;
    color: black;
}








/* --- SECCIÓN 2: GRID DE EVENTOS / NOTICIAS --- */
.events-section {
    padding: 80px 0;
    background-color: #f4f4f4; /* Fondo un poco más oscuro */
}
/* .events-section div span {
    color: white;
}
.events-section div h2 {
    color: white;
} */

.section-header {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); /* Responsivo automático */
    gap: 30px;
}

/* Diseño de la Tarjeta */
.event-card {
    background-color: #ededed; /* Azul un poco más claro que el fondo */
    border-radius: 8px;
    overflow: hidden; /* Para que la imagen no se salga de las esquinas */
    transition: 0.4s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.event-card:hover {
    transform: translateY(-10px); /* Flota hacia arriba */
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    /* border-color: var(--sx-cyan); Borde cyan al hover */
}

.card-img-box {
    position: relative; height: 220px; overflow: hidden;
}

.card-img {
    width: 100%; height: 100%; object-fit: cover;
    transition: 0.5s;
}
.event-card:hover .card-img { transform: scale(1.1); } /* Zoom en la foto */

/* Etiqueta flotante (Ej: MMA, FUTBOL) */
.card-tag {
    position: absolute; top: 15px; left: 15px;
    background: var(--sx-gold); color: black;
    font-weight: 700; font-size: 0.75rem; padding: 5px 12px;
    text-transform: uppercase; font-family: 'Oswald', sans-serif;
}

.card-content { padding: 25px; }
.card-content p {
    color: #364549;
}

.card-date {
    color: #34c2f1; font-size: 0.85rem; font-weight: 700;
    margin-bottom: 10px; display: block; text-transform: uppercase; 
}

.card-title {
    font-size: 1.5rem; margin-bottom: 10px; line-height: 1.2;
    color: #000000;
}

.card-link {
    color: #444343; font-size: 0.9rem; text-decoration: none;
    display: flex; align-items: center; gap: 5px; margin-top: 15px;
    transition: 0.3s;
}
.event-card:hover .card-link { color: white; gap: 10px; }












/* 1. HERO SHOWREEL */
.av-hero {
    height: 90vh; /* Pantalla casi completa */
    position: relative;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    background: black;
}

.av-video-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0.4; /* Oscurecido para leer texto */
    z-index: 0;
}

.av-hero-content {
    position: relative; z-index: 2; text-align: center; max-width: 800px; padding: 0 5%;
}

.av-title {
    font-size: 4rem; font-weight: 900; line-height: 1; margin-bottom: 20px;
    text-transform: uppercase; letter-spacing: -1px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
    color: #d3d3d3;
}
.av-title span { color: transparent; -webkit-text-stroke: 2px #68e1fcc9; }

.btn-play {
    width: 80px; height: 80px; background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: white; margin: 0 auto 30px auto;
    transition: 0.3s; cursor: pointer; backdrop-filter: blur(5px);
}
.btn-play:hover { background: var(--av-accent); border-color: var(--av-accent); transform: scale(1.1); box-shadow: 0 0 30px rgba(0, 188, 212, 0.6); }


/* 2. DUAL SECTION (ESTUDIO vs EXTERIOR) */
.av-split-section {
    display: grid; grid-template-columns: 1fr 1fr;
}

.av-split-box {
    padding: 100px 50px; position: relative; overflow: hidden;
    display: flex; flex-direction: column; justify-content: center;
    min-height: 500px;
}
.av-split-dark { background: #111; color: white; border-right: 1px solid #222; }
.av-split-light { background: #f4f4f4; color: #111; }

.av-split-content { position: relative; z-index: 2; max-width: 500px; margin: 0 auto; }

.av-cat-icon { font-size: 3rem; margin-bottom: 20px; color: var(--av-accent); }
.av-h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 20px; text-transform: uppercase; }
.av-p { font-size: 1.1rem; line-height: 1.6; margin-bottom: 30px; opacity: 0.8; }

.av-list li { margin-bottom: 10px; display: flex; align-items: center; gap: 10px; font-weight: 600; }


/* 3. GALERÍA TIPO NETFLIX */
.av-gallery-sec { padding: 100px 5%; background: #050505; }
.av-sec-header { margin-bottom: 50px; display: flex; justify-content: space-between; align-items: end; }
.av-label { color: var(--av-accent); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; }

.video-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}

.video-card {
    position: relative; height: 250px; border-radius: 12px; overflow: hidden;
    background: #222; cursor: pointer; transition: 0.4s;
    border: 1px solid #333;
}
.video-card:hover { transform: scale(1.03); border-color: var(--av-accent); z-index: 2; box-shadow: 0 10px 40px rgba(0,0,0,0.5); }

.vc-thumb { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; transition: 0.4s; }
.video-card:hover .vc-thumb { opacity: 1; }

.vc-overlay {
    position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px;
    background: linear-gradient(to top, black 0%, transparent 100%);
    transform: translateY(20px); transition: 0.4s;
}
.video-card:hover .vc-overlay { transform: translateY(0); }

.vc-title { font-size: 1.2rem; font-weight: 700; color: white; margin: 0; }
.vc-tag { font-size: 0.8rem; color: var(--av-accent); text-transform: uppercase; margin-bottom: 5px; display: block; }
.vc-play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0);
    font-size: 3rem; color: white; transition: 0.3s; text-shadow: 0 0 20px black;
}
.video-card:hover .vc-play { transform: translate(-50%, -50%) scale(1); }


/* 4. TECH SPECS (GEAR) */
.tech-bar {
    border-top: 1px solid #222; padding: 60px 5%; text-align: center;
    background: #0b0b0b;
}
.tech-icons { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; margin-top: 30px; }
.tech-item { text-align: center; color: #555; transition: 0.3s; }
.tech-item:hover { color: white; }
.tech-item i { font-size: 2.5rem; margin-bottom: 10px; display: block; }
.tech-item span { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; }


/* RESPONSIVE */
@media (max-width: 900px) {
    .av-title { font-size: 2.5rem; }
    .av-split-section { grid-template-columns: 1fr; }
    .video-grid { grid-template-columns: 1fr; }
    .av-sec-header { flex-direction: column; align-items: flex-start; gap: 20px; }
}