/* General */
body {
    font-family: 'Poppins', sans-serif;
    background: #f5f6f9;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Header */
.book-header {
    background: linear-gradient(135deg, #4e73df, #224abe);
    color: white;
    padding: 70px 20px;
    text-align: center;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.book-header h1 {
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 15px;
}

.book-header p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

/* Book Section */
.book-section {
    padding: 80px 0;
    background-color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    margin-top: -50px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centering the book cards */
    justify-content: center;
}

/* Book Title */
.book-section h2 {
    font-size: 40px;
    margin-bottom: 40px;
    color: #1e1e1e;
    font-weight: 600;
    text-align: center;
}

/* Book List Items */
.book-entry-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.book-entry-list li {
    padding: 20px;
    background-color: #f9f9f9;
    border-left: 5px solid #4e73df;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.book-entry-list li:hover {
    background-color: #f1f5fb;
    transform: translateY(-5px);
}

.book-entry-list h3 {
    font-size: 22px;
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
}

.book-entry-list p {
    font-size: 16px;
    color: #555;
    margin-bottom: 12px;
}

.book-entry-list a {
    font-weight: 600;
    color: #4e73df;
    text-decoration: none;
    transition: color 0.3s ease;
}

.book-entry-list a:hover {
    color: #224abe;
    text-decoration: underline;
}

/* Book Card */
.book-card {
    width: 80%;  /* Controls width of the book cards */
    max-width: 500px;  /* Max width to make it look neat */
    background-color: #f9f9f9;
    padding: 20px;
    border-left: 5px solid #4e73df;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.book-card:hover {
    background-color: #f1f5fb;
    transform: translateY(-5px);
}

.book-card h3 {
    font-size: 22px;
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
}

.book-card p {
    font-size: 16px;
    color: #555;
    margin-bottom: 12px;
}

.book-card a {
    font-weight: 600;
    color: #4e73df;
    text-decoration: none;
    transition: color 0.3s ease;
}

.book-card a:hover {
    color: #224abe;
    text-decoration: underline;
}

/* Book Detail */
.book-detail {
    max-width: 800px;
    margin: auto;
    text-align: left;
    padding: 40px 0;
}

.book-detail h2 {
    font-size: 24px;
    margin-top: 24px;
    color: #1e1e1e;
    font-weight: 600;
}

.book-detail p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .book-header h1 {
        font-size: 36px;
    }

    .book-header p {
        font-size: 16px;
    }

    .book-section h2 {
        font-size: 32px;
    }

    .book-entry-list h3 {
        font-size: 20px;
    }

    .book-entry-list li {
        padding: 15px;
    }

    .book-entry-list p {
        font-size: 14px;
    }

    /* Book Card */
    .book-card {
        width: 90%;  /* Wider on mobile */
    }
}
