/**
 * ============================================================================
 * HAMPSTEAD MOTORS - Inventory Page Styles
 * ============================================================================
 *
 * WPCode Integration: Add as CSS snippet, load on inventory page
 * ============================================================================
 */

/* ========================================================================
   INVENTORY HERO
   ======================================================================== */

.hm-inventory-hero {
    background: linear-gradient(135deg, var(--hm-black) 0%, var(--hm-gray-dark) 100%);
    padding: 140px 0 80px;
    text-align: center;
}

.hm-inventory-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hm-inventory-hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--hm-white);
    margin: 0 0 16px 0;
    letter-spacing: -2px;
    text-transform: uppercase;
    line-height: 1;
}

.hm-inventory-hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* ========================================================================
   TRUST INDICATORS
   ======================================================================== */

.hm-inventory-trust {
    background: var(--hm-gray-lighter);
    padding: 48px 0;
    border-bottom: 1px solid var(--hm-gray-light);
}

.hm-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.hm-trust-card {
    text-align: center;
    padding: 24px 16px;
}

.hm-trust-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: var(--hm-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hm-trust-icon svg {
    width: 28px;
    height: 28px;
    color: var(--hm-white);
}

.hm-trust-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--hm-black);
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hm-trust-card p {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--hm-gray);
    margin: 0;
    line-height: 1.5;
}

/* ========================================================================
   MAIN INVENTORY SECTION
   ======================================================================== */

.hm-inventory-main {
    padding: 60px 0 80px;
    background: var(--hm-white);
}

/* ========================================================================
   CTA SECTION
   ======================================================================== */

.hm-inventory-cta {
    background: var(--hm-gray-dark);
    padding: 64px 0;
}

.hm-cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.hm-cta-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--hm-white);
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.hm-cta-content > p {
    font-size: 1.0625rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 32px 0;
    line-height: 1.6;
}

.hm-cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 32px;
}

.hm-cta-actions .hm-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hm-cta-actions .hm-btn svg {
    width: 18px;
    height: 18px;
}

.hm-cta-actions .hm-btn-secondary {
    background: transparent;
    border-color: var(--hm-white);
    color: var(--hm-white);
}

.hm-cta-actions .hm-btn-secondary:hover {
    background: var(--hm-white);
    color: var(--hm-black);
}

.hm-cta-info {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hm-cta-info p {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin: 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.hm-cta-info svg {
    width: 16px;
    height: 16px;
}

/* ========================================================================
   RESPONSIVE
   ======================================================================== */

@media (max-width: 1024px) {
    .hm-trust-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .hm-inventory-hero {
        padding: 60px 0 48px;
    }

    .hm-inventory-hero-title {
        font-size: 2.5rem;
    }

    .hm-inventory-hero-subtitle {
        font-size: 1.125rem;
    }

    .hm-trust-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hm-trust-card {
        padding: 20px 16px;
    }

    .hm-inventory-main {
        padding: 40px 0 60px;
    }

    .hm-inventory-cta {
        padding: 48px 0;
    }

    .hm-cta-content h2 {
        font-size: 1.5rem;
    }

    .hm-cta-actions {
        flex-direction: column;
        gap: 12px;
    }

    .hm-cta-actions .hm-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hm-inventory-hero-title {
        font-size: 2rem;
    }

    .hm-trust-icon {
        width: 48px;
        height: 48px;
    }

    .hm-trust-icon svg {
        width: 24px;
        height: 24px;
    }
}
