/* ============================================
   Hampstead Motors - About Page Styles
   ============================================ */

/* Import Bold Sans-Serif Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* CSS Custom Properties */
:root {
    --hm-primary: #db2d2e;
    --hm-primary-dark: #b02426;
    --hm-primary-light: #e64d4e;
    --hm-black: #000000;
    --hm-gray-dark: #1a1a1a;
    --hm-gray: #4a4a4a;
    --hm-gray-light: #e5e5e5;
    --hm-gray-lighter: #f5f5f5;
    --hm-white: #ffffff;
    --hm-transition: all 0.3s ease;
    --hm-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    --hm-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.18);
    --hm-border-radius: 6px;
    --hm-max-width: 1200px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Apply font to all Hampstead Motors elements */
.hm-body,
.hm-body *,
[class^="hm-"],
[class*=" hm-"] {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hm-body {
    font-weight: 500;
    color: var(--hm-gray-dark);
    line-height: 1.6;
    background-color: var(--hm-white);
    overflow-x: hidden;
}

.hm-container {
    max-width: var(--hm-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Headers */
.hm-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.hm-section-title {
    font-size: 2.75rem;
    font-weight: 900;
    color: var(--hm-black);
    margin-bottom: 16px;
    letter-spacing: -1.5px;
    text-transform: uppercase;
    line-height: 1.1;
}

.hm-section-subtitle {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--hm-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.hm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    border: 2px solid transparent;
    border-radius: var(--hm-border-radius);
    cursor: pointer;
    transition: var(--hm-transition);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.hm-btn-primary {
    background-color: var(--hm-primary);
    color: var(--hm-white);
    border-color: var(--hm-primary);
}

.hm-btn-primary:hover {
    background-color: var(--hm-primary-dark);
    border-color: var(--hm-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--hm-shadow-lg);
}

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

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

/* ============================================
   About Hero Section
   ============================================ */
.hm-about-hero {
    position: relative;
    padding: 120px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('https://images.unsplash.com/photo-1560958089-b8a1929cea89?w=1600&h=900&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hm-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(26, 26, 26, 0.7) 50%, rgba(219, 45, 46, 0.5) 100%);
}

.hm-about-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--hm-white);
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.hm-about-eyebrow {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--hm-primary-light);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.hm-about-hero-title {
    font-size: 3.75rem;
    font-weight: 900;
    color: var(--hm-white);
    margin-bottom: 24px;
    line-height: 1.05;
    letter-spacing: -2px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hm-about-hero-text {
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--hm-white);
    margin-bottom: 40px;
    line-height: 1.6;
    opacity: 0.95;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.hm-about-hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Our Story Section
   ============================================ */
.hm-our-story {
    padding: 100px 0;
    background-color: var(--hm-white);
}

.hm-story-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.hm-story-image {
    position: relative;
}

.hm-story-image img {
    width: 100%;
    aspect-ratio: 6 / 7;
    object-fit: cover;
    border-radius: var(--hm-border-radius);
    box-shadow: var(--hm-shadow-lg);
}

.hm-story-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: var(--hm-primary);
    color: var(--hm-white);
    padding: 24px;
    border-radius: var(--hm-border-radius);
    text-align: center;
    box-shadow: var(--hm-shadow-lg);
}

.hm-badge-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 4px;
}

.hm-badge-text {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hm-story-content .hm-section-title {
    text-align: left;
    margin-bottom: 24px;
}

.hm-story-text {
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--hm-gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.hm-story-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--hm-gray-light);
}

.hm-stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--hm-gray-dark);
}

.hm-stat-item svg {
    width: 20px;
    height: 20px;
    stroke: var(--hm-primary);
}

/* ============================================
   Values Section
   ============================================ */
.hm-values {
    padding: 80px 0;
    background-color: var(--hm-gray-dark);
    color: var(--hm-white);
}

.hm-values .hm-section-title {
    color: var(--hm-white);
}

.hm-values .hm-section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

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

.hm-value-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 40px 32px;
    border-radius: var(--hm-border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--hm-transition);
    text-align: center;
}

.hm-value-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
    border-color: var(--hm-primary);
}

.hm-value-icon {
    width: 72px;
    height: 72px;
    background-color: var(--hm-primary);
    border-radius: var(--hm-border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.hm-value-icon svg {
    width: 36px;
    height: 36px;
    stroke: var(--hm-white);
}

.hm-value-title {
    font-size: 1.375rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--hm-white);
    letter-spacing: -0.5px;
}

.hm-value-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-weight: 500;
}

/* ============================================
   Who We Serve Section
   ============================================ */
.hm-serve {
    padding: 80px 0;
    background-color: var(--hm-gray-lighter);
}

.hm-serve-header {
    text-align: center;
    margin-bottom: 60px;
}

