:root {
    --primary-color: #1a1a1a;
    /* Dark Charcoal */
    --accent-color: #d4af37;
    /* Gold */
    --text-color: #333333;
    /* Dark Grey */
    --bg-light: #f4f4f4;
    /* Off White */
    --white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--white);
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-link {
    color: var(--primary-color);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 400;
    transition: color 0.3s;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link:hover {
    color: var(--accent-color);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 2px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    font-size: 0.8rem;
}

.btn-nav {
    border: 1px solid var(--primary-color);
    padding: 8px 20px;
}

.btn-nav:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-color);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Hero Section */
.hero {
    background-color: var(--bg-light);
    padding: 80px 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.book-cover-container {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    box-shadow: 20px 20px 0px rgba(0, 0, 0, 0.1);
}

.book-cover {
    width: 100%;
    display: block;
}

.badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 10px 20px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.8rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.tagline {
    font-family: var(--font-body);
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    line-height: 1.1;
}

.blurb {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #555;
}

.cta-group {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.praise {
    border-top: 1px solid #ddd;
    padding-top: 20px;
    font-style: italic;
    color: #555;
    font-family: var(--font-heading);
}

/* About Section */
.about-section {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-image img {
    width: 100%;
    border-radius: 50%;
    /* Circle image */
    border: 5px solid var(--bg-light);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Newsletter */
.newsletter-section {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.newsletter-section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.newsletter-section p {
    margin-bottom: 30px;
    opacity: 0.8;
}

#newsletter-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

#newsletter-form input {
    padding: 15px;
    width: 70%;
    border: none;
    border-radius: 2px;
}

#form-message {
    margin-top: 20px;
    color: var(--accent-color);
    font-weight: bold;
}

/* Footer */
footer {
    background: #111;
    color: #888;
    padding: 40px 0;
    text-align: center;
}


.copyright a {
    color: #888;
    text-decoration: none;
}

.copyright a:hover {
    color: var(--accent-color);
}


.social-links {
    margin-bottom: 20px;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--accent-color);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        gap: 0;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        height: 100vh;
        justify-content: center;
        transition: 0.3s;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        margin: 20px 0;
        color: var(--white);
        font-size: 1.2rem;
    }

    .btn-nav {
        border-color: var(--white);
    }

    /* Hero Responsive */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .book-cover-container {
        max-width: 250px;
        margin-bottom: 20px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .cta-group {
        justify-content: center;
    }

    /* About Responsive */
    .about-grid {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column-reverse;
        /* Puts image above text on mobile */
    }

    .about-image img {
        max-width: 250px;
        display: block;
        margin: 0 auto;
    }

    /* Newsletter Responsive */
    #newsletter-form {
        flex-direction: column;
    }

    #newsletter-form input {
        width: 100%;
    }
}