﻿body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden; 
}


header {
  background-color: #222;
  color: white;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  overflow: visible;

}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 120px;
  margin-right: 10px;
}

.texto-logo h1 {
  margin: 0;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0;
}

nav ul li a {
  text-decoration: none;
  color: #FFFFFF;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: inline-block;
}

nav ul li a:hover {
  background-color: #dceeff;
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}


.admin-button {
  font-family: 'Baloo 2', sans-serif;
  font-size: 0.9rem;
  padding: 4px 10px;
  border-radius: 12px;
  background-color: transparent;
  color: #c0c0c0; /* plateado claro */
  border: 1.8px solid #c0c0c0;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  align-self: center; /* para alinear verticalmente en flex container */
  margin-left: 20px;
  margin-bottom: -2;
  box-shadow: 0 0 6px #c0c0c0aa; /* brillo suave metálico */
}

.admin-button:hover {
  background-color: #c0c0c0;
  color: #222;
  box-shadow: 0 0 10px #e0e0e0dd; /* brillo más intenso al pasar el mouse */
  transform: scale(1.05);
}



.contenedor {
  display: flex;
  flex: 1;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.banner-lateral {
  width: 250px;
  background-image: url('img/banner-lateral.jpg'); /* Cambiar por el nombre real */
  background-size: cover;
  background-position: border;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
}

.contenido-principal {
  flex: 1;
  padding: 20px;
  background-color: white;
  overflow-y: auto;
  position: relative;
  z-index: 1;
}

.info {
  margin-bottom: 40px;
}

.zonas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 10px;
}

.zona-card {
  background-color: #f5f5f5;
  padding: 1rem;
  text-align: center;
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.zona-card:hover {
  background-color: #dceeff;
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.menu-zona {
  background: #f8f8f8;
  padding: 0 15px;
  margin-top: 0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top;
  transition: all 0.3s ease;
  margin-bottom: 0;
}

.menu-zona.visible {
  max-height: 500px;
  opacity: 1;
  transform: scaleY(1);
  margin-top: 15px;
  margin-bottom: 20px;
  padding-top: 15px;
  padding-bottom: 15px;
}


.calendario table {
  width: 100%;
  border-collapse: collapse;
}

.calendario th,
.calendario td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: left;
}

.contacto-form {
  margin-top: 40px;
}

.contacto-form form {
  display: flex;
  flex-direction: column;
}

.contacto-form input,
.contacto-form textarea {
  margin-bottom: 10px;
  padding: 10px;
  font-size: 16px;
}

.contacto-form button {
  padding: 10px;
  font-size: 16px;
  background-color: #222;
  color: white;
  border: none;
  cursor: pointer;
}

footer {
  background-color: #222;
  color: white;
  text-align: center;
  padding: 20px;
  position: relative;
  z-index: 1;
}

footer .contacto {
  margin-top: 10px;
}

footer .contacto a {
  display: inline-block;
  margin: 0 10px;
  color: white;
  text-decoration: none;
}

.encabezado {
  background: #000;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  position: relative;
  overflow: hidden;
}

.encabezado::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  animation: shine 2s infinite;
}

@keyframes shine {
  to {
    left: 125%;
  }
}


body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -10000;
  background: #fff;
}

header {
  position: relative;
  overflow: hidden;
}

header::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shine 3s infinite;
}

@keyframes shine {
  100% {
    left: 125%;
  }
}
@media (max-width: 768px) {
  .contenedor {
    flex-direction: column;
  }

 .banner-lateral {
  width: 100%;
  max-height: 120px;
  background-position: center; /* corregido de "boder" a "center" */
  background-size: cover; /* mejor opción para que se adapte */
  background-repeat: no-repeat;
  background-image: url('img/banner-lateral.jpg'); /* agregá esto si no lo definiste en HTML */
  display: block;
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 768px) {
  .banner-lateral {
    max-height: 100px; /* opcional: ajustá la altura en móvil si querés */
    background-size: contain; /* mejor para móviles si querés que se vea completo */
  }
}

.contenido-principal {
  padding: 10px;
}

nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  padding: 0;
  margin: 10px 0;
}

nav ul li {
  list-style: none;
}

nav ul li a {
  display: block;
  padding: 8px 12px;
  color: #333;
  text-decoration: none;
  border-radius: 6px;
  background-color: #eee;
  font-weight: 500;
}

  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo {
    justify-content: center;
    width: 100%;
  }

  .admin-btn {
    align-self: center;
    margin-top: 10px;
  }
}

.detalle-zona {
  margin-top: 20px;
  padding: 20px;
  border-radius: 12px;
  background-color: #f9f9f9;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.dirigente-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.dirigente-foto {
  width: 150px;
  border-radius: 10px;
  box-shadow: no;
  background: transparent;
}

.datos-dirigente p {
  margin: 5px 0;
}

.oculto {
  display: none;
}
@keyframes brilloMulticolorZona {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.zona-expandida {
  background: linear-gradient(270deg, #ffffff, #f0faff, #ffeef5, #ffffff);
  background-size: 400% 400%;
  animation: brilloMulticolorZona 20s ease infinite;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
@keyframes zonaBrillante {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.efecto-zona {
  background: linear-gradient(270deg, #ffffff, #e0e0e0, #ffffff, #e0e0e0);
  background-size: 400% 400%;
  animation: zonaBrillante 8s ease infinite;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
  transition: all 0.5s ease-in-out;
}
h4 {
  position: relative;
  display: inline-block;
  font-weight: bold;
  background: linear-gradient(90deg, #ff0080, #7928ca, #2afadf, #ff0080);
  background-size: 300% auto;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: text-gradient-move 5s linear infinite;
}

h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(120deg, #ccc, #fff, #ccc);
  background-size: 200% auto;
  animation: shine 2s linear infinite;
  border-radius: 2px;
}

/* Animación para el texto multicolor */
@keyframes text-gradient-move {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 300% center;
  }
}

/* Animación para el subrayado metálico */
@keyframes shine {
  0% {
    background-position: -100% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
h1 {
  font-family: 'Anton', sans-serif;
  font-size: 4rem;
  letter-spacing: 2px;
  text-align: center;
  background: linear-gradient(90deg, #ff0080, #7928ca, #2afadf, #ff0080);
  background-size: 300% auto;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: text-gradient-move 5s linear infinite;
  margin: 0;
}

/* Animación para el fondo degradado del texto */
@keyframes text-gradient-move {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 300% center;
  }
}
.encabezado {
  background: #000;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  position: relative;
  overflow: hidden;
}

.encabezado::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  animation: shine 2s infinite;
}

@keyframes shine {
  to {
    left: 125%;
  }
}
.slogan {
  font-family: 'Dancing Script', cursive;
  font-size: 1.7rem;
  color: #f0f0f0;
  text-align: center;
  display: block;
  margin-top: -10px;
  margin-bottom: 20px;
}
nav li a {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

nav li a:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffd700;
  transform: scale(1.05);
}
