/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    color: #333;
  }
  
  /* Navbar */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #083b6e;
    padding: 1rem 2rem;
    position: relative;
    height: 107px; /*altura fija */
  }
  
  .logo {
    display: flex;
    align-items: center;
    gap: 1rem; /* espaciado entre logos */
    height: auto !important;
  }
  
  .logo-ags {
    height: 100px !important; /* o el tamaño que quieras */
    
  }
  
  .logo-tepezala {
    height: 112px !important; /* o el tamaño que quieras */
  }
  
  .logo-unii {
    height: 120px !important; /* o el tamaño que quieras */
  }

  /* Menú base */
  .nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    align-items: center;
    position: relative;
  }
  
  
  .nav-links li {
    position: relative;
    margin-left: 1.5rem;
  }
  
  .nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem;
  }
  
  .nav-links a.active {
    background-color: #0a5db1;
    border-radius: 4px;
    padding: 0.5rem 1rem;
  }
  
  /* Menú desplegable oculto por defecto */
  .dropdown-menu {
    display: none;
    position: absolute;
    background-color: #003366;
    border-radius: 4px;
    top: 100%;
    left: 0;
    list-style: none;
    padding: 0.5rem 0;
    z-index: 999;
    min-width: 240px;
  }
  
  /* Mostrar el menú al dar clic (clase "open" se activa con JS) */
  .dropdown.open .dropdown-menu {
    display: block;
  }
  
  .dropdown-menu li a {
    display: block;
    padding: 0.6rem 1rem;
    color: white;
    text-decoration: none;
    transition: background-color 0.2s;
  }
  
  .dropdown-menu li a:hover {
    background-color: #004080;
  }
  
  /* Opcional: ícono de flecha ▾ que rota */
  .dropdown-toggle {
    cursor: pointer;
  }
  
  /* Submenú oculto por defecto */
  .sub-menu {
    display: none;
    background-color: #004080;
    list-style: none;
    margin-top: 0.3rem;
    border-radius: 4px;
    padding: 0.3rem 0;
  }
  
  .sub-dropdown.open .sub-menu {
    display: block;
  }
  
  .sub-menu li a {
    display: block;
    padding: 0.5rem 1rem;
    color: white;
    text-decoration: none;
    transition: background-color 0.2s;
  }
  
  .sub-menu li a:hover {
    background-color: #0055aa;
  }
  
  /* Estilo para el botón del submenú */
  .sub-toggle {
    cursor: pointer;
    display: block;
    color: white;
    padding: 0.6rem 1rem;
    text-decoration: none;
  }
  
  /* Burger menu (solo visible en móviles, funcional si quieres adaptarlo) */
  .burger {
    display: none;
    font-size: 1.5rem;
    color: white;
    background: none;
    border: none;
  }
  

  /* Sección de contenido normal */
    .content-section {
    padding: 3rem 2rem;
    background-color: #f9f9f9;
  }

   /* Video section */
    .video-section {
    padding: 2rem;
    text-align: center;
    background-color: #f0f0f0;
  }
  
  .video-section video {
    width: 100%;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
  }
  

 /* Nueva sección tipo zig-zag */
  .info-section {
    padding: 3rem 2rem;
    background-color: white;
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }
  
  /* Cada bloque con imagen y texto */
  .info-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
  }
  
  /* Inversión de orden */
  .info-block.reverse {
    flex-direction: row-reverse;
  }
  
  .image-container {
    flex: 1;
  }
  
  .image-container img {
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
  }
  
  .info-text {
    flex: 1;
    text-align: justify;
  }
  
  .info-text h2 {
    color: #001f3f;
    margin-bottom: 1rem;
  }
  
  .info-text p {
    font-size: 1.1rem;
    line-height: 1.6;
  }
  
  .registro-contenedor {
    display: flex;
    justify-content: center; /* Centra los bloques en la página */
    gap: 3rem; /* Espacio entre los bloques */
    flex-wrap: wrap; /* Por si se ve en móvil, que se apilen */
  }
  
  .registro-bloque {
    text-align: center;
    min-width: 200px;
  }

    /* Link de registro con estilo de botón */
  .registro-link a {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background-color: #0a5db1;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }

  .registro-link a:hover {
    background-color: #083b6e;
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
  }
  
  .sponsors-section {
    padding: 2rem 1rem;
    background-color: #f5f5f5;
    text-align: center;
  }
  
  .sponsors-title {
    font-size: 2rem;
    color: #083b6e;
    margin-bottom: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .sponsors-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
  }
  
  .logo-personalizado {
    background-color: #fff;
    padding: 0.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }

  /*.logo-personalizado {
    object-fit: contain;
    transition: transform 0.3s ease;
  }*/
  
  .logo-personalizado:hover {
    transform: scale(1.05);
  }

  .logo1 {
    width: 100px;
    height: auto;
  }
  
  .logo2 {
    width: 100px;
    height: auto;
  }
  
  .logo3 {
    width: 100px;
    height: auto;
  }
  
  .logo4 {
    height: 100px;
    width: auto;
  }

  .logo5 {
    height: 100px;
    width: auto;
  }

  .logo6 {
    height: 100px;
    width: auto;
  }

  .logo7 {
    height: 100px;
    width: auto;
  }

  .logo8 {
    height: 100px;
    width: auto;
  }

  .logo9 {
    height: 100px;
    width: auto;
  }

  .logo10 {
    height: 100px;
    width: auto;
  }

  .logo11 {
    height: 100px;
    width: auto;
  }

  .logo12 {
    height: 100px;
    width: auto;
  }

  .logo13 {
    height: 100px;
    width: auto;
  }
  
  .logo14 {
    height: 100px;
    width: auto;
  }
  
  .logo15 {
    height: 100px;
    width: auto;
  }
  
  .logo16 {
    height: 100px;
    width: auto;
  }
  
  .logo17 {
    height: 100px;
    width: auto;
  }

  .logo18 {
    height: 90px;
    width: auto;
  }

  .logo19 {
    height: 100px;
    width: auto;
  }

  .logo20 {
    height: 100px;
    width: auto;
  }

  .logo21 {
    height: 90px;
    width: auto;
  }
  
  .logo22 {
    height: 90px;
    width: auto;
  }
  
  .logo23 {
    height: 80px;
    width: auto;
  }
  
  .logo24 {
    height: 100px;
    width: auto;
  }
  
  /* Estilo del itinerario */
  .itinerary {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  margin-bottom: 2rem;
  }

  .itinerary ul {
  list-style: none;
  padding: 0;
  margin: 0;
  }

  .itinerary ul li {
    padding: 1rem;
    font-size: 1.05rem;
    border-bottom: 1px solid #ddd;
    background-color: #fdfdfd;
    border-left: 5px solid #ccc;
    margin-bottom: 0.5rem;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    transition: transform 0.2s ease;
  }

  .itinerary ul li:last-child {
  border-bottom: none;
  }

  .itinerary ul li:hover {
    transform: scale(1.01);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  }

  .itinerary ul li strong {
    display: block;
    color: #083b6e;
    font-weight: 600;
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
  }

  .actividad-horizontal {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
  }

  .actividad-horizontal > div {
    flex: 1 1 250px;
    background-color: #eef4fb;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: left;
    font-size: 0.95rem;
    border-left: 5px solid #083b6e;
    position: relative;
    transition: transform 0.2s ease;
  }
  
  .actividad-horizontal > div:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  
  .actividad-horizontal > div strong {
    display: block;
    margin-top: 0.5rem;
    color: #083b6e;
    font-weight: 600;
  }

  .itinerary-title {
    font-size: 1.8rem;
    margin: 3rem auto 1.5rem; /* ← centrado horizontalmente */
    color: #083b6e;
    font-weight: bold;
    border-bottom: 3px solid #083b6e;
    text-align: center;
    display: block; /* ← asegura comportamiento como bloque */
    padding-bottom: 0.3rem;
    width: fit-content; /* opcional para que el borde no abarque todo */
  }

  /* Actividades permanentes */
  .permanent-activities {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0,0,0,0.04);
    margin-top: 2rem;
  }

  .permanent-activities ul li {
    padding: 1rem;
    font-size: 1.05rem;
    background-color: #fdfdfd;
    border-left: 5px solid #ccc;
    margin-bottom: 0.5rem;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    transition: transform 0.2s ease;
  }
  
  .permanent-activities ul li:hover {
    transform: scale(1.01);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  }
  
  /* Responsivo */
  @media (max-width: 768px) {
    .info-block,
    .info-block.reverse {
      flex-direction: column;
      text-align: center;
    }
  
    .info-text {
      text-align: center;
    }
  }
  
  footer {
    background-color: #001f3f;
    color: white;
    padding: 2rem 1rem 1rem;
  }
  
  .footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .footer-column {
    flex: 1;
    min-width: 250px;
  }
  
  .footer-column h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: #ffd700;
  }
  
  .footer-column p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
  }
  
  .social-icons {
    display: flex;
    gap: 1rem;
  }
  
  .social-icons img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
  }
  
  .social-icons a:hover img {
    transform: scale(1.1);
  }
  
  .footer-bottom {
    text-align: center;
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1rem;
    font-size: 0.85rem;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .footer-container {
      flex-direction: column;
      text-align: center;
      align-items: center;
    }
  
    .footer-column {
      align-items: center;
    }
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .info-section {
      flex-direction: column;
    }
  
    .hero-text h1 {
      font-size: 2rem;
    }
  
    .burger {
      display: block;
      font-size: 2rem;
      cursor: pointer;
    }
  
    .nav-links {
      display: none;
      flex-direction: column;
      align-items: flex-start;
      background-color: #001f3f;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      padding: 1rem;
      z-index: 1000;
    }
  
    .nav-links.nav-active {
      display: flex;
    }
  
    .nav-links li {
      margin: 0.5rem 0;
      width: 100%;
    }
  
    .nav-links li a {
      display: block;
      width: 100%;
    }
  
    .dropdown-menu,
    .sub-menu {
      position: static;
      background-color: #002b5c;
      width: 100%;
    }
  
    .dropdown-menu li,
    .sub-menu li {
      padding-left: 1rem;
    }
  
    .dropdown.open .dropdown-menu,
    .sub-dropdown.open .sub-menu {
      display: block;
    }
  
    .dropdown-toggle,
    .sub-toggle {
      width: 100%;
    }
  
    @media (max-width: 768px) {
      .hero-text {
        margin-left: 0;
        text-align: center;
        max-width: 90%;
      }
    }
  
    @media (max-width: 768px) {
      .logo {
    gap: 0.5rem; /* menos espacio entre logos */
  }

  .logo-ags {
    height: 50px !important; /* tamaño reducido */
  }

  .logo-tepezala {
    height: 60px !important;
  }

  .logo-unii {
    height: 65px !important;
  }
    }
  