/* style-nosotros.css */

/* ===== ESTILOS BASE ===== */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f7fff9;
  color: #2d3436;
  line-height: 1.6;
}

/* ===== ESTRUCTURA PRINCIPAL ===== */
.main-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ===== HEADER ===== */
.header-container {
  background-color: #27ae60;
  color: white;
  padding: 1.5rem 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 10;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.site-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: white;
  margin: 0;
}

/* Ajuste para que el menú esté centrado en escritorio */
.nav-menu ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 0;
  margin: 1rem 0 0;
}

/* Estilo para los enlaces del menú de navegación */
.nav-menu a {
  color: white;               /* Cambia a otro color si deseas */
  text-decoration: none;      /* Quita el subrayado */
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #d1f2eb;             /* Color al pasar el mouse (puedes cambiarlo) */
}



/* ===== CONTENIDO PRINCIPAL ===== */
.main-content {
  flex: 1;
  width: 100%;
  padding: 2rem 0 3rem;
  margin: 0 auto;
}

.content-section {
  width: 90%;
  max-width: 900px;
  margin: 0 auto 2rem;
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.content-section h2,
.content-section h3 {
  color: #27ae60;
  text-align: center;
  margin-bottom: 1.5rem;
}

/* SECCIÓN INTEGRANTES */
.integrantes {
  background-color: var(--gris-suave);
  padding: 60px 20px;
  text-align: center;
  color: var(--verde-oscuro);
  display: flex;
  justify-content: center;
}

.integrantes-card {
  background-color: var(--blanco);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 40px;
  max-width: 1000px;
  width: 100%;
  text-align: center;
}

.integrantes-card h2 {
  font-size: 26px;
  margin-bottom: 30px;
  color: var(--verde-oscuro);
}

.integrantes-contenido {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

/* Tarjeta individual de cada integrante */
.miembro {
  background-color: var(--blanco);
  border-radius: 16px;
  padding: 20px;
  max-width: 280px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.miembro img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
  margin-top: -10px;
}

.nombre-rol {
  margin-bottom: 10px;
}

.member-name {
  font-weight: bold;
  font-size: 18px;
  color: var(--verde-oscuro);
}

.member-role {
  font-size: 14px;
  color: var(--gris-oscuro);
}

.member-bio {
  font-size: 15px;
  color: #444;
  text-align: left;
  margin-top: 10px;
}

/* ===== FOOTER ===== */
footer {
  background-color: #2c3e50;
  color: white;
  padding: 10px 20px;
  text-align: center;
}

footer .redes img {
  width: 18px;
  margin: 0 10px;
  vertical-align: middle;
}
/* ===== MENÚ RESPONSIVE PARA MÓVILES ===== */

@media screen and (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar .menu-toggle {
    display: block;
  }

  .navbar .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: var(--verde-oscuro);
    padding: 10px 0;
  }

  .navbar .nav-links.active {
    display: flex;
  }

  .navbar .nav-links li {
    width: 100%;
    text-align: left;
    padding: 7px 30px;
  }

  .navbar .nav-links a {
    font-size: 16px;
  }

  header h1 {
    font-size: 36px;
    margin-top: 40px;
  }
}
/* Pantallas medianas (tablets) */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    align-items: center;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Pantallas pequeñas (móviles) */
@media (max-width: 480px) {
  header h1 {
    font-size: 1.5rem;
    text-align: center;
  }

  .nav-links {
    font-size: 0.9rem;
  }
}
/* ===== MENÚ HAMBURGUESA RESPONSIVE ===== */
.menu-toggle {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: white;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-menu {
    display: none;
    width: 100%;
    background-color: #27ae60;
    margin-top: 1rem;
  }

  .nav-menu.active {
    display: block;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 1rem;
    padding: 0;
    margin: 0;
    text-align: center;
  }

  .nav-menu li {
    padding: 10px 0;
  }

  .nav-menu a {
    color: white;
    font-size: 18px;
    font-weight: 600;
  }
}
/* Centrar el botón del menú en móviles */
@media screen and (max-width: 768px) {
  .menu-toggle {
    display: block;
    font-size: 30px;
    cursor: pointer;
    color: white;
    margin: 0 auto;
    text-align: center;
  }

  .container {
    flex-direction: column;
    align-items: center;
  }

  .nav-menu ul {
    flex-direction: column;
    align-items: center;
  }
}