.hm-serve-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.hm-serve-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--hm-gray-light);
}

.hm-serve-item {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
    position: relative;
}

.hm-serve-item:last-child {
    margin-bottom: 0;
}

.hm-serve-icon {
    width: 80px;
    height: 80px;
    background-color: var(--hm-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--hm-shadow-lg);
    border: 3px solid var(--hm-gray-light);
    position: relative;
    z-index: 1;
    transition: var(--hm-transition);
}

.hm-serve-item:hover .hm-serve-icon {
    background-color: var(--hm-primary);
    border-color: var(--hm-primary);
}

.hm-serve-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--hm-primary);
    transition: var(--hm-transition);
}

.hm-serve-item:hover .hm-serve-icon svg {
    stroke: var(--hm-white);
}

.hm-serve-content {
    flex: 1;
    padding-top: 16px;
}

.hm-serve-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--hm-black);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.hm-serve-text {
    font-size: 1rem;
    color: var(--hm-gray);
    line-height: 1.7;
}

/* ============================================
   Visit Us Section
   ============================================ */
.hm-visit {
    padding: 80px 0;
    background-color: var(--hm-white);
}

.hm-visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.hm-visit-info .hm-section-title {
    text-align: left;
    margin-bottom: 16px;
}

.hm-visit-intro {
    font-size: 1.0625rem;
    color: var(--hm-gray);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hm-visit-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hm-visit-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.hm-visit-icon {
    width: 48px;
    height: 48px;
    background-color: var(--hm-primary);
    border-radius: var(--hm-border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hm-visit-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--hm-white);
}

.hm-visit-content h3 {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--hm-black);
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.hm-visit-content p {
    color: var(--hm-gray);
    font-size: 1rem;
    line-height: 1.6;
}

.hm-visit-content a {
    color: var(--hm-gray);
    text-decoration: none;
    transition: var(--hm-transition);
}

.hm-visit-content a:hover {
    color: var(--hm-primary);
}

.hm-hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
    color: var(--hm-gray);
    font-size: 0.95rem;
}

.hm-hours-grid span:nth-child(odd) {
    font-weight: 600;
}

.hm-visit-map {
    height: 100%;
    min-height: 400px;
    border-radius: var(--hm-border-radius);
    overflow: hidden;
    box-shadow: var(--hm-shadow-lg);
}

.hm-visit-map iframe {
    display: block;
}

/* ============================================
   CTA Section
   ============================================ */
.hm-about-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--hm-gray-dark) 0%, var(--hm-black) 100%);
    color: var(--hm-white);
}

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

.hm-cta-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 16px;
    letter-spacing: -1.5px;
    text-transform: uppercase;
}

.hm-cta-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hm-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Footer
   ============================================ */
.hm-footer {
    background-color: var(--hm-gray-dark);
    color: var(--hm-white);
    padding: 60px 0 24px;
}

.hm-footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.hm-footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 16px;
}

.hm-footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

.hm-footer-title {
    font-size: 1.125rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--hm-white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hm-footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hm-footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--hm-transition);
    font-size: 0.95rem;
}

.hm-footer-links a:hover {
    color: var(--hm-primary);
}

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

.hm-footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hm-footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 991px) {
    .hm-about-hero {
        padding: 100px 0;
    }

    .hm-about-hero-title {
        font-size: 2.75rem;
    }

    .hm-story-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hm-story-badge {
        bottom: -20px;
        right: 20px;
    }

    .hm-values-grid {
        grid-template-columns: 1fr;
    }

    .hm-visit-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 767px) {
    .hm-section-title {
        font-size: 2rem;
    }

    .hm-section-subtitle {
        font-size: 1rem;
    }

    .hm-our-story,
    .hm-values,
    .hm-serve,
    .hm-visit,
    .hm-about-cta {
        padding: 60px 0;
    }

    .hm-about-hero {
        padding: 80px 0;
    }

    .hm-about-hero-content {
        padding: 40px 20px;
    }

    .hm-about-hero-title {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    .hm-about-hero-text {
        font-size: 1.125rem;
    }

    .hm-story-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 20px;
        display: inline-block;
    }

    .hm-serve-timeline::before {
        display: none;
    }

    .hm-serve-item {
        flex-direction: column;
        gap: 16px;
    }

    .hm-serve-icon {
        width: 64px;
        height: 64px;
    }

    .hm-serve-icon svg {
        width: 28px;
        height: 28px;
    }

    .hm-serve-content {
        padding-top: 0;
    }

    .hm-cta-title {
        font-size: 1.75rem;
    }

    .hm-cta-buttons {
        flex-direction: column;
    }

    .hm-btn {
        width: 100%;
    }

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

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}