/*
Theme Name: Life Settlement Theme
Theme URI: https://example.com
Description: A senior-friendly WordPress theme for life settlement services with large typography and high contrast design
Version: 1.0
Author: Your Name
Author URI: https://example.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: life-settlement
*/

/* ========================================
   BOOTSTRAP 5 IMPORT
   ======================================== */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css');

/* ========================================
   GOOGLE FONTS IMPORT
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
    --primary: #0d2c6c;
    --gold: #b5985a;
    --primary-blue: #0d2c6c;
    --accent-gold: #b5985a;
    --dark-navy: #061635;
    --text-gray: #666666;
    --light-bg: #f8f9fa;
}

/* ========================================
   GLOBAL STYLES
   ======================================== */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    line-height: 1.7;
    font-size: 1.1rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

p {
    margin-bottom: 1rem;
}

/* ========================================
   NAVIGATION
   ======================================== */
.custom-navbar {
    background-color: var(--primary-blue);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.custom-navbar .navbar-brand {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.custom-navbar .nav-link {
    color: #FFFFFF !important;
    font-size: 1rem;
    font-weight: 500;
    margin: 0 1rem;
    opacity: 1 !important;
    transition: all 0.3s ease;
}

.custom-navbar .nav-link:hover {
    color: var(--accent-gold) !important;
    transform: translateY(-1px);
}

.custom-navbar .nav-link:focus,
.custom-navbar .nav-link:active,
.custom-navbar .nav-link.active {
    color: var(--accent-gold) !important;
}

/* FORCE header links to be white - Override all Bootstrap defaults */
header nav a,
nav.navbar a.nav-link,
.navbar-nav .nav-link,
.header-menu-item,
#site-navigation a,
.navbar-dark .navbar-nav .nav-link,
.navbar-dark .navbar-nav .nav-item .nav-link {
    color: #FFFFFF !important;
    opacity: 1 !important;
    font-weight: 500 !important;
}

/* Override Bootstrap's rgba color */
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 1) !important;
}

/* Ensure visited links don't turn purple/blue */
header nav a:visited,
nav.navbar a.nav-link:visited,
.navbar-nav .nav-link:visited {
    color: #FFFFFF !important;
}

/* Force hover state to Gold */
header nav a:hover,
nav.navbar a.nav-link:hover,
.navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-item .nav-link:hover {
    color: var(--accent-gold) !important;
}

/* Force active/focus state */
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:active {
    color: #FFFFFF !important;
}

.btn-gold {
    background-color: var(--accent-gold);
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background-color: #9a7b4a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(181, 152, 90, 0.3);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    background-color: var(--primary-blue);
    padding: 100px 0;
    color: white;
}

.hero-section h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    line-height: 1.8;
}

.hero-card {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.hero-card h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.hero-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.btn-primary-custom {
    background-color: var(--primary-blue);
    border: none;
    color: white;
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 5px;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: #0a1f4d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 44, 108, 0.3);
}

/* ========================================
   CONTENT SECTIONS
   ======================================== */
.content-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-gray);
    font-size: 1.2rem;
}

/* Feature Cards */
.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 100%;
    background: white;
    border: 1px solid #e0e0e0;
}

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

