/* Ocultar barra de desplazamiento pero mantener scroll */
html {
    overflow-y: scroll;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE y Edge */
}

/* WebKit (Chrome, Safari) */
html::-webkit-scrollbar {
    display: none;
}

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

:root {
    --text-color: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --social-hover: rgba(255, 255, 255, 0.15);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Estilos para el selector de idioma */
.language-switcher {
    position: fixed;
    top: 1.5rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.language-option {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.language-option:hover {
    color: rgba(255, 255, 255, 0.9);
}

.language-option.active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.language-separator {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
}

body {
    font-family: 'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100%;
    background: #000000;
    line-height: 1.5;
    color: var(--text-color);
    padding: 0;
    margin: 0;
    -ms-overflow-style: none; /* IE y Edge */
    scrollbar-width: none; /* Firefox */
}

/* Ocultar barra de desplazamiento en navegadores WebKit */
body::-webkit-scrollbar {
    display: none;
}

.blob-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    filter: blur(50px);
    will-change: transform;
    opacity: 1;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

.content {
    text-align: center;
    width: 100%;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(1rem); }
    to { opacity: 1; transform: translateY(0); }
}

.name {
    font-size: 2.75rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    color: var(--text-color);
    line-height: 1.2;
}

.subtitle {
    font-size: 1.125rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: 4rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3rem;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 280px;
    margin: 0 auto;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--text-color);
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
    font-size: 0.9375rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.social-link i {
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--social-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.social-link:active {
    transform: translateY(0);
}

/* Estilos para el modal del CV */
.cv-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cv-modal.active {
    opacity: 1;
    visibility: visible;
}

.cv-modal-content {
    background: #111;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.cv-modal h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-color);
}

.cv-modal p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.cv-options {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.cv-option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.5rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.cv-option:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.cv-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
    padding: 0.25rem;
}

.cv-close:hover {
color: var(--text-color);
transform: rotate(90deg);
}

@media (max-width: 768px) {
.cv-modal-content {
padding: 1.75rem;
    }
    
    .name {
        font-size: 2.25rem;
        margin-bottom: 1rem;
    }
    
    .subtitle {
        font-size: 1rem;
        margin-bottom: 3.5rem;
    }
    
    .social-links {
        gap: 1rem;
        max-width: 260px;
    }
    
    .social-link {
        padding: 0.875rem 1.75rem;
        font-size: 0.875rem;
    }
}

    @media (max-width: 480px) {
        .cv-modal-content {
            padding: 1.5rem;
            width: 95%;
        }
        
        .cv-modal h3 {
            font-size: 1.3rem;
            margin-bottom: 0.8rem;
        }
        
        .cv-modal p {
            margin-bottom: 1.25rem;
            font-size: 0.9rem;
        }
        
        .cv-option {
            padding: 0.75rem 1.1rem;
            font-size: 0.82rem;
        }
        
        .cv-close {
            top: 0.75rem;
            right: 1rem;
            font-size: 1.6rem;
        }
    body {
        padding: 1rem;
    }
    
    .container {
        padding: 1rem;
    }
    
    .name {
        font-size: 1.75rem;
        letter-spacing: 0.1em;
        margin-bottom: 0.75rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
        margin-bottom: 3rem;
    }
    
    .social-links {
        gap: 0.875rem;
    }
    
    .social-link {
        padding: 0.75rem 1.5rem;
        font-size: 0.8125rem;
    }
}

/* Estilos para la sección de experiencia */
.experience {
    position: relative;
    z-index: 1;
    padding: 4rem 2rem 8rem;
    max-width: 800px;
    margin: 0 auto;
    display: block;
    box-sizing: border-box;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 2.5rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-color);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.experience-grid {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.experience-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
    max-width: 100%;
    word-wrap: break-word;
}

.experience-item:last-child {
    margin-bottom: 0;
}

.job-title {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    line-height: 1.3;
    word-break: break-word;
}

.company {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: block;
    font-weight: 400;
}

.period {
    display: inline-block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.job-description {
    list-style: none;
    padding-left: 1.5rem;
    margin-top: 1.5rem;
}

.job-description li {
    position: relative;
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    padding-left: 1.5rem;
}

.job-description li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--text-secondary);
    font-size: 1.2rem;
    line-height: 1;
    top: 0.1em;
}

/* Indicador de desplazamiento */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    z-index: 2;
    animation: fadeInUp 1s ease-out 1s both;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    cursor: default;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-arrow {
    width: 22px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    position: relative;
    margin-bottom: 0.75rem;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, 0);
    }
    40% {
        transform: translate(-50%, 8px);
    }
    60% {
        transform: translate(-50%, 4px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, 10px);
    }
    to {
        opacity: 0.8;
        transform: translate(-50%, 0);
    }
}

