/* 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-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 */
.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: 200px;
    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: 850px;
    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;
}

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

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

/* Sección Proyecto */
.proyecto-info-section {
    background-color: #f5f5f5;
    padding: 80px 60px;
    text-align: center;
}

.info-texto {
    max-width: 800px;
    margin: 0 auto;
}

.info-texto h3 {
    font-size: 40px;
    font-weight: 300;
    font-style: italic;
    margin-bottom: 20px;
}

.info-texto p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

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

.tarjeta-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tarjeta-item img {
    width: 100%;
    max-width: 350px;
    height: auto;
}

.tarjeta-item:hover img {
    transform: translateY(-10px);
}

/* Buses 3D */
.buses-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 100px;
    background-color: #efecea;
    padding: 80px 150px;
    align-items: center;
}

.bus-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bus-item img {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin-bottom: 200px;
}

/* Interior bus */
.interior-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding: 80px 60px;
    background-color: #f4a460;
}

.interior-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.interior-item img {
    width: 100%;
    max-width: 700px;
    height: auto;
}

.interior2 img {
    width: 100%;
    max-width: 850px;
    height: auto;
}

/* Manual de marca */
.manual-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding: 80px 60px;
    background-color: #efecea;
}

.manual-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.manual-item img {
    width: 100%;
    max-width: 600px;
    height: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Banners largos */
.banners-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 80px 60px;
}


.banner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.banner-caption {
    text-align: center;
    font-size: 14px;
    font-style: italic;
    color: #666;
    margin-top: 10px;
    margin-left: 150px;
}

.banner-item img {
    width: 100%;
    height: auto;
    margin-left: 380px;
}

/* Sección fotos adicionales */
.fotos-adicionales {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding: 80px 60px;
    background-color: #f4a460;
}

.foto-adicional-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.foto-adicional-item img {
    width: 100%;
    max-width: 800px;
    height: auto;
    
}

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

.mockup-movil img {
    max-width: 2000px;
    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) {
    .tarjetas-grid {
        grid-template-columns: 1fr;
    }
    
    .buses-section,
    .interior-section,
    .manual-section,
    .fotos-adicionales {
        grid-template-columns: 1fr;
    }
    
    .banners-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@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;
    }
    
    .proyecto-logo {
        max-width: 150px;
    }
    
    .tarjetas-grid,
    .buses-section,
    .interior-section,
    .manual-section,
    .banners-section,
    .fotos-adicionales {
        padding: 40px 20px;
        gap: 20px;
    }
    
    .banners-section {
        grid-template-columns: 1fr;
    }
    
    .mockup-movil {
        padding: 60px 20px;
    }
    
    .mockup-movil img {
        max-width: 300px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
}