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

html {
    scroll-behavior: smooth;
}

body {
    
    font-family: "Inter", -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
    background-color: #0C0C0C;
    color: #ffffff;
    overflow-x: hidden;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 50;
    padding: 2rem 3rem;
    background-color: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.125rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
    padding: 0;
    font-family: inherit;
    text-decoration: none;
}

.lang-btn:hover {
    opacity: 1;
}

.lang-btn.active {
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 8px;
}

.lang-separator {
    color: #ffffff;
    opacity: 0.7;
    font-size: 1.125rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    font-size: 1.125rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 8px;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-hola,
.hero-hi {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
}

.hero-hola {
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.hero-hola.hide {
    opacity: 0;
}

.hero-hi {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s ease-out;
}

.hero-hi.show {
    opacity: 1;
    transform: scale(1);
}

.hero-main-text {
    font-size: clamp(5rem, 15vw, 12rem);
    letter-spacing: 0.05em;
    font-family: "TASA Orbiter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;

}

.hero-details {
    position: absolute;
    bottom: 6rem;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.hero-details.show {
    opacity: 1;
    transform: translateY(0);
}

/* Desktop layout: Victoria Grillo (left) - Scroll down (center) - Portfolio (right) */
.hero-bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
    width: 100%;
    padding: 0 3rem;
    max-width: 100%;
    margin: 0 auto;
    gap: 2rem;
}

.hero-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* En desktop, separar los dos textos */
.hero-name:first-child {
    grid-column: 1;
    justify-self: start;
}

.hero-name:last-child {
    grid-column: 3;
    justify-self: end;
}

.hero-name {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    line-height: 1.4;
}

.scroll-indicator {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: bounce 2s infinite;
    justify-self: center;
    align-self: end;
}

.scroll-text {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    opacity: 0.7;
}

.scroll-arrow {
    opacity: 0.7;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* About Section */
.about-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
}

.about-content {
    max-width: 1000px;
    font-family: "TASA Orbiter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}
.about-text {
    font-size: clamp(2rem, 4vw, 4.5rem);
    font-weight: 300;
    line-height: 1.3;
}

/* Experience Section */
.experience-section {
    min-height: 100vh;
    padding: 6rem 1.5rem;
}

.experience-container {
    max-width: 1000px;
    margin: 0 auto;
}

.experience-item {
    border-bottom: 1px solid #404040;
    padding: 1.5rem 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.experience-item:hover {
    background-color: #262626;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.experience-title-wrapper {
    flex: 1;
}

.experience-title {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 200;
}

.title-bold {
    font-weight: 200;
}

.title-light {
    opacity: 0.7;
    font-weight: 100;
}

.experience-period {
    font-size: 0.7rem;
    letter-spacing: 0.03rem;
    opacity: 1;
    white-space: nowrap;
    margin-top: 5px;
}

.experience-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    margin-top: 0;
}

.experience-item.active .experience-details {
    max-height: 500px;
    margin-top: 1.5rem;
}

.experience-clients {
    font-size: 0.875rem;
    line-height: 1.6;
    opacity: 0.9;
}

.clients-label {
    font-size: 0.875rem;
    font-weight: 200;
    margin-bottom: 0.5rem;
    opacity: 0.6;

}

.experience-description {
    font-size: 1rem;
    opacity: 0.8;
    line-height: 1.6;
    margin-top: 10px;
}

/* Work Section */
.work-section {
    min-height: 100vh;
    padding: 6rem 3rem;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.project-card {
    background-color: #e5e5e5;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 0.5rem;
}

.project-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.project-card.active {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.project-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.project-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.9) 0%, rgba(26, 26, 26, 0.6) 40%, transparent 100%);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-placeholder {
    font-size: 2.5rem;
    color: #d1d1d1;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05rem;
    color: #ffffff;
    position: relative;
    z-index: 2;
    padding: 0 1.5rem;
    font-family: "TASA Orbiter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

.project-category {
    font-size: 1rem;
    color: #ffffff;
    opacity: 0.8;
    position: relative;
    z-index: 2;
    padding: 0 1.5rem 1.5rem;
}

/* Project Detail Section */
.project-detail-section {
    min-height: 100vh;
    padding: 6rem 1.5rem;
    background-color: #0c0c0c;
    transition: opacity 0.5s ease-in-out;
}

.project-detail-container {
    max-width: 900px;
    margin: 0 auto;
}

.btn-close-project {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.5rem 0;
    margin-bottom: 3rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
    transition: opacity 0.3s;
    font-family: inherit;
}

.btn-close-project:hover {
    opacity: 1;
}

.close-arrow {
    font-size: 1.25rem;
    transition: transform 0.3s;
}

.btn-close-project:hover .close-arrow {
    transform: translateX(-4px);
}

/* Header - Título y subtítulo */
.project-detail-header {
    margin-bottom: 3rem;
}

.project-detail-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 400;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.project-detail-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 300;
    opacity: 0.8;
}

/* Imagen hero principal */
.project-hero-image {
    width: 100%;
    margin-bottom: 3rem;
    overflow: hidden;
}

.project-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Metadata grid (4 columnas en desktop) */
.project-metadata {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #333;
}

.metadata-item {
    display: flex;
    flex-direction: column;
}

.metadata-label {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    opacity: 0.6;
}

.metadata-value {
    font-size: 0.875rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Secciones de contenido (2 columnas en desktop) */
.project-section {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.6;
    text-transform: uppercase;
}

.section-content {
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.9;
}

.section-content p {
    margin-bottom: 1.5rem;
}

.section-content p:last-child {
    margin-bottom: 0;
}

/* Lista con bullets */
.bullet-list {
    list-style: none;
    padding: 0;
}

.bullet-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.bullet-list li:last-child {
    margin-bottom: 0;
}

.bullet-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    opacity: 0.6;
}

/* Grid de 2 imágenes */
.project-images-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.grid-image {
    overflow: hidden;
}

.grid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Imagen final grande */
.project-final-image {
    width: 100%;
    margin-bottom: 4rem;
    overflow: hidden;
}

.project-final-image img {
    width: 100%;
    height: auto;
    display: block;
}



/* Contact Section */
.contact-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
}

.contact-content {
    max-width: 1000px;
}

.contact-title {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.5;
    margin-bottom: 4rem;
    font-family: "TASA Orbiter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}


.contact-email {
    display: inline-block;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: #ffffff;
    text-decoration: none;
    margin-bottom: 4rem;
    transition: opacity 0.3s;
     font-family: "TASA Orbiter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.contact-email:hover {
    opacity: 0.7;
}

.contact-social {
    display: flex;
    gap: 3rem;
    font-size: 1.25rem;
}

.social-link {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.social-link:hover {
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        padding: 1.5rem 2rem;
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .language-selector {
        order: 2;
        margin-top: 0.5rem;
    }

    .nav-links {
        gap: 1.5rem;
        font-size: 1rem;
        order: 1;
    }

    /* Hero section mobile - texto más pequeño y más arriba */
    .hero-hola,
    .hero-hi {
        align-items: flex-start;
        padding-top: 10rem;
    }

    .hero-main-text {
        font-size: clamp(5rem, 10vw, 5rem);
        font-family: "TASA Orbiter", sans-serif;
        font-weight: 600;
        letter-spacing: 0.05em;
}

    /* En móvil: layout centrado en columna */
    .hero-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 0 2rem;
        gap: 0.5rem;
    }

    .hero-info {
        order: 1;
        align-items: center;
    }

    .hero-name {
        width: 100%;
    }

    .hero-name:last-child {
        margin-bottom: 3rem;
    }

    .scroll-indicator {
        order: 2;
        align-self: center;
    }

    .experience-section,
    .work-section,
    .project-detail-section {
        padding: 4rem 1.5rem;
    }

    .work-grid {
        grid-template-columns: 1fr;
    }

    .contact-social {
        gap: 2rem;
        font-size: 1.125rem;
    }
}
    /* Metadata grid (4 columnas) */
.project-metadata {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #333;
}

.metadata-item {
    display: flex;
    flex-direction: column;
}

.metadata-label {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    opacity: 0.6;
}

.metadata-value {
    font-size: 0.875rem;
    line-height: 1.6;
    opacity: 0.9;
}
/* Secciones de contenido */
.project-section {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.6;
}

.section-content {
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.9;
}

.section-content p {
    margin-bottom: 1.5rem;
}

.section-content p:last-child {
    margin-bottom: 0;
}

/* Lista con bullets */
.bullet-list {
    list-style: none;
    padding: 0;
}

.bullet-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.bullet-list li:last-child {
    margin-bottom: 0;
}

.bullet-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    opacity: 0.6;
}

/* Grid de 2 imágenes */
.project-images-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.grid-image {
    overflow: hidden;
}

.grid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Imagen final grande */
.project-final-image {
    width: 100%;
    margin-bottom: 4rem;
    overflow: hidden;
}

.project-final-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Botón volver */
.project-actions {
    margin-top: 4rem;
    text-align: center;
}

.btn-back-projects {
    background-color: #ffffff;
    color: #1a1a1a;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: all 0.3s;
    font-family: inherit;
    display: inline-block;
    margin: 0;
    box-sizing: border-box;
    text-align: center;
    line-height: normal;
}

.btn-back-projects:hover {
    background-color: #e5e5e5;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .project-detail-container {
        max-width: 100%;
    }

    /* Metadata en 2 columnas en móvil */
    .project-metadata {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Sección en una sola columna */
    .project-section {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Grid de imágenes en 1 columna */
    .project-images-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}