/* CSS Custom Properties */
:root {
  /* Colors */
  --color-primary: #dc2626;
  --color-primary-hover: #b91c1c;
  --color-dark: #0f172a;
  --color-slate: #1e293b;
  --color-slate-light: #475569;
  --color-slate-lighter: #64748b;
  --color-white: #ffffff;
  --color-gray-100: #f1f5f9;
  --color-gray-200: #e2e8f0;
  --color-gray-300: #e5e5e5;
  --color-red-50: #fef2f2;
  
  /* Typography */
  --font-family-primary: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  --letter-spacing-tight: -0.025em;
  --letter-spacing-wide: 0.05em;
  
  /* Font Sizes */
  --text-sm: 0.9rem;
  --text-base: 1rem;
  --text-lg: 1.1rem;
  --text-2xl: 1.25rem;
  --text-3xl: 1.375rem;
  --text-4xl: 1.5rem;
  --text-5xl: 2rem;
  --text-6xl: 2.125rem;
  --text-7xl: 2.25rem;
  --text-8xl: 2.5rem;
  
  /* Line Heights */
  --leading-tight: 1.1;
  --leading-snug: 1.2;
  --leading-normal: 1.3;
  --leading-loose: 1.5;
  --leading-extra-loose: 1.6;
  
  /* Spacing */
  --spacing-sm: 0.5rem;
  --spacing-md: 0.75rem;
  --spacing-lg: 1rem;
  --spacing-xl: 1.5rem;
  --spacing-2xl: 2rem;
  --spacing-3xl: 3rem;
  --spacing-4xl: 4rem;
  
  /* Border */
  --border-width: 1px;
  --border-width-thick: 2px;
  --border-width-extra-thick: 3px;
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-colors: color 0.3s ease;
  --transition-opacity: opacity 0.3s ease;
  --transition-all: all 0.3s ease;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  
  /* Container */
  --container-max-width: 1200px;
  --container-padding: 20px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-primary);
    line-height: var(--leading-extra-loose);
    color: var(--color-dark);
    background-color: var(--color-white);
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-bold);
    line-height: var(--leading-snug);
    margin-bottom: var(--spacing-lg);
    letter-spacing: var(--letter-spacing-tight);
}

h1 {
    font-size: var(--text-8xl);
    color: var(--color-dark);
}

h2 {
    font-size: var(--text-5xl);
    color: var(--color-dark);
}

h3 {
    font-size: var(--text-4xl);
    color: var(--color-slate);
}

p {
    margin-bottom: var(--spacing-lg);
    font-size: var(--text-base);
}

/* Buttons */
.btn-primary, 
.btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 0;
    font-weight: var(--font-weight-semibold);
    text-align: center;
    transition: var(--transition-all);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    font-weight: var(--font-weight-semibold);
    
    &:hover {
        background-color: var(--color-primary-hover);
        transform: translateY(-1px);
    }
}

.btn-secondary {
    background-color: var(--color-gray-100);
    color: var(--color-slate-light);
    border: var(--border-width-thick) solid var(--color-gray-200);
    font-weight: var(--font-weight-semibold);
    
    &:hover {
        background-color: var(--color-slate-lighter);
        color: var(--color-white);
        border-color: var(--color-slate-lighter);
        transform: translateY(-1px);
    }
}

/* Header and Navigation */
.navbar {
    background-color: var(--color-white);
    border-bottom: var(--border-width-extra-thick) solid var(--color-primary);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--spacing-lg) var(--container-padding);
}

.logo {
    img {
        height: 40px;
        width: auto;
        transition: var(--transition-opacity);
    }
    
    a:hover img {
        opacity: 0.8;
    }
}

