/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

body {
    background: #ffffff;
    color: #2b2b2b;
}

h2, h3 {
    font-weight: 700;
}

.rojo {
    color: #c80000;
}

/* ===== HEADER ===== */
.header {
    background: #c80000;
    color: white;
    padding-bottom: 5px;
    border-bottom: 5px solid #a40000;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
}

.top-bar h2 {
    text-align: right;
    line-height: 1.2rem;
    font-size: 1rem;
    font-weight: 600;
}

.logo-header {
    width: 70px;
}

.navbar {
    display: flex;
    gap: 25px;
    padding: 10px 25px;
    font-size: 1rem;
}

.navbar a {
    color: white;
    text-decoration: none;
    padding-bottom: 0px;
    font-weight: 600;
    border-bottom: 4px solid transparent;
}

/* ===== SECCIÓN INICIO ===== */
.inicio-section {
    padding: 35px 20px;
}

.bienvenidos, .miembro {
    background: #f2f2f2;
    border-left: 8px solid #c80000;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0px 3px 7px rgba(0,0,0,0.15);
}

.banner-central {
    text-align: center;
    margin: 35px auto;
    background: #ffffff;
    border: 3px solid #c80000;
    padding: 30px;
    border-radius: 10px;
    max-width: 650px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.15);
}

.banner-central .logo-grande {
    width: 150px;
    margin-bottom: 15px;
}

hr {
    margin: 35px 0;
    border: none;
    border-top: 3px solid #c80000;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.imagen-club img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.3);
}

/* ===== NOVEDADES ===== */
.novedades-section {
    padding: 20px;
}

.novedades-section h2 {
    font-size: 1.7rem;
    margin-bottom: 10px;
}

.novedad {
    background: #ededed;
    padding: 18px;
    margin-bottom: 18px;
    border-left: 8px solid #c80000;
    border-radius: 8px;
    box-shadow: 0px 3px 8px rgba(0,0,0,0.15);
}

.novedad h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.fecha {
    display: block;
    text-align: right;
    color: #666;
    margin-top: 8px;
    font-size: 0.9rem;
}

/* ===== UBICACIÓN ===== */
.ubicacion-section {
    padding: 25px;
}

.ubicacion-section h2 {
    font-size: 1.7rem;
}

.ubicacion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.direccion, .horarios {
    background: #f2f2f2;
    padding: 18px;
    border-left: 8px solid #c80000;
    border-radius: 8px;
    box-shadow: 0px 3px 7px rgba(0,0,0,0.15);
}

.mapa iframe {
    width: 100%;
    height: 260px;
    border-radius: 8px;
    box-shadow: 0px 3px 7px rgba(0,0,0,0.25);
}

.orgullo {
    text-align: center;
    margin-top: 35px;
    font-size: 1.35rem;
    font-weight: 700;
    color: #c80000;
}

/* ===== FOOTER ===== */
.footer {
    background: #c80000;
    color: white;
    padding: 25px;
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    text-align: center;
    border-top: 5px solid #a40000;
}

.footer div {
    margin: 10px 0;
}

.social a {
    margin: 0 8px;
    font-size: 1.4rem;
    text-decoration: none;
    color: white;
}

.LetrasRojas {
    color: #d50000;
}

/* ===== HEADER ===== */
.top-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
}

.titulo-header {
    text-align: right;
    line-height: 1.2rem;
    font-size: 1rem;
    font-weight: 600;
}

.logo-header {
    width: 80px;
    padding-left: 10px;
    border-left: 3px solid white;
}


/* ===== INICIO CON PANEL AL COSTADO ===== */

.inicio-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.inicio-textos {
    width: 50%;
    line-height: 1.9;
    
}

.banner-lateral {
    width: 60%;
    text-align: center;
    max-width: 500px;
}

