﻿/* =========================================
   ABOUT PAGE STYLES - CLEAN & ANIMATED
   ========================================= */

/* --- 1. HERO SECTION --- */
.about-hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 100px 20px;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

    .hero-bg-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: blur(5px);
        transform: scale(1.1);
    }

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
}

/* Tajuk */
.hero-title-area h1 {
    font-family: 'Playfair Display', serif;
    font-size: 60px;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
}

.gold-text {
    font-style: italic;
    font-weight: 400;
}

.gold-line-left {
    width: 80px;
    height: 3px;
    background-color: #c2a45d;
    margin-bottom: 40px;
}

/* --- STATS CARD --- */
.stats-card {
    background-color: #000;
    padding: 50px;
    border-radius: 20px;
    color: #fff;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid #333;
}

.stats-card-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 10px;
}

.stats-card-header p {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 30px;
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
}

.stats-grid-layout {
    display: flex;
    gap: 60px;
}

.skills-column, .counters-column {
    flex: 1;
}

/* Progress Bars */
.skill-item {
    margin-bottom: 20px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    color: #ddd;
    font-size: 14px;
}

.progress-bar-bg {
    width: 100%;
    height: 4px;
    background: #333;
    border-radius: 2px;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: #fff;
    transition: width 1.5s ease-out;
}

/* Counters */
.counter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.counter-item h2 {
    font-size: 36px;
    color: #fff;
    display: inline-block;
    margin: 0;
}

.counter-item span {
    color: #c2a45d;
    font-size: 24px;
}

.counter-item p {
    font-size: 12px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- 2. WHO WE ARE --- */
.who-we-are-section {
    padding: 100px 20px;
    background: #fff;
}

.section-title-center {
    text-align: center;
    margin-bottom: 60px;
}

    .section-title-center h2 {
        font-family: 'Playfair Display', serif;
        font-size: 42px;
        color: #1c1c1e;
    }

.gold-line-center {
    width: 60px;
    height: 3px;
    background: #c2a45d;
    margin: 15px auto 0;
}

.story-layout {
    display: flex;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.story-gallery {
    flex: 1;
}

.story-content {
    flex: 1;
}

.main-image-frame img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 15px 15px 0 #f0f0f0;
    transition: opacity 0.3s;
}

.thumbnails-row {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.3s;
}

    .thumb:hover, .thumb.active {
        opacity: 1;
        border: 2px solid #c2a45d;
        transform: scale(1.05);
    }

.story-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 25px;
    color: #1c1c1e;
}

.story-content p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
}

.story-quote {
    border-left: 3px solid #c2a45d;
    padding-left: 20px;
    font-style: italic;
    color: #1c1c1e;
    margin-top: 30px;
}

.story-founder {
    text-align: right;
    color: #c2a45d;
    font-family: 'Playfair Display', serif;
    margin-top: 10px;
}

/* --- 3. TEAM SECTION --- */
.team-section-new {
    padding: 80px 20px;
    background: #fff;
    text-align: center;
}

.subtitle {
    color: #777;
    font-size: 14px;
    margin-top: 10px;
}

.team-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 50px auto 0;
}

.team-card-new {
    text-align: center;
    transition: transform 0.3s;
}

    .team-card-new:hover {
        transform: translateY(-10px);
    }

.team-img-wrapper {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}

    .team-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: 0.5s;
    }

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    opacity: 0;
    transition: 0.3s;
    font-size: 12px;
}

.team-img-wrapper:hover .team-overlay {
    opacity: 1;
}

.team-img-wrapper:hover img {
    transform: scale(1.1);
}

.team-card-new h4 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin-bottom: 5px;
    color: #1c1c1e;
}

.team-card-new span {
    font-size: 12px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title-center2 {
    text-align: center;
    margin-bottom: 60px;
}

    .section-title-center2 h2 {
        font-family: 'Playfair Display', serif;
        font-size: 42px;
        color: #c2a45d;
    }

/* =========================================
   MILESTONES (OUR JOURNEY) SECTION
   ========================================= */

.milestones-section {
    padding: 50px 20px;
    background: #1c1c1e; /* Hitam konsisten dengan tema [cite: 629] */
    color: #fff;
    overflow: hidden;
}

.milestone-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1100px;
    margin: 80px auto 0;
    position: relative;
    padding-bottom: 0;
}

    /* Garisan mendatar di tengah (Desktop) */
    .milestone-timeline::before {
        content: '';
        position: absolute;
        top: 85px; /* Selari dengan kedudukan ikon/dot */
        left: 0;
        width: 100%;
        height: 2px;
        background: rgba(194, 164, 93, 0.2); /* Emas pudar [cite: 628] */
        z-index: 1;
    }