.nav-menu {
    display: flex;
    gap: var(--spacing-2xl);
    align-items: center;
    
    li {
        position: relative;
    }
    
    a {
        font-weight: var(--font-weight-semibold);
        color: var(--color-slate-light);
        transition: var(--transition-all);
        padding: var(--spacing-sm) 0;
        
        &:hover,
        &.active {
            color: var(--color-primary);
        }
    }
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    
    &:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-white);
    border: var(--border-width) solid #ddd;
    border-radius: 0;
    padding: var(--spacing-sm) 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-all);
    box-shadow: none;
    
    li {
        padding: 0;
        
        &:last-child a {
            border-bottom: none;
        }
    }
    
    a {
        display: block;
        padding: var(--spacing-md) var(--spacing-lg);
        color: var(--color-slate);
        border-bottom: var(--border-width) solid #f0f0f0;
        
        &:hover {
            background-color: var(--color-red-50);
            color: var(--color-primary);
        }
    }
}

/* Hamburger Menu for Mobile */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    
    span {
        width: 25px;
        height: 3px;
        background-color: var(--color-slate);
        margin: 3px 0;
        transition: var(--transition-fast);
    }
}

/* Hero Section */
.hero {
    background-color: #1e293b;
    padding: 4rem 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

/* Featured Book Section */
.featured-book {
    padding: 4rem 0;
    background-color: white;
}

.featured-book h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #1e293b;
    font-weight: 800;
    font-size: 2.25rem;
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.book-cover img {
    width: 100%;
    max-width: 300px;
    height: 400px;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    box-shadow: none;
    border: 1px solid #ddd;
}

.book-info h3 {
    font-size: 2.125rem;
    color: #0f172a;
    margin-bottom: 0.5rem;
    font-weight: 800;
    line-height: 1.1;
}

.book-info .author {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.book-info .description {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.book-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.book-details span {
    background-color: #f0f0f0;
    padding: 0.5rem 1rem;
    border-radius: 0;
    border: 1px solid #ddd;
    font-size: 0.9rem;
    color: #666;
}

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

/* Categories Overview */
.categories-overview {
    padding: 4rem 0;
    background-color: #f8fafc;
}

.categories-overview h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #1e293b;
    font-weight: 800;
    font-size: 2.25rem;
}

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

.category-card {
    background-color: var(--color-slate);
    color: var(--color-white);
    padding: var(--spacing-2xl);
    border-radius: 0;
    border: none;
    transition: var(--transition-fast);
    
    &:hover {
        background-color: var(--color-primary);
    }
    
    h3 {
        color: var(--color-white);
        margin-bottom: var(--spacing-lg);
        font-weight: var(--font-weight-bold);
        font-size: var(--text-3xl);
    }
    
    p {
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: var(--spacing-xl);
        line-height: var(--leading-extra-loose);
        font-weight: var(--font-weight-normal);
    }
}

.category-link {
    color: var(--color-white);
    font-weight: var(--font-weight-semibold);
    transition: var(--transition-opacity);
    text-decoration: underline;
    
    &:hover {
        opacity: 0.8;
    }
}

/* New Releases */
.new-releases {
    padding: 4rem 0;
    background-color: white;
}

.new-releases h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #1e293b;
    font-weight: 800;
    font-size: 2.25rem;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
}

/* Large screens - 3 columns */
@media (min-width: 1200px) {
    .books-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Medium screens - 2 columns */
@media (max-width: 1199px) and (min-width: 769px) {
    .books-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.book-card {
    display: flex;
    gap: var(--spacing-xl);
    padding: var(--spacing-xl);
    background-color: var(--color-white);
    color: var(--color-dark);
    border: var(--border-width) solid var(--color-gray-300);
    transition: var(--transition-all);
    align-items: flex-start;
    
    &:hover {
        background-color: var(--color-slate);
        color: var(--color-white);
        
        .book-info {
            h3 {
                color: var(--color-white);
            }
            
            .description {
                color: rgba(255, 255, 255, 0.9);
            }
            
            .author {
                color: var(--color-primary);
            }
        }
    }
    
    .book-cover {
        flex-shrink: 0;
        width: 120px;
        height: 160px;
        border: var(--border-width) solid #ddd;
        overflow: hidden;
        
        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center top;
            border-radius: 0;
            box-shadow: none;
            border: none;
        }
    }
    
    .book-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        
        h3 {
            font-size: var(--text-2xl);
            color: var(--color-dark);
            margin-bottom: var(--spacing-sm);
            line-height: var(--leading-normal);
            font-weight: var(--font-weight-bold);
            transition: var(--transition-colors);
        }
        
        .author {
            color: var(--color-primary);
            font-size: var(--text-sm);
            margin-bottom: var(--spacing-md);
            font-weight: var(--font-weight-semibold);
            text-transform: uppercase;
            letter-spacing: var(--letter-spacing-wide);
        }
        
        .description {
            color: var(--color-slate-lighter);
            font-size: var(--text-sm);
            line-height: var(--leading-loose);
            margin-bottom: var(--spacing-lg);
            flex-grow: 1;
            font-weight: var(--font-weight-normal);
            transition: var(--transition-colors);
        }
    }
}

.book-link {
    color: var(--color-primary);
    font-weight: var(--font-weight-semibold);
    font-size: var(--text-sm);
    transition: var(--transition-opacity);
    text-decoration: none;
    margin-top: auto;
    align-self: flex-start;
    
    &:hover {
        opacity: 0.8;
    }
}

/* Category Page Styles */
.page-header {
    background-color: var(--color-slate);
    padding: var(--spacing-3xl) 0;
    text-align: center;
    
    h1 {
        font-size: var(--text-8xl);
        color: var(--color-white);
        margin-bottom: var(--spacing-lg);
        font-weight: var(--font-weight-extrabold);
    }
    
    p {
        font-size: var(--text-lg);
        color: rgba(255, 255, 255, 0.9);
        max-width: 600px;
        margin: 0 auto;
    }
}

.category-filters {
    background-color: white;
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
}

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

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    background-color: #f0f0f0;
    color: #666;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover {
    background-color: #e0e0e0;
    color: #333;
}

