* {
    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;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #2c5aa0;
    font-weight: bold;
    font-size: 1.2rem;
}

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

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

.nav-link:hover,
.nav-link.active {
    color: #2c5aa0;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3d72 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/assets/hero-bg.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: #ff6b35;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #e55a2b;
}

/* Books Grid */
.featured-books,
.books-section {
    padding: 80px 0;
}

.featured-books h2,
.books-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #2c5aa0;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.book-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

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

.book-content {
    padding: 1.5rem;
}

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

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

.book-category {
    display: inline-block;
    background: #f0f4ff;
    color: #2c5aa0;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.book-description {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.book-link {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: bold;
}

.book-link:hover {
    text-decoration: underline;
}

/* Categories */
.categories-preview {
    background: #f8f9fa;
    padding: 80px 0;
}

.categories-preview h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #2c5aa0;
}

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

.category-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

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

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

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

.category-card a {
    color: #ff6b35;
    text-decoration: none;
    font-weight: bold;
}

.category-card a:hover {
    text-decoration: underline;
}

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

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

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

.search-input:focus,
.filter-select:focus {
    outline: none;
    border-color: #2c5aa0;
}

/* Book Detail */
.book-detail {
    padding: 40px 0;
}

.book-detail-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.book-detail-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

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

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

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

.book-meta strong {
    color: #333;
}

.book-description-full {
    margin-bottom: 2rem;
    line-height: 1.8;
}

.key-takeaways {
    margin-bottom: 2rem;
}

.key-takeaways h3 {
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.key-takeaways ul {
    padding-left: 1.5rem;
}

.key-takeaways li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.external-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.external-link {
    display: inline-block;
    padding: 12px 24px;
    background: #2c5aa0;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.external-link:hover {
    background: #1e3d72;
}

.disclaimer-note {
    background: #f0f4ff;
    border-left: 4px solid #2c5aa0;
    padding: 1rem;
    margin: 2rem 0;
    border-radius: 0 5px 5px 0;
}

/* Footer */
.footer {
    background: #2c5aa0;
    color: white;
    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;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.8);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #333;
    color: white;
    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-dismiss {
    background: #2c5aa0;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.cookie-dismiss:hover {
    background: #1e3d72;
}

/* Content Pages */
.content-page {
    padding: 40px 0;
    max-width: 800px;
    margin: 0 auto;
}

.content-page h1 {
    color: #2c5aa0;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

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

.content-page p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-page ul,
.content-page ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

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

/* Contact Form */
.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

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

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

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #2c5aa0;
}

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

.submit-button {
    background: #2c5aa0;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-button:hover {
    background: #1e3d72;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.contact-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.contact-item h3 {
    color: #2c5aa0;
    margin-bottom: 1rem;
}

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

.contact-item a {
    color: #2c5aa0;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .books-grid {
        grid-template-columns: 1fr;
    }
    
    .book-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .search-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-input,
    .filter-select {
        min-width: auto;
    }
    
    .external-links {
        flex-direction: column;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container,
    .nav-container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .featured-books,
    .books-section {
        padding: 60px 0;
    }
    
    .book-detail {
        padding: 30px 0;
    }
    
    .content-page {
        padding: 30px 0;
    }
}