/*
Theme Name: Remodel Experts Concierge
Theme URI: https://remodelexperts.com
Author: Remodel Experts
Description: Managed marketplace theme for Remodel Experts - Plan, Bid, Build, Closeout
Version: 2.0.0
License: Proprietary
Text Domain: remodelexperts
*/

/* ============================================
   CSS VARIABLES - Brand Colors
   ============================================ */
:root {
    /* Primary Colors */
    --re-navy: #131635;
    --re-blue: #42A7DF;
    --re-cream: #fdf8da;

    /* Extended Palette */
    --re-blue-dark: #2d8bc4;
    --re-blue-light: #e8f4fb;
    --re-navy-light: #1e2347;
    --re-success: #28a745;
    --re-warning: #ffc107;

    /* Neutrals */
    --re-white: #ffffff;
    --re-gray-100: #f8f9fa;
    --re-gray-200: #e9ecef;
    --re-gray-300: #dee2e6;
    --re-gray-500: #6c757d;
    --re-gray-700: #495057;
    --re-gray-900: #212529;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --section-padding: 80px;
    --container-max: 1200px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--re-gray-900);
    background-color: var(--re-white);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--re-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--re-blue-dark);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--re-navy);
    margin-bottom: 0.5em;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    color: var(--re-gray-700);
    line-height: 1.5;
}

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

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

.section--navy {
    background-color: var(--re-navy);
    color: var(--re-white);
}

.section--navy h2,
.section--navy h3 {
    color: var(--re-white);
}

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

.section--light {
    background-color: var(--re-gray-100);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    background-color: var(--re-navy);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo img {
    height: 45px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    color: var(--re-white);
    font-weight: 500;
    font-size: 0.95rem;
    opacity: 0.9;
    transition: opacity var(--transition-fast);
}

.main-nav a:hover {
    opacity: 1;
    color: var(--re-white);
}

.nav-cta {
    background-color: var(--re-blue) !important;
    padding: 10px 20px;
    border-radius: 6px;
    opacity: 1 !important;
}

.nav-cta:hover {
    background-color: var(--re-blue-dark) !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--re-white);
    margin: 5px 0;
    transition: var(--transition-fast);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--re-navy) 0%, var(--re-navy-light) 100%);
    padding: 160px 0 100px;
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('assets/images/hero-pattern.svg') no-repeat center right;
    opacity: 0.05;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero h1 {
    color: var(--re-white);
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero h1 span {
    color: var(--re-blue);
}

.hero .lead {
    color: rgba(255,255,255,0.85);
    font-size: 1.35rem;
    margin-bottom: 35px;
}

.hero-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
}

.btn--primary {
    background-color: var(--re-blue);
    color: var(--re-white);
}

.btn--primary:hover {
    background-color: var(--re-blue-dark);
    color: var(--re-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(66, 167, 223, 0.4);
}

.btn--secondary {
    background-color: transparent;
    color: var(--re-white);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn--secondary:hover {
    border-color: var(--re-white);
    color: var(--re-white);
}

.btn--large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn--outline {
    background: transparent;
    border: 2px solid var(--re-blue);
    color: var(--re-blue);
}

.btn--outline:hover {
    background: var(--re-blue);
    color: var(--re-white);
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
    background: var(--re-white);
    padding: 25px 0;
    border-bottom: 1px solid var(--re-gray-200);
}

.trust-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--re-gray-700);
    font-size: 0.95rem;
}

.trust-item svg {
    width: 24px;
    height: 24px;
    color: var(--re-blue);
}

/* ============================================
   HOW IT WORKS - Process Steps
   ============================================ */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 50px;
    right: -15px;
    width: 30px;
    height: 2px;
    background: var(--re-gray-300);
}

.process-step:last-child::after {
    display: none;
}

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

.process-step h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.process-step p {
    color: var(--re-gray-700);
    font-size: 0.95rem;
    margin: 0;
}

