/* =========================================
   VARIABLES Y CONFIGURACIÓN GENERAL
   ========================================= */
:root {
  --primary-color: #009688;
  --primary-dark: #00796b;
  --secondary-color: #0f5c4c;
  --dark-color: #043832;
  --light-bg: #fafafa;
  --white: #ffffff;
  --gradient-nav: linear-gradient(to right, #ffffff, #daf0e4);
  --shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  --font-main: "Poppins", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-main);
}

body {
  background-color: var(--light-bg);
  color: #333;
  padding-top: 120px;
}

/* =========================================
   NAVBAR
   ========================================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--gradient-nav);
  box-shadow: var(--shadow);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  height: 100px;
}

.logo img {
  height: 80px;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

.menu {
  list-style: none;
  display: flex;
  gap: 20px;
  transition: all 0.5s ease;
}

.menu li a {
  text-decoration: none;
  color: var(--secondary-color);
  font-weight: 530;
  transition: color 0.3s;
}

.menu li a:hover,
.menu li a.activo {
  color: #000000;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary-dark);
}

/* =========================================
   HERO
   ========================================= */
.hero {
  background: var(--white);
  color: var(--dark-color);
  text-align: center;
  padding: 10px;
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.hero-btn {
  background-color: var(--white);
  color: var(--primary-color);
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
  border: 1px solid var(--primary-color);
}

.hero-btn:hover {
  background-color: var(--primary-dark);
  color: var(--white);
}

.hero img {
  width: 100%;
  max-width: 300px;
  border-radius: 45px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* =========================================
   SOBRE NOSOTROS
   ========================================= */
.sobre {
  text-align: center;
  padding: 20px 10%;
  background-color: #f3fdfb;
}

.sobre h2 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 20px;
}

.sobre p {
  font-size: 1.1rem;
  color: #555;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.sobre img {
  width: 50%;
  max-width: 300px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* =========================================
   EVENTOS DEPORTIVOS
   ========================================= */
.eventos {
  text-align: center;
  padding: 30px 10%;
}

.eventos h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.eventos-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.eventos-container1 {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.evento {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding-bottom: 20px;
  max-width: 400px;
  width: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
}

.evento:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.banner-evento {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  margin-bottom: 15px;
}

.evento h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  padding: 0 15px;
}

.evento p {
  color: #555;
  margin-bottom: 20px;
  padding: 0 15px;
}

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 10px;
  font-weight: 600;
  transition: background 0.3s;
  margin: 5px;
}

.btn:hover {
  background-color: var(--primary-dark);
}

/* =========================================
   DONACIONES
   ========================================= */
.donaciones {
  background: linear-gradient(to right, #009688, #26a69a);
  color: var(--white);
  text-align: center;
  padding: 40px 10%;
}

.donaciones h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.donaciones p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.btn-donar {
  background-color: var(--white);
  color: var(--primary-color);
  padding: 15px 20px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: all .3s;
  display: inline-block;
}

.btn-donar:hover {
  background-color: var(--primary-dark);
  color: var(--white);
}

/* =========================================
   TESTIMONIOS
   ========================================= */
.testimonios {
  text-align: center;
  padding: 60px 10%;
}

.testimonios h2 {
  color: var(--primary-color);
  margin-bottom: 40px;
}

.testimonios-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.testimonio {
  background: var(--white);
  padding: 25px;
  border-radius: 10px;
  max-width: 350px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  font-style: italic;
}

.testimonio h4 {
  margin-top: 15px;
  color: var(--primary-dark);
}

/* =========================================
   PRÓXIMOS EVENTOS
   ========================================= */
.proximos {
  background-color: #f3fdfb;
  text-align: center;
  padding: 40px 5%;
}

.proximos h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.proximos ul {
  list-style: none;
  font-size: 1.1rem;
  color: #444;
}

.proximos li {
  margin-bottom: 10px;
}

/* =========================================
   FOOTER
   ========================================= */
footer {
  background-color: #00695c;
  color: var(--white);
  text-align: center;
  padding: 25px 10px;
  font-size: 0.9rem;
}

.social {
  margin-top: 10px;
}

.social a img {
  width: 100px;
  margin: 0 8px;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s;
}

.social a img:hover {
  opacity: 0.8;
}

/* =========================================
   SLIDER
   ========================================= */
.slider-container {
  position: relative;
  width: 100%;
  height: 720px;
  overflow: hidden;
  /* border-radius: 10px; */
}

.slider {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease-in-out;
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.texto-slider {
  position: absolute;
  bottom: 40px;
  left: 40px;
  color: var(--white);
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
  max-width: 80%;
}

.texto-slider h1 {
  font-size: clamp(24px, 5vw, 40px);
  font-weight: bold;
  line-height: 1.1;
}

.texto-slider p {
  font-size: 18px;
  margin-bottom: 10px;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.4);
  padding: 10px 15px;
  border-radius: 50%;
  cursor: pointer;
  user-select: none;
  transition: 0.3s;
  z-index: 10;
}

.arrow:hover {
  background: rgba(0, 0, 0, 0.7);
}

.left {
  left: 20px;
}

.right {
  right: 20px;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
  .menu {
    position: absolute;
    top: 100px;
    /* Ajustado a la altura del navbar */
    right: 0;
    background: var(--white);
    margin-bottom: 10px;
  }

  .donaciones p {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }

  .btn-donar {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 15px 20px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: all .3s;
    display: inline-block;
  }

  .btn-donar:hover {
    background-color: var(--primary-dark);
    color: var(--white);
  }

  /* =========================================
   TESTIMONIOS
   ========================================= */
  .testimonios {
    text-align: center;
    padding: 60px 10%;
  }

  .testimonios h2 {
    color: var(--primary-color);
    margin-bottom: 40px;
  }

  .testimonios-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
  }

  .testimonio {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    max-width: 350px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    font-style: italic;
  }

  .testimonio h4 {
    margin-top: 15px;
    color: var(--primary-dark);
  }

  /* =========================================
   PRÓXIMOS EVENTOS
   ========================================= */
  .proximos {
    background-color: #f3fdfb;
    text-align: center;
    padding: 40px 5%;
  }

  .proximos h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
  }

  .proximos ul {
    list-style: none;
    font-size: 1.1rem;
    color: #444;
  }

  .proximos li {
    margin-bottom: 10px;
  }

  /* =========================================
   FOOTER
   ========================================= */
  footer {
    background-color: #00695c;
    color: var(--white);
    text-align: center;
    padding: 25px 10px;
    font-size: 0.9rem;
  }

  .social {
    margin-top: 10px;
  }

  .social a img {
    width: 100px;
    margin: 0 8px;
    filter: brightness(0) invert(1);
    transition: opacity 0.3s;
  }

  .social a img:hover {
    opacity: 0.8;
  }

  /* =========================================
   SLIDER
   ========================================= */
  .slider-container {
    position: relative;
    width: 100%;
    height: 720px;
    overflow: hidden;
    /* border-radius: 10px; */
  }

  .slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease-in-out;
  }

  .slide {
    min-width: 100%;
    height: 100%;
    position: relative;
  }

  .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .texto-slider {
    position: absolute;
    bottom: 40px;
    left: 40px;
    color: var(--white);
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
    max-width: 80%;
  }

  .texto-slider h1 {
    font-size: clamp(24px, 5vw, 40px);
    font-weight: bold;
    line-height: 1.1;
  }

  .texto-slider p {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.4);
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    user-select: none;
    transition: 0.3s;
    z-index: 10;
  }

  .arrow:hover {
    background: rgba(0, 0, 0, 0.7);
  }

  .left {
    left: 20px;
  }

  .right {
    right: 20px;
  }

  /* =========================================
   RESPONSIVE
   ========================================= */
  @media (max-width: 900px) {
    .menu {
      position: absolute;
      top: 100px;
      /* Ajustado a la altura del navbar */
      right: 0;
      background: var(--white);
      flex-direction: column;
      width: 100%;
      padding: 15px 20px;
      display: none;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .menu.open {
      display: flex;
    }

    .menu li {
      width: 100%;
      border-bottom: 1px solid #eee;
      padding: 10px 0;
    }

    .menu-toggle {
      display: block;
    }

    .sobre img {
      width: 100%;
    }

    .eventos-container,
    .eventos-container1,
    .entregas-container,
    .testimonios-container {
      flex-direction: column;
      align-items: center;
    }

    .testimonios h2 {
      color: var(--primary-color);
      margin-bottom: 40px;
    }

    .testimonios-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 25px;
    }

    .testimonio {
      background: var(--white);
      padding: 25px;
      border-radius: 10px;
      max-width: 350px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
      font-style: italic;
    }

    .testimonio h4 {
      margin-top: 15px;
      color: var(--primary-dark);
    }

    /* =========================================
   PRÓXIMOS EVENTOS
   ========================================= */
    .proximos {
      background-color: #f3fdfb;
      text-align: center;
      padding: 40px 5%;
    }

    .proximos h2 {
      color: var(--primary-color);
      margin-bottom: 20px;
    }

    .proximos ul {
      list-style: none;
      font-size: 1.1rem;
      color: #444;
    }

    .proximos li {
      margin-bottom: 10px;
    }

    /* =========================================
   FOOTER
   ========================================= */
    footer {
      background-color: #00695c;
      color: var(--white);
      text-align: center;
      padding: 25px 10px;
      font-size: 0.9rem;
    }

    .social {
      margin-top: 10px;
    }

    .social a img {
      width: 100px;
      margin: 0 8px;
      filter: brightness(0) invert(1);
      transition: opacity 0.3s;
    }

    .social a img:hover {
      opacity: 0.8;
    }

    /* =========================================
   SLIDER
   ========================================= */
    .slider-container {
      position: relative;
      width: 100%;
      height: 720px;
      overflow: hidden;
      /* border-radius: 10px; */
    }

    .slider {
      display: flex;
      width: 100%;
      height: 100%;
      transition: transform 0.6s ease-in-out;
    }

    .slide {
      min-width: 100%;
      height: 100%;
      position: relative;
    }

    .slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .texto-slider {
      position: absolute;
      bottom: 40px;
      left: 40px;
      color: var(--white);
      text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
      max-width: 80%;
    }

    .texto-slider h1 {
      font-size: clamp(24px, 5vw, 40px);
      font-weight: bold;
      line-height: 1.1;
    }

    .texto-slider p {
      font-size: 18px;
      margin-bottom: 10px;
    }

    .arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      font-size: 40px;
      color: var(--white);
      background: rgba(0, 0, 0, 0.4);
      padding: 10px 15px;
      border-radius: 50%;
      cursor: pointer;
      user-select: none;
      transition: 0.3s;
      z-index: 10;
    }

    .arrow:hover {
      background: rgba(0, 0, 0, 0.7);
    }

    .left {
      left: 20px;
    }

    .right {
      right: 20px;
    }

    /* =========================================
   RESPONSIVE
   ========================================= */
    @media (max-width: 900px) {
      .menu {
        position: absolute;
        top: 100px;
        /* Ajustado a la altura del navbar */
        right: 0;
        background: var(--white);
        flex-direction: column;
        width: 100%;
        padding: 15px 20px;
        display: none;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      }

      .menu.open {
        display: flex;
      }

      .menu li {
        width: 100%;
        border-bottom: 1px solid #eee;
        padding: 10px 0;
      }

      .menu-toggle {
        display: block;
      }

      .sobre img {
        width: 100%;
      }

      .eventos-container,
      .eventos-container1,
      .entregas-container,
      .testimonios-container {
        flex-direction: column;
        align-items: center;
      }

      body {
        padding-top: 100px;
      }

      .slider-container {
        height: 500px;
      }
    }

    /* ===============================
   MEJORAS UI (WhatsApp, Loader, Scroll)
=============================== */

    /* WhatsApp Button */
    .whatsapp-btn {
      position: fixed;
      bottom: 30px;
      right: 30px;
      background-color: #25d366;
      color: white;
      width: 60px;
      height: 60px;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 35px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
      z-index: 1000;
      transition: transform 0.3s, box-shadow 0.3s;
      text-decoration: none;
    }

    .whatsapp-btn:hover {
      transform: scale(1.1);
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    }

    /* Page Loader */
    #loader {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: #ffffff;
      z-index: 9999;
      display: flex;
      justify-content: center;
      align-items: center;
      transition: opacity 0.5s ease;
    }

    .loader-content img {
      width: 100px;
      animation: pulse 1.5s infinite;
    }

    @keyframes pulse {
      0% {
        transform: scale(1);
        opacity: 1;
      }

      50% {
        transform: scale(1.1);
        opacity: 0.8;
      }

      100% {
        transform: scale(1);
        opacity: 1;
      }
    }

    /* Scroll Animations */
    .fade-in {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }

    .fade-in.visible {
      opacity: 1;
      transform: translateY(0);
    }