/* Catalog Main */
.catalog-main {
    margin-top: 70px;
    padding: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Catalog Header */
.catalog-header {
    margin-bottom: 3rem;
}

.catalog-header h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

/* Filters */
.filters {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.search-box input {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.search-box i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
}

.filter-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-options select {
    padding: 0.5rem 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 5px;
    font-size: 1rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.filter-options select:focus {
    outline: none;
    border-color: var(--secondary-color);
}

/* Catalog Grid */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.book-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid var(--light-gray);
}

.book-card:hover {
    transform: translateY(-5px);
}

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

.book-info {
    padding: 1.5rem;
}

.book-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.book-author {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.book-details {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.book-synopsis {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-color);
}

.book-features {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--light-gray);
}

.book-features ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.book-features li {
    background-color: var(--light-gray);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .catalog-main {
        padding: 1rem;
    }
    
    .filter-options {
        flex-direction: column;
    }
    
    .filter-options select {
        width: 100%;
    }
    
    .catalog-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .book-cover {
        height: 350px;
    }
} 