/* ==========================================================================
   Waqt Al-Hadhara - about.css
   About Section — Clean Editorial
   ========================================================================== */

.about-sec {
    padding: 80px 0 60px;
    position: relative;
    background-image: url('../../assets/Dream house (mobile).webp');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

html.light-mode .about-sec {
    background-image: url('../../assets/Dream house (mobile)white.webp');
}

/* Gradient overlay — keeps text readable, fades into black at bottom */
.about-sec::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom,
            rgba(0,0,0,0.45) 0%,
            rgba(0,0,0,0.55) 50%,
            rgba(0,0,0,0.80) 85%,
            var(--color-bg-primary) 100%),
        linear-gradient(to right,
            rgba(0,0,0,0.35) 0%,
            rgba(0,0,0,0) 60%);
    z-index: 0;
    pointer-events: none;
}

html.light-mode .about-sec::before {
    background:
        linear-gradient(to bottom,
            rgba(255,255,255,0.45) 0%,
            rgba(255,255,255,0.55) 50%,
            rgba(255,255,255,0.80) 85%,
            var(--color-bg-primary) 100%),
        linear-gradient(to right,
            rgba(255,255,255,0.35) 0%,
            rgba(255,255,255,0) 60%);
}

.about-sec .container {
    position: relative;
    z-index: 1;
}

.about-intro {
    text-align: center;
    margin-bottom: 56px;
}

.about-tag {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-gold);
    text-transform: uppercase;
    display: block;
    margin-bottom: 24px;
    line-height: 1.4;
}

.about-intro h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-text-primary);
    line-height: 1.3;
    margin-bottom: 24px;
}

.about-intro p {
    color: var(--color-text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 560px;
    margin: 0 auto;
}

/* ── Cards Grid ─────────────────────────────────────────────────────────── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.acard {
    background: rgba(15, 15, 18, 0.30);
    border: 1px solid rgba(229, 184, 105, 0.28);
    border-radius: 0;
    padding: 20px 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

html.light-mode .acard {
    background: rgba(255, 255, 255, 0.75);
    border-color: rgba(184, 134, 11, 0.25);
}

html.light-mode .acard.gold {
    background: var(--color-gold-bright);
    border-color: var(--color-gold-bright);
}

html.light-mode .acard.gold .acard-num,
html.light-mode .acard.gold h3 {
    color: #111;
}

.acard-num {
    font-family: var(--font-headers);
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-gold);
    margin-bottom: 6px;
    display: block;
}

.acard h3 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 6px;
}

.acard p {
    font-size: 0.7rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin: 0;
}

/* Gold card accent */
.acard.gold {
    background: var(--color-gold);
    border-color: var(--color-gold);
}

.acard.gold .acard-num,
.acard.gold h3 {
    color: #111;
}

.acard.gold p {
    color: rgba(0, 0, 0, 0.65);
}

/* ── Tablet ─────────────────────────────────────────────────────────────── */
@media (min-width: 640px) {
    .about-grid {
        max-width: 600px;
        gap: 20px;
    }

    .acard {
        padding: 28px 24px;
    }

    .acard-num {
        font-size: 1.2rem;
    }

    .acard h3 {
        font-size: 0.95rem;
    }

    .acard p {
        font-size: 0.85rem;
    }

    .about-intro h2 {
        font-size: 2.4rem;
    }
}

/* ── Desktop ────────────────────────────────────────────────────────────── */
@media (min-width: 1024px) {
    .about-sec {
        padding: 140px 0 120px;
        background-image: url('../../assets/Dream house(desktop).webp');
        background-position: center center;
    }

    html.light-mode .about-sec {
        background-image: url('../../assets/Dream house(desktop)white.webp');
    }

    .about-intro {
        margin-bottom: 72px;
    }

    .about-intro h2 {
        font-size: 2.8rem;
    }

    .about-intro p {
        font-size: 1.1rem;
    }

    .about-grid {
        max-width: 800px;
        gap: 24px;
    }

    .acard {
        padding: 36px 28px;
    }

    .acard-num {
        font-size: 1.4rem;
    }

    .acard h3 {
        font-size: 1.1rem;
    }

    .acard p {
        font-size: 0.9rem;
    }
}

/* ── Small Phones ───────────────────────────────────────────────────────── */
@media (max-width: 400px) {
    .about-grid {
        gap: 8px;
    }

    .acard {
        padding: 16px 12px;
    }

    .acard p {
        font-size: 0.72rem;
    }
}
