/*
 Theme Name:   NCF Child Theme
 Theme URI:    https://nationalcreditfixers.com
 Description:  Child theme for National Credit Fixers, built on Hello Elementor
 Author:       Michael Ryan Sia
 Author URI:   https://builtbymichael.com
 Template:     hello-elementor
 Version:      1.0.0
 Text Domain:  ncf-child
*/

/* ==========================================================================
   NCF Brand Variables
   ========================================================================== */

:root {
    /* Primary Colors */
    --ncf-navy:       #1B2A4A;
    --ncf-blue:       #2563EB;
    --ncf-blue-dark:  #1E40AF;
    --ncf-blue-light: #3B82F6;

    /* Secondary Colors */
    --ncf-gold:       #D4A843;
    --ncf-gold-light: #E8C566;

    /* Neutrals */
    --ncf-white:      #FFFFFF;
    --ncf-off-white:  #F8F9FA;
    --ncf-gray-100:   #F1F5F9;
    --ncf-gray-200:   #E2E8F0;
    --ncf-gray-300:   #CBD5E1;
    --ncf-gray-500:   #64748B;
    --ncf-gray-700:   #334155;
    --ncf-gray-900:   #0F172A;

    /* Accent */
    --ncf-green:      #16A34A;
    --ncf-red:        #DC2626;

    /* Typography */
    --ncf-font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ncf-font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ==========================================================================
   Global Styles
   ========================================================================== */

body {
    font-family: var(--ncf-font-body);
    color: var(--ncf-gray-900);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--ncf-font-heading);
    color: var(--ncf-navy);
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: var(--ncf-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--ncf-blue-dark);
}

/* ==========================================================================
   Header
   ========================================================================== */

.ncf-header {
    background: var(--ncf-white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.ncf-header-phone {
    color: var(--ncf-navy);
    font-weight: 600;
    font-size: 1.1rem;
}

.ncf-header-phone a {
    color: var(--ncf-navy);
}

.ncf-header-phone a:hover {
    color: var(--ncf-blue);
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.ncf-nav a {
    color: var(--ncf-gray-700);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.2s ease;
}

.ncf-nav a:hover,
.ncf-nav a.current {
    color: var(--ncf-blue);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.ncf-btn-primary {
    background: var(--ncf-blue) !important;
    color: var(--ncf-white) !important;
    border: none !important;
    padding: 0.875rem 2rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    transition: background 0.2s ease, transform 0.1s ease !important;
    cursor: pointer;
}

.ncf-btn-primary:hover {
    background: var(--ncf-blue-dark) !important;
    transform: translateY(-1px);
}

.ncf-btn-secondary {
    background: transparent !important;
    color: var(--ncf-blue) !important;
    border: 2px solid var(--ncf-blue) !important;
    padding: 0.875rem 2rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
    cursor: pointer;
}

.ncf-btn-secondary:hover {
    background: var(--ncf-blue) !important;
    color: var(--ncf-white) !important;
}

.ncf-btn-gold {
    background: var(--ncf-gold) !important;
    color: var(--ncf-white) !important;
    border: none !important;
    padding: 0.875rem 2rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: background 0.2s ease !important;
    cursor: pointer;
}

.ncf-btn-gold:hover {
    background: var(--ncf-gold-light) !important;
}

/* ==========================================================================
   Hero Sections
   ========================================================================== */

.ncf-hero {
    background: linear-gradient(135deg, var(--ncf-navy) 0%, #2A3F6E 100%);
    color: var(--ncf-white);
    padding: 5rem 0;
}

.ncf-hero h1 {
    color: var(--ncf-white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.ncf-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
}

@media (max-width: 768px) {
    .ncf-hero {
        padding: 3rem 0;
    }

    .ncf-hero h1 {
        font-size: 2rem;
    }

    .ncf-hero p {
        font-size: 1rem;
    }
}

/* ==========================================================================
   Content Sections
   ========================================================================== */

.ncf-section {
    padding: 5rem 0;
}

.ncf-section-alt {
    background: var(--ncf-off-white);
}

.ncf-section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.ncf-section-title h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.ncf-section-title p {
    color: var(--ncf-gray-500);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   Cards
   ========================================================================== */

.ncf-card {
    background: var(--ncf-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ncf-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.ncf-card-icon {
    width: 48px;
    height: 48px;
    background: var(--ncf-gray-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--ncf-blue);
    font-size: 1.5rem;
}

/* ==========================================================================
   Trust Indicators
   ========================================================================== */

.ncf-trust-bar {
    background: var(--ncf-gray-100);
    padding: 2rem 0;
    text-align: center;
}

.ncf-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    color: var(--ncf-gray-700);
    font-weight: 500;
}

.ncf-bbb-badge {
    max-height: 60px;
    width: auto;
}

/* ==========================================================================
   Process Steps
   ========================================================================== */

.ncf-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.ncf-step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--ncf-blue);
    color: var(--ncf-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.ncf-step h3 {
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.ncf-testimonial {
    background: var(--ncf-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--ncf-gold);
}

.ncf-testimonial-text {
    font-style: italic;
    color: var(--ncf-gray-700);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.ncf-testimonial-author {
    font-weight: 600;
    color: var(--ncf-navy);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.ncf-footer {
    background: var(--ncf-navy);
    color: var(--ncf-gray-300);
    padding: 4rem 0 2rem;
}

.ncf-footer h4 {
    color: var(--ncf-white);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.ncf-footer a {
    color: var(--ncf-gray-300);
    transition: color 0.2s ease;
}

.ncf-footer a:hover {
    color: var(--ncf-white);
}

.ncf-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--ncf-gray-500);
}

/* ==========================================================================
   Contact Page — TSR Compliance
   ========================================================================== */

.ncf-contact-notice {
    background: var(--ncf-gray-100);
    border: 1px solid var(--ncf-gray-200);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.ncf-contact-notice h3 {
    margin-bottom: 1rem;
}

.ncf-contact-referred {
    border-left: 4px solid var(--ncf-green);
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

.ncf-contact-new {
    border-left: 4px solid var(--ncf-blue);
    padding-left: 1rem;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */

.ncf-faq-item {
    border: 1px solid var(--ncf-gray-200);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.ncf-faq-question {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--ncf-white);
}

.ncf-faq-answer {
    padding: 0 1.5rem 1.25rem;
    color: var(--ncf-gray-700);
    line-height: 1.7;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
    .ncf-section {
        padding: 3rem 0;
    }

    .ncf-section-title h2 {
        font-size: 1.75rem;
    }

    .ncf-card {
        padding: 1.5rem;
    }

    .ncf-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.ncf-text-center { text-align: center; }
.ncf-text-navy { color: var(--ncf-navy); }
.ncf-text-blue { color: var(--ncf-blue); }
.ncf-text-gold { color: var(--ncf-gold); }
.ncf-bg-navy { background: var(--ncf-navy); }
.ncf-bg-blue { background: var(--ncf-blue); }
.ncf-bg-light { background: var(--ncf-off-white); }

/* ==========================================================================
   Remove Kredzu / Legacy Widgets
   ========================================================================== */

/* Hide any Kredzu remnants */
[src*="credzu"],
[href*="credzu"],
.credzu-widget,
#credzu-widget,
iframe[src*="credzu"] {
    display: none !important;
}
