/* =========================================================
   PORTAL DE AGRIMENSURA - FIUBA
   ========================================================= */

:root {
    --azul-fiuba: #006699;
    --azul-oscuro: #0a2240;
    --blanco: #ffffff;
    --alto-encabezado: 64px;
    --alto-pie: 32px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Roboto', sans-serif;
    background-color: var(--azul-oscuro);
    color: var(--blanco);
}

.pagina {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
}

/* --- ENCABEZADO --- */
.encabezado {
    width: 100%;
    height: var(--alto-encabezado);
    flex-shrink: 0;
    background-color: var(--azul-fiuba);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 36px;
    z-index: 10;
}

.logo {
    height: 38px;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 100%;
    width: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.2s ease;
}

.logo:hover img {
    transform: scale(1.03);
}

.header-derecha {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    padding: 4px 0;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--blanco);
    transition: width 0.25s ease;
}

.nav-link:hover {
    color: var(--blanco);
}

.nav-link:hover::after {
    width: 100%;
}

.divisor {
    width: 1px;
    height: 18px;
    background-color: rgba(255, 255, 255, 0.25);
}

.instagram {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanco);
    transform: translateY(-2px);
    transition: all 0.2s ease;
}

.instagram svg {
    width: 17px;
    height: 17px;
}

.instagram:hover {
    background-color: #e1306c;
    transform: translateY(-4px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

/* --- SECCIÓN PRINCIPAL / FONDO LOCAL --- */
.principal {
    position: relative;
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--azul-oscuro);
    overflow: hidden;
}

.fondo {
    position: absolute;
    inset: 0;
    background-image: url("las_heras.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Tinte sutil para homogeneizar la fotografía */
.capa {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 34, 64, 0.40), rgba(0, 102, 153, 0.25));
    z-index: 2;
}

/* --- TÍTULO PRINCIPAL EN BLANCO CON HALO AZUL OSCURO --- */
.titulo-solo {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 10px 20px;
}

.titulo-solo h1 {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(28px, 4.5vw, 54px);
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
    line-height: 1.1;
    /* Halo de sombra azul marino profundo para lograr legibilidad y contraste limpio */
    text-shadow: 
        0 2px 10px rgba(10, 34, 64, 0.95),
        0 4px 20px rgba(10, 34, 64, 0.85),
        0 0 35px rgba(0, 0, 0, 0.9);
}

/* --- PIE DE PÁGINA --- */
.pie {
    width: 100%;
    height: var(--alto-pie);
    flex-shrink: 0;
    background-color: var(--azul-fiuba);
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    letter-spacing: 0.5px;
    z-index: 10;
}