/* Estilos específicos para la página Voy Siendo */
.biography-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.biography-content {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.biography-content h1 {
    font-family: 'Playfair Display', serif;
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.biography-section {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: center;
}

.biography-section:nth-child(even) {
    flex-direction: row-reverse;
}

.biography-text {
    flex: 1;
}

.biography-text h2 {
    font-family: 'Playfair Display', serif;
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.biography-text p {
    font-family: 'Roboto', sans-serif;
    color: #34495e;
    line-height: 1.6;
    font-size: 1.1rem;
}

.biography-image {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.biography-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.biography-image:hover img {
    transform: scale(1.02);
}

/* Responsive Design */
@media (max-width: 768px) {
    .biography-section {
        flex-direction: column !important;
        gap: 1.5rem;
    }

    .biography-content h1 {
        font-size: 2rem;
    }

    .biography-text h2 {
        font-size: 1.5rem;
    }

    .biography-text p {
        font-size: 1rem;
    }

    .biography-container {
        padding: 1rem;
    }

    .biography-content {
        padding: 1.5rem;
    }
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.biography-section {
    animation: fadeIn 0.6s ease-out forwards;
}

.biography-section:nth-child(2) {
    animation-delay: 0.2s;
}

.biography-section:nth-child(3) {
    animation-delay: 0.4s;
}

.biography-section:nth-child(4) {
    animation-delay: 0.6s;
}

.biography-section:nth-child(5) {
    animation-delay: 0.8s;
}

.client-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.client-category {
    background: rgba(3, 80, 168, 0.05);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.client-category h3 {
    color: var(--dark-blue);
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.country-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(3, 80, 168, 0.1);
}

.country-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.client-category-img {
    display: block;
    max-width: 30px;
    height: auto;
    margin: 0 0 15px 0;
}

.client-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.client-category li {
    color: var(--dark-blue);
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.client-category li:before {
    content: "•";
    color: var(--yellow);
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {
    .client-category {
        padding: 15px;
    }
    
    .country-section {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    
    .client-category-img {
        max-width: 25px;
    }
}

.books-section {
    background: linear-gradient(135deg, var(--dark-blue) 0%, #023a7a 100%);
    color: var(--white);
    padding: 30px;
    border-radius: 10px;
    margin-top: 20px;
}

.books-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--yellow);
}

.books-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.book-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.biography-header {
    text-align: center;
    margin-bottom: 60px;
    width: 100%;
    display: block;
}

.biography-header h1 {
    color: var(--dark-blue);
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 20px;
    text-align: center;
}

.biography-header p {
    color: var(--gray);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

@media (max-width: 768px) {
    .biography-header h1 {
        font-size: 2.5rem;
    }
}

/* Cards con imagen y texto */
.card-img-left, .card-img-right {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 40px;
}
.card-img-left .bio-img-col {
    order: 0;
}
.card-img-left .bio-text-col {
    order: 1;
}
.card-img-right .bio-img-col {
    order: 1;
}
.card-img-right .bio-text-col {
    order: 0;
}
.bio-img-col {
    flex: 0 0 220px;
    max-width: 220px;
}
.bio-img-col img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    display: block;
}
.bio-text-col {
    flex: 1 1 0%;
}
@media (max-width: 900px) {
    .card-img-left, .card-img-right {
        flex-direction: column;
        gap: 1.2rem;
        text-align: center;
    }
    .bio-img-col, .bio-text-col {
        max-width: 100%;
        width: 100%;
    }
    .bio-img-col {
        margin-bottom: 1rem;
    }

}

/* --- Estilos migrados desde el <style> de voysiendo.html --- */
.biography-section {
    padding: 120px 20px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.biography-header {
    text-align: center;
    margin-bottom: 60px;
}

.biography-header h1 {
    color: var(--dark-blue);
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 20px;
}

.biography-header p {
    color: var(--gray);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.biography-content {
    display: grid;
    gap: 40px;
}

.biography-card {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 -8px 18px -8px rgba(3,80,168,0.18), 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.biography-card:hover {
    transform: translateY(-5px);
}

.biography-card h2 {
    color: var(--dark-blue);
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.biography-card h2 i {
    color: var(--yellow);
}

.biography-card h2 i.fa-book + span,
.biography-card h2 i.fa-book {
    font-style: italic;
}

/* Alternativamente, si el texto no está en un span, aplicar a todo el h2 cuando tenga el ícono de libro */
.biography-card h2 i.fa-book ~ * {
    font-style: italic;
}

/* O más general para el h2 de Obras Publicadas */
.biography-card h2.obras-publicadas-title {
    font-style: italic;
}

.biography-card p {
    color: var(--dark-blue);
    line-height: 1.8;
    margin-bottom: 12px;
}

/* Estilos específicos para la sección de formación académica */
.biography-card:has(h2 i.fa-graduation-cap) {
    text-align: center;
}

.biography-card:has(h2 i.fa-graduation-cap) h2 {
    justify-content: center;
}

.biography-card:has(h2 i.fa-graduation-cap) p {
    text-align: center;
}

@media (max-width: 768px) {
    .biography-header h1 {
        font-size: 2.5rem;
    }
    .biography-card h2 {
        font-size: 1.8rem;
    }
    .client-list {
        grid-template-columns: 1fr;
    }
}

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