/* Reset y fuentes */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Barra de navegación fija */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 1rem 5%;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-links a:hover {
    color: #4cc9f0;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Video de fondo con overlay */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 2rem;
}

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

.hero-overlay p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.btn {
    display: inline-block;
    background-color: transparent;
    color: rgb(254, 254, 254);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn:hover {
    background-color: #798285;
    transform: translateY(-3px);
}

/* Secciones generales */
.section {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #1a1a2e;
    position: relative;
}

.section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #4cc9f0;
    margin: 1rem auto;
}

.section.dark {
    background-color: #1a1a2e;
    color: white;
}

.content {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.section-img {
    width: 50%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.text {
    flex: 1;
}

.text h3 {
    color: #4cc9f0;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.text p {
    margin-bottom: 1rem;
}

.torneos-list {
    list-style: none;
}

.torneos-list li {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.torneos-list li::before {
    content: '•';
    color: #4cc9f0;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: 0;
}

.torneos-list p {
    margin-top: 0.5rem;
    color: #ccc;
}

/* Tarjetas de competidores */
.competitor-card {
    display: flex;
    flex-direction: column;
    margin-bottom: 3rem;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.competitor-info {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
}

.competitor-info img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
}

.info-text h3 {
    color: #1a1a2e;
    margin-bottom: 1rem;
}

.competitor-video {
    width: 100%;
    padding: 0 2rem 2rem;
}

.competitor-video iframe {
    width: 100%;
    height: 400px;
    border-radius: 10px;
}

/* Pie de página */
footer {
    background-color: #1a1a2e;
    color: white;
    padding: 3rem 5% 1rem;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #4cc9f0;
}

a{
    text-decoration: none;
    color: white;
}

a:hover{
    color: #4cc9f0;
}

/* Responsive */
@media (max-width: 768px) {
    .content {
        flex-direction: column;
    }

    .section-img {
        width: 100%;
        margin-bottom: 2rem;
    }

    .hero-overlay h2 {
        font-size: 2.5rem;
    }

    .competitor-info {
        flex-direction: column;
        text-align: center;
    }

    .nav-links {
        display: none;
    }
}

@media (max-width: 768px) {
    /* Barra de navegación y menú hamburguesa */
    .navbar {
        padding: 1rem 3%;
    }

    /* Icono de menú hamburguesa */
    .menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        content: '\f0c9';
    }

    /* Menú oculto por defecto */
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        gap: 1.5rem;
        transition: left 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 0.5rem 1rem;
        width: 80%;
        text-align: center;
        border-radius: 5px;
    }

    /* Hero section: Ajustes para móviles */
    .hero {
        height: 60vh;
    }

    .hero-overlay {
        padding: 0 1rem;
    }

    .hero-overlay h2 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .hero-overlay p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    /* Secciones generales */
    .section {
        padding: 3rem 3%;
    }

    .section h2 {
        font-size: 2rem;
    }

    .section h2::after {
        width: 60px;
    }

    /* Contenido en columnas */
    .content {
        flex-direction: column;
    }

    .section-img {
        width: 100%;
        margin-bottom: 1.5rem;
    }

    /* Lista de torneos */
    .torneos-list li {
        margin-bottom: 1rem;
        padding-left: 1rem;
    }

    .torneos-list li::before {
        font-size: 1.2rem;
    }

    /* Tarjetas de competidores */
    .competitor-card {
        margin-bottom: 2rem;
    }

    .competitor-info {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .competitor-info img {
        width: 100%;
        max-width: 300px;
        height: auto;
        margin: 0 auto 1rem;
        border-radius: 10px;
    }

    .info-text h3 {
        margin-bottom: 0.5rem;
    }

    /* Videos responsive */
    .video-container,
    .competitor-video {
        width: 100%;
        margin: 1rem 0;
    }

    .video-container iframe,
    .competitor-video iframe {
        height: 200px;
        width: 100%;
    }

    /* Botón */
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    /* Pie de página */
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Contenedor de videos con proporción 16:9 */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* Proporción 16:9 */
    height: 0;
    overflow: hidden;
    margin: 1rem 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 5px;
}