.feature-icon {
    font-size: 4rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* Trust Badges */
.trust-section {
    background-color: var(--light-bg);
    padding: 40px 0;
}

.trust-badge {
    text-align: center;
    padding: 1rem;
}

.trust-badge img {
    max-width: 150px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.trust-badge img:hover {
    opacity: 1;
}

/* Process Steps */
.process-step {
    text-align: center;
    margin-bottom: 2rem;
}

.step-number,
.step-circle,
.number-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 70px !important;
    height: 70px !important;
    border-radius: 50% !important;
    background: var(--gold) !important;
    background-color: var(--gold) !important;
    color: white !important;
    font-weight: 700 !important;
    font-size: 2.5rem !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: center !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    box-shadow: 0 4px 10px rgba(181, 152, 90, 0.3) !important;
}

.process-step h4 {
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

/* Step Card Styling */
.step-card {
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.step-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12) !important;
    transform: translateY(-2px);
}

/* Benefit Cards */
.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.benefit-card h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* ========================================
   CTA SECTIONS
   ======================================== */
.cta-section {
    background-color: var(--primary-blue);
    color: white;
    padding: 40px 0 80px 0;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background-color: var(--dark-navy);
    color: white;
    padding: 60px 0 30px;
}

.footer h5 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.footer .text-gold {
    color: var(--accent-gold);
    font-weight: 600;
}

/* ========================================
   PAGE HEADER (SUB-PAGES)
   ======================================== */
.page-header {
    background-color: var(--primary-blue);
    padding-top: 120px;
    padding-bottom: 60px;
    color: white;
    text-align: center;
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin: 0;
}

/* ========================================
   BOOTSTRAP ACCORDION (FAQ)
   ======================================== */
.accordion-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px !important;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

/* Active/Open State - Gold Border & Light Blue Background */
.accordion-item:has(.accordion-button:not(.collapsed)) {
    border: 2px solid var(--accent-gold);
    background-color: #F5F9FF;
}

.accordion-button {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
    background-color: transparent;
    padding: 1.25rem 1.5rem;
    border: none;
    border-radius: 8px !important;
}

.accordion-button:not(.collapsed) {
    background-color: transparent;
    color: var(--primary-blue);
    box-shadow: none;
    border-radius: 8px 8px 0 0 !important;
}

.accordion-button:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 0.25rem rgba(181, 152, 90, 0.25);
}

/* Arrow Icon - Gold color */
.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23b5985a'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
}

/* Arrow rotates 180 degrees when open */
.accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}

.accordion-body {
    padding: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
    background-color: transparent;
    border-radius: 0 0 8px 8px;
}

.accordion-body ul {
    margin-top: 1rem;
}

.accordion-body ul li {
    margin-bottom: 0.5rem;
}

/* FAQ Enhanced Styles for Senior-Friendly Design */
.faq-accordion-item {
    transition: all 0.3s ease;
}

.faq-accordion-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.faq-accordion-item .accordion-button {
    font-size: 1.25rem;
    line-height: 1.5;
    transition: background-color 0.2s ease;
}

.faq-accordion-item .accordion-button:hover {
    background-color: #fafafa;
}

/* FAQ Section Headers with Better Spacing */
section h2 {
    padding-top: 0.5rem;
}

section h2 svg {
    flex-shrink: 0;
}

/* Intermission Section */
.intermission-section .btn-gold:hover {
    background-color: #9a7b4a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(181, 152, 90, 0.4);
}

.intermission-image-col {
    display: flex;
    align-items: center;
}

/* FAQ Blockquote */
.faq-blockquote {
    background: transparent;
}

.faq-blockquote footer {
    font-style: normal;
}

/* FAQ Phone Link */
.faq-phone-link {
    transition: all 0.3s ease;
}

.faq-phone-link:hover {
    opacity: 0.85;
}

.faq-phone-link:hover svg {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* ========================================
   FORM CARD (QUALIFY PAGE)
   ======================================== */
.form-card {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 0.2rem rgba(181, 152, 90, 0.25);
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.bg-light-gray {
    background-color: var(--light-bg);
}

.text-muted-custom {
    color: var(--text-gray);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-section {
        padding: 60px 0;
    }

    .hero-section h1 {
        font-size: 2.25rem;
    }

    .content-section {
        padding: 50px 0;
    }

    .custom-navbar .nav-link {
        margin: 0.5rem 0;
    }

    /* FAQ Mobile Responsiveness */
    .faq-intro-row {
        flex-direction: column-reverse;
    }

    .faq-image-col {
        margin-bottom: 2rem;
    }

    .phone-callout a span {
        font-size: 1.5rem !important;
    }

    .phone-callout a {
        flex-wrap: wrap;
    }

    h2 svg {
        width: 32px !important;
        height: 32px !important;
    }

    .faq-accordion-item .accordion-button {
        font-size: 1.1rem !important;
    }

    /* Intermission Section Mobile */
    .intermission-row {
        flex-direction: column;
    }

    .intermission-image-col {
        order: -1;
        margin-bottom: 2rem;
    }

    .intermission-section .col-lg-6 {
        padding-left: 20px;
        padding-right: 20px;
    }

    .intermission-section h2 {
        font-size: 1.75rem !important;
    }

    .intermission-section p {
        font-size: 1rem !important;
    }
}
