* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
}

.logo {
    width: 40px;
    height: 40px;
    margin-right: 12px;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: hsl(67, 70%, 50%);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: hsl(67, 70%, 50%);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    min-height: 70vh;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666;
    line-height: 1.6;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

.cta-button {
    display: inline-block;
    background: hsl(67, 70%, 50%);
    color: #fff;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: hsl(67, 70%, 45%);
}

.secondary-button {
    display: inline-block;
    background: transparent;
    color: hsl(67, 70%, 50%);
    padding: 1rem 2rem;
    text-decoration: none;
    border: 2px solid hsl(67, 70%, 50%);
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background: hsl(67, 70%, 50%);
    color: #fff;
}

/* Sections */
.featured-books,
.categories-preview {
    padding: 4rem 0;
}

.featured-books {
    background: #f8f9fa;
}

.featured-books h2,
.categories-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

/* Books Grid */
.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.book-card {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.book-image {
    text-align: center;
    margin-bottom: 1rem;
}

.book-image img {
    width: 120px;
    height: 160px;
    object-fit: cover;
    border-radius: 5px;
}

.book-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.book-author {
    color: #666;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.book-category {
    display: inline-block;
    background: hsl(67, 70%, 95%);
    color: hsl(67, 70%, 40%);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.book-description {
    color: #666;
    line-height: 1.6;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.category-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.category-link {
    color: hsl(67, 70%, 50%);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.category-link:hover {
    color: hsl(67, 70%, 40%);
}

/* Search and Filter */
.search-filter {
    background: #f8f9fa;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.search-filter-content {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.search-input,
.filter-select {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    flex: 1;
    min-width: 200px;
}

.search-input:focus,
.filter-select:focus {
    outline: none;
    border-color: hsl(67, 70%, 50%);
}

/* Book Detail */
.book-detail {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.book-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.book-cover {
    flex-shrink: 0;
}

.book-cover img {
    width: 200px;
    height: 260px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.book-info h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.book-meta {
    margin-bottom: 1.5rem;
}

.book-meta p {
    margin-bottom: 0.5rem;
    color: #666;
}

.book-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.book-link {
    display: inline-block;
    background: hsl(67, 70%, 50%);
    color: #fff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.book-link:hover {
    background: hsl(67, 70%, 45%);
}

.book-content {
    margin-top: 2rem;
}

.book-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.book-content p,
.book-content ul {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.book-content ul {
    padding-left: 2rem;
}

.book-content li {
    margin-bottom: 0.5rem;
}

.disclaimer-note {
    background: #f8f9fa;
    border-left: 4px solid hsl(67, 70%, 50%);
    padding: 1rem;
    margin: 2rem 0;
    font-style: italic;
}

/* Forms */
.contact-form {
    max-width: 600px;
    margin: 2rem auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: hsl(67, 70%, 50%);
}

.submit-button {
    background: hsl(67, 70%, 50%);
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-button:hover {
    background: hsl(67, 70%, 45%);
}

/* Footer */
.footer {
    background: #2c3e50;
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: hsl(67, 70%, 50%);
}

.footer-section a {
    display: block;
    color: #bbb;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: hsl(67, 70%, 50%);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1rem;
    text-align: center;
    color: #bbb;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2c3e50;
    color: #fff;
    padding: 1rem;
    z-index: 1000;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.cookie-btn {
    background: hsl(67, 70%, 50%);
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}

.cookie-btn:hover {
    background: hsl(67, 70%, 45%);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.page-header {
    background: #f8f9fa;
    padding: 3rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
    line-height: 1.8;
}

.page-content h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    color: #2c3e50;
}

.page-content h3 {
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem;
    color: #2c3e50;
}

.page-content p {
    margin-bottom: 1.5rem;
}

.page-content ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.page-content li {
    margin-bottom: 0.5rem;
}

.contact-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.contact-info h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .books-grid {
        grid-template-columns: 1fr;
    }
    
    .book-header {
        flex-direction: column;
        text-align: center;
    }
    
    .book-info h1 {
        font-size: 2rem;
    }
    
    .book-links {
        justify-content: center;
    }
    
    .search-filter-content {
        flex-direction: column;
    }
    
    .search-input,
    .filter-select {
        width: 100%;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .nav {
        padding: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .book-cover img {
        width: 150px;
        height: 195px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
}