/* ==========================================================================
   Trumarx About Us Page Styles — Scoped to .about-page
   ========================================================================== */

/* Design Tokens & Theme Integration */
.about-page {
    --brand-dark: #FFFFFF;
    --brand-muted: #A1A1AA;
    --brand-light-bg: #111111;
    --brand-border: #333333;
    --brand-accent-gold: #C9A961;
    --brand-accent-blue: #1A365D;
    --brand-card-shadow: 0 10px 30px -10px rgba(35, 31, 32, 0.08);
    --brand-hover-shadow: 0 20px 40px -15px rgba(35, 31, 32, 0.16);
    --brand-transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Smooth Scroll & Typography */
html.scroll-smooth {
    scroll-behavior: smooth;
}

.about-page h1, 
.about-page h2, 
.about-page h3, 
.about-page h4 {
    font-family: inherit;
    letter-spacing: -0.02em;
}

/* Hero & Section Banners */
.about-hero-bg {
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    position: relative;
}

.about-hero-overlay {
    background: linear-gradient(135deg, rgba(35, 31, 32, 0.92) 0%, rgba(26, 30, 42, 0.85) 60%, rgba(35, 31, 32, 0.95) 100%);
}

/* Card Styling & Micro-Interactions */
.about-card {
    background: #111111;
    border: 1px solid var(--brand-border);
    border-radius: 1.25rem;
    transition: var(--brand-transition);
    box-shadow: var(--brand-card-shadow);
}

.about-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--brand-hover-shadow);
    border-color: rgba(35, 31, 32, 0.25);
}

/* Accent Decorative Badge */
.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    border-radius: 9999px;
    background: rgba(35, 31, 32, 0.04);
    border: 1px solid rgba(35, 31, 32, 0.12);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-dark);
}

/* Overlapping Image Frame Composition */
.about-img-frame {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.18);
}

.about-img-frame img {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-img-frame:hover img {
    transform: scale(1.05);
}

.about-img-accent-bg {
    position: absolute;
    inset: -0.75rem -0.75rem 0.75rem 0.75rem;
    background: linear-gradient(135deg, rgba(35, 31, 32, 0.08) 0%, rgba(35, 31, 32, 0.02) 100%);
    border-radius: 1.75rem;
    border: 1px solid rgba(35, 31, 32, 0.15);
    z-index: -1;
}

/* Stat Box Counter */
.stat-box {
    background: #111111;
    border: 1px solid var(--brand-border);
    border-radius: 1.25rem;
    padding: 2.25rem 1.5rem;
    text-align: center;
    transition: var(--brand-transition);
}

.stat-box:hover {
    background: #FFFFFF;
    color: #111111;
    border-color: #FFFFFF;
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -8px rgba(35, 31, 32, 0.25);
}

.stat-box:hover .stat-number,
.stat-box:hover .stat-label {
    color: #111111 !important;
}

/* Accordion FAQ Styling */
.faq-item {
    border: 1px solid var(--brand-border);
    border-radius: 1rem;
    background: #111111;
    transition: var(--brand-transition);
    overflow: hidden;
}

.faq-item.active {
    border-color: #FFFFFF;
    box-shadow: 0 10px 25px -5px rgba(35, 31, 32, 0.08);
}

.faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--brand-dark);
    text-align: left;
    background: transparent;
    border: none;
    cursor: pointer;
}

.faq-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(35, 31, 32, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    background: #FFFFFF;
    color: #111111;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    opacity: 0;
    padding: 0 1.5rem;
}

.faq-item.active .faq-content {
    opacity: 1;
    padding-bottom: 1.5rem;
}

/* Testimonial Carousel */
.testimonial-card-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-card-slide.active {
    display: block;
    opacity: 1;
}

.testimonial-dot {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 9999px;
    background: #333333;
    transition: var(--brand-transition);
    cursor: pointer;
}

.testimonial-dot.active {
    width: 2rem;
    background: #FFFFFF;
}

/* Scroll Reveal Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Delay Classes */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    html.scroll-smooth {
        scroll-behavior: auto;
    }
    .reveal-on-scroll,
    .about-card,
    .stat-box,
    .faq-content,
    .testimonial-card-slide {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}