/* ============================================
   PRICING CARDS
   ============================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background: var(--re-white);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 2px solid transparent;
    transition: all var(--transition-normal);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.pricing-card--featured {
    border-color: var(--re-blue);
}

.pricing-card--featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--re-blue);
    color: var(--re-white);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--re-navy);
    margin: 20px 0;
}

.pricing-card .price span {
    font-size: 1rem;
    color: var(--re-gray-500);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin: 30px 0;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--re-gray-200);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features svg {
    width: 20px;
    height: 20px;
    color: var(--re-success);
    flex-shrink: 0;
}

.pricing-note {
    font-size: 0.85rem;
    color: var(--re-gray-500);
    margin-top: 15px;
}

/* ============================================
   GUARANTEE SECTION
   ============================================ */
.guarantee-box {
    background: linear-gradient(135deg, var(--re-navy) 0%, var(--re-navy-light) 100%);
    border-radius: 16px;
    padding: 60px;
    display: flex;
    align-items: center;
    gap: 50px;
    color: var(--re-white);
}

.guarantee-badge {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    background: var(--re-blue);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 4px solid rgba(255,255,255,0.2);
}

.guarantee-badge svg {
    width: 50px;
    height: 50px;
    margin-bottom: 5px;
}

.guarantee-badge span {
    font-weight: 700;
    font-size: 0.9rem;
}

.guarantee-content h2 {
    color: var(--re-white);
    margin-bottom: 15px;
}

.guarantee-content p {
    opacity: 0.9;
    font-size: 1.1rem;
}

.guarantee-list {
    list-style: none;
    margin-top: 25px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.guarantee-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.guarantee-list svg {
    width: 20px;
    height: 20px;
    color: var(--re-blue);
}

/* ============================================
   FOR CONTRACTORS SECTION
   ============================================ */
.contractor-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background: var(--re-white);
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: all var(--transition-normal);
}

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

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--re-blue-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.benefit-icon svg {
    width: 30px;
    height: 30px;
    color: var(--re-blue);
}

.benefit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.benefit-card p {
    color: var(--re-gray-700);
    font-size: 0.95rem;
    margin: 0;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--re-white);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.testimonial-quote {
    font-size: 1.1rem;
    color: var(--re-gray-700);
    line-height: 1.7;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--re-gray-200);
}

.testimonial-info strong {
    display: block;
    color: var(--re-navy);
}

.testimonial-info span {
    font-size: 0.9rem;
    color: var(--re-gray-500);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--re-gray-200);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 25px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--re-navy);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    padding-bottom: 25px;
    color: var(--re-gray-700);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-brand p {
    opacity: 0.7;
    margin-top: 20px;
    font-size: 0.95rem;
}

.footer-links h4 {
    color: var(--re-white);
    font-size: 1rem;
    margin-bottom: 20px;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--re-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--re-navy);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    border: 2px solid var(--re-gray-300);
    border-radius: 8px;
    transition: border-color var(--transition-fast);
    font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--re-blue);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* ============================================
   INTAKE FORM STYLES
   ============================================ */
.intake-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--re-white);
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.intake-form h2 {
    text-align: center;
    margin-bottom: 10px;
}

.intake-form .lead {
    text-align: center;
    margin-bottom: 40px;
}

.project-type-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.project-type-option {
    border: 2px solid var(--re-gray-300);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.project-type-option:hover {
    border-color: var(--re-blue);
}

.project-type-option.selected {
    border-color: var(--re-blue);
    background: var(--re-blue-light);
}

.project-type-option svg {
    width: 40px;
    height: 40px;
    color: var(--re-blue);
    margin-bottom: 10px;
}

.project-type-option span {
    display: block;
    font-weight: 600;
    color: var(--re-navy);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-step::after {
        display: none;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .guarantee-box {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }

    .guarantee-list {
        grid-template-columns: 1fr;
    }

    .contractor-benefits {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 75px;
        left: 0;
        right: 0;
        background: var(--re-navy);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
    }

    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .main-nav a {
        padding: 15px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        width: 100%;
    }

    .nav-cta {
        margin-top: 10px;
        text-align: center;
    }

    .hero {
        padding: 120px 0 80px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .trust-items {
        gap: 20px;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .intake-form {
        padding: 30px 20px;
    }

    .project-type-selector {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-white { color: var(--re-white); }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: 2rem; }
.hidden { display: none; }
