/* Importar fuente */
@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Baloo+Bhai+2:wght@400..800&display=swap');


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

body {
    font-family: "Source Serif 4", serif;
    background-color: #efecea;
    color: #333;
    overflow-x: hidden;
}

/* Navegación */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #efecea;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

nav.hidden {
    transform: translateY(-100%);
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #d4a5a5;
}

.nav-links .active {
    text-decoration: underline;
}

.nav-center {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
      margin-right: 350px;


}

.btn-contacto {
    background-color: #f5c9c9;
    padding: 10px 30px;
    border-radius: 25px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s;
}

.btn-contacto:hover {
    background-color: #f0b0b0;
}

/* Botón de volver */
.btn-volver {
    position: fixed;
    top: 30px;
    left: 30px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    z-index: 1001;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.btn-volver:hover {
    background-color: #f5c9c9;
    transform: translateX(-5px);
}

/* Header con imagen de fondo */
.proyecto-header {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-top: 70px;
}

.header-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.1));
}

.header-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
    color: white;
    padding: 20px;
}

.proyecto-numero {
    font-family: "Source Serif 4", serif;
    font-size: 50px;
    font-weight: 300;
    font-style: italic;
    display: block;
    text-align: left;
    margin-bottom: 0;
    margin-left: -400px;
    margin-top: -210px;
    line-height: 1;
    }

.proyecto-tipo {
    font-size: 22px;
    font-style: italic ;
    font-weight: 200;
    display: block;
    text-align: right;
    margin-bottom: 40px;
    margin-right: -380px;
    margin-top: -20px;
}

.proyecto-logo {
    max-width: 280px;
    height: auto;
    margin: 30px auto 30px auto;
    display: block;
    margin-top: 100px;
}

