:root {
    --blood-red: #8B0000;
    --dark-red: #5C0000;
    --charcoal: #1a1a1a;
    --darker-charcoal: #0d0d0d;
    --light-gray: #cccccc;
    --off-white: #f5f5f5;
    --accent-gold: #d4af37;
}

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

body {
    font-family: 'Georgia', serif;
    background-color: var(--darker-charcoal);
    color: var(--light-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
nav {
    background: linear-gradient(180deg, rgba(13, 13, 13, 0.98) 0%, rgba(13, 13, 13, 0.95) 100%);
    padding: 1.2rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(139, 0, 0, 0.3);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

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

.logo-nav {
    height: 55px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.1);
    transition: transform 0.3s ease;
}

.logo-nav:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--light-gray);
    text-decoration: none;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--blood-red);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--light-gray);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)), url('../images/sitebanner.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 900px;
    padding: 2rem;
}

.hero-logo {
    max-width: 350px;
    width: 80%;
    height: auto;
    margin-bottom: 2.5rem;
    filter: drop-shadow(0 5px 25px rgba(139, 0, 0, 0.6)) brightness(1.05);
    object-fit: contain;
}

.hero h1 {
    font-size: 4rem;
    color: var(--off-white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.9);
    font-weight: 300;
    letter-spacing: 4px;
    line-height: 1.2;
}

.tagline {
    font-size: 1.4rem;
    color: var(--light-gray);
    font-style: italic;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.9);
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 1.1rem 2.8rem;
    background-color: var(--blood-red);
    color: var(--off-white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--blood-red);
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--blood-red);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.5);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

/* Section styling */
.section {
    padding: 7rem 0;
}

.section-dark {
    background-color: var(--charcoal);
}

.section-darker {
    background-color: var(--darker-charcoal);
}

.section-title {
    font-size: 3.2rem;
    color: var(--off-white);
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    font-weight: 300;
}

.section-subtitle {
    text-align: center;
    font-size: 1.15rem;
    color: var(--light-gray);
    font-style: italic;
    margin-bottom: 4rem;
    font-weight: 300;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--blood-red), transparent);
    margin: 0 auto 3rem;
}

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

.book-card {
    background-color: rgba(26, 26, 26, 0.8);
    padding: 2rem;
    border: 1px solid var(--dark-red);
    transition: all 0.3s ease;
    text-align: center;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.3);
    border-color: var(--blood-red);
}

.book-cover-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--dark-red) 100%);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-gray);
    font-style: italic;
    border: 1px solid var(--dark-red);
}

.book-title {
    font-size: 1.8rem;
    color: var(--off-white);
    margin-bottom: 0.5rem;
}

.book-series {
    font-size: 1rem;
    color: var(--blood-red);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.book-description {
    color: var(--light-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.book-status {
    font-style: italic;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.book-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: transparent;
    color: var(--blood-red);
    border: 2px solid var(--blood-red);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.book-button:hover {
    background-color: var(--blood-red);
    color: var(--off-white);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    width: 100%;
    height: 500px;
    background-image: url('../images/silhouette.jpeg');
    background-size: cover;
    background-position: center;
    border: 2px solid var(--dark-red);
}

.about-text {
    color: var(--light-gray);
    font-size: 1.1rem;
    line-height: 1.9;
}

.about-text p {
    margin-bottom: 1.5rem;
}

/* Newsletter Section */
.newsletter-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-form {
    margin-top: 3rem;
    padding: 3rem;
    background-color: var(--charcoal);
    border: 2px solid var(--dark-red);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--light-gray);
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    background-color: var(--darker-charcoal);
    border: 1px solid var(--dark-red);
    color: var(--off-white);
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--blood-red);
}

.submit-button {
    width: 100%;
    padding: 1rem 2rem;
    background-color: var(--blood-red);
    color: var(--off-white);
    border: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.4);
}

/* Footer */
footer {
    background-color: var(--darker-charcoal);
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--dark-red);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 2rem;
    opacity: 0.8;
    object-fit: contain;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-links a {
    color: var(--light-gray);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--blood-red);
}

.copyright {
    color: var(--light-gray);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(13, 13, 13, 0.98);
        padding: 2rem;
        gap: 1.5rem;
    }

    .nav-links.active {
        display: flex;
    }
    
    .logo-nav {
        height: 45px;
    }

    .hero h1 {
        font-size: 2.8rem;
        letter-spacing: 2px;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .hero-logo {
        max-width: 280px;
        width: 75%;
    }
    
    .section {
        padding: 5rem 0;
    }

    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 400px;
    }

    .books-grid {
        grid-template-columns: 1fr;
    }
}

/* Texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/concrete.jpeg');
    background-size: 400px;
    opacity: 0.03;
    pointer-events: none;
    z-index: -1;
}