.filter-btn.active {
    background-color: #1e293b;
    color: white;
    font-weight: 600;
}

.books-listing {
    padding: 3rem 0;
    background-color: #f8fafc;
}

.books-listing .book-card {
    background-color: white;
    border-radius: 0;
    padding: 1.5rem;
    box-shadow: none;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    cursor: pointer;
}

.books-listing .book-card:hover {
    background-color: #1e293b;
    color: white;
}

.book-card:hover .book-info h3 {
    color: white;
}

.book-card:hover .book-info .description {
    color: rgba(255, 255, 255, 0.9);
}

.book-card:hover .book-info .author {
    color: #dc2626;
}




.book-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.book-meta span {
    font-size: 0.8rem;
    color: #888;
    background-color: #f0f0f0;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
}

.book-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.book-actions .btn-primary,
.book-actions .btn-secondary {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Book Detail Page */
.breadcrumb {
    background-color: #f8f8f8;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb nav {
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb a {
    color: #dc2626;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.separator {
    margin: 0 0.5rem;
    color: #ccc;
}

.book-detail {
    padding: 3rem 0;
    background-color: white;
}

.book-detail-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.book-cover-large img {
    width: 100%;
    max-width: 400px;
    height: 500px;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    box-shadow: none;
    border: 1px solid #ddd;
}

.book-header {
    margin-bottom: var(--spacing-2xl);
    
    h1 {
        font-size: var(--text-6xl);
        color: var(--color-dark);
        margin-bottom: var(--spacing-sm);
        line-height: var(--leading-snug);
        font-weight: var(--font-weight-extrabold);
    }
    
    &.book-header-dark {
        background-color: var(--color-slate);
        color: var(--color-white);
        padding: var(--spacing-2xl);
        margin: 0 0 var(--spacing-2xl) 0;
        border-radius: 0;
        
        h1 {
            color: var(--color-white);
        }
        
        .book-author {
            color: rgba(255, 255, 255, 0.9);
        }
        
        .book-category span {
            background-color: var(--color-primary);
            color: var(--color-white);
        }
    }
}

.book-author {
    font-size: var(--text-xl);
    color: var(--color-slate-lighter);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wide);
    margin-bottom: var(--spacing-lg);
}

.book-category {
    span {
        background-color: var(--color-primary);
        color: var(--color-white);
        padding: var(--spacing-sm) var(--spacing-lg);
        border-radius: 0;
        font-size: var(--text-sm);
        font-weight: var(--font-weight-semibold);
    }
}

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

.book-description h3 {
    color: #000;
    margin-bottom: 1rem;
}

.book-description p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.book-specifications h3 {
    color: #000;
    margin-bottom: 1rem;
}

.spec-list {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 0.5rem 1rem;
    background-color: #f8f8f8;
    padding: 1.5rem;
    border-radius: 0;
    border: 1px solid #eee;
}

.spec-list dt {
    font-weight: 600;
    color: #333;
}

.spec-list dd {
    color: #666;
}
.download-resources {
    margin-bottom: 2rem;
}

.download-resources h3 {
    color: #000;
    margin-bottom: 1rem;
}

.download-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.download-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 0;
    transition: all 0.3s ease;
    text-decoration: none;
}

