* * Estilos CSS 
 * 
:root {
    /* Definición de colores principales */
    --color-bg-dark: #121212; /* Fondo muy oscuro */
    --color-bg-light: #1A1A1A; /* Superficie/Nav oscuro */
    --color-text-light: #F0F0F0; /* Texto claro principal */
    --color-text-subtle: #AAA; /* Texto secundario/sutil */
    --color-primary: #CC99FF; /* Morado claro (Tono principal) */
    --color-primary-dark: #A32828; /* Morado/Borravino (Hover de botones) */
    --color-dark-surface: #1E1E1E; /* Superficie de las tarjetas */
    --bg:#eee7ff;
    --card:#F2ECFF;
    --ink:#201734;
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilos globales del cuerpo */
body {
    
    background-image: linear-gradient(-225deg, #4643D8 0%, #270C93 48%, #141330 100%);
    font-family: 'Inter', sans-serif;
    background-color: 
    color: var(--color-text-light);
    line-height: 1.6;
    font-size: 1rem; /* Base de 16px para REM */
}

/* Contenedor central (limita el ancho del contenido principal) */
.container {
    max-width: 88rem; /* 1200px */
    margin: 0 auto;
    padding: 0 1.5rem; /* Padding horizontal en dispositivos móviles */
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--color-text-light);
}

/* ---------------------------------------------------- */
/* 7) & 2) NAV Principal (Top-Nav) - Logo y Menu Superior */
/* ---------------------------------------------------- */

.main-header {
    background-color: #7B56E8;
    padding: 1.2rem 0; /* Aumentado el padding vertical para más aire */
    border-bottom: 0.0625rem solid var(--color-bg-light); 

}

.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center; /* CLAVE: Centrado vertical de logos y menú */
    flex-wrap: wrap; 
    gap: .5rem;
}

/* Bloque de Logos */
.logo-block {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo-link {
    font-size: 1.6rem; /* Aumentado ligeramente */
    font-weight: 800; /* Mayor peso */
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #eee7ff;
}

.logo-icon-primary {
    font-size: 2rem; /* Icono más grande */
}

.institution-text {
    font-size: 1.2rem; /* Tamaño más legible */
    color: #eee7ff;
    font-weight: 300;
}

/* Menú de Enlaces (MAPA, PLAN, etc.) */
.main-menu-list {
    font-weight: 700;
    list-style: none;
    display: flex;
    gap: 1.75rem; /* Más separación entre ítems */
    
}

.menu-link {
    font-size: 1.2rem;
    color: #eee7ff;
    padding: 0.25rem; /* Pequeño padding para hover */
    text-transform: capitalize;
}

.menu-link:hover {
    color: var(--color-primary);
    border-bottom: 0.125rem solid var(--color-primary); /* Subrayado al pasar el mouse */
    display: flex;
    justify-content: center;
    gap: rem; /* Más separación entre enlaces de estudiantes */
    flex-wrap: wrap;
    color: #(var(--ink));
}


/* ---------------------------------------------------- */
/* 1) NAV Secundario (Estudiantes) */
/* ---------------------------------------------------- */

.secondary-nav {
    background-color: var(--color-bg-light); /* Fondo oscuro consistente */
    padding: 0rem 0; /* Más espacio vertical */
    border-bottom: 0.125rem solid var(--color-primary);
}

.student-links {
    display: flex;
    justify-content: center;
    gap: 1rem; /* Más separación entre enlaces de estudiantes */
    flex-wrap: wrap;
}

.student-link {
    font-weight: 60;
    padding: 0.9rem 0.8rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s, color 0.3s;
    color:  var(--color-primary); /* Morado por defecto */
}

.student-link:hover {
    background-color: var(--color-primary-dark); /* Color oscuro en hover */
    color: var(--color-text-light); 
}


/* ---------------------------------------------------- */
/* 3) Header (Contenido principal/Título del Proyecto) */
/* ---------------------------------------------------- */

.project-header {
    padding: 3rem 1.5rem 4rem; /* Más espacio superior e inferior */
    text-align: center;
}

.project-header .logo img {
  width: 320px; /* o el tamaño que prefieras */
  height: auto;
  display: block;
  margin: 0 auto 0.5rem; /* centrado y con aire inferior */
}

.project-title-img {
  width: 500px;
  height: auto;
  display: block;
  margin: 0rem auto 0.1rem;
}

.project-title {
    font-size: 8rem; /* Título más grande */
    margin-top: 0,1%;
    margin-left: 0rem;
    font-weight: 900;
    text-align:center
    padding: 5rem;

    border-radius: 40px;
    color: #fdf1f6;
}


.titulo {
padding-top: 2orem;
}


.project-subtitle {
    padding-top: 2rem;
    font-size: 1.25rem;
    color: var(--color-text-subtle);
}

.color-morado {
    color: var(--color-primary);
}

/* BLOQUE HERO / PRESENTACIÓN BancoNoBanco - Hero Style */
.hero-project {
    padding: 1rem 1.5rem;
    background-color: rgba(107, 34, 34, 0.25); /* Fondo semitransparente sobre gradiente */
    border-radius: 2rem;
    margin-bottom: 3rem;
    color: var(--color-text-light);
}

.hero-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: ;
    gap: 4rem;
    text-align: left;
}

