/* ===================================
   ABOUT PAGE STYLES
   Drop-in — designed for a white page background
   =================================== */

/* ---------- SECTION HEADERS ----------
   These BEM classes are global, but styled here so the about page
   reads correctly on a white background even if the global stylesheet
   is incomplete. Scoped via .section__header so the hero (which uses
   .about-hero-content instead) is untouched. */
.section__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--space-8, 2rem);
}

.section__header .section__title {
    font-size: clamp(1.875rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 var(--space-3, 0.75rem);
    color: var(--dark, #111827);
}

.section__header .section__description {
    font-size: var(--text-lg, 1.125rem);
    line-height: 1.7;
    margin: 0;
    color: var(--gray, #4b5563);
}

/* ---------- SECTION BACKGROUND HELPERS ---------- */
.bg-gray-50 {
    background-color: var(--gray-50, #f7f8fa);
}

.section.bg-gray-50 {
    border-top: 1px solid var(--gray-200, #e5e7eb);
    border-bottom: 1px solid var(--gray-200, #e5e7eb);
}

/* ---------- HERO ----------*/
.hero-about {
    background-color: var(--dark, #111827);
    background-image: url(/assets/images/homepage/contact-us.webp);
    background: radial-gradient(circle at center, #53050500, #5b014070, #000000);
}

.about-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.about-hero-content .section__title,
.about-hero-content .about-us-title {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 var(--space-4, 1rem);
    color: var(--white, #ffffff);
}

.about-hero-content .section__description {
    font-size: var(--text-lg, 1.125rem);
    line-height: 1.7;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

/* ---------- HERO STATS ---------- */
.hero-about-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-12, 3rem);
    margin-top: var(--space-8, 2rem);
    flex-wrap: wrap;
    background: #535052ba;
    border-radius: 10px;
}

.hero-about-stats .stat-item {
    text-align: center;
    padding: var(--space-4, 1rem);
}

.hero-about-stats .stat-number {
    display: block;
    font-size: var(--text-4xl, 2.25rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--space-2, 0.5rem);
    text-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
}

.hero-about-stats .stat-label {
    display: block;
    font-size: var(--text-sm, 0.875rem);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
}

/* ---------- OUR STORY ---------- */
.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12, 3rem);
    align-items: center;
    margin-top: var(--space-12, 3rem);
}

.story-image {
    border-radius: var(--border-radius-xl, 1rem);
    overflow: hidden;
    box-shadow: var(--shadow-xl, 0 20px 40px rgba(0, 0, 0, 0.12));
}

.story-image img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.story-image:hover img {
    transform: scale(1.05);
}

.story-text h3 {
    font-size: var(--text-2xl, 1.5rem);
    font-weight: 700;
    margin-bottom: var(--space-4, 1rem);
    color: var(--dark, #111827);
}

.story-text p {
    margin-bottom: var(--space-4, 1rem);
    line-height: 1.8;
    color: var(--gray, #4b5563);
}

.story-text p:last-child {
    margin-bottom: 0;
}

/* ---------- CARD BASE (Values / Team / Features) ----------
   On a white page, cards need both a border and a shadow to read. */
.value-card,
.team-member,
.feature-card {
    background-color: var(--white, #ffffff);
    border: 1px solid var(--gray-200, #e5e7eb);
    border-radius: var(--border-radius-lg, 0.75rem);
    box-shadow: var(--shadow, 0 1px 3px rgba(0, 0, 0, 0.08));
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.value-card:hover,
.team-member:hover,
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl, 0 20px 40px rgba(0, 0, 0, 0.12));
}

/* ---------- VALUES ---------- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-8, 2rem);
    margin-top: var(--space-12, 3rem);
}

.value-card {
    padding: var(--space-8, 2rem);
}

.value-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius-full, 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-6, 1.5rem);
    font-size: 2rem;
    color: var(--white, #ffffff);
    background-color: var(--primary, #dc2626);
    background-image: var(--gradient-primary, none);
}

.value-card h3 {
    font-size: var(--text-xl, 1.25rem);
    font-weight: 700;
    margin-bottom: var(--space-3, 0.75rem);
    color: var(--dark, #111827);
}

.value-card p {
    margin: 0;
    color: var(--gray, #4b5563);
    line-height: 1.7;
}

/* ---------- TEAM ---------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-8, 2rem);
    margin-top: var(--space-12, 3rem);
}

.team-member {
    padding: var(--space-8, 2rem);
}

.member-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4, 1rem);
    font-size: 3rem;
    color: var(--white, #ffffff);
    background-color: var(--secondary, #1f2937);
    background-image: var(--gradient-secondary, none);
}

.team-member h3 {
    font-size: var(--text-xl, 1.25rem);
    font-weight: 700;
    margin-bottom: var(--space-1, 0.25rem);
    color: var(--dark, #111827);
}

.member-role {
    color: var(--primary, #dc2626);
    font-weight: 600;
    margin-bottom: var(--space-3, 0.75rem);
    text-transform: uppercase;
    font-size: var(--text-sm, 0.875rem);
    letter-spacing: 0.5px;
}

.member-bio {
    margin: 0;
    color: var(--gray, #4b5563);
    line-height: 1.6;
}

/* ---------- WHY CHOOSE US ----------
   Markup omits bg-gray-50 on this section — apply the same tint
   and dividers as its neighbours so headings/cards read on white. */
#why-choose-us {
    background-color: var(--gray-50, #f7f8fa);
    border-top: 1px solid var(--gray-200, #e5e7eb);
    border-bottom: 1px solid var(--gray-200, #e5e7eb);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-8, 2rem);
    margin-top: var(--space-12, 3rem);
}

.feature-card {
    padding: var(--space-8, 2rem);
}

.feature-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--border-radius-full, 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-5, 1.25rem);
    font-size: 1.75rem;
    color: var(--white, #ffffff);
    background-color: var(--primary, #dc2626);
    background-image: var(--gradient-primary, none);
}

.feature-title {
    font-size: var(--text-xl, 1.25rem);
    font-weight: 700;
    margin-bottom: var(--space-3, 0.75rem);
    color: var(--dark, #111827);
}

.feature-description {
    margin: 0;
    color: var(--gray, #4b5563);
    line-height: 1.7;
}

/* ---------- VISIT OUR STORE ---------- */
.store-visit-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12, 3rem);
    align-items: center;
}

.store-info h2 {
    font-size: var(--text-3xl, 1.875rem);
    font-weight: 800;
    margin-bottom: var(--space-4, 1rem);
    color: var(--dark, #111827);
}

.store-info > p {
    font-size: var(--text-lg, 1.125rem);
    color: var(--gray, #4b5563);
    margin-bottom: var(--space-6, 1.5rem);
    line-height: 1.7;
}

/* Override the contact-page flex layout that was bleeding in */
.store-info .store-details {
    display: block;
    margin-bottom: var(--space-8, 2rem);
}

.store-info .store-details h3 {
    font-size: var(--text-xl, 1.25rem);
    font-weight: 700;
    margin: var(--space-4, 1rem) 0 var(--space-3, 0.75rem);
    color: var(--dark, #111827);
    display: flex;
    align-items: center;
    gap: var(--space-3, 0.75rem);
}

.store-info .store-details h3 i {
    color: var(--primary, #dc2626);
}

.store-info .store-details p {
    margin: 0;
    color: var(--gray, #4b5563);
    line-height: 1.7;
}

.store-cta {
    display: flex;
    gap: var(--space-4, 1rem);
    flex-wrap: wrap;
}

.store-image {
    border-radius: var(--border-radius-xl, 1rem);
    overflow: hidden;
    box-shadow: var(--shadow-xl, 0 20px 40px rgba(0, 0, 0, 0.12));
}

.store-image img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.store-image:hover img {
    transform: scale(1.05);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    .hero-about-stats {
        gap: var(--space-6, 1.5rem);
    }

    .hero-about-stats .stat-number {
        font-size: var(--text-2xl, 1.5rem);
    }

    .story-content,
    .store-visit-content {
        grid-template-columns: 1fr;
        gap: var(--space-8, 2rem);
    }

    .story-image,
    .store-image {
        order: -1;
    }

    .store-cta {
        flex-direction: column;
    }

    .store-cta .btn {
        width: 100%;
        text-align: center;
    }

    .section__header {
        margin-bottom: var(--space-6, 1.5rem);
    }
}

@media (max-width: 480px) {
    .values-grid,
    .team-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .value-card,
    .team-member,
    .feature-card {
        padding: var(--space-6, 1.5rem);
    }

    .value-icon,
    .feature-icon {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
    }

    .member-image {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
}