.milestone-item {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 20px;
    transition: transform 0.4s ease;
}

/* Ikon Milestone */
.milestone-icon {
    width: 50px;
    height: 50px;
    background: #1c1c1e;
    border: 2px solid #c2a45d; /* Warna emas Artisan [cite: 642] */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 18px;
    color: #c2a45d;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 0 8px #1c1c1e; /* Ruang antara ikon dan garisan */
}

.milestone-item:hover .milestone-icon {
    background: #c2a45d;
    color: #1c1c1e;
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(194, 164, 93, 0.4), 0 0 0 8px #1c1c1e;
}

/* Tipografi Milestone */
.milestone-item h4 {
    font-family: 'Playfair Display', serif; /* Font tajuk utama [cite: 641] */
    font-size: 28px;
    color: #c2a45d;
    margin-bottom: 12px;
    font-weight: 700;
}

.milestone-item p {
    font-size: 14px;
    color: #aaa;
    line-height: 1.7;
    max-width: 250px;
    margin: 0 auto;
    text-align: center;
}

/* =========================================
   5. MOBILE RESPONSIVE (GABUNGAN SEMUA KOD SELAMAT)
   ========================================= */

@media (max-width: 900px) {
    /* --- A. BANNER CORRECTION --- */
    .about-hero-section {
        align-items: flex-start;
        padding-top: 150px;
        padding-bottom: 60px;
        min-height: auto;
    }

    .hero-content-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .hero-title-area h1 {
        font-size: 38px;
        text-align: center;
        line-height: 1.2;
        margin-top: 10px;
    }

    .gold-line-left {
        margin: 0 auto 30px;
    }

    /* --- B. STATS CARD --- */
    .stats-card {
        padding: 30px 20px;
        border-radius: 15px;
    }

    .stats-grid-layout {
        flex-direction: column;
        gap: 40px;
    }

    /* --- C. WHO WE ARE & MAIN IMAGE --- */
    .story-layout {
        flex-direction: column;
        gap: 40px;
    }

    .main-image-frame img {
        height: 380px; /* Saiz besar yang anda minta */
        width: 100%;
        object-fit: cover;
        box-shadow: 12px 12px 0 #f0f0f0;
    }

    /* --- D. TEAM GRID --- */
    .team-grid-new {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* --- E. KOD ASAL MILESTONE ANDA (DIKEMBALIKAN SEMULA) --- */
    .milestone-timeline {
        flex-direction: column;
        gap: 50px;
        padding-left: 30px;
        margin-top: 50px;
    }

        .milestone-timeline::before {
            width: 2px;
            height: 100%;
            left: 55px;
            top: 0;
        }

    .milestone-item {
        text-align: left;
        display: flex;
        align-items: flex-start;
        gap: 25px;
        padding: 0;
        width: 100%;
    }

    .milestone-icon {
        margin: 0;
        flex-shrink: 0;
        width: 45px;
        height: 45px;
        box-shadow: 0 0 0 5px #1c1c1e;
    }

    .milestone-item h4 {
        font-size: 24px;
        margin-bottom: 5px;
    }

    .milestone-item p {
        text-align: left;
        margin: 0;
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    /* Penyelarasan tambahan khusus untuk skrin telefon pintar kecil */
    .about-hero-section {
        padding-top: 130px;
    }

    .hero-title-area h1 {
        font-size: 32px;
    }

    .counter-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    /* Kekalkan imej utama Who We Are kekal besar di skrin telefon kecil */
    .main-image-frame img {
        height: 340px;
    }
}

/* =========================================
   ANIMATIONS (NEW & SAFE)
   ========================================= */

/* Default State: Hilang (Opacity 0) & Turun Bawah */
.anim-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

/* Default State: Hilang & Ke Kiri */
.anim-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease-out;
}

/* Default State: Hilang & Kecil */
.anim-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.8s ease-out;
}

/* Active State: Bila JS tambah class 'is-visible' */
.is-visible {
    opacity: 1 !important;
    transform: translateY(0) translateX(0) scale(1) !important;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .stats-grid-layout, .story-layout {
        flex-direction: column;
    }

    .team-grid-new {
        grid-template-columns: 1fr;
    }

    .hero-title-area h1 {
        font-size: 40px;
        text-align: center;
    }

    .gold-line-left {
        margin: 0 auto 30px;
    }
}
