/*
Theme Name: Barrys Biblical Books v6
Theme URI: https://barrysbiblicalbooks.com
Author: Web Design Team
Description: Full-turnkey classic layout featuring customized layout geometry, center-justified header mechanics, right-aligned image accents, and stylized homepage grid blocks.
Version: 6.0
Text Domain: barrys-books-v6
*/

:root {
    --primary-green: #032b16;
    --accent-gold: #d4af37;
    --parchment-bg: #fdfbf7;
    --border-color: #e3dcce;
    --text-dark: #221f1c;
    --text-light: #ffffff;
    --font-heading: 'Cormorant Garamond', 'Georgia', serif;
    --font-body: 'Montserrat', 'Helvetica Neue', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.6;
}

/* Header Geometric Configuration Changes */
.site-header {
    background-color: var(--primary-green);
    border-bottom: 3px solid var(--accent-gold);
    padding: 25px 5% 15px 5%;
}

.header-top-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.header-left-logo {
    justify-self: start;
}

.header-center-title {
    justify-self: center;
    text-align: center;
}

.header-right-accent {
    justify-self: end;
}

.custom-logo-img {
    max-height: 90px;
    width: auto;
    border: 1px solid var(--accent-gold);
}

/* Enlarged Center Justified Title Configuration */
.custom-title-banner {
    max-height: 115px;
    width: auto;
    display: block;
    margin: 0 auto;
}

.custom-right-accent-img {
    max-height: 90px;
    width: auto;
}

/* Fallback Header Branding Layout text */
.fallback-brand h1 {
    font-family: var(--font-heading);
    color: var(--text-light);
    font-size: 2.2rem;
    letter-spacing: 2px;
}
.fallback-brand p {
    color: var(--accent-gold);
    font-size: 0.9rem;
    letter-spacing: 3px;
    margin-top: 5px;
}

/* Center Justified Dropdown Navigation Row */
.main-navigation-centered {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 25px auto 5px auto;
    border-top: 1px solid rgba(212, 175, 55, 0.25);
    padding-top: 15px;
    width: 100%;
}

.main-navigation-centered ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

.main-navigation-centered a {
    color: var(--text-light);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    padding: 6px 12px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.main-navigation-centered a:hover, .main-navigation-centered .current-menu-item a {
    color: var(--accent-gold);
    border-bottom: 1px solid var(--accent-gold);
}

/* Hero Section Framework Container */
.hero-viewport {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Homepage 3-Column Display Layout Block Grid Row */
.homepage-blocks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.home-card-block {
    background-color: var(--parchment-bg);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 40px 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.profile-block-img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 4px;
    border: 2px solid var(--accent-gold);
    padding: 4px;
    background: #fff;
    margin-bottom: 15px;
}

.profile-card-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary-green);
    font-weight: 700;
}

.shop-cta-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--primary-green);
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-weight: 700;
}

.btn-luxury-gold {
    display: inline-block;
    background-color: var(--primary-green);
    color: var(--text-light);
    border: 1px solid var(--accent-gold);
    padding: 12px 28px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-luxury-gold:hover {
    background-color: var(--accent-gold);
    color: var(--primary-green);
    cursor: pointer;
}

/* Customized Dark Green Devotional Block Panel Style Rules */
.scripture-dark-block {
    background-color: var(--primary-green) !important;
    border: 1px solid var(--accent-gold) !important;
}

.scripture-dark-block .scripture-card-quote {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--text-light) !important;
    line-height: 1.6;
    margin-bottom: 15px;
}

.scripture-dark-block .scripture-card-ref {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold) !important;
    font-weight: 600;
}

/* Sub-page Internal Layout Controls */
.internal-page-container {
    max-width: 900px;
    margin: 50px auto;
    padding: 0 20px;
}

.internal-card {
    background-color: var(--parchment-bg);
    border: 1px solid var(--border-color);
    padding: 45px;
    border-radius: 4px;
}

.page-main-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 25px;
    border-bottom: 1px solid var(--accent-gold);
    padding-bottom: 10px;
}

.site-footer {
    background-color: var(--primary-green);
    border-top: 2px solid var(--accent-gold);
    color: var(--text-light);
    padding: 25px 20px;
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
}

/* Responsive Structural Breakpoint Mechanics */
@media (max-width: 992px) {
    .homepage-blocks-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .hero-viewport {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .header-top-row {
        grid-template-columns: 1fr;
        gap: 20px;
        justify-items: center;
    }
    .header-left-logo, .header-center-title, .header-right-accent {
        justify-self: center;
    }
    .main-navigation-centered {
        margin-top: 20px;
    }
    .main-navigation-centered ul {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}