/* General Body Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff; /* White background */
    color: #333;
    line-height: 1.6;
}

/* Dark Navy and Gold Theme */
:root {
    --primary-dark-navy: #001f3f; /* Dark Navy */
    --primary-gold: #B08D57; /* Classy Gold - similar to Nobis */
    --accent-light-gold: #D4B790; /* Lighter, desaturated gold */
    --text-light: #ffffff;
    --text-dark: #333333;
    --section-bg: #ffffff; /* White section background */
}

/* Container for centering content */
.container {
    width: 80%;
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: var(--primary-dark-navy);
    color: var(--text-light);
    padding-top: 30px;
    min-height: 70px;
    border-bottom: var(--primary-gold) 3px solid;
}

header a {
    color: var(--text-light);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}

header ul {
    padding: 0;
    margin: 0;
    list-style: none;
    float: right;
}

header li {
    float: left;
    display: inline;
    padding: 0 20px 0 20px;
}

header #branding {
    float: left;
}

header #branding h1 {
    margin: 0;
    font-size: 24px;
}

header nav {
    float: right;
    margin-top: 10px;
}

header .highlight,
header .current a {
    color: var(--primary-gold);
    font-weight: bold;
}

header a:hover {
    color: var(--accent-light-gold);
    font-weight: bold;
}

/* Hero Section */
.hero {
    min-height: 400px;
    background: var(--primary-dark-navy) url('../images/hero_background_placeholder.jpg') no-repeat center center/cover; /* Placeholder, will be book-themed */
    text-align: center;
    color: var(--text-light);
    padding: 100px 20px;
    position: relative; /* For potential overlays */
}

.hero::before { /* Optional overlay for text readability */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 31, 63, 0.5); /* Dark navy overlay */
}

.hero-content {
    position: relative; /* To sit above the overlay */
    z-index: 1;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 10px;
    color: var(--primary-gold);
}

.hero .book-title {
    font-size: 32px;
    color: var(--text-light);
    font-style: italic;
}

.hero .subtitle {
    font-size: 20px;
    margin-bottom: 30px;
}

.hero .book-cover-hero {
    max-width: 250px;
    margin-bottom: 20px;
    border: 5px solid var(--primary-gold);
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

/* Buttons */
.button_1, .button_2 {
    display: inline-block;
    height: 38px;
    background: var(--primary-gold);
    border: none;
    padding: 0 20px;
    color: var(--primary-dark-navy);
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
    margin: 5px;
    transition: background-color 0.3s ease;
}

.button_1:hover {
    background: var(--accent-light-gold);
    color: var(--primary-dark-navy);
}

.button_2 {
    background: transparent;
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
}

.button_2:hover {
    background: var(--primary-gold);
    color: var(--primary-dark-navy);
}

/* Sections */
section {
    padding: 40px 0;
    overflow: hidden;
    background-color: var(--section-bg);
    border-bottom: 1px solid #ddd;
}

section:nth-child(even) { /* Alternate section background for visual separation */
    background-color: #f9f9f9;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
    color: var(--primary-dark-navy);
}

.section-title span {
    color: var(--primary-gold);
}

/* Specific Section Styles */
#author-spotlight img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    float: left;
    margin-right: 20px;
    border: 3px solid var(--primary-gold);
}

#social-proof blockquote {
    font-style: italic;
    font-size: 1.2em;
    margin: 20px auto;
    padding: 10px 20px;
    border-left: 5px solid var(--primary-gold);
    background-color: var(--accent-light-gold);
    color: var(--text-dark);
    max-width: 70%;
}

/* About the Book Page */
.book-details-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    align-items: start;
}

.book-cover-page {
    max-width: 100%;
    height: auto;
    border: 5px solid var(--primary-gold);
}

/* About the Author Page */
.author-bio-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    align-items: center;
}

.author-photo-page {
    max-width: 100%;
    border-radius: 10px;
    border: 5px solid var(--primary-gold);
}

/* Where to Buy Page */
.retailer-links .retailer {
    background: #fff;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-left: 5px solid var(--primary-dark-navy);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.retailer-links .retailer img {
    max-height: 40px;
    margin-right: 15px;
}

/* Reviews Page */
.review-item {
    background: var(--accent-light-gold);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    border-left: 5px solid var(--primary-gold);
}

.review-item img.review-image {
    max-width: 100%;
    border: 1px solid #ccc;
    margin-bottom: 10px;
}

/* Resources/Affiliates Page */
.resource-item {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden; /* Clearfix */
}

.resource-item img {
    max-width: 150px;
    float: left;
    margin-right: 20px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
}

.resource-item h3 {
    color: var(--primary-dark-navy);
}

.resource-item .affiliate-code {
    font-weight: bold;
    color: var(--primary-gold);
    background-color: var(--primary-dark-navy);
    padding: 5px 10px;
    border-radius: 3px;
    display: inline-block;
    margin-top: 10px;
}

/* Contact Page */
.contact-form-section, .contact-info-section {
    background: #fff;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 5px;
    border-left: 5px solid var(--primary-dark-navy);
}

.contact-form-section input[type="text"],
.contact-form-section input[type="email"],
.contact-form-section textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    box-sizing: border-box; /* Important for padding and width */
}

/* Footer */
footer {
    padding: 20px;
    margin-top: 20px;
    color: var(--text-light);
    background-color: var(--primary-dark-navy);
    text-align: center;
    border-top: 3px solid var(--primary-gold);
}

footer img.publisher-logo {
    max-height: 40px;
    margin-top: 10px;
    filter: brightness(0) invert(1); /* To make it white if it's dark */
}

/* Responsive Design */
@media(max-width: 768px) {
    header #branding,
    header nav,
    header nav li {
        float: none;
        text-align: center;
        width: 100%;
    }

    header {
        padding-bottom: 20px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero .book-title {
        font-size: 26px;
    }

    .hero .subtitle {
        font-size: 18px;
    }

    .container {
        width: 95%;
    }

    .book-details-grid, .author-bio-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .book-details-grid img, .author-bio-grid img {
        margin-bottom: 20px;
    }

    #author-spotlight img {
        float: none;
        display: block;
        margin: 0 auto 15px auto;
    }

    .retailer-links .retailer {
        flex-direction: column;
        text-align: center;
    }

    .retailer-links .retailer img {
        margin-bottom: 10px;
    }

    .resource-item img {
        float: none;
        display: block;
        margin: 0 auto 15px auto;
    }
}

