/* FUENTES */
/* ROBOTO CONDENSED - Fuente principal para títulos */
@font-face { 
    font-family: "Europa"; 
    src: local(Users/totocordoba/Documents/Toto Cordoba/Web Final/from zero to/fonts/ShEuropaMedium-Normal.otf); 
    font-display: swap; 
    font-style: normal; 
    font-weight: 500; 
}

@font-face { 
    font-family: "Europa"; 
    src: local(Users/totocordoba/Documents/Toto Cordoba/Web Final/from zero to/fonts/ShEuropaMedium-Normal.otf); 
    font-display: swap; 
    font-style: normal; 
    font-weight: 700; 
}

@font-face { 
    font-family: "Europa"; 
    src: local(Users/totocordoba/Documents/Toto Cordoba/Web Final/from zero to/fonts/ShEuropaMedium-Normal.otf); 
    font-display: swap; 
    font-style: normal; 
    font-weight: 600; 
}

@font-face { 
    font-family: "Europa"; 
    src: local(Users/totocordoba/Documents/Toto Cordoba/Web Final/from zero to/fonts/ShEuropaMedium-Normal.otf); 
    font-display: swap; 
    font-style: normal; 
    font-weight: 400; 
}

/* Inter Font */
@font-face { 
    font-family: "Inter"; 
    src: url("https://framerusercontent.com/assets/GrgcKwrN6d3Uz8EwcLHZxwEfC4.woff2"); 
    font-display: swap; 
    font-style: normal; 
    font-weight: 400; 
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; 
}

/* Estilos específicos para páginas de proyecto */
body {
    background-color: #000;
    color: #fff;
    font-family: "Inter", sans-serif;
}

.project-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px 200px;
    background-color: #000;
}

.project-hero {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 60px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(51, 51, 51, 0.7) 0%, rgba(17, 17, 17, 0.8) 100%), 
                url('../images/rexona-hero.jpg') center center;
    background-size: cover;
    background-attachment: fixed;
}

.project-hero h1 {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 88px;
    font-weight: 500;
    letter-spacing: -2px;
    line-height: 100%;
    color: #fff;
    text-align: center;
    margin: 0;
}

.project-info-section {
    display: flex;
    gap: 60px;
    margin-bottom: 60px;
}

.project-description {
    flex: 2;
}

.project-details {
    flex: 1;
}

.project-info-section h2 {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.project-info-section p {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #fff;
    line-height: 120%;
    margin-bottom: 20px;
}

.project-deliverable {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 0;
}

.project-deliverable h4 {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    margin: 0;
}

.project-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #fff;
    color: #000;
    padding: 8px 16px;
    border-radius: 3px;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 16px;
    font-weight: 500;
    margin-right: 8px;
    margin-bottom: 8px;
}

.project-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 60px;
}

.project-image-large {
    width: 100%;
    min-height: 300px;
    max-height: 70vh;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    overflow: hidden;
}

.project-images-row {
    display: flex;
    gap: 20px;
}

.project-image-half {
    flex: 1;
    min-height: 200px;
    max-height: 50vh;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    overflow: hidden;
}

.back-navigation {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 100;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 60px;
    padding: 8px 16px;
    color: #fff;
    text-decoration: none;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.back-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Estilos para imágenes y videos dentro de los contenedores */
.project-image-large img,
.project-image-large video,
.project-image-half img,
.project-image-half video {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
}

/* Para forzar que el contenedor se ajuste al contenido */
.project-image-large:has(img),
.project-image-large:has(video) {
    height: auto;
    min-height: 300px;
}

.project-image-half:has(img),
.project-image-half:has(video) {
    height: auto;
    min-height: 200px;
}

@media (max-width: 768px) {
    .project-hero h1 {
        font-size: 56px;
        letter-spacing: -1px;
    }
    
    .project-info-section {
        flex-direction: column;
        gap: 40px;
    }
    
    .project-images-row {
        flex-direction: column;
    }
    
    .project-page-container {
        padding: 60px 16px 120px;
    }
    
    /* Ajustes para móvil */
    .project-image-large {
        max-height: 60vh;
        min-height: 250px;
    }
    
    .project-image-half {
        max-height: 40vh;
        min-height: 180px;
    }
}