.hero-text {
    flex: 1 1 100px;
    max-width: 500px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: #fdf1f6;
    line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 100;
  margin-bottom: 0.5rem; /* margen pequeño entre párrafos */
  color:#F1F5FF ;
  line-height: 1.4;
}

.hero-subtitle:last-of-type {
  margin-bottom: 4rem; /* margen grande solo al final */
}

.hero-button {
    font-size: 2rem;
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-bg-dark);
    font-weight: bold;
    padding: 0.8rem 2rem;
    border-radius: 1rem;
    border: 3px solid #d3cedb;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-button:hover {
    background-color: var(--color-text-light);
    transform: translateY(-0.1rem);
    box-shadow: 0 0.2rem 1rem rgba(236, 233, 233, 0.4);
}











/* Ajuste de flex para que se apilen automáticamente en pantallas pequeñas */
.hero-content > * {
    min-width: 280px;
}


/* ---------------------------------------------------- */
/* 4) GRID de Bloques de Estudiantes */
/* ---------------------------------------------------- */

.main-content {
    padding-bottom: 6rem; /* Más espacio al fondo */
}

.student-grid {
    display: grid;
    /* 3 columnas en desktop, 2 en tablet, 1 en mobile */
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); 
    gap: 2rem;
}

/* Estilo de la Tarjeta (Bloque) */
.student-card {
    background-color: #f4f4f569;
    padding: 1rem; /* Más padding interno */
    border-radius: 1rem;
    text-align: center;
    
    border: 0.0625rem solid transparent; 
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.4); /* Sombra inicial sutil */
    
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Efecto de Movimiento y Sombra (Hover) */
.student-card:hover {
    transform: translateY(-0.75rem) scale(1.02); /* Se levanta más y se agranda un poco */
    
    /* Sombra Morada GLOWING */
    box-shadow: 0 0 3rem rgba(132, 62, 223, 0.6); 
    
    border-color: var(--color-primary);
}

.student-name {
    font-size: 1.5rem; /* Nombre más grande */
    ;
    color: var(--color-primary);
}

.student-category {
    font-size: 1rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}


.student-photo {
    width: 200px;
    height: 220px;
    border-radius: 15px;
    object-fit: cover;
    margin-bottom: 10px;
  
}




.profile-button {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-bg-dark);
    font-weight: bold;
    padding: 0.8rem 2rem;
    border-radius: 0.9rem;
     border: 3px solid #b595f1;
    transition: background-color 0.3s, transform 0.1s;
}

.profile-button:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-0.1rem);
    box-shadow: 0 0.1rem 0.5rem rgba(0, 0, 0, 0.5);
}


/* ---------------------------------------------------- */
/* 5) Footer Principal (Institucional/Cátedra) */
/* ---------------------------------------------------- */

.main-footer {
    background-color: var(--color-bg-light); /* Usamos el color de fondo del nav secundario */
    padding-top: 3.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
    padding-bottom: 3rem;
    border-bottom: 0.0625rem solid #282828; /* Separador sutil */
}

.footer-block {
    flex: 1;
    min-width: 18rem; /* Mínimo ancho para cada columna en desktop */
}

.main-footer h4 {
    color: #b595f1;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.main-footer p {
    font-size: 0.95rem; /* Texto del footer ligeramente más grande y legible */
    margin-bottom: 0.6rem;
    color: #FFFBF5;
}

/* ---------------------------------------------------- */
/* 6) Footer Final (Disclaimer) */
/* ---------------------------------------------------- */

.disclaimer-footer {
    background-color: var(--color-bg-light); 
    padding: 1.5rem 0;
}

.disclaimer-footer p {
    font-size: 0.8rem; /* Texto de disclaimer más pequeño y discreto */
    color: #b595f1; /* Gris muy oscuro */
    text-align: center;
}

/* ---------------------------------------------------- */
/* Media Queries para Responsive Design (Mobile First) */
/* ---------------------------------------------------- */

@media (max-width: 60rem) { /* 960px - Tableta */
    .student-grid {
        grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); 
    }
}

@media (max-width: 40rem) { /* 640px para móviles */
    .top-nav {
        flex-direction: column;
        align-items: flex-start; /* Alinea los elementos a la izquierda en móvil */
    }
    
    .main-menu-list {
        flex-wrap: wrap; /* El menú superior puede ir en varias líneas */
        gap: 0.75rem 1.25rem;
        margin-top: 1rem;
    }
    
    .student-links {
        gap: 1.25rem;
    }
    
    .project-title {
        font-size: 2.5rem;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-block {
        min-width: 100%;
    }
}

