/* 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');

/* 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);
    opacity: 0;
    pointer-events: none;
}

.btn-volver.visible {
    opacity: 1;
    pointer-events: auto;
}

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

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

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

.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: 95%;
    max-width: 1300px;
    color: white;
    padding: 20px;
    text-align: center;
}

.proyecto-numero {
    font-family: "Source Serif 4", serif;
    font-size: 50px;
    font-weight: 300;
    font-style: italic;
    position: absolute;
    top: -200px;
    left: 50px;
    line-height: 1;
}

.proyecto-tipo {
    font-size: 22px;
    font-style: italic;
    font-weight: 200;
    position: absolute;
    top: -200px;
    right: 50px;
}

.proyecto-descripcion {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    margin-top: 50px;
    text-align: center;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.proyecto-meta {
    font-size: 13px;
    font-style: italic;
    font-weight: 200;
    margin-bottom: 20px;
    margin-top: 10px;
    text-align: center;
    border: 1px solid white;
    padding: 8px 20px;
    border-radius: 10px;
    display: inline-block;
}

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

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

/* Título estilo uniforme */
.section-title {
    background-color: #efecea;
    border: 1px solid #333;
    border-radius: 50px;
    padding: 20px 60px;
    text-align: center;
    max-width: 400px;
    margin: 100px auto 80px auto;
}

.section-title h2 {
    font-family: "Source Serif 4", serif;
    font-size: 26px;
    font-weight: 300;
    font-style: italic;
    color: #333;
    margin: 0;
}

/* Sección imagen inicial */
.imagen-inicial-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 60px;
}

.imagen-inicial-section img {
    max-width: 1200px;
    width: 100%;
    height: auto;
}

/* Sección poses */
.poses-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 60px;
}

.poses-section img {
    max-width: 800px;
    width: 100%;
    height: auto;
}

/* Sección niños */
.ninos-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 60px;
}

.ninos-section img {
    max-width: 1000px;
    width: 100%;
    height: auto;
}

/* Sección video horizontal */
.video-section-horizontal {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #b21d1d;
    padding: 80px 60px;
}

.video-section-horizontal video {
    max-width: 600px;
    width: 100%;
    height: auto;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

/* Sección armadura */
.armadura-section {
    background-color: #efecea;
    padding: 0px 60px 80px 60px;
}

.armadura-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
}

.armadura-header img {
    max-width: 1000px;
    width: 100%;
    height: auto;
}

.armadura-imagenes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.armadura-imagenes img {
    width: 100%;
    height: auto;
}

/* 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) {
    .armadura-imagenes {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .btn-volver {
        top: 20px;
        left: 20px;
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .proyecto-numero {
        font-size: 40px;
        margin-left: 0;
        text-align: center;
    }
    
    .proyecto-tipo {
        font-size: 16px;
        margin-right: 0;
        text-align: center;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
}
