:root {
    --primary-red: #C41E3A;
    --dark-red: #8B1A2E;
    --accent-gold: #D4AF37;
    --cream: #F5F1E8;
    --charcoal: #2C2C2C;
    --light-gray: #E8E4DC;
    --white: #FFFFFF;
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: 'Crimson Text', serif;
    color: var(--charcoal);
    line-height: 1.7;
    background-color: var(--cream);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--charcoal);
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.8rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 2rem;
}

.section-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary-red);
    margin-bottom: 1rem;
    display: inline-block;
}

/* Navigation */
.navbar {
    background: var(--white);
    padding: 1.5rem 0;
    box-shadow: 0 2px 20px var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-red) !important;
    letter-spacing: -0.02em;
}

.navbar-nav .nav-link {
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--charcoal);
    padding: 0.5rem 1.2rem !important;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-red);
}

.navbar-nav .nav-link:hover::after {
    width: 60%;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: url('../images/banner.jpg');
    overflow: hidden;
    padding: 8rem 0 6rem;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    opacity: 0.7;
    
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: var(--white);
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.btn-primary-custom {
    background: var(--accent-gold);
    color: var(--charcoal);
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 0;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary-custom:hover {
    background: #CAAA3D;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    color: var(--charcoal);
}

.btn-outline-custom {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.9rem 2.3rem;
    border-radius: 0;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.btn-outline-custom:hover {
    background: var(--white);
    color: var(--primary-red);
}

/* Section Styling */
section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-red);
    margin-top: 1.5rem;
}

/* Featured Books */
.book-card {
    background: var(--white);
    border-radius: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px var(--shadow-light);
    height: 100%;
    border: none;
    position: relative;
}

.book-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.book-card:hover::before {
    transform: scaleX(1);
}

.book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-medium);
}

.book-cover {
    position: relative;
    overflow: hidden;
    height: 350px;
    background: var(--light-gray);
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.book-card:hover .book-cover img {
    transform: scale(1.08);
}

.book-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-gold);
    color: var(--charcoal);
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    font-weight: 700;
    z-index: 2;
}

.book-card-body {
    padding: 2rem;
}

.book-category {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary-red);
    margin-bottom: 0.8rem;
}

.book-title {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    color: var(--charcoal);
}

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

.book-price {
    font-family: 'Space Mono', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-top: 1rem;
}

/* Articles Grid */
.article-card {
    background: var(--white);
    border-radius: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 5px 25px var(--shadow-light);
    height: 100%;
    border: none;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    box-shadow: 0 15px 40px var(--shadow-medium);
    transform: translateY(-5px);
}

.article-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.article-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--white);
    padding: 0.8rem 1.2rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
}

.article-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-category {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.article-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--charcoal);
}

.article-excerpt {
    color: #666;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.read-more {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.read-more i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: var(--dark-red);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Interactive Quiz Section */
.quiz-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    position: relative;
    overflow: hidden;
}

.quiz-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(196, 30, 58, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.quiz-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.quiz-section h2,
.quiz-section .section-label {
    color: var(--white);
}

.quiz-option {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    padding: 1.5rem 2rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    color: var(--white);
    display: flex;
    align-items: center;
}

.quiz-option:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-gold);
    transform: translateX(10px);
}

.quiz-option i {
    margin-right: 1rem;
    color: var(--accent-gold);
    font-size: 1.3rem;
}

/* CTA Section */
.cta-section {
    background: var(--primary-red);
    background-image: 
        linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%),
        url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><path d="M30 0L60 30L30 60L0 30Z" fill="rgba(255,255,255,0.03)"/></svg>');
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.price-tag {
    font-family: 'Space Mono', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin: 1rem 0;
}

/* Testimonials */
.testimonial-slider {
    position: relative;
    padding: 3rem 0;
}

.testimonial-card {
    background: var(--white);
    padding: 3rem;
    box-shadow: 0 10px 40px var(--shadow-light);
    position: relative;
    margin: 0 1rem;
}

.testimonial-quote {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
    color: var(--charcoal);
    position: relative;
}

.testimonial-quote::before {
    content: '"';
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    position: absolute;
    top: -1.5rem;
    left: -1rem;
    color: var(--light-gray);
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--light-gray);
    margin-right: 1.5rem;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.author-role {
    font-size: 0.9rem;
    color: #666;
}

/* Newsletter */
.newsletter-section {
    background: var(--charcoal);
    position: relative;
}

.newsletter-section h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.newsletter-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.newsletter-form {
    max-width: 600px;
}

.newsletter-form .form-control {
    border: none;
    border-radius: 0;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-color: var(--accent-gold);
    box-shadow: none;
}

.newsletter-form .btn {
    border-radius: 0;
    padding: 1rem 2.5rem;
}

/* Footer */
footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
}

.footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.footer-links h5 {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    font-family: 'Space Mono', monospace;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--accent-gold);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--primary-red);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--charcoal);
    color: var(--white);
    padding: 1.5rem;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-buttons .btn {
    border-radius: 0;
    padding: 0.7rem 1.8rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 3rem;
    box-shadow: 0 10px 40px var(--shadow-light);
}

.contact-form .form-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid var(--light-gray);
    border-radius: 0;
    padding: 0.9rem 1.2rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-red);
    box-shadow: none;
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* Contact Info */
.contact-info-card {
    background: var(--white);
    padding: 2rem;
    box-shadow: 0 5px 25px var(--shadow-light);
    height: 100%;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px var(--shadow-medium);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-info-card h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.contact-info-card p {
    color: #666;
    margin-bottom: 0;
}

/* Map Container */
.map-container {
    height: 400px;
    background: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Team Members */
.team-member {
    background: var(--white);
    overflow: hidden;
    box-shadow: 0 5px 25px var(--shadow-light);
    transition: all 0.4s ease;
    text-align: center;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.team-photo {
    height: 300px;
    overflow: hidden;
    background: var(--light-gray);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .team-photo img {
    transform: scale(1.1);
}

.team-info {
    padding: 2rem;
}

.team-info h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.team-role {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

/* Policy Pages */
.policy-content {
    background: var(--white);
    padding: 4rem;
    box-shadow: 0 5px 25px var(--shadow-light);
    max-width: 900px;
    margin: 0 auto;
}

.policy-content h2 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-red);
}

.policy-content h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.policy-content p,
.policy-content li {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.policy-content ul,
.policy-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-section h1 {
        font-size: 3rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    .contact-form,
    .policy-content {
        padding: 2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-buttons .btn {
        width: 100%;
    }
}

/* Utility Classes */
.bg-cream {
    background-color: var(--cream);
}

.bg-light-gray {
    background-color: var(--light-gray);
}

.text-primary-red {
    color: var(--primary-red);
}

.text-accent-gold {
    color: var(--accent-gold);
}




.navbar-brand img{
    max-width: 200px;
    width: 200px;
    object-fit: contain;
}

html{
    overflow-x: hidden;
}


footer .navbar-brand img{
    filter: brightness(0) invert(1);
}