/*
Theme Name: The Business Of Series
Author: JR Epps / Runic Publishing LLC
Description: Book series promotional theme. Burgundy/Gold/Navy primary palette with Pink/Teal accents. Supports "The Business of Dating" and "The Business of Marriage" book brands.
Version: 1.0
*/

/* =====================================================
   SELF-HOSTED FONTS
   Download these .woff2 files into /fonts/ folder
   ===================================================== */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./fonts/playfair-display-v37-latin-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./fonts/playfair-display-v37-latin-700.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/dm-sans-v15-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./fonts/dm-sans-v15-latin-500.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./fonts/dm-sans-v15-latin-600.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./fonts/dm-sans-v15-latin-700.woff2') format('woff2');
}

/* =====================================================
   CSS CUSTOM PROPERTIES — BRAND PALETTE
   ===================================================== */
:root {
    /* === Site-Wide Primary (Series Brand) === */
    --brand-navy: #0F2644;
    --brand-navy-light: #1a3a5c;
    --brand-burgundy: #722f37;
    --brand-burgundy-light: #8b3a44;
    --brand-gold: #d4af37;
    --brand-gold-light: #f5e6b8;
    --brand-cream: #faf8f5;

    /* === Dating Book Accent === */
    --accent-pink: #e91e8c;
    --accent-pink-light: #f8d7e8;
    --accent-teal: #14b8a6;

    /* === Text === */
    --text-dark: #222222;
    --text-gray: #555555;
    --text-light: rgba(255,255,255,0.9);

    /* === Typography === */
    --font-head: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    color: var(--text-dark);
    background: #fff;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--brand-navy);
    margin-top: 0;
    line-height: 1.2;
}

a {
    color: var(--brand-burgundy);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--brand-gold);
}

img {
    max-width: 100%;
    height: auto;
}

p {
    margin-top: 0;
}

/* =====================================================
   HEADER
   ===================================================== */
.site-header {
    background-color: var(--brand-navy);
    padding: 1rem 0;
    color: white;
    position: relative;
    z-index: 100;
}

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

/* Text-Based Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}

.site-logo:hover {
    opacity: 0.85;
}

.site-logo .logo-image {
    height: 60px;
    width: auto;
    display: block;
}

.site-logo .logo-text {
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    line-height: 1.15;
    white-space: nowrap;
}

.site-logo .logo-text .series-highlight {
    color: var(--brand-gold);
}

/* Navigation */
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}

.main-navigation a {
    color: #fff;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-navigation a:hover {
    color: var(--brand-gold);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

/* =====================================================
   LAYOUT
   ===================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.page-content {
    padding: 60px 0;
}

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

.entry-content p {
    margin-bottom: 1.5rem;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    letter-spacing: 0.3px;
}

.btn-primary {
    background-color: var(--brand-burgundy);
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(114, 47, 55, 0.3);
}

.btn-primary:hover {
    background-color: var(--brand-burgundy-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(114, 47, 55, 0.4);
}

.btn-gold {
    background-color: var(--brand-gold);
    color: var(--brand-navy) !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
    background-color: #c9a227;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-navy {
    background-color: var(--brand-navy);
    color: #ffffff !important;
}

.btn-navy:hover {
    background-color: #0a1a30;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--brand-gold);
    color: var(--brand-gold) !important;
}

.btn-outline:hover {
    background: var(--brand-gold);
    color: var(--brand-navy) !important;
}

/* =====================================================
   CARDS
   ===================================================== */
.card {
    border: 1px solid #eee;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.card-body {
    padding: 1.5rem;
}

/* =====================================================
   GRID LAYOUTS
   ===================================================== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* =====================================================
   SECTION PATTERNS
   ===================================================== */
.section {
    padding: 80px 24px;
}

.section-alt {
    background-color: var(--brand-cream);
}

.section-navy {
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-light) 100%);
    color: white;
}

.section-burgundy {
    background: linear-gradient(135deg, var(--brand-burgundy) 0%, var(--brand-burgundy-light) 100%);
    color: white;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    background: var(--brand-burgundy);
    color: white;
    padding: 4px 14px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    font-family: var(--font-body);
}

.section-title {
    font-family: var(--font-head);
    font-size: 2rem;
    color: var(--brand-navy);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-subtitle {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
    background-color: var(--brand-navy);
    color: white;
    font-family: var(--font-body);
}

.footer-main {
    padding: 60px 24px 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand {
    padding-right: 40px;
}

.footer-logo-text {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    display: block;
    margin-bottom: 20px;
}

.footer-logo-text .series-highlight {
    color: var(--brand-gold);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--brand-gold);
    color: var(--brand-navy);
}

.footer-column h4 {
    color: white;
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: var(--brand-gold);
    padding-left: 5px;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 24px;
}

.footer-bottom .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    grid-template-columns: none;
}

.footer-copyright p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-copyright .footer-subsidiary {
    font-size: 0.8rem;
    margin-top: 4px;
    opacity: 0.8;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: white;
}

.footer-legal-links .separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 992px) {
    .site-logo .logo-text {
        font-size: 1.35rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: span 2;
        padding-right: 0;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-navigation {
        display: none;
        width: 100%;
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        text-align: center;
    }
    
    .main-navigation li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .main-navigation a {
        display: block;
        padding: 12px 0;
    }
    
    .site-logo .logo-text {
        font-size: 1.15rem;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 60px 20px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 600px) {
    .footer-main {
        padding: 40px 24px 30px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-column h4 {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .footer-bottom .footer-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-legal-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 400px) {
    .site-logo .logo-text {
        font-size: 1rem;
        white-space: normal;
        line-height: 1.1;
    }
}
