/* Books Page Styling */

/* Carousel Styling */
#booksCarousel {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#booksCarousel .carousel-inner {
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    border-radius: 8px;
    padding: 30px;
}

#booksCarousel .carousel-item {
    transition: opacity 0.6s ease-in-out;
}

#booksCarousel .carousel-item .row {
    align-items: center;
}

#booksCarousel .carousel-item img {
    max-height: 350px;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#booksCarousel .carousel-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#booksCarousel .entry-title {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 24px;
}

#booksCarousel .entry-content {
    color: #555;
    line-height: 1.7;
    font-size: 15px;
}

#booksCarousel .entry-content p {
    margin-bottom: 15px;
}

#booksCarousel .read-more a {
    display: inline-block;
    background-color: #e96b56;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-weight: 600;
}

#booksCarousel .read-more a:hover {
    background-color: #e6573f;
    transform: translateY(-2px);
}

#booksCarousel .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(233, 107, 86, 0.4);
    border: none;
    transition: background-color 0.3s ease, width 0.3s ease;
}

#booksCarousel .carousel-indicators button.active {
    background-color: #e96b56;
    width: 12px;
    height: 12px;
}

#booksCarousel .carousel-control-prev,
#booksCarousel .carousel-control-next {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

#booksCarousel .carousel-control-prev:hover,
#booksCarousel .carousel-control-next:hover {
    opacity: 1;
}

#booksCarousel .carousel-control-prev-icon,
#booksCarousel .carousel-control-next-icon {
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.3));
}

.books-list ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.books-list li {
    padding: 16px 0;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.3s ease;
}

.books-list li:last-child {
    border-bottom: none;
}

.books-list li:hover {
    background-color: #f8f9fa;
    padding-left: 12px;
    padding-right: 12px;
    margin-left: -12px;
    margin-right: -12px;
    border-radius: 4px;
}

.books-list li p {
    margin: 0;
    line-height: 1.6;
    font-size: 15px;
    color: #333;
}

.books-list li strong {
    color: #2c3e50;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.books-list {
    background-color: #ffffff;
    border-left: 4px solid #007bff;
    padding: 16px 20px;
    border-radius: 4px;
    margin: 16px 0 32px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
