/* ====================================
   Joseph Media Group Website Styles
   Modern, conversion-focused design
   ==================================== */

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

:root {
    /* Colors - Dark Professional Theme */
    --primary: #8B1538;
    --primary-light: #A8274A;
    --primary-dark: #6B0F2A;
    --accent: #D4AF37;
    --bg-dark: #0F1419;
    --bg-darker: #090D11;
    --bg-card: #1A1F26;
    --text-primary: #FFFFFF;
    --text-secondary: #B8C5D3;
    --text-muted: #7A8B99;
    --border: #2A3441;
    --success: #28A745;
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-heading: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px 0;
    --section-padding-mobile: 50px 0;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.35rem; }
h5 { font-size: 1.15rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

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

a:hover {
    color: var(--accent);
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--accent);
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding);
}

.section-dark {
    background-color: var(--bg-darker);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: -1.5rem auto 3rem;
    font-size: 1.15rem;
    color: var(--text-secondary);
}

/* Header */
.header {
    background-color: var(--bg-darker);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo-text {
    display: none;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav a {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav a:not(.btn):hover,
.nav a.active {
    color: var(--accent);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    width: 24px;
    height: 3px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--border);
}

.btn-secondary:hover {
    background-color: var(--bg-card);
    border-color: var(--accent);
    color: var(--accent);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-nav {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(139, 21, 56, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-proof {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.proof-stat {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.proof-stat strong {
    color: var(--accent);
    font-size: 1.5rem;
}

.proof-detail {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.content-block h2 {
    color: var(--accent);
    margin-bottom: 1.5rem;
}

/* Process Grid */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.process-step {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.step-number {
    background-color: var(--primary);
    color: var(--text-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.process-step h3 {
    margin-bottom: 1rem;
}

/* Proof Highlight */
.proof-highlight {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    background-color: var(--bg-card);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.proof-stat-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    text-align: center;
}

.proof-description p {
    margin-bottom: 1.5rem;
}

/* CTA Section */
.section-cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    text-align: center;
}

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

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-center {
    text-align: center;
    margin-top: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Content Layout */
.content-layout {
    max-width: 900px;
    margin: 0 auto;
}

.content-main h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.content-main h2:first-child {
    margin-top: 0;
}

.content-main ul {
    margin: 1rem 0 1.5rem 2rem;
    color: var(--text-secondary);
}

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

/* Process Detail */
.process-detail {
    margin: 3rem 0;
}

.process-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
}

.process-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.process-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: var(--text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.process-content h3 {
    margin-bottom: 1rem;
}

.process-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
}

/* Boxes */
.guarantee-box,
.cta-box {
    background-color: var(--bg-card);
    border: 2px solid var(--primary);
    border-radius: 8px;
    padding: 2rem;
    margin: 3rem 0;
}

.guarantee-box h3,
.cta-box h3 {
    color: var(--accent);
    margin-bottom: 1rem;
}

.cta-box {
    text-align: center;
}

/* Proof Showcase */
.proof-showcase {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.proof-main {
    background-color: var(--bg-card);
    padding: 3rem;
    border-radius: 12px;
    border: 2px solid var(--primary);
    text-align: center;
}

.stat-highlight {
    margin-bottom: 2rem;
}

.stat-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.stat-big {
    font-size: 5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.stat-divider {
    font-size: 3rem;
    color: var(--text-muted);
}

.stat-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
}

.stat-detail {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 700;
}

.proof-content h2 {
    margin-bottom: 1.5rem;
}

.proof-content h3 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.guarantee-full {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.guarantee-statement {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

/* Services */
.section-featured {
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}

.service-featured {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.badge {
    display: inline-block;
    background-color: var(--primary);
    color: var(--text-primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature {
    background-color: var(--bg-card);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    text-align: left;
}

.feature h4 {
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.feature p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.service-cta {
    margin-top: 3rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.service-card h3 {
    color: var(--accent);
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 0;
}

/* Team */
.about-intro {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-intro h2 {
    margin-bottom: 2rem;
}

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

.team-member {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.member-content h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.member-title {
    color: var(--primary-light);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* Contact */
.contact-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-cta {
    background-color: var(--bg-card);
    padding: 3rem;
    border-radius: 8px;
    border: 2px solid var(--primary);
    text-align: center;
    margin-bottom: 2rem;
}

.contact-cta h2 {
    margin-bottom: 1rem;
}

.contact-divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
}

.contact-divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background-color: var(--border);
}

.contact-divider span {
    background-color: var(--bg-dark);
    padding: 0 1rem;
    position: relative;
    z-index: 1;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    padding: 1.5rem;
    background-color: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.contact-method h3 {
    color: var(--accent);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.contact-detail {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-detail a {
    color: var(--text-primary);
}

.contact-detail a:hover {
    color: var(--accent);
}

.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.sidebar-card h3 {
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.checklist {
    list-style: none;
    margin: 0;
}

.checklist li {
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    position: relative;
    color: var(--text-secondary);
}

.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
    font-size: 1.1rem;
}

.faq-item {
    margin-bottom: 1.5rem;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item h4 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.faq-item p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Footer */
.footer {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--accent);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

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

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-logo {
    margin-bottom: 0.75rem;
}

.footer-brand {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .proof-highlight,
    .proof-showcase {
        grid-template-columns: 1fr;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Typography */
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.25rem; }
    .section-title { font-size: 2rem; }
    
    /* Header */
    .logo-text {
        display: inline;
        font-size: 1rem;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-darker);
        border-top: 1px solid var(--border);
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 0;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav.active {
        max-height: 400px;
        border-bottom: 1px solid var(--border);
    }
    
    .nav a {
        padding: 1rem 20px;
        border-bottom: 1px solid var(--border);
    }
    
    .nav a:last-child {
        border-bottom: none;
    }
    
    .btn-nav {
        margin: 0 20px;
        text-align: center;
    }
    
    /* Hero */
    .hero {
        padding: 60px 0;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    /* Section */
    .section {
        padding: var(--section-padding-mobile);
    }
    
    /* Grids */
    .content-grid,
    .process-grid,
    .features-grid,
    .services-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .process-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .process-icon {
        margin: 0 auto;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.75rem; }
    .hero-title { font-size: 2rem; }
    .stat-big { font-size: 3rem; }
    .stat-divider { font-size: 2rem; }
}