.logo-lateral {
    width: 100%;
    max-width: 500px;
    border: 3px solid #c80000;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}


/* ===== IMAGEN PUERTA CLUB - AJUSTADA ===== */

.imagen-club img {
    width: 80%;
    max-width: 900px;
    display: block;
    margin: auto;
    border-radius: 12px;
    border: 4px solid #c80000;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.3);
}


/* ===== UBICACIÓN AJUSTADA A LA IZQUIERDA ===== */

.ubicacion-grid-left {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.direccion {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.horarios {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

.mapa iframe {
    height: 100%;
    width: 100%;
}
.mapa {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    align-self: stretch;
    line-height: 1.9;
}

.direccion, .horarios {
    background: #f8f8f8;
    border-left: 8px solid #c80000;
    padding: 18px;
    border-radius: 8px;
    box-shadow: 0px 3px 7px rgba(0,0,0,0.15);
    width: 100%;
    text-align: center;
}

/* ===== ICONOS REDES SOCIALES EN FOOTER ===== */
.footer .social {
    display: flex; 
    gap: 15px; 
    font-size: 28px; 
}

/* Estilos para los enlaces de iconos */
.footer .social a {
    color: white; 
    text-decoration: none;
    transition: color 0.3s ease; 
}

/* Efecto al pasar el mouse (hover) */
.footer .social a:hover {
    color: #E1306C; 
}

.footer .social a[title="Instagram"]:hover {
    color: #E1306C;
}

.footer .social a[title="WhatsApp"]:hover {
    color: #25D366; 
}

.footer .social i {
    font-size: 32px;
    transition: transform 0.3s ease;
}

.footer .social i:hover {
    transform: scale(1.2);
}

/* Navbar */
nav {
    display: flex;
    align-items: center;
    background-color: #c40000;
    padding: 10px;
    gap: 20px;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 30px;
    left: 0;
    background-color: #8b0000;
    padding: 10px 0;
    border-radius: 5px;
    display: none; /* Oculto por defecto */
    min-width: 120px;
    z-index: 20;
    cursor: pointer;
}

.dropdown-menu a {
    display: block;
    padding: 6px 15px;
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.dropdown-menu a:hover::before {
    content: "● ";
    color: white;
}
/*
.dropdown:hover .dropdown-menu {
    display: block;  AQUÍ SE ACTIVA EL PANEL 
}*/

/* Prueba */

.test {
  font-size: 17px;
  color: #e1e1e1;
  font-family: inherit;
  font-weight: 800;
  cursor: pointer;
  position: relative;
  border: none;
  background: none;
  text-transform: uppercase;
  transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
  transition-duration: 400ms;
  transition-property: color;
}

.test:focus,
.test:hover {
  color: #fff;
}

.test:focus:after,
.test:hover:after {
  width: 100%;
  left: 0%;
}

.test:after {
  content: "";
  pointer-events: none;
  bottom: -2px;
  left: 50%;
  position: absolute;
  width: 0%;
  height: 2px;
  background-color: #fff;
  transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
  transition-duration: 400ms;
  transition-property: width, left;
}

/* animacion al pasar el cursor */

.cursor:hover {
  transform: scale(1.1);
}

/* ocultar elemento*/
.oculto {
    display: none;
}

                                                                /* ===== SECCIÓNES ===== */

 /* ===== SECCIÓN Aranceles ===== */
.Aranceles {
    margin-top: 20px;
    text-align: center;
}

.ArancelesImg {
    width: 100%;
    max-width: 500px;
    border: 3px solid #c80000;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    text-align: center;
}

.banner-lateral-Aranceles {
    width: 100%;
    text-align: center;
}

 /* ===== SECCIÓN Handball ===== */

.Handball {
    margin-top: 20px;
    text-align: center; 
}
.contenedor-handball {
    display: flex; 
    align-items: flex-start; 
    gap: 30px; 
    margin-right: 20px; 
    justify-content: space-between;
    width: 100%;
}
.novedades-handball {
    background: #f2f2f2;
    border-left: 8px solid #c80000;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0px 3px 7px rgba(0,0,0,0.15);
    margin-left: 20px;
    margin-right: 0px;
    width: 50%;
    flex-grow: 1;
}

.ImagenHandball {
    max-width: 250px; 
    min-width: 150px; 
    border: 3px solid #c80000;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    margin-right: 40px;
}

.ImagenHandball img {
    display: block;
    width: 100%;
    height: auto;
}

/* ===== SECCIÓN Futbol ===== */

.Futbol {
    margin-top: 20px;
    text-align: center; 
}

.contenedor-futbol {
    display: flex; 
    align-items: flex-start; 
    gap: 30px; 
    margin-right: 20px; 
    justify-content: space-between;
    width: 100%;
}
.novedades-futbol {
    background: #f2f2f2;
    border-left: 8px solid #c80000;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0px 3px 7px rgba(0,0,0,0.15);
    margin-left: 20px;
    margin-right: 0px;
    width: 50%;
    flex-grow: 1;
}

.ImagenFutbol {
    max-width: 250px; 
    min-width: 150px; 
    border: 3px solid #c80000;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    margin-right: 40px;
}

.ImagenFutbol img {
    display: block;
    width: 100%;
    height: auto;
}

/* ===== SECCIÓN Voley ===== */

.Voley {
    margin-top: 20px;
    text-align: center; 
}

.contenedor-voley {
    display: flex; 
    align-items: flex-start; 
    gap: 30px; 
    margin-right: 20px; 
    justify-content: space-between;
    width: 100%;
}
.novedades-voley {
    background: #f2f2f2;
    border-left: 8px solid #c80000;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0px 3px 7px rgba(0,0,0,0.15);
    margin-left: 20px;
    margin-right: 0px;
    width: 50%;
    flex-grow: 1;
}

.ImagenVoley {
    max-width: 250px; 
    min-width: 150px; 
    border: 3px solid #c80000;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    margin-right: 40px;
}

.ImagenVoley img {
    display: block;
    width: 100%;
    height: auto;
}

/* ===== SECCIÓN Patin ===== */

.Patin {
    margin-top: 20px;
    text-align: center; 
}
  
.contenedor-patin {
    display: flex; 
    align-items: flex-start; 
    gap: 30px; 
    margin-right: 20px; 
    justify-content: space-between;
    width: 100%;
}
.novedades-patin {
    background: #f2f2f2;
    border-left: 8px solid #c80000;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0px 3px 7px rgba(0,0,0,0.15);
    margin-left: 20px;
    margin-right: 0px;
    width: 50%;
    flex-grow: 1;
}

.ImagenPatin {
    max-width: 250px; 
    min-width: 150px; 
    border: 3px solid #c80000;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    margin-right: 40px;
}

.ImagenPatin img {
    display: block;
    width: 100%;
    height: auto;
}


      /* ===== AJUSTES RESPONSIVE GENERAL ===== */
img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {

    /* HEADER */
    .top-bar {
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }

    .logo-header {
        border-left: none;
        padding-left: 0;
        margin-top: 10px;
    }

    /* NAVBAR */
    .navbar {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    /* INICIO */
    .inicio-grid {
        flex-direction: column;
        gap: 30px;
    }

    .inicio-textos,
    .banner-lateral {
        width: 100%;
        text-align: center;
    }

    /* UBICACIÓN */
    .ubicacion-grid-left {
        grid-template-columns: 1fr;
    }

    .mapa {
        grid-column: auto;
        grid-row: auto;
    }

    .mapa iframe {
        height: 250px;
    }

    /* SECCIONES DE DEPORTES */
    .contenedor-handball,
    .contenedor-futbol,
    .contenedor-voley,
    .contenedor-patin {
        flex-direction: column;
        align-items: center;
    }

    .novedades-handball,
    .novedades-futbol,
    .novedades-voley,
    .novedades-patin {
        width: 100%;
        margin: 0;
    }

    .ImagenHandball,
    .ImagenFutbol,
    .ImagenVoley,
    .ImagenPatin {
        margin: 0;
        max-width: 200px;
    }

    /* FOOTER */
    .footer {
        flex-direction: column;
        gap: 15px;
    }
}