.experience-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

}

.job-description {
    list-style: none;
    padding-left: 1.5rem;
    margin-top: 1.5rem;
}

.job-description li {
    position: relative;
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    padding-left: 1.5rem;
}

.job-description li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--text-secondary);
    font-size: 1.2rem;
    line-height: 1;
    top: 0.1em;
}

/* Efecto hover sutil */
.experience-item:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .experience-item {
        padding: 1.75rem 1.5rem;
    }
    
    .job-title {
        font-size: 1.3rem;
    }
    
    .company {
        font-size: 1.05rem;
    }
    
    .job-description li {
        font-size: 0.95rem;
        line-height: 1.6;
        padding-left: 1.5rem;
    }
    
    .job-description li::before {
        left: 0.25rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .experience {
        padding: 0 0 4rem;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .experience-grid {
        padding: 0 1.5rem;
    }
    
    .experience-item {
        padding: 1.5rem;
    }
    
    .job-title {
        font-size: 1.1rem;
    }
    
    .company {
        font-size: 0.95rem;
    }
    
    .period {
        font-size: 0.8rem;
    }
    
    .job-description li {
        font-size: 0.9rem;
        padding-left: 1.25rem;
    }
}

@media (max-width: 480px) {
    .experience {
        padding: 0 0 3rem;
    }
    
    .section-title {
        font-size: 1.3rem;
        margin-bottom: 1.75rem;
    }
    
    .experience-grid {
        padding: 0 1rem;
    }
    
    .experience-item {
        padding: 1.25rem;
    }
    
    .job-title {
        font-size: 1.05rem;
    }
    
    .company {
        font-size: 0.9rem;
    }
    
    .period {
        font-size: 0.78rem;
    }
    
    .job-description li {
        font-size: 0.85rem;
        line-height: 1.6;
    }
}

/* Indicador de desplazamiento - Versión Flecha */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    z-index: 10;
    animation: fadeInUp 1s ease-out 1s both;
    opacity: 0.8;
    transition: all 0.3s ease;
    cursor: default;
    pointer-events: none;
}

.scroll-indicator span {
    margin-top: 0.75rem;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.arrow-down {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: relative;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.arrow-down svg {
    width: 24px;
    height: 24px;
    color: rgba(255, 255, 255, 0.9);
    animation: bounce 2s infinite;
    position: relative;
}

/* Efecto de rebote más sutil */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-2px);
    }
}

/* Efecto hover sutil */
.scroll-indicator:hover {
    opacity: 1;
}

.scroll-indicator:hover span {
    opacity: 1;
}

.scroll-indicator:hover .arrow-down {
    transform: scale(1.05);
}

.scroll-indicator:hover .arrow-down svg {
    animation: bounce 1.5s infinite;
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, 0);
    }
    40% {
        transform: translate(-50%, 8px);
    }
    60% {
        transform: translate(-50%, 4px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, 10px);
    }
    to {
        opacity: 0.8;
        transform: translate(-50%, 0);
    }
}
