/* =========================
 BOOKS BANNER
========================= */

.books-banner {
    height: 300px;
    background: url('../img/banner.jpg') center center / cover no-repeat;
    position: relative;
}

.books-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.books-banner-overlay h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 8px;
}

.books-banner-overlay p {
    font-size: 14px;
}

/* =========================
 BOOKS SECTION
========================= */

.books-section {
    background: #2f2f2f;
}

/* ROW BACKGROUNDS */
.book-row.bg-white {
    background: #ffffff;
}

.book-row.bg-soft {
    background: rgba(255,255,255,0.08);
}

/* BOOK CONTAINER */
.book-container {
    max-width: 1200px;
    margin: auto;
    padding: 70px 20px;

    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 60px;
    align-items: center;
}

/* IMAGE */
.book-image img {
    width: 100%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

/* CONTENT */
.book-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.book-content h4 {
    font-size: 16px;
    color: #ff3b3b;
    margin-bottom: 18px;
    font-weight: 600;
}

.book-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    max-width: 650px;
    margin-bottom: 25px;
}

/* BUTTON */
.book-btn {
    display: inline-block;
    background: #ff3b3b;
    color: #fff;
    padding: 12px 28px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 3px;
}

.book-btn:hover {
    background: #d80000;
}

/* TEXT COLOR FIX FOR DARK ROW */
.bg-soft .book-content h2,
.bg-soft .book-content p {
    color: #ffffff;
}

/* =========================
 RESPONSIVE
========================= */

@media (max-width: 992px) {
    .book-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .book-image img {
        max-width: 280px;
        margin: auto;
        display: block;
    }
}
