/* ===== BANNER ===== */
.book-banner {
    height: 320px;
    background: url('../img/banner.jpg') center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-banner h1 {
    color: #fff;
    font-size: 44px;
    font-weight: 800;
    background: rgba(0,0,0,0.55);
    padding: 15px 40px;
}

/* ===== SECTION ===== */
.book-section {
    padding: 80px 0;
    background: #fff;
    font-family: "Segoe UI", system-ui, sans-serif;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* GRID */
#book-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* BOOK ITEM */
.book-item {
    background: #f6f6f6;
    padding: 20px;
    transition: 0.3s;
}

.book-item:hover {
    transform: translateY(-6px);
}

/* MOCKUP */
.book-mockup {
    height: 260px;
    background: linear-gradient(135deg,#f2f2f2,#ddd);
    margin-bottom: 15px;
}

/* INFO */
.book-info h3 {
    font-size: 16px;
    margin-bottom: 6px;
}

.author {
    font-size: 14px;
    color: #444;
}

.publisher {
    font-size: 13px;
    color: #777;
}

.year {
    display: inline-block;
    margin-top: 6px;
    font-weight: 700;
}

/* PAGINATION */
.pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.pagination button {
    background: #000;
    color: #fff;
    border: none;
    padding: 10px 18px;
    cursor: pointer;
}

/* RESPONSIVE */
@media(max-width:992px){
    #book-grid { grid-template-columns: repeat(2,1fr); }
}
@media(max-width:576px){
    #book-grid { grid-template-columns: 1fr; }
}