.proyecto-descripcion {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 12px;
    text-align: center;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.proyecto-meta {
    font-size: 13px;
    font-style: italic ;
    font-weight: 200;
    margin-bottom: 30px;
    text-align: center;
    border: 1px solid white;
    padding: 8px 20px;
    border-radius: 10px;
    display: inline-block;
    margin-left: 50%;
    transform: translateX(-50%);
}

.proyecto-herramientas {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.proyecto-herramientas img {
    width: 40px;
    height: 40px;
}

/* Sección info con colores */
.proyecto-info-section {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 0;
    min-height: 500px;
    margin-bottom: 40px;
}
.proyecto-info-section img {
    margin-top: 50px;
    margin-left: 20px;


}


.info-texto {
    background-color: #eeebe9;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
     max-width: 700px;
}

.info-texto h3 {
    font-family: "Source Serif 4", serif;
    font-size: 40px;
    font-weight: 300;
    font-style: italic;
    font-weight: 500
    margin-bottom: 20px;
    align-items: center;
    text-align: center;
}

.info-texto p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    align-items: center;
     text-align: center;
}

.info-botones {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.info-botones button {
    padding: 10px 25px;
    border: 0.5px solid #333;
    background-color: #eeebe9;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    font-family: "Source Serif 4", serif;
    font-weight: 200
}

.info-botones button:hover {
    background-color: #333;
    color: white;
}

.info-ilustracion {
    background-color: #eeebe9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.info-ilustracion img {
    max-width: 1800px;
    width: 120%;
    height: auto;
    margin-top: 10px;
    margin-right:20px;

}

/* Grid de logos */
.logos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    width: 100%;
    margin-bottom: 40px;
}

.logo-item {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.logo-item img {
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Barra de tipografía */
.tipografia-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background-color: #b9d174;
    padding: 40px 0;
    font-family: "Baloo Bhai 2", sans-serif;
}

.tipo-item {
    text-align: center;
    color: white;
}

.tipo-sample {
    display: block;
    font-size: 72px;
    margin-bottom: -20px;
}

/* Diferentes pesos para cada variación */
.tipo-item:nth-child(1) .tipo-sample {
    font-weight: 400;
}

.tipo-item:nth-child(2) .tipo-sample {
    font-weight: 500;
}

.tipo-item:nth-child(3) .tipo-sample {
    font-weight: 600;
}

.tipo-item:nth-child(4) .tipo-sample {
    font-weight: 700;
}

.tipo-item:nth-child(1) .tipo-nombre {
    font-weight: 400;
}

.tipo-item:nth-child(2) .tipo-nombre {
    font-weight: 500;
}

.tipo-item:nth-child(3) .tipo-nombre {
    font-weight: 600;
}

.tipo-item:nth-child(4) .tipo-nombre {
    font-weight: 700;
}

.tipo-nombre {
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
}

/* Mockup móvil */
.mockup-movil {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0px;
    min-height: 800px;
}

.mockup-movil img {
    max-width: 3800px; /* Más grande */
    width: 100%;
    height: auto;
    
   
}

@media (max-width: 768px) {
    .mockup-movil img {
        max-width: 350px;
    }
}

/* Galería de aplicaciones */

.galeria-aplicaciones {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* La izquierda más grande */
    gap: 0;
    background-color: #efecea;
    height: 800px; /* Aumentar altura */
    width: 100%;
}

.app-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px; /* Añadir un poco de padding */
    margin-right: 0;
    overflow: visible; /* Permitir que se vea completa */
    height: 800px;
}
.app-item.app-mediana:nth-child(2) {
    justify-content: flex-end; /* Stickers a la derecha */
}

/* Imagen grande (foto9) - izquierda */
.app-item.app-grande:nth-child(1) {
    justify-content: flex-start;
}

.app-item.app-grande img {
    max-width: 100%;
    max-height: 750px; /* Ajustar para que quepa */
    width: auto;
    height: auto;
    object-fit: contain;
    margin-left: -20px;
}

/* Imagen mediana (foto11) - derecha */
.app-item.app-mediana {
    justify-content: flex-start;
}

.app-item.app-mediana img {
    max-width: 100%; /* Usar todo el ancho disponible */
    max-height: 680px; /* Misma altura que la grande */
    width: auto;
    height: auto;
    object-fit: contain; /* No recortar, mostrar completa */
    margin-right:-20px;
}

/* Responsive */
@media (max-width: 768px) {
    .galeria-aplicaciones {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .app-item {
        padding: 40px 20px;
        height: auto;
        min-height: 400px;
    }
    
    .app-item.app-grande img,
    .app-item.app-mediana img {
        max-height: 400px;
        max-width: 100%;
    }
}

/* Productos físicos */
.productos-fisicos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    background-color: #efecea;
    align-items: center; /* Alinear verticalmente al centro */
}

.producto-item {
    display: flex;
    align-items: center; /* Centrar verticalmente */
    padding: 10px 0px; /* Padding uniforme */
    min-height: 500px;
    background-color: transparent;
}

.producto-item:nth-child(1) {
    justify-content: flex-start; /* Botella a la izquierda */
}

.producto-item:nth-child(2) {
    justify-content: flex-end; /* Stickers a la derecha */
}

.producto-item img {
    margin-top: 100px;
    margin-bottom: 50px;
    max-width: 3500px;
    max-height: 600px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Responsive */
@media (max-width: 768px) {
    .productos-fisicos {
        grid-template-columns: 1fr;
    }
    
    .producto-item {
        padding: 60px 20px;
        justify-content: center !important;
    }
    
    .producto-item img {
        max-width: 800px;
        max-height: 800px;
    }
}

/* Footer */
.proyecto-footer {
    background-color: #e2e2e2;
    color: #979797;
    text-align: center;
    padding: 10px 20px;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}



/* Responsive */
@media (max-width: 1024px) {
    .proyecto-info-section {
        grid-template-columns: 1fr;
    }
    
    .logos-grid {
        grid-template-columns: 1fr;
    }
    
    .tipografia-section {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .galeria-aplicaciones {
        grid-template-columns: 1fr;
    }
    
    .productos-fisicos {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .btn-volver {
        top: 20px;
        left: 20px;
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .proyecto-numero {
        font-size: 40px;
    }
    
    .proyecto-tipo {
        font-size: 16px;
    }
    
    .proyecto-logo {
        max-width: 200px;
    }
    
    .info-texto {
        padding: 40px 20px;
    }
    
    .info-texto h3 {
        font-size: 28px;
    }
    
    .tipo-sample {
        font-size: 48px;
    }
}