@charset "utf-8";

* {
  text-align: center;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.6;
}

/* ============================= */
/* FONDO GEOMÉTRICO */
/* ============================= */
.fondo-decorativo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f6f8ff 0%, #eaefff 100%);
  z-index: -1;
  opacity: 0.6;
}

/* ============================= */
/* HEADER */
/* ============================= */
header {
  background: #ffffffcc; /*color del margen menu, y cc equivale a la transparencia*/
  backdrop-filter: blur(8px);/*difumina lo que hay detrás del header (efecto de “vidrio")*/
  position: sticky;/*lo mantiene pegado a la parte superior al hacer scroll*/
  top: 0;/*lo fija en el borde supeior*/
  z-index: 10;
  border-bottom: 1px solid #ddd;/*borde inferior del header*/
}

.menu-fijo-contenedora{
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: bold;
  font-size: 1.2rem;
  text-decoration: none;
  color: #333;
}

.logo svg {
  width: 32px;
  height: 32px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: #444;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #667eea;
}


/* ============================= */
/* PRESENTACION */
/* ============================= */
.presentacion {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  padding: 2rem;
}
.presentacion-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.presentacion-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.presentacion-content p {
  max-width: 500px;
  margin: 0 auto 1.5rem auto;
  font-size: 1.1rem;
}

.presentacion-inner {
  display: flex;
  align-items: center;
  gap: 2rem; /* espacio entre imagen y texto */
}

/* Imagen */
.foto-image img {
  width: 270px; /* ajusta el tamaño */
  border-radius: 10%; /* redonda, opcional */
}

/* Texto */
.presentacion-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Botón */
.cta-button {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #667eea;
  color: #fff;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: bold;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: #4455cc;
}

/* Links de Instagram y Behance */
.presentacion-links {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
}

.presentacion-links a {
  text-decoration: none;
  color: #667eea;
  font-weight: bold;
  transition: color 0.3s;
}

.presentacion-links a:hover {
  color: #4455cc;
}

/*Imagen y texto en móvil */

@media (max-width: 768px) {
  .presentacion-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .foto-image img {
    width: 270px; 
  }

  .presentacion-links {
    justify-content: center;
  }
}


/* ============================= */
/* historia academica */
/* ============================= */
.datos-academicos  {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 2rem;
  text-align: center;
}

.datos-academicos-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.info {
  background: #fff;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.datos-academicos-info ul {
  list-style-type: disc; /* puntos normales */
  list-style-position: inside; /* los puntos se alinean al inicio del texto */
  padding-left: 0;
  margin: 0; 
}






/* ============================= */
/* equipo vm22 integrantes */
/* ============================= */
/* --- SECCIÓN EQUIPO GENERAL --- */
.integrantes-equipo {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 2rem;
  text-align: center;
}

.integrantes-equipo h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.integrantes-equipo p {
  max-width: 700px;
  margin: 0 auto 2rem auto;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}

/* --- CONTENEDOR DE LOS INTEGRANTES --- */
.equipo-vm22 {
  display: flex;
  justify-content: center;
  align-items: stretch; /* todas las tarjetas de igual altura */
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* --- CUADROSS DE INTEGRANTES --- */
.integrante {
  background: #fff;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 260px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.integrante:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.integrante img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid #f0f0f0;
}

.integrante h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #222;
}

.perfil-button {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: transform 0.2s ease, background 0.2s ease;
}

.perfil-button:hover {
  transform: scale(1.05);
  background: linear-gradient(45deg, #5a6cd8, #6b3d95);
}








/* ============================= */
/* PROYECTOS */
/* ============================= */
.projects {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 2rem;
  text-align: center;
}

.project-grid {
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.project-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card img {
  width: 100%;
  display: block;
}


/* ============================= */
/* imagen propuesta xd */
/* ============================= */
.propuesta3 {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 2rem;
  text-align: center;
}
.propuesta3 img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Para celulares (pantallas de hasta 600px de ancho) */
@media (max-width: 600px) {
  .propuesta3 img {
    max-width: 100%;   /* se ajusta al ancho de la pantalla */
  }
}

/* Para PC (pantallas más grandes) */
@media (min-width: 601px) {
  .propuesta3 img {
    max-width: 800px;  /* o el tamaño que prefieras */
  }
}





/* ============================= */
/* FOOTER */
/* ============================= */
footer {
  text-align: center;
  font-size: 0.9rem;
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

/*DESACTIVA EL MENU PARA MOVIL*/
.menu-checkbox {
  display: none;
}


@media (max-width: 768px) {
  /* Ocultamos el checkbox */
  .menu-checkbox {
    display: none;
  }

  /* Botón hamburguesa visible en móvil */
  .menu-barras {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    cursor: pointer;
    z-index: 1000;
  }

  .menu-barras span {
    display: block;
    height: 3px;
    background: black;
    border-radius: 2px;
    transition: 0.3s ease;
  }

  /* Menú cerrado por defecto */
  .nav-links {
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 70px;
    right: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

    /* --- para la animación --- */
    max-height: 0;
    overflow: hidden;
    padding: 0;
  }

  .nav-links li {
    padding: 1rem;
  }

  /* Cuando el checkbox está activado, se muestra el menú */
  .menu-checkbox:checked + .menu-barras + .nav-links {
    max-height: 500px;
    padding: 1rem;
  }

  /* --- Ajustes para otros elementos en móvil --- */
  .presentacion-content h1 {
    font-size: 2rem;
  }

  .datos-academicos-info {
    grid-template-columns: 1fr;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }
}




/*-------------------------------------------*/
/*logo dgps*/
.header-logo img {
        width: 100px;
        height: auto;
        background: var(--blanco);
        padding: 8px;
      }



/*-------------------------------------------*/
/* Datos Académicos */
.datos-fadu  {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 2rem;
  text-align: center;
}

.datos-fadu {

  gap: 1.5rem;
  margin-top: 2rem;
  text-align: center;
}

.datos-fadu-info {
  background: #fff;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}



