﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Public Sans', sans-serif;
}

h1 {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
}
/* --- ESTILOS DEL MENÚ DE NAVEGACIÓN --- */

header {
    background-color: #1a252f; /* Fondo oscuro solemne */
    padding: 15px 0;
    position: sticky;
    top: 0;
    width: 100%;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-family: 'Roboto Condensed', sans-serif;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

    nav ul li a {
        color: #ffffff;
        text-decoration: none;
        font-size: 16px;
        font-weight: 400;
        transition: color 0.3s ease;
    }

        nav ul li a:hover {
            color: #3498db; /* Color azul claro al pasar el mouse */
        }

/* Espaciado para el contenido de abajo */
main {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
/* --- SECCIÓN PRINCIPAL (HERO) --- */

.hero {
    background-color: #f8f9fa; /* Fondo gris claro muy limpio */
    padding: 80px 20px;
    text-align: center;
    border-radius: 8px;
    margin-top: 20px;
}

.hero-content h1 {
    font-size: 36px;
    color: #1a252f;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 18px;
    color: #7f8c8d;
    margin-bottom: 30px;
}

.btn-hero {
    display: inline-block;
    background-color: #3498db; /* Color azul para el botón */
    color: #ffffff;
    padding: 12px 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

    .btn-hero:hover {
        background-color: #2980b9; /* Azul más oscuro al pasar el mouse */
    }
/* --- ESTILOS GENERALES DE SECCIONES --- */

.section-container {
    padding: 60px 0;
}

.section-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 28px;
    color: #1a252f;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* --- TARJETAS DE TEMAS --- */

.card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 25px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

    .card h3 {
        font-family: 'Roboto Condensed', sans-serif;
        font-size: 20px;
        color: #1a252f;
        margin-bottom: 12px;
    }

    .card p {
        font-size: 15px;
        color: #555555;
        line-height: 1.6;
    }

/* --- TARJETAS DE ANUNCIOS --- */

.card-announcement {
    background-color: #ffffff;
    border-left: 4px solid #3498db; /* Línea azul lateral distintiva */
    padding: 25px;
    border-radius: 0 6px 6px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-top: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

    .card-announcement .date {
        display: inline-block;
        font-size: 12px;
        font-weight: 600;
        color: #3498db;
        text-transform: uppercase;
        margin-bottom: 8px;
    }

    .card-announcement h3 {
        font-family: 'Roboto Condensed', sans-serif;
        font-size: 20px;
        color: #1a252f;
        margin-bottom: 12px;
    }

    .card-announcement p {
        font-size: 15px;
        color: #555555;
        line-height: 1.6;
    }
/* --- SECCIÓN CONTACTO --- */

.contact-grid {
    background-color: #f8f9fa;
    padding: 35px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.contact-info h3 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 22px;
    color: #1a252f;
    margin-bottom: 10px;
}

.contact-info p {
    font-size: 15px;
    color: #7f8c8d;
    margin-bottom: 20px;
}

.contact-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .contact-details li {
        font-size: 16px;
        color: #2c3e50;
    }

        .contact-details li strong {
            color: #1a252f;
        }

/* --- PIE DE PÁGINA (FOOTER) --- */

footer {
    background-color: #1a252f;
    color: #ffffff;
    text-align: center;
    padding: 25px 20px;
    margin-top: 60px;
    width: 100%;
}

.footer-content p {
    font-size: 14px;
    color: #bdc3c7;
}
/* --- SECCIÓN TIENDA / LIBRERÍA --- */

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.book-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.book-cover {
    background-color: #f8f9fa;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    border-radius: 4px;
    margin-bottom: 15px;
    border: 1px solid #edf2f7;
}

.book-card h3 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 18px;
    color: #1a252f;
    margin-bottom: 5px;
}

.book-card .author {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 10px;
}

.book-card .price {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.btn-buy {
    display: block;
    background-color: #ff9900; /* Naranja Amazon */
    color: #111111;
    padding: 10px 15px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 20px;
    transition: background-color 0.2s ease;
}

    .btn-buy:hover {
        background-color: #e68a00;
    }
.btn-zoom {
    display: inline-block;
    background-color: #2d8cff; /* Azul oficial de Zoom */
    color: #ffffff;
    padding: 8px 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    margin-top: 15px;
    transition: background-color 0.2s ease;
}

    .btn-zoom:hover {
        background-color: #1a73e8; /* Azul más oscuro al pasar el mouse */
    }