/* Configuraciones Generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Encabezado y Navegación */
header {
    background-color: #fff;
    padding: 20px 0;
    text-align: center;
    border-bottom: 1px solid #eaeaea;
}

.logo-container {
    margin-bottom: 20px;
}

.logo {
    max-width: 400px;
    width: 90%;
    height: auto;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

nav ul li a {
    font-size: 14px;
    color: #555;
    text-transform: uppercase;
    transition: color 0.3s;
}

nav ul li a:hover, nav ul li a.active {
    color: #000;
    font-weight: bold;
}

/* Sección Hero */
.hero {
    background-image: url('https://static.wixstatic.com/media/073d9b_c4637ec58f76417ab6cab3359e887edc~mv2.jpg/v1/fill/w_980,h_490,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/073d9b_c4637ec58f76417ab6cab3359e887edc~mv2.jpg');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h2 {
    color: white;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

/* Sección About (Biografía) */
.about-section {
    max-width: 800px;
    margin: 60px auto;
    text-align: center;
    padding: 0 20px;
}

.about-section h2 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.about-section h3 {
    font-weight: normal;
    color: #666;
    margin-bottom: 20px;
}

/* Galería */
.gallery-section {
    max-width: 1000px;
    margin: 0 auto 60px auto;
    padding: 0 20px;
}

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

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

/* Sección Libros */
.book-section {
    background-color: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
}

.book-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}

.book-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.book-container img {
    max-width: 300px;
    width: 100%;
    height: auto;
}

.book-description {
    max-width: 400px;
    text-align: left;
    font-size: 1.1rem;
}

/* Futuras Obras */
.future-works {
    text-align: center;
    padding: 60px 20px;
}

.future-works h2 {
    margin-bottom: 20px;
}

.future-works p {
    font-style: italic;
    color: #555;
    margin-bottom: 10px;
}

/* Contacto */
.contact-section {
    max-width: 1000px;
    margin: 0 auto 60px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    padding: 0 20px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h2 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info p a:hover {
    text-decoration: underline;
}

.social-icon {
    width: 40px;
    margin-top: 10px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.contact-form button {
    background-color: #333;
    color: #fff;
    padding: 12px 30px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.contact-form button:hover {
    background-color: #555;
}

/* Footer */
footer {
    background-color: #111;
    color: #fff;
    text-align: center;
    padding: 40px 20px;
}

footer img {
    max-width: 250px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1); /* Pone el logo en blanco */
}

footer p {
    font-size: 0.9rem;
    color: #bbb;
    margin-bottom: 5px;
}

/* Adaptación para dispositivos móviles */
@media (max-width: 768px) {
    .book-container {
        flex-direction: column;
        text-align: center;
    }
    .book-description {
        text-align: center;
    }
    .contact-section {
        flex-direction: column;
    }
}