/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Lato:wght@400;700&display=swap');

/* General Styles */
body {
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #ffffff;
    color: #333333;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: #2C3E50;
}

header, footer {
    background: #2C3E50;
    color: #fff;
    padding: 1em 0;
}

footer {
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
}

nav {
    position: relative;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5em;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 1em;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

nav ul li a:hover {
    background-color: #34495E;
    border-radius: 4px;
}

/* Section Styles */
section {
    padding: 2em;
    text-align: center;
    background-color: #F9F9F9;
    margin: 1em 0;
    border-radius: 8px;
}

section#inicio, section#sobre-mi {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content {
    display: flex;
    flex-direction: line;
    align-items: center;
    text-align: left;
    width: 60%;
    flex-wrap: wrap;
    justify-content: space-between;
}

.left-column, .right-column {
    box-sizing: border-box;
}

.left-column {
    width: 33%;
    padding: 1em;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.right-column {
    width: 66%;
    padding: 1em;
}

.bio-photo, .book-cover, .music-cover, .highlight-cover {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1em;
    max-width: 800px;
}

.welcome-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1em;
}

/* Highlight Item Styles */
.highlights, .highlight-item, .book-category, .book-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 2em 0;
    width: 100%;
    max-width: 800px;
    background-color: #fff;
    padding: 1em;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.highlights {
    flex-direction: column;
    max-width: 1200px;
}

.highlight-item, .book-category, .book-item {
    flex-direction: row;
    margin: 1em 0;
}

.book-category img, .book-item img {
    width: 30%;
    height: auto;
    margin-right: 1em;
    border-radius: 8px;
}

.book-category .book-info, .book-item .book-info {
    flex: 1;
    text-align: left;
}

.book-category h2, .book-item h2 {
    color: #2C3E50;
    margin-bottom: 0.5em;
}

.book-category p, .book-item p {
    color: #666666;
}

/* CTA Button Styles */
.cta {
    display: inline-block;
    margin-top: 1em;
    padding: 0.5em 1em;
    background-color: #BF8C00;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
    font-weight: bold;
}

.cta:hover {
    background-color: #A06E00;
}

/* Otros estilos actualizados conservan su forma original… */
/* No se repiten para brevedad, pero los puedes mantener como ya los tienes */

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 3.5em;
        left: 0;
        background: #2C3E50;
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        margin: 0;
        padding: 0.5em 0;
    }

    nav ul li a {
        padding: 0 1em;
    }

    .highlight-item, .book-category, .book-item {
        flex-direction: column;
    }

    .left-column, .right-column {
        width: 100%;
        text-align: center;
        padding: 0.5em;
    }

    .highlight-cover, .book-category img, .book-item img {
        width: 80%;
        margin-bottom: 1em;
    }
}

@media (max-width: 480px) {
    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 0.2em 0;
    }

    .highlight-cover, .book-category img, .book-item img {
        width: 100%;
        margin-bottom: 1em;
    }
}
