/*
Theme Name: The Brokers Guide
Theme URI: https://thebrokersguide.com
Author: Slow Rolling Pete
Author URI: https://thebrokersguide.com
Description: Professional membership theme for The Brokers Guide - Build Your Freight Brokerage from $0 to $100M+
Version: 1.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: brokers-guide
Tags: membership, education, business, clean, modern

This theme, like WordPress, is licensed under the GPL.
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f9fafb;
}

a {
    color: #ff6b35;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #e55a2b;
}

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

/* Header */
.site-header {
    background: #1e3a5f;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.site-logo span {
    color: #ff6b35;
}

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

.main-navigation a {
    color: white;
    font-weight: 500;
    text-decoration: none;
}

.main-navigation a:hover {
    color: #ff6b35;
}

.cta-button {
    background: #ff6b35;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #e55a2b;
    color: white;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    color: white;
    padding: 4rem 2rem;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero .highlight {
    color: #ff6b35;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #ff6b35;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Content Sections */
.content-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1e3a5f;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 3rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: #ff6b35;
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #1e3a5f;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Chapters Grid */
.chapters-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.chapter-item {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #ff6b35;
    transition: all 0.3s;
}

.chapter-item:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateX(5px);
}

.chapter-number {
    color: #ff6b35;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.chapter-item h4 {
    color: #1e3a5f;
    margin-bottom: 0.5rem;
}

.chapter-item p {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Single Chapter/Post */
.chapter-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.chapter-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e5e7eb;
}

.chapter-meta {
    display: flex;
    gap: 2rem;
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.entry-content h2 {
    color: #1e3a5f;
    font-size: 1.75rem;
    margin: 2rem 0 1rem;
}

.entry-content h3 {
    color: #1e3a5f;
    font-size: 1.35rem;
    margin: 1.5rem 0 0.75rem;
}

.entry-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.entry-content ul,
.entry-content ol {
    margin: 1rem 0 1rem 2rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

/* Buttons */
.button,
.wp-block-button__link {
    display: inline-block;
    background: #ff6b35;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s;
}

.button:hover,
.wp-block-button__link:hover {
    background: #e55a2b;
    color: white;
}

.button-secondary {
    background: white;
    color: #1e3a5f;
    border: 2px solid #1e3a5f;
}

.button-secondary:hover {
    background: #1e3a5f;
    color: white;
}

/* CTA Section */
.cta-section {
    padding: 4rem 2rem;
    background: #ff6b35;
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-section .button {
    background: white;
    color: #ff6b35;
    font-size: 1.1rem;
    padding: 1rem 3rem;
}

.cta-section .button:hover {
    background: #f9fafb;
    color: #ff6b35;
}

/* Footer */
.site-footer {
    background: #1e3a5f;
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #ff6b35;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    display: block;
    padding: 0.25rem 0;
}

.footer-section a:hover {
    color: #ff6b35;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.6);
}

/* Responsive */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .chapters-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .main-navigation {
        display: none;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* WordPress Core Styles */
.alignleft {
    float: left;
    margin-right: 1.5rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    text-align: center;
    font-size: 0.9rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}
