.book-carousel {
    position: relative;
    background: #e3e3e1;
    padding: 80px 40px;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

.carousel-viewport { overflow: hidden; max-width: 1300px; margin: 0 auto; }
.carousel-track { display: flex; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }

.carousel-slide {
    min-width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px; /* Space between the two sets */
}

.carousel-item {
    display: flex;
    align-items: center;
}

.item-image img {
    width: 220px;
    height: auto;
    box-shadow: 10px 10px 20px rgba(0,0,0,0.1);
}

.item-details {
    padding-left: 50px; /* MORE DISTANCE BETWEEN IMAGE & TEXT */
    flex: 1;
}

.item-details h3 {
    font-size: 26px;
    color: #f15a5a;
    line-height: 1.1;
    margin-bottom: 10px;
    font-weight: bold;
}

/* BUTTON LEFT-TO-RIGHT RED HOVER */
.carousel-item .btn {
    position: relative;
    display: inline-block;
    padding: 12px 20px;
    background: #6d6e70; /* Default Gray */
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    overflow: hidden;
    z-index: 1;
}

.carousel-item .btn span {
    position: relative;
    z-index: 2;
}

.carousel-item .btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #e50000; /* Red hover color */
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    z-index: 1;
}

.carousel-item .btn:hover::before {
    transform: translateX(0);
}

/* ARROWS & DOTS */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
}

.carousel-arrow.left { left: 20px; }
.carousel-arrow.right { right: 20px; }

.carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }
.carousel-dots span { width: 12px; height: 12px; background: #bbb; border-radius: 50%; cursor: pointer; }
.carousel-dots span.active { background: #444; }

@media (max-width: 900px) {
    .carousel-slide { grid-template-columns: 1fr; }
    .item-details { padding-left: 20px; }
}