.download-link:hover {
    background-color: var(--color-slate);
    border-color: var(--color-slate);
}

.download-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.download-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.download-title {
    font-weight: var(--font-weight-semibold);
    color: var(--color-slate);
    font-size: var(--text-base);
    transition: var(--transition-colors);
}

.download-link:hover .download-title {
    color: var(--color-white);
}

.download-meta {
    font-size: var(--text-sm);
    color: var(--color-slate-lighter);
    transition: var(--transition-colors);
}

.download-link:hover .download-meta {
    color: rgba(255, 255, 255, 0.7);
}


.purchase-options {
    margin-bottom: 2rem;
}

.purchase-options h3 {
    color: #000;
    margin-bottom: 1rem;
}

.purchase-options .purchase-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.purchase-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.btn-icon {
    font-size: 1.2rem;
}

.book-contents h3 {
    color: #000;
    margin-bottom: 1rem;
}

.book-contents ul {
    list-style: none;
    background-color: #f8f8f8;
    padding: 1.5rem;
    border-radius: 0;
    border: 1px solid #eee;
}

.book-contents li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    color: #555;
}

.book-contents li:last-child {
    border-bottom: none;
}

/* Related Books */
.related-books {
    padding: var(--spacing-4xl) 0;
    background-color: var(--color-gray-100);
    
    h2 {
        text-align: center;
        margin-bottom: var(--spacing-3xl);
        color: var(--color-slate);
        font-weight: var(--font-weight-extrabold);
        font-size: var(--text-7xl);
    }
}

/* About Page */
.about-content {
    padding: 4rem 0;
    background-color: white;
}

.about-sections {
    max-width: 800px;
    margin: 0 auto;
}

.about-section {
    margin-bottom: 3rem;
}

.about-section h2 {
    color: #000;
    margin-bottom: 1.5rem;
}

.about-section p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

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

.area-card {
    background-color: #f8f8f8;
    padding: 2rem;
    border-radius: 0;
    border-left: 4px solid #dc143c;
    border-top: 1px solid #eee;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.area-card h3 {
    color: #000;
    margin-bottom: 1rem;
}

.area-card p {
    color: #666;
    font-size: 0.95rem;
}

.cta-section {
    padding: 4rem 0;
    background-color: #f8f8f8;
    text-align: center;
}

.cta-section h2 {
    color: #000;
    margin-bottom: 1rem;
}

.cta-section p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Contact Page */
.contact-content {
    padding: 4rem 0;
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    color: #000;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-methods {
    margin-bottom: 3rem;
}

