/* Importar fuentes */
@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=Grand+Hotel&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: #e91e63;
}

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

.nav-center {
    font-size: 18px;
    font-weight: bold;
    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;
    text-align: center;
}

.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;
}

/* Logo circular con fondo magenta */
.logo-circle-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.logo-circle img {
    width: 40%;
    height: 80%;
    object-fit: contain;
}

.proyecto-descripcion {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    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;
}

/* Iconos de redes sociales */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.social-icons a {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #333;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.social-icons a:hover {
    background-color: #e91e63;
}

.social-icons img {
    width: 43px;
    height: 43px;
}


/* Logo vertical en fondo turquesa */
.logo-vertical-section {
    width: 100%;
}

.logo-vertical {
    max-width: 1750px;
    width: 100%;
    height: auto;
    display: block;
}

/* Colors & Typography */
.colors-typo-section {
    background-color: #eeebe9;
    padding: 60px 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

.color-circles {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

.color-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.typography-samples {
    display: flex;
    gap: 60px;
    justify-content: center;
    align-items: center;
}

.typo-item h3 {
    font-size: 60px;
    margin-bottom: 10px;
    font-weight: 400;
}

.typo-item h3.grand-hotel {
    font-family: 'Grand Hotel', cursive;
}

.typo-item h3.proxima-nova {
    font-family: 'Arial', sans-serif;
}

.typo-item p {
    font-size: 14px;
    color: #666;
    font-family: "Source Serif 4", serif;
}

/* Pattern Section */
.pattern-section {
    background-color: white;
    padding: 0;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pattern-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Product Gallery */
.product-gallery {
    background-color: #eeebe9;
    padding: 100px 20px 80px 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    background-color: white;
    overflow: hidden;
    border-radius: 10px;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

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

.gallery-caption {
    text-align: center;
    padding: 15px;
    font-size: 14px;
    font-style: italic;
    color: #666;
    background-color: white;
}

/* Brand Name Section */
.brand-name-section {
    background-color: #e91e63;
    padding: 60px 20px;
    text-align: center;
}

.brand-name-section h2 {
    color: white;
    font-size: 100px;
    font-weight: 400;
    font-family: 'Grand Hotel', cursive;
    margin: 0;
}

/* Social Media Section */
.social-media-section {
    background-color: #eeebe9;
    padding: 100px 20px;
    text-align: center;
}

.social-mockup {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.social-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.social-card {
    width: 220px;
    height: 220px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.social-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-mockup {
    width: 1000px;
    margin-top: 5px;
}

.phone-mockup img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
}

/* Billboard Section */
.billboard-section {
    background-color: #eeebe9;
    padding: 80px 20px 100px 20px;
}

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

.billboard-item {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    min-height: 400px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

/* Footer */
.proyecto-footer {
    background-color: #e2e2e2;
    color: #979797;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .billboard-grid {
        grid-template-columns: 1fr;
    }
    
    .social-mockup {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 15px 20px;
    }
    
    .nav-links {
        gap: 20px;
        font-size: 14px;
    }
    
    .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;
    }

    .logo-circle {
        width: 120px;
        height: 120px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .color-circles {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .color-circle {
        width: 60px;
        height: 60px;
    }
    
    .typography-samples {
        flex-direction: column;
        gap: 30px;
    }
    
    .typo-item h3 {
        font-size: 48px;
    }
    
    .brand-name-section h2 {
        font-size: 48px;
    }
    
    .social-cards {
        grid-template-columns: 1fr;
    }
    
    .social-card {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .phone-mockup {
        width: 220px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
}
