/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}

h1 {
  margin: 20px 0;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #24b12d;
  padding: 5px 20px;
  flex-wrap: wrap;

  font-family: "Exo 2", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.logo {
  height: 75px;
}

.logo-name-container {
  margin-left: -10px;
}

.logo-name-container-mobile {
  display: none;
  padding: 20px 0px;
  text-align: center;
}

.logo-name {
  color: white;
  font-size: 20px;
}

.hamburguesa {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.menu-container {
  display: flex;
}

.menu-principal {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.menu-principal > li {
  position: relative;
}

.menu-principal > li > a {
  color: white;
  font-weight: bold;
  text-decoration: none;
  padding: 10px;
  display: block;
}

/* SUBMENÚ */
.submenu-lista {
  list-style: none;
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #d7ffdc;
  min-width: 220px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.submenu-lista li {
  border-bottom: 1px solid #ccc;
}

.submenu-lista li:last-child {
  border-bottom: none;
}

.submenu-lista a {
  color: #333;
  padding: 10px;
  display: block;
  text-decoration: none;
}

/* 🔥 EFECTO HOVER VERDE CLARO */
.submenu-lista a:hover {
  background-color: #4af366; /* verde claro */
}

.submenu:hover .submenu-lista {
  display: block;
}

/* CONTENIDO CENTRAL CON FONDO DE BAMBÚ Y HOJAS */
.contenido-central {
  min-height: 60vh;
  background-color: white;
  background-image: url('/archivos/bambu.png'), url('/archivos/hojas.png');
  background-position: bottom right, bottom left;
  background-repeat: no-repeat, no-repeat;

  /* 🎯 ESCALA SOLO EL BAMBÚ, NO LAS HOJAS */
  background-size: auto 100%, auto;
  
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 40px 40px 40px;
}

.texto-central {
  text-align: left;
  background-color: rgba(255, 255, 255, 0.85);
  padding: 0 20px 20px 20px;
  border-radius: 10px;
  max-width: 1280px;
}

/* FOOTER */
.footer {
  background: linear-gradient(to right, #63be6d, #38a44b);
  color: white;
  padding: 40px 20px;
  text-align: center;
}

.footer-contenido {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-bloque {
  flex: 1 1 300px;
  text-align: center;
}

.redes-sociales p {
  font-size: 1.2em;
  margin-bottom: 10px;
}

.iconos {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 10px;
}

.iconos a {
  color: white;
  font-size: 24px;
  transition: transform 0.2s;
}

.iconos a:hover {
  transform: scale(1.2);
}

.logo-footer img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.logo-footer p {
  font-style: italic;
  font-size: 0.95em;
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.5;
}

/* RESPONSIVE */
@media screen and (max-width: 768px) {

  .logo-name-container {
    display: none;
  }

  .hamburguesa {
    display: block;
  }

  .menu-container {
    display: none;
    width: 100%;
  }

  .menu-container.active {
    display: block;
  }

  .menu-principal {
    flex-direction: column;
    background-color: #1f9b3f;
    width: 100%;
  }

  .menu-principal > li {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .submenu-lista {
    position: relative;
    background-color: #ecffa1;
    box-shadow: none;
  }

  .submenu-lista a {
    color: #000;
  }

  .footer-contenido {
    flex-direction: column;
    gap: 40px;
  }

  .logo-name-container-mobile {
    display: block;
  }
}



/* Set the size of the div element that contains the map */
#map {
  margin-top: 20px;
  height: 400px; /* The height is 400 pixels */
  width: 100%; /* The width is the width of the web page */
}

.slogan-home {
  text-align:center; max-width:600px; margin:20px auto;
  font-style: italic;
}

.imagen-manos-home img {
    max-width: 370px;
    max-height: 370px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 30px auto;
}

.cuatro-columnas {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin: 32px 0;
}
.columna {
    flex: 1 1 220px;
    max-width: 300px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 16px;
    text-align: center;
}
.img-columna {
    width: 100%;
    max-width: 220px;
    height: 130px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}
.titulo-columna {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    color: darkorange;
}
.desc-columna {
    font-size: 14px;
    color: #333;
}
@media (max-width: 900px) {
    .cuatro-columnas {
        flex-direction: column;
        align-items: center;
    }
    .columna {
        max-width: 90vw;
        margin-bottom: 24px;
    }
}

/* ESTILOS PARA EL CARRUSEL DE IMÁGENES */
.carrusel-quienes {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 32px auto;
    max-width: 700px;
}
.carrusel-imgs {
    position: relative;
    width: 500px;
    height: 320px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
}
.carrusel-imgs img {
    position: absolute;
    left: 0; top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}
.carrusel-imgs img.active {
    opacity: 1;
    pointer-events: auto;
}
.carrusel-btn {
    background: #005500;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    cursor: pointer;
    transition: background 0.2s;
}
.carrusel-btn:hover {
    background: #008700;
}

/* ESTILOS PARA VIDEO RESPONSIVO */
.video-responsive {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
}
.video-responsive iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}