/* ============================================
   AOM INDONESIA — SUBPAGE STYLES
   Shared across all About & Services pages
   ============================================ */

/* Subpage Hero Banner */
.subpage-hero {
    position: relative;
    height: 45vh;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.subpage-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.subpage-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.subpage-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.70) 0%,
            rgba(0, 0, 0, 0.45) 50%,
            rgba(211, 47, 47, 0.15) 100%);
    z-index: 1;
}

.subpage-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 24px;
}

.subpage-hero-content h1 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 16px;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.subpage-hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    justify-content: center;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--aom-red-light);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
}

/* Page Content */
.page-content {
    padding: 80px 0;
    background: var(--aom-white);
}

.page-content .container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

.content-section {
    margin-bottom: 64px;
}

.content-section:last-child {
    margin-bottom: 0;
}

.content-section h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--aom-black);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 16px;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--aom-red);
    border-radius: 2px;
}

.content-section h3 {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--aom-dark);
    margin-bottom: 12px;
    margin-top: 32px;
}

.content-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--aom-gray);
    margin-bottom: 16px;
}

.content-section ul {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.content-section ul li {
    padding: 12px 0 12px 28px;
    position: relative;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--aom-gray);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.content-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--aom-red);
    opacity: 0.6;
}

/* Content Image */
.content-image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin: 32px 0;
    box-shadow: var(--shadow-md);
}

.content-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.feature-card {
    background: var(--aom-bg-light);
    border-radius: 8px;
    padding: 32px 28px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    background: var(--aom-white);
}

.feature-card h4 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--aom-black);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--aom-gray);
    margin-bottom: 0;
}

/* Stat Highlight */
.stat-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.stat-box {
    text-align: center;
    padding: 28px 16px;
    background: var(--aom-bg-light);
    border-radius: 8px;
    border-top: 3px solid var(--aom-red);
}

.stat-box .number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--aom-red);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-box .label {
    font-size: 0.85rem;
    color: var(--aom-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Page CTA */
.page-cta {
    background: linear-gradient(135deg, var(--aom-red) 0%, var(--aom-red-dark) 100%);
    padding: 64px 0;
    text-align: center;
    color: #fff;
}

.page-cta h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.page-cta p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 520px;
    margin: 0 auto 28px;
}

.page-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: #fff;
    color: var(--aom-red);
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: var(--transition);
}

.page-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .subpage-hero {
        height: 35vh;
        min-height: 280px;
    }

    .page-content {
        padding: 48px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .stat-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---- DARK MODE OVERRIDES (Subpages) ---- */
[data-theme="dark"] .page-content {
    background: #0a0a0a;
}

[data-theme="dark"] .content-section h2 {
    color: #fafafa;
}

[data-theme="dark"] .content-section h3 {
    color: #e0e0e0;
}

[data-theme="dark"] .content-section p {
    color: #b0b0b0;
}

[data-theme="dark"] .content-section ul li {
    color: #b0b0b0;
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .content-image {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .feature-card {
    background: #111;
    border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .feature-card:hover {
    background: #161616;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .feature-card h4 {
    color: #fafafa;
}

[data-theme="dark"] .feature-card p {
    color: #999;
}

[data-theme="dark"] .stat-box {
    background: #111;
}

[data-theme="dark"] .stat-box .label {
    color: #999;
}

[data-theme="dark"] .page-cta .btn {
    background: #fff;
    color: var(--aom-red);
}

[data-theme="dark"] .page-cta .btn:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}