/* Fondo degradado principal de la cabecera */
.header-bg {
    background: linear-gradient(to bottom, #d35400, #3e1d00);
    color: white;
    padding: 30px 0 15px 0;
}

.logo-img {
    max-height: 80px;
    border: 2px solid #555;
    border-radius: 4px;
}

/* Barra de navegación personalizada */
.custom-nav .nav-link {
    color: white !important;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.95rem;
}
.custom-nav .nav-link:hover {
    color: #ffcc00 !important;
}

/* Iconos de Redes sociales */
.social-icons a {
    color: #333;
    background-color: white;
    padding: 5px 10px;
    border-radius: 4px;
    margin-right: 5px;
    font-size: 1.1rem;
    display: inline-block;
    text-align: center;
    text-decoration: none;
}
.social-icons a:hover {
    background-color: #ffcc00;
}

/* Banner inclinado de Bienvenidos */
.welcome-banner {
    background: linear-gradient(135deg, #b83b1d 0%, #a03018 30%, #1020a0 100%);
    color: white;
    padding: 40px 20px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.welcome-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    transform: skewY(-2deg);
    transform-origin: top left;
}

.welcome-title {
    font-weight: 800;
    letter-spacing: 1px;
}

/* Estilos de las tarjetas de libros */
.book-card {
    border: none;
    background: transparent;
    margin-bottom: 30px;
}
.book-img-container {
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
}
.book-img-container:hover {
    transform: translateY(-5px);
}
.book-cover {
    width: 100%;
    height: auto;
    display: block;
}

/* Botones de acción */
.btn-get-book {
    background-color: #1e2d3d;
    color: white;
    border: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 8px;
    text-decoration: none;
}
.btn-get-book:hover {
    background-color: #2c3e50;
    color: white;
}
.btn-read-sample {
    background-color: white;
    color: #333;
    border: 1px solid #999;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
}
.btn-read-sample:hover {
    background-color: #f5f5f5;
    color: #000;
}