/* --- GLOBAL STYLES & VARIABLES --- */
:root {
    --color-midnight: #000033; /* Dark Navy/Black Background */
    --color-charcoal: #1A1A2E; /* Deep Charcoal Section Background */
    --color-white: #FFFFFF;
    --color-gold: #CCAA66;   /* Metallic Gold Accent */
    --font-serif: 'Playfair Display', serif; /* For Titles/Scholarly Look */
    --font-sans: 'Open Sans', sans-serif;  /* For Body Text */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: #333; /* Default dark text */
    background-color: #fff;
}

.container {
    width: 90%;
    max-width: 1200px; /* Constrain width for readability */
    margin: 0 auto;
    padding: 40px 0;
}

h1, h2, h3 {
    font-family: var(--font-serif);
    color: var(--color-midnight);
    margin-bottom: 15px;
}

/* --- BUTTON STYLING (CTAs) --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    margin-right: 15px;
    transition: background-color 0.3s, transform 0.2s;
}

/* Primary CTA (Gold/Amazon) */
.primary-cta {
    background-color: var(--color-gold);
    color: var(--color-midnight);
    border: 2px solid var(--color-gold);
}
.btn-large {
    padding: 15px 40px;
    font-size: 1.1em;
}

/* Secondary CTA (B&N/Direct Purchase) */
.secondary-cta {
    background-color: var(--color-charcoal);
    color: white;
    border: 2px solid var(--color-charcoal);
}

/* --- SECTION STYLING --- */

/* ========================== HERO BLOCK ========================== */
.hero-section {
    background: linear-gradient(rgba(0, 0, 51, 0.8), rgba(0, 0, 51, 0.9)), url('Background.jpg') center/cover no-repeat; /* Replace with actual nebula image */
    color: white;
    text-align: center;
    padding: 80px 20px 60px;
}

.hero-content h1 {
    font-size: 4em;
    margin-bottom: -10px;
    color: var(--color-gold);
    text-shadow: 0 0 15px rgba(204, 170, 102, 0.6); /* Glow effect */
}

.hero-content h2 {
    font-size: 2em;
    margin-bottom: 30px;
    color: white;
}

/* Book Cover Positioning */
.book-cover {
    width: 250px; /* Adjust based on optimal web viewing size */
    height: auto;
    margin: 40px 0 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* ========================== MANIFESTO BLOCK ========================== */
.manifesto-block {
    background-color: var(--color-white);
    text-align: center;
    padding: 80px 0;
    border-bottom: 1px solid #eee;
}

.blurb-text h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--color-midnight);
}

/* ========================== THEORY BLOCK ========================== */
.theory-block {
    background-color: #f8f9fa; /* Light grey background to separate sections */
    padding-top: 60px;
}
.intro-paragraph {
    text-align: center;
    max-width: 800px;
    margin: 20px auto 50px auto;
    font-style: italic;
}

.theory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Three equal columns */
    gap: 40px;
    margin-top: 40px;
}

.theory-pillar {
    padding: 20px;
    background-color: white;
    border-left: 4px solid var(--color-gold); /* Visual accent */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.theory-pillar h3 {
    font-size: 1.5em;
    color: var(--color-midnight);
    margin-bottom: 10px;
}


/* ========================== CTA / PURCHASE BLOCK ========================== */
.cta-block {
    background-color: var(--color-charcoal);
    text-align: center;
    padding: 70px 20px;
}

.cta-content h2 {
    font-size: 3em;
    margin-bottom: 15px;
    color: var(--color-gold);
}

.purchase-buttons a {
    margin-top: 30px;
}


/* ========================== FOOTER ========================== */
footer {
    background-color: #111122; /* Darker than charcoal */
    color: #aaa;
    padding: 20px 0;
    font-size: 0.9em;
}

/* --- MEDIA QUERIES (For Mobile Responsiveness) --- */
@media (max-width: 960px) {
    /* Adjust grid for tablets/small desktops */
    .theory-grid {
        grid-template-columns: repeat(2, 1fr); /* Two columns on medium screens */
    }

    h1 {
        font-size: 3em;
    }
}

@media (max-width: 600px) {
    /* Adjust grid for mobile phones */
    .theory-grid {
        grid-template-columns: 1fr; /* Single column on small screens */
    }

    h2 {
        font-size: 2em;
    }
    
    .hero-content h1 {
        font-size: 2.5em;
    }

    /* Stack the buttons vertically on mobile */
    .btn {
        display: block;
        width: 90%; /* Make buttons wide enough to touch */
        margin: 15px auto;
    }

    .hero-ctas a, .purchase-buttons a {
        margin-right: 0;
        margin-bottom: 15px;
    }
}
