/* General Body Styles */
body {
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content-wrap {
    flex: 1;
}

/* Header/Navbar Styling */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

/* Homepage Hero Section */
.hero-section {
    background: linear-gradient(to right, #6a11cb, #2575fc);
    color: white;
    padding: 2.5rem 0;
    margin-bottom: 2rem;
}
.hero-section h1 {
    font-weight: 700;
}

/* Carousel and Indicator Styles */
.carousel-inner {
    border-radius: 0.5rem;
    box-shadow: 0 8px 25px rgba(0,0,0,.1);
}
.carousel-indicators [data-bs-target] {
    width: 30px;
    height: 3px;
    padding: 0;
    margin: 0 3px;
    opacity: 0.5;
}
.carousel-indicators .active {
    opacity: 1;
}

/* Book Card Design */
.book-card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,.05);
    transition: all .2s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,.1);
}
.book-card-img-wrapper {
    height: 300px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.book-card-img-top {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.book-card .card-body { flex-grow: 1; }
.book-card .card-title { font-size: 1.1rem; font-weight: 600; }
.book-card .card-text { font-size: 0.9rem; }
.book-card .card-footer { background-color: #ffffff; border-top: 1px solid #eee; }

/* ======================================================= */
/* FIX: This class adds the required space above the footer. */
/* ======================================================= */
.main-content-area {
    padding-bottom: 4rem; /* Adjust this value for more/less space */
}

/* Footer Styling */
.footer {
    background-color: #343a40;
    color: white;
    padding: 2rem 0;
    margin-top: auto;
}