/* ================================
   ABOUT PAGE STYLES
   Zigzag Overlap Timeline
   ================================ */

/* ================================
   BIO INTRO SECTION
   ================================ */
.bio-intro {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 2rem;
    margin-bottom: 2.5rem;
    background: rgba(30, 30, 30, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

.bio-intro p {
    font-family: 'Amaranth', sans-serif;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    flex: 1;
}

.bio-intro-stats {
    display: flex;
    gap: 2rem;
    flex-shrink: 0;
}

.bs-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.1rem;
}

.bs-value {
    font-family: 'Amaranth', sans-serif;
    font-size: 1.6rem;
    color: var(--accent);
    line-height: 1;
}

/* ================================
   ZIGZAG OVERLAP TIMELINE
   ================================ */

/* Timeline container */
.zz {
    position: relative;
    max-width: 950px;
    margin: 0 auto;
    padding: 1rem 0 2rem;
}

/* Centre line */
.zz::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--glass-border);
    z-index: 0;
}

/* Timeline item — all cross the centre line */
.zz-item {
    position: relative;
    width: 58%;
    margin-bottom: 2rem;
    z-index: 1;
}

/* Automatic zigzag via nth-child */
.zz-item:nth-child(odd) {
    margin-right: auto;
}

.zz-item:nth-child(even) {
    margin-left: auto;
}

/* Card */
.zz-card {
    background: rgba(30, 30, 30, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-align: left;
}

.zz-item:hover .zz-card {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    z-index: 5;
}

/* Card image */
.zz-card-img {
    width: 100%;
    overflow: hidden;
}

.zz-card-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.zz-item:hover .zz-card-img img {
    transform: scale(1.03);
}

/* Card body */
.zz-card-body {
    padding: 1.25rem 1.5rem;
}

.zz-card.text-only {
    padding: 1.25rem 1.5rem;
}

/* Typography */
.zz-date {
    font-family: 'Outfit', sans-serif;
    font-size: 0.55rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: 0.3rem;
}

.zz-title {
    font-family: 'Anta', sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.zz-item:hover .zz-title {
    color: var(--accent);
}

.zz-desc {
    font-family: 'Amaranth', sans-serif;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 768px) {
    .bio-intro {
        flex-direction: column;
        text-align: center;
    }

    .zz::before {
        left: 16px;
    }

    .zz-item,
    .zz-item:nth-child(odd),
    .zz-item:nth-child(even) {
        width: calc(100% - 40px) !important;
        margin-left: 40px !important;
        margin-right: 0 !important;
    }

    .zz-card-img img {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .bio-intro {
        padding: 1.25rem;
    }

    .zz-card-body {
        padding: 1rem 1.25rem;
    }

    .zz-card.text-only {
        padding: 1rem 1.25rem;
    }

    .zz-card-img img {
        height: 150px;
    }

    .zz-title {
        font-size: 1.15rem;
    }
}
