/* --- 1. FUENTES Y GENERAL --- */
@font-face {
    font-family: 'MonumentGrotesk-Regular';
    /* Asegúrate de subir tu fuente a esta ruta o cambia el nombre aquí */
    src: url('/assets/fonts/MonumentGrotesk-Regular.woff2') format('woff2'); 
    font-weight: normal;
    font-style: normal;
}

:root {
    --sidebar-width: 280px;
    --font-main: 'MonumentGrotesk-Regular', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --active-color: #ff0000; /* El rojo de la imagen */
}

* {
    box-sizing: border-box;
    cursor: crosshair; /* CURSOR CRUZ PARA TODO EL SITIO */
}

/* Cambiar a mano cuando pasas sobre un enlace */
a:hover {
    cursor: pointer; 
}

body {
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
    background-color: #fff; /* Fondo blanco como en la foto */
    color: #000;
    font-size: 13px; /* Tamaño pequeño estilo 'technical' */
    line-height: 1.4;
    overflow-x: hidden;
}

a { text-decoration: none; color: black; }
ul { list-style: none; padding: 0; margin: 0; }

/* --- 2. HEADER FIJO DERECHA --- */
.fixed-header-right {
    position: fixed;
    top: 2rem;
    right: 2rem;
    text-align: right;
    z-index: 100;
    font-weight: 500;
    pointer-events: none; /* Para que puedas hacer click a lo que haya debajo si hiciera falta */
}

/* --- 3. SIDEBAR IZQUIERDA --- */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    padding: 2rem;
    overflow-y: auto;
    border-right: 1px solid transparent; /* Por si quisieras línea divisoria */
}

.site-title {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 3rem;
    letter-spacing: -0.5px;
}

.menu-group {
    margin-bottom: 2.5rem;
    border-top: 1px solid #000; /* La línea negra encima de cada categoría */
    padding-top: 0.5rem;
}

.menu-group h3 {
    font-size: 13px;
    font-weight: bold;
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
}

.menu-group ul li {
    margin-bottom: 0.2rem;
}

.menu-group a {
    color: #000;
    transition: color 0.2s;
}

/* El estado activo en ROJO */
.menu-group a.active, .menu-group a:hover {
    color: var(--active-color);
}

.about-preview p {
    margin-bottom: 0.5rem;
    color: #555;
}

.read-more {
    font-weight: bold;
    font-size: 11px;
}

/* --- 4. CONTENIDO PRINCIPAL --- */
.main-content {
    margin-left: var(--sidebar-width); /* Deja espacio al menú */
    padding: 2rem 2rem 2rem 4rem; /* Padding extra a la izquierda */
    min-height: 100vh;
    position: relative;
}

/* Grid de la HOME (Imágenes grandes al 70-100%) */
.grid-proyectos {
    display: flex;
    flex-direction: column; /* Una debajo de otra como en la foto */
    gap: 8rem; /* Mucho espacio entre proyectos */
    max-width: 90%; /* Que no toque el borde derecho absoluto */
}

.item {
    display: block;
    width: 100%;
}

.item .thumbnail img {
    width: 100%; /* Ocupa todo el ancho disponible */
    height: auto;
    display: block;
}

.item .info {
    margin-top: 1rem;
}

.item .info h2 {
    font-size: 14px;
    font-weight: normal;
    margin: 0;
}

.item .info span {
    color: #666;
}

/* ESTILOS DE LA PÁGINA DE PROYECTO INDIVIDUAL */
.proyecto-detalle img {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
}

/* Coordenadas del cursor */
#cursor-coords {
    position: fixed;
    pointer-events: none;
    font-size: 10px;
    z-index: 9999;
    background: white;
    padding: 2px;
    display: none; /* Se activa con JS */
}