/* CSS para la página Sobre Mí */
/* Secciones generales */
.about-intro-section,
.about-approach-section,
.about-experience-section {
    padding: 80px 0;
}

.about-education-section {
    padding: 80px 0;
}

/* Etiqueta de sección */
.section-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0.07em;
    color: #5E6A39;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* Título de sección */
.section-title {
    font-family: 'Switzer', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 100%;
    letter-spacing: -0.03em;
    color: #5E6A39;
    margin-bottom: 30px;
    text-align: left;
}

.text-center {
    text-align: center;
}

/* Texto de sección */
.section-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0.03em;
    color: #5E6A39;
    text-align: left;
    margin-bottom: 40px;
}

.section-text p {
    margin-bottom: 20px;
}

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

/* Texto de experiencia profesional */
.experience-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0.03em;
    color: #5E6A39;
}

.experience-text p {
    margin-bottom: 20px;
}

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

/* Texto en negrita */
.text-bold {
    font-weight: 700;
}

/* Columnas */
.content-column {
    padding-right: 30px;
}

.image-column {
    padding-left: 30px;
}

/* Título móvil oculto en desktop */
.title-mobile-column {
    display: none;
}

/* Contenedor de imagen redondeada */
.rounded-image-container {
    border-radius: 50px;
    overflow: hidden;
}

.rounded-image {
    width: 100%;
    aspect-ratio: 1 / 0.7; /* Proporción más cuadrada */
    display: block;
    border-radius: 20px;
    object-fit: cover;
}

.rounded-image-2 {
    width: 100%;
    display: block;
    border-radius: 20px;
    object-fit: cover;
  }

/* Timeline de educación */
.education-timeline {
    max-width: 800px;
    margin: 50px auto 0;
    position: relative;
}

.education-timeline::before {
    content: '';
    position: absolute;
    left: 70px;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: #5E6A39;
}

.education-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

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

.education-year {
    width: 70px;
    font-family: 'Switzer', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #5E6A39;
    text-align: right;
    padding-right: 30px;
    flex-shrink: 0;
}

.education-content {
    padding-left: 30px;
    position: relative;
}

.education-content::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: #5E6A39;
    border-radius: 50%;
    left: -6px;
    top: 7px;
}

.education-content h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    color: #5E6A39;
    margin: 0 0 5px;
}

.education-content p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #5E6A39;
    margin: 0;
}


/* Botón primario */
.primary-btn {
    display: inline-block;
    background-color: #5E6A39;
    color: #FFFFFF;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0.05em;
    padding: 15px 30px;
    border-radius: 30px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.primary-btn:hover {
    background-color: #4A5429;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(94, 106, 57, 0.3);
}

/* Contact Section Styles */
.contact-section {
    padding: 0;
    margin-top: 80px;
    min-height: 400px;
}

.contact-row {
    min-height: 400px;
}

.text-column {
    display: flex;
    align-items: flex-start;
    padding-top: 80px;
}

.button-column {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding-bottom: 80px;
}

.contact-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 200;
    font-style: ExtraLight;
    font-size: 36px;
    line-height: 100%;
    letter-spacing: 0.07em;
    color: #5E6A39;
}

/* Responsive */
@media (max-width: 991px) {
    .about-intro-section,
    .about-approach-section,
    .about-education-section {
        padding: 60px 0;
    }

    .content-column,
    .image-column {
        padding: 0 15px;
        margin-bottom: 30px;
    }

    .reverse-mobile {
        flex-direction: column-reverse;
    }

    .section-title {
        font-size: 28px;
    }

    .education-timeline::before {
        left: 50px;
    }

    .education-year {
        width: 50px;
        font-size: 18px;
        padding-right: 20px;
    }

    .education-content {
        padding-left: 25px;
    }
}

@media (max-width: 767px) {
    .about-intro-section,
    .about-approach-section,
    .about-education-section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    /* Mostrar solo título móvil y ocultar el de desktop */
    .title-mobile-column {
        display: block;
        order: 1;
        margin-bottom: 15px;
    }
    
    .desktop-title,
    .desktop-label {
        display: none !important; /* Ocultar títulos duplicados en móvil */
    }
    
    /* Reorganizar con flexbox */
    .about-intro-section .about-row {
        display: flex;
        flex-direction: column;
    }
    
    .about-intro-section .image-column {
        order: 2;
        margin: 15px 0;
    }
    
    .about-intro-section .content-column {
        order: 3;
    }

    .contact-row {
        flex-direction: column;
        text-align: center;
    }

    .text-column,
    .button-column {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

    .button-column {
        margin-top: 20px;
    }

    .education-timeline::before {
        left: 40px;
    }

    .education-year {
        width: 40px;
        font-size: 16px;
        padding-right: 15px;
    }

    .education-content {
        padding-left: 20px;
    }

    .education-content h4 {
        font-size: 16px;
    }

    .education-content p {
        font-size: 14px;
    }
}
