/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Tipografía base */
body {
    font-family: 'Roboto', sans-serif;
}

/* HEADER */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 75px;
    max-width: 100%;
    width: auto;
    margin-left: 20px;
}

/* MENÚ PRINCIPAL */
.nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    transition: color 0.3s, border-bottom 0.3s;
}

.nav-menu a:hover {
    text-decoration: none;
    color: #2f8e51;
    padding-bottom: 3px;
}

ul.dropdown {
    list-style: none;
    margin: 0;
    padding-left: 0;
}

ul.dropdown li {
    list-style: none;
    margin: 0;
    padding-left: 15px;
}




.grilla-horarios {
  max-width: 1000px;
  margin: 80px auto;
  padding: 0;
  background: transparent;
  font-family: 'Roboto', sans-serif;
  width: 100%;
  border-collapse: collapse;
}

.grilla-horarios h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #3e5982;
  font-size: 32px;
  font-weight: bold;
}

.grilla-horarios table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  background: transparent;
}

.grilla-horarios thead tr {
  background-color: #6cc050;
  color: white;
}

.grilla-horarios thead th {
  padding: 15px 10px;
  font-weight: 600;
  font-size: 18px;
  text-align: center;
  color: #fff; /* blanco para mejor contraste */
  border: none;
}

.grilla-horarios tbody td {
  padding: 15px 10px;
  font-size: 16px;
  text-align: center;
  border: none;
  color: #000;
  background: transparent;
}

.grilla-horarios tbody tr:hover {
  background-color: #fffdd6;
}

.cancha {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: #888;
  text-align: center;
}


.cancha {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: #888;
}

/* DROPDOWN */
.has-dropdown {
    position: relative;
}

.has-dropdown:hover .dropdown {
    display: block;
}

.dropdown {
    display: none;
    position: absolute;
    background-color: #fff;
    top: 100%;
    left: 0;
    min-width: 150px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 1001;
}

.dropdown li {
    padding: 0.5rem 1rem;
}

.dropdown li a {
    color: #000;
}

/* MENÚ HAMBURGUESA (móvil) */
.menu-toggle {
    display: none;
    font-size: 2rem;
    color: #1da146;
    background: none;
    border: none;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1001;
    cursor: pointer;
}

/* SLIDER */
.slider-frame {
    width: 100%;
    height: 80%;
    overflow: hidden;
}

.slider-frame ul {
    display: flex;
    padding: 0;
    width: 400%;
    list-style: none;
    animation: slide 15s infinite ease-in-out;
}

.slider-frame li {
    width: 100%;
}

.slider-frame img {
    width: 100%;
    height: 100%;
}


.elementor-widget-wrap {
  text-align: center;
  padding-top: 30px; /* aire fresco arriba */
}

.elementor-heading-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 28px;
  margin: 0;
  color: #333;
}

.elementor-widget-divider {
  margin: 20px auto;
}

.elementor-divider-separator i {
  font-size: 24px;
  color: #000;
}


/* bottom*/
.bottom-folder {
  padding:20px;
  font-family: 'Roboto', sans-serif;
  color: #333;
  background: #f8f8f8;
}

.container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.column {
  flex: 1 1 22%;
  min-width: 220px;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #fffdd6; /* color dorado claro */
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

li {
  margin-bottom: 12px;
}

a {
  text-decoration: none;
  color: #333;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

a:hover {
  color: #6cc050;
}

i.far.fa-dot-circle {
  margin-right: 10px;
  color: #6cc050;
  min-width: 18px;
  text-align: center;
}

.social-icons a {
  font-size: 24px;
  margin-right: 15px;
  color: #333;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #6cc050;
}

p {
  font-size: 1rem;
  margin-top: 20px;
}

p a {
  color: #fffdd6; /* color dorado claro */
  font-weight: 600;
}

p a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .column {
    flex: 1 1 100%;
  }
  h3 {
    text-align: center;
  }
  .container {
    justify-content: center;
  }
}





@keyframes slide {
    0%, 20% {
        margin-left: 0%;
    }
    25%, 45% {
        margin-left: -100%;
    }
    50%, 70% {
        margin-left: -200%;
    }
    75%, 95% {
        margin-left: -300%;
    }
}


/* TEXTOS */
.subtitulo {
    color: red;
    margin-top: 20px;
    padding: 1%;
}

.descripcion {
    font-size: 20px;
    font-family: 'Roboto', sans-serif;
    padding: 2%;
}

/* SEPARADOR INFERIOR */
.bottom-folder {
    margin-top: 80px;
    padding-bottom: 150px;
    background-color: #3e5982;
}

/* NOTICIAS */
.noticias {
    padding: 20px;
    background-color: #f4f4f4;
}

.noticia {
    background-color: white;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.noticia h2 {
    color: #3e5982;
}

.noticia p {
    color: #555;
}

.leer-mas {
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
    color: #1da146;
    font-weight: 600;
}

.leer-mas:hover {
    color: #0055a5;
}


.tarjetas-animadas {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 50px auto;
  flex-wrap: wrap;
}

.tarjeta {
  position: relative;
  width: 300px;
  height: 400px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  background-color: #fff;
}

.tarjeta-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.6);
  z-index: 1;
  transition: transform 0.5s ease;
}

.tarjeta-contenido {
  position: relative;
  z-index: 2;
  color: white;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.tarjeta h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.boton {
  background-color: #1da146;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.boton:hover {
  background-color: #145c2f;
}

/* Animación al pasar el mouse */
.tarjeta:hover .tarjeta-contenido {
  opacity: 1;
  transform: translateY(0);
}

.tarjeta:hover .tarjeta-bg {
  transform: scale(1.1);
}


/* Animaciones */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fadeInLeft {
  animation-name: fadeInLeft;
}

.fadeInUp {
  animation-name: fadeInUp;
}

.fadeInRight {
  animation-name: fadeInRight;
}




/* RESPONSIVE */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        background-color: white;
        position: absolute;
        top: 70px;
        right: 20px;
        width: 200px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        z-index: 1000;
    }

    .nav-menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .grid-container {
        width: 90%;
        margin-top: 100px;
    }
}

