/* BRANDING */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    scroll-behavior: smooth; 
}

body {
    background-color: #ffffff;
    color: #ffffff;
}

h1, h2, h3, h4, h5, h6, p, span {
    cursor: default; 
    user-select: none; 
}

/* === MENÚ SUPERIOR (Igual que el Home) === */
.top-nav {
    position: absolute; 
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 30px 50px;
    z-index: 1000;
}

.top-nav a {
    text-decoration: none;
    color: #000;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 1px;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.top-nav a:hover {
    background-color: #000;
    color: #fff;
}

/* === CABECERA: BRANDING Y MENÚ === */
.header-section {
    width: 90%;
    margin: 120px auto 40px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.title-container {
    position: relative;
    display: flex;
    align-items: center;
}

.title-container h1{
    cursor: default;
}

.huge-title {
    color:#000;
    font-size: 12vw;
    font-weight: 700;
    line-height: 0.85;
    letter-spacing: -0.05em;
}

/* Estrella animada */
.star {
    width: 60px;
    margin-left: 20px;
    transition: transform 0.6s ease-in-out;
    cursor: default;
}

.star2 {
    width: 40px;
    margin-left: -400px;
    margin-top: 50px;
    transition: transform 0.6s ease-in-out;
    cursor: default;
}

.star:hover {
    transform: rotate(90deg);
}

.star2:hover {
    transform: rotate(90deg);
}

/* === MENÚ LATERAL (ESTADO NORMAL) === */
.side-menu {
    list-style: none;
    transition: all 0.4s ease-in-out;
}

.side-menu li {
    margin-bottom: 20px;
}

.side-menu a {
    text-decoration: none;
    color: #000;
    font-size: 1.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    transition: transform 0.2s ease;
}

.side-menu a:hover {
    transform: translateX(10px); 
}

.dot {
    display: inline-block;
    width: 25px;
    height: 25px;
    background-color: #000;
    border-radius: 50%;
    margin-right: 15px;
}

/* === MENÚ LATERAL (ESTADO SCROLL/FLOTANTE) === */
.side-menu.scrolled {
    position: fixed;
    top: 50px;
    right: 30px;
    transform: scale(0.8); 
    transform-origin: top right;
    z-index: 999;
}

.title-section{
    color: #000;
    font-size: 50px;
    font-family: Helvetica;
    font-weight: 700;

}
/* FAB */

/* === CONTENIDO PRINCIPAL Y MAQUETACIÓN === */
.content-container {
    width: 85%;
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: 100px;
}

.project-section {
    display: flex;
    flex-direction: column;
    gap: 30px; 
    margin-bottom: 300px;
}


.hero-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

#first-image {
    height: 400px;
}




.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.grid-3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1.1; 
}

.logos {
    width: 100%;
    height: 100%;
    display: block;
}

.wide-img {
    width: 100%;
    height: 100%;
    display: block;
}




/*EDGE*/
.edge-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 120px; /* Deja espacio para el menú de arriba */
    padding-bottom: 100px;
    
    /* Usamos Flexbox para apilar los bloques verticalmente */
    display: flex; 
    flex-direction: column;
    gap: 20px; /* Separación uniforme de 20px entre cada sección */
}

/* === IMÁGENES ANCHAS (Arriba y Abajo) === */
.wide-banner {
    width: 100%;
    height: 350px; /* Altura fija para forzar que ambas midan exactamente lo mismo */
    object-fit: cover; /* Recorta la imagen desde el centro si es necesario, pero no la aplasta */
    display: block;
}

/* === CAJAS VERDES === */
.color img{
    width: 100%;
    height: 100%;
}

.green-box {
    width: 100%;
    background-color: #cbf400; /* Verde lima fluor aproximado a tu foto */
}

/* La caja para el futuro texto */
.text-placeholder {
    height: 450px; 
}

/* La caja verde grande vacía */
.large-blank {
    height: 550px; 
}

/* === GRIDS DE 3 IMÁGENES === */
.grid-3-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Divide el espacio en 3 columnas iguales */
    gap: 20px; /* Misma separación que el gap del contenedor principal */
    width: 100%;
}

.grid-3-cols img {
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 4; /* Fuerza a las fotos a ser rectangulares hacia arriba */
    object-fit: cover;
    display: block;
}

/* === RESPONSIVE BÁSICO (MÓVILES) === */
@media (max-width: 768px) {
    .edge-container {
        width: 100%; /* Aprovecha toda la pantalla en móviles */
        padding-left: 15px;
        padding-right: 15px;
        gap: 15px;
    }
    
    /* Reducimos las alturas en pantallas pequeñas */
    .wide-banner {
        height: 200px;
    }
    .text-placeholder {
        height: 300px;
    }
    .large-blank {
        height: 400px;
    }

    /* El grid pasa a ser de 1 sola columna hacia abajo */
    .grid-3-cols {
        grid-template-columns: 1fr; 
        gap: 15px;
    }
}