/* ============================================================
   The Breed Bible — Global Styles
   Navy + Gold, Premium Feel, Clean Typography
   ============================================================ */

:root {
    --gold: #C8A45A;
    --gold-light: #E8D5A0;
    --gold-dim: rgba(200, 164, 90, 0.15);
    --navy: #1A1E2E;
    --navy-deep: #0F1219;
    --navy-light: #232838;
    --cream: #F5F0E8;
    --warm-white: #FDFBF7;
    --bark: #8B6F47;
    --sage: #7A9E7E;
    --text: #2C2C2C;
    --text-light: #666;
    --text-muted: rgba(245, 240, 232, 0.5);
}

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

body {
    font-family: 'Source Sans 3', sans-serif;
    background: var(--warm-white);
    color: var(--text);
    line-height: 1.7;
}

/* ---- Header ---- */
.site-header {
    background: var(--navy-deep);
    border-bottom: 2px solid var(--gold);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
}

.logo-the {
    font-size: 0.6em;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-right: 0.3em;
}

.logo-breed { color: var(--cream); }
.logo-bible { color: var(--gold); font-style: italic; }

.main-nav a {
    color: var(--cream);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.main-nav a:hover { opacity: 1; }

/* ---- Breadcrumb ---- */
.breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--bark);
    text-decoration: none;
}

.breadcrumb a:hover { text-decoration: underline; }

/* ---- Breed Hero ---- */
.breed-hero {
    background: var(--navy-deep);
    color: var(--cream);
    padding: 3rem 2rem;
    text-align: center;
}

.breed-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.breed-group-badge {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--gold-dim);
    padding: 0.3rem 1rem;
    border-radius: 2px;
    margin-bottom: 1rem;
}

.breed-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.breed-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--gold-light);
    letter-spacing: 0.08em;
}

.breed-quick-facts {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.quick-fact {
    text-align: center;
}

.fact-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.fact-value {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--gold);
}

/* ---- Chapter Navigation ---- */
.chapter-nav {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border: 1px solid #eee;
    border-radius: 4px;
}

.chapter-nav-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--navy);
}

.chapter-groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.chapter-group h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.chapter-group ul {
    list-style: none;
}

.chapter-group li {
    margin-bottom: 0.3rem;
}

.chapter-group a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.chapter-group a:hover {
    color: var(--gold);
}

/* ---- Chapter Content ---- */
.chapter-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.chapter {
    margin-bottom: 3rem;
    scroll-margin-top: 80px;
}

.chapter h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gold-dim);
}

.chapter h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--navy);
    margin: 1.5rem 0 0.75rem;
}

.chapter p {
    margin-bottom: 1rem;
    color: var(--text);
    font-size: 1.05rem;
}

.chapter ul, .chapter ol {
    margin: 1rem 0 1rem 1.5rem;
}

.chapter li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

/* ---- Product Recommendation Box ---- */
.product-box {
    background: linear-gradient(135deg, #faf8f4, #f5f0e8);
    border: 1px solid var(--gold-dim);
    border-left: 3px solid var(--gold);
    border-radius: 4px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.product-box-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.product-box-title::before {
    content: '★ ';
    color: var(--gold);
}

.product-link {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.5rem 1.2rem;
    background: var(--gold);
    color: white;
    text-decoration: none;
    border-radius: 3px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.2s;
}

.product-link:hover {
    background: var(--bark);
}

/* ---- Footer ---- */
.site-footer {
    background: var(--navy-deep);
    color: var(--cream);
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 2rem;
    align-items: start;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
}

.footer-logo em { color: var(--gold); }

.footer-brand p {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    opacity: 0.5;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--cream);
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.footer-links a:hover { opacity: 1; }

.footer-legal {
    text-align: right;
    font-size: 0.8rem;
    opacity: 0.4;
}

.footer-legal a {
    color: var(--gold);
    text-decoration: none;
}

.affiliate-disclosure {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    font-style: italic;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .header-inner { flex-direction: column; gap: 0.5rem; }
    .main-nav a { margin-left: 1rem; }
    .breed-quick-facts { gap: 1rem; }
    .chapter-groups { grid-template-columns: 1fr 1fr; }
    .footer-inner { grid-template-columns: 1fr; text-align: center; }
    .footer-legal { text-align: center; }
    .footer-links { flex-direction: row; justify-content: center; }
}

@media (max-width: 480px) {
    .chapter-groups { grid-template-columns: 1fr; }
}
