/* Hero Section */
.hero-section {
    padding: 100px 0;
    text-align: center;
    background-color: var(--bg-light);
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero-section .lead {
    font-size: 1.3rem;
    color: var(--text-gray);
    margin-bottom: 40px;
}

/* Book cards styles */
.book-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: visible;
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.book-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.book-card-img-wrapper {
    width: 100%;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    padding: 20px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.book-card-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.book-card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.book-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    overflow: hidden;
}

.book-card-author {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.book-card-description {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
    overflow: hidden;
    flex-grow: 1;
}

/* Search Books Page Styles */
.book-card {
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.book-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2) !important;
}

.book-cover-wrapper {
    height: 300px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.5rem;
}

.book-author {
    font-size: 0.875rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-filters {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.filter-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

#noResults {
    display: none;
}
