/* ==========================================================================
   HousingMaterial.com - Master Brand Theme Stylesheet
   Focus: Speed, High-Contrast Conversions & Corporate Trust Architecture
   ========================================================================== */

/* 1. Google Fonts Import (Inter for High Readability & Modern Feel) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* 2. Global CSS Variables (Brand Color Palette & Typography) */
:root {
    /* Brand Primary Colors */
    --brand-primary: #0A192F;
    /* Deep Structural Navy - Dominance & Corporate Trust */
    --brand-primary-hover: #071222;
    --brand-secondary: #1E293B;
    /* Dark Slate - For Secondary Cards & Footers */

    /* Brand Accent Colors (High Conversion CTAs) */
    --brand-accent: #FF5722;
    /* Safety Industrial Orange - High Intent Action */
    --brand-accent-hover: #E64A19;
    --brand-accent-light: #FFF3E0;

    /* Functional Status Colors */
    --brand-success: #10B981;
    /* WhatsApp & Success Verification */
    --brand-warning: #F59E0B;
    /* Trust Badges & Stars */

    /* Neutral & Background Tones */
    --bg-light: #F8FAFC;
    /* Clean Section Background */
    --bg-surface: #FFFFFF;
    /* Cards & Modals */
    --border-color: #E2E8F0;
    /* Soft Borders */

    /* Text Colors */
    --text-main: #1E293B;
    /* Primary Readable Body Text */
    --text-muted: #64748B;
    /* Subheadings & Meta Text */
    --text-white: #FFFFFF;

    /* Typography */
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;

    /* Box Shadows & Elevations */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-cta: 0 10px 20px -5px rgba(255, 87, 34, 0.4);

    /* Borders & Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
}

/* 3. Global Reset & Base Styles */
body {
    font-family: var(--font-primary);
    color: var(--text-main);
    background-color: #FFFFFF;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Typography Scale */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--brand-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.2;
}

h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.3;
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
}

/* 4. Brand Utility Utility Classes */
.bg-brand-primary {
    background-color: var(--brand-primary) !important;
}

.bg-brand-secondary {
    background-color: var(--brand-secondary) !important;
}

.bg-brand-light {
    background-color: var(--bg-light) !important;
}

.text-brand-primary {
    color: var(--brand-primary) !important;
}

.text-brand-accent {
    color: var(--brand-accent) !important;
}

.text-muted-custom {
    color: var(--text-muted) !important;
}

/* 5. Custom High-Converting Buttons */
.btn-brand-accent {
    background-color: var(--brand-accent);
    color: var(--text-white);
    font-weight: 700;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-sm);
    border: none;
    transition: all 0.25s ease-in-out;
    box-shadow: var(--shadow-cta);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-brand-accent:hover {
    background-color: var(--brand-accent-hover);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -5px rgba(255, 87, 34, 0.6);
}

.btn-brand-outline {
    background-color: transparent;
    color: var(--brand-primary);
    border: 2px solid var(--brand-primary);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    transition: all 0.25s ease;
}

.btn-brand-outline:hover {
    background-color: var(--brand-primary);
    color: var(--text-white);
}

/* 6. Lead Capture & Form Enhancements */
.form-control-custom,
.form-select-custom {
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control-custom:focus,
.form-select-custom:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(10, 25, 47, 0.1);
    outline: none;
}

/* 7. Card Customizations (Service & Feature Cards) */
.custom-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    transition: all 0.3s ease;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

/* 8. Trust Badges & Indicators */
.trust-badge-pill {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: var(--text-white);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}