.contact-method {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f8f8f8;
    border-radius: 0;
    border-left: 4px solid #dc143c;
    border-top: 1px solid #eee;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.contact-method h3 {
    color: #000;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-method p {
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-link {
    color: #dc143c;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #b30000;
}

.office-hours {
    background-color: #f0f0f0;
    padding: 1.5rem;
    border-radius: 0;
    border: 1px solid #ddd;
}

.office-hours h3 {
    color: #000;
    margin-bottom: 1rem;
}

.office-hours p {
    color: #666;
    margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-form-container {
    background-color: var(--color-gray-100);
    padding: var(--spacing-2xl);
    border-radius: 0;
    border: var(--border-width) solid #eee;
}

.contact-form {
    h2 {
        color: var(--color-dark);
        margin-bottom: var(--spacing-2xl);
    }
}

.form-group {
    margin-bottom: var(--spacing-xl);
    
    label {
        display: block;
        margin-bottom: var(--spacing-sm);
        color: var(--color-slate);
        font-weight: var(--font-weight-semibold);
    }
    
    input,
    select,
    textarea {
        width: 100%;
        padding: var(--spacing-md);
        border: var(--border-width) solid #ddd;
        border-radius: 0;
        font-size: var(--text-base);
        transition: var(--transition-colors);
        
        &:focus {
            outline: none;
            border-color: var(--color-primary);
        }
    }
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    cursor: pointer;
    font-weight: var(--font-weight-normal) !important;
    
    input[type="checkbox"] {
        width: auto;
        margin-top: 0.2rem;
    }
}

.submission-guidelines {
    padding: 4rem 0;
    background-color: #f8f8f8;
}

.submission-guidelines h2 {
    text-align: center;
    color: #000;
    margin-bottom: 3rem;
}

.guidelines-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.guideline-section {
    background-color: white;
    padding: 2rem;
    border-radius: 0;
    box-shadow: none;
    border: 1px solid #eee;
}

.guideline-section h3 {
    color: #000;
    margin-bottom: 1.5rem;
}

.guideline-section ul,
.guideline-section ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.guideline-section ul {
    list-style: disc;
}

.guideline-section ol {
    list-style: decimal;
}

.guideline-section li {
    color: #555;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Footer */
footer {
    background-color: var(--color-slate);
    color: var(--color-white);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

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

.footer-section {
    h4 {
        color: var(--color-white);
        margin-bottom: var(--spacing-lg);
        font-size: var(--text-xl);
    }
    
    p {
        color: #ccc;
        font-size: var(--text-sm);
        line-height: var(--leading-extra-loose);
    }
    
    ul {
        list-style: none;
    }
    
    li {
        margin-bottom: var(--spacing-sm);
    }
    
    a {
        color: #ccc;
        transition: var(--transition-colors);
        font-size: var(--text-sm);
        
        &:hover {
            color: var(--color-primary);
        }
    }
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-2xl);
    border-top: var(--border-width) solid #555;
    color: #ccc;
    font-size: var(--text-sm);
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
        
        &.active {
            span:nth-child(2) {
                opacity: 0;
            }
            
            span:nth-child(1) {
                transform: translateY(8px) rotate(45deg);
            }
            
            span:nth-child(3) {
                transform: translateY(-8px) rotate(-45deg);
            }
        }
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background-color: #f8f8f8;
        margin-top: 0.5rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .featured-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .book-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }


    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .guidelines-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .filter-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 15px;
    }

    .purchase-options .purchase-links {
        gap: 0.75rem;
    }

    .purchase-btn {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .book-actions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .book-info h3 {
        font-size: 1.5rem;
    }

    .books-grid {
        grid-template-columns: 1fr;
    }
    
    .book-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .book-card .book-cover {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .book-card .book-info {
        text-align: center;
    }

    .category-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .spec-list {
        grid-template-columns: 100px 1fr;
        gap: 0.5rem;
        font-size: 0.9rem;
    }

    .filter-tabs {
        gap: 0.5rem;
    }

    .filter-btn {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
}

/*mw additions*/
.content {
    padding: 3rem 0;
    background-color: white;
    h1{
        font-weight: normal;
    }
    h4{
        font-weight: normal;
        font-size: 1.6rem;
        margin-top: 1.6rem;
    }
    a{
        color: var(--color-slate-lighter)
    }
}
