:root {
    --primary: #d97720;
    --dark: #1a1a1a;
    --light: #f8f9fa;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* Navigation */
.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
}

.logo-sub {
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: #666;
    display: block;
    margin-left: 28px;
    margin-top: -5px;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1.2rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
}

/* Hero Section */
.hero-title {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Buttons */
.btn-primary-custom {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: #b8651b;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(217, 119, 32, 0.2);
}

.btn-outline-custom {
    border: 1px solid #ddd;
    color: #666;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Book Cards */
.book-card {
    transition: transform 0.3s ease;
    border: none;
    background: transparent;
}

.book-card:hover {
    transform: translateY(-5px);
}

.book-img {
    height: 400px;
    width: 100%;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 15px;
}
.book-img-sec{
height: 450px;
    width: 100%;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 15px;
} 
.book-img-large {
    height: 350px;
}

.book-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    font-family: 'Playfair Display', serif;
}

.book-author {
    color: #666;
    font-size: 0.9rem;
    font-family: 'Open Sans', sans-serif;
    margin-bottom: 5px;
}

.book-info {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

/* Feature Box */
.feature-box {
    background: linear-gradient(rgba(255,255,255,0.95), rgba(255,255,255,0.95)), 
                url('https://images.unsplash.com/photo-1516979187457-637abb4f9353?auto=format&fit=crop&w=800&q=80') center/cover;
    padding: 40px;
    border-radius: 4px;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

/* Links */
.link-custom {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.link-custom:hover {
    text-decoration: underline;
    color: #b8651b;
}

/* Section Styling */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.content-section {
    padding: 80px 0;
}

.page-header {
    padding: 100px 0 60px;
    background-color: #f8f9fa;
    text-align: center;
}

/* Info Boxes */
.info-box {
    background: white;
    padding: 2rem;
    border-radius: 4px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    height: 100%;
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.info-box h5 {
    color: var(--dark);
    margin-bottom: 1.2rem;
    font-weight: 600;
}

/* Process Steps */
.process-step {
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 1rem;
}

/* Book Grid */
.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Footer */
footer {
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.resources-list {
    list-style: none;
    padding: 0;
}

.resources-list li {
    margin-bottom: 10px;
}

.resources-list a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.resources-list a:hover {
    color: var(--primary);
}

/* Newsletter */
.newsletter-input {
    border: 1px solid #ddd;
    padding: 10px 15px;
    width: 100%;
    border-radius: 2px;
}

.social-icons a {
    color: #666;
    font-size: 1.2rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary);
}

/* Page Specific */
.author-card {
    text-align: center;
    padding: 2rem;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.author-card:hover {
    transform: translateY(-5px);
}

.author-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 3px solid var(--primary);
}

/* Filter Section */
.filter-section {
    background-color: white;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.filter-label {
    font-weight: 600;
    margin-right: 10px;
    white-space: nowrap;
}

.custom-select {
    border: 1px solid #ddd;
    padding: 8px 15px;
    font-size: 0.9rem;
    color: #666;
    background-color: white;
    border-radius: 2px;
    min-width: 180px;
}

.search-box {
    position: relative;
    width: 100%;
}

.search-box input {
    width: 100%;
    border: 1px solid #ddd;
    padding: 8px 40px 8px 15px;
    font-size: 0.9rem;
    border-radius: 2px;
}

.search-box i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

/* Book Grid Section */
.book-grid-section {
    padding: 40px 0;
}

/* Pagination */
.pagination-section {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #eee;
}

.page-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.page-link {
    color: #666;
    text-decoration: none;
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.page-link:hover,
.page-link.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Genre Footer */
.genre-footer {
    background-color: #fafafa;
    padding: 60px 0;
    text-align: center;
}

.genre-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.genre-list li {
    color: #666;
    font-size: 0.9rem;
    position: relative;
    padding-left: 15px;
}

.genre-list li::before {
    content: "";
    width: 5px;
    height: 5px;
    background: #ccc;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 9px;
}

/* Featured Image */
.featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

/* Focus List */
.focus-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.focus-item:last-child {
    border-bottom: none;
}

.focus-item strong {
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 8px;
}

/* Book Meta */
.book-meta {
    font-size: 0.85rem;
    color: #777;
    font-style: italic;
}

/* Imprints Section */
.imprints-section {
    background-color: #fdfaf7;
    padding: 80px 0;
    text-align: center;
}

.imprint-box {
    padding: 30px 20px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.imprint-box:hover {
    transform: translateY(-5px);
}

.imprint-icon {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.imprint-box h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.btn-browse {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 2px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-browse:hover {
    background-color: #b8651b;
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
}

.book-grid-small {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.book-grid-small .book-img {
    height: 180px;
}

.book-grid-small .book-title {
    font-size: 0.95rem;
    margin-top: 10px;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)), 
                url('https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.hero-banner h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.hero-banner p {
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.8;
    color: #555;
}

/* Criteria Section */
.criteria-section {
    padding: 60px 0;
}

.criteria-item {
    margin-bottom: 25px;
    padding-left: 30px;
    position: relative;
}

.criteria-item strong {
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 8px;
}

.checkmark {
    color: var(--primary);
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}

/* Steps Section */
.steps-section {
    background-color: #fcfcfc;
    padding: 60px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.step-box {
    background: white;
    padding: 25px;
    border-radius: 4px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    height: 100%;
}

.step-number-small {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    text-align: center;
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 15px;
}

.step-title {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #333;
}

.step-desc {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Note Text */
.note-box {
    background-color: #fff9f0;
    border-left: 4px solid var(--primary);
    padding: 20px;
    margin: 40px 0;
    border-radius: 2px;
}

/* Submission Form */
.form-section {
    padding: 60px 0;
}

.form-container {
    background: white;
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.form-control-custom {
    border: 1px solid #ddd;
    padding: 10px 15px;
    width: 100%;
    border-radius: 2px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control-custom:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(217, 119, 32, 0.1);
}

.file-upload {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 100%;
}

.file-upload input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-btn {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    padding: 12px 20px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.file-upload-btn i {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 60px 0;
    }
    
    .page-header {
        padding: 60px 0 40px;
    }
    
    .featured-image {
        height: 300px;
    }
    
    .hero-banner {
        padding: 40px 20px;
    }
    
    .hero-banner h2 {
        font-size: 1.8rem;
    }
    
    .form-container {
        padding: 25px;
    }
    
    .custom-select {
        min-width: 150px;
        margin-bottom: 10px;
    }
    
    .genre-list {
        gap: 15px;
    }
    
    .book-img {
        height: 280px;
    }
    
    .imprint-box {
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .book-img {
        height: 550px;
    }
    
    .filter-section .row > div {
        margin-bottom: 15px;
    }
    
    .book-grid-small {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .book-grid-small .book-img {
        height: 150px;
    }
}