/* ========================================
   ABOUT PAGE - JEJAK LAYAR
   Modern Design with Cultural Touch
   Mengikuti Global Style dari style.css
   ======================================== */

/* Menggunakan variabel global dari style.css */
:root {
    --yellow: #ffd95a;
    --yellow-dark: #FBC02D;
    --text: #222222;
    --muted: #666;
    --accent: #8B5E3C;
    --glass: rgba(255, 255, 255, 0.75);
    --card-bg: #ffffff;
    --max-width: 1100px;
    --radius: 14px;
    --gold: #d4a744;
    --gold-dark: #c4962e;
    --brown: #7a4a0c;
}

/* Container mengikuti max-width global */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   HERO SECTION - ABOUT
   ======================================== */

.hero-about {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;

    /* --- PERBAIKAN: Warna Cadangan (Wajib ada) --- */
    background-color: #333333;
    /* Abu gelap agar teks putih terbaca jika gambar error */

    /* Gambar Background */
    background-image: url('../images/Background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    text-align: center;
    padding: 80px 24px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-badge span {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 25px;
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-title span {
    color: var(--yellow);
    font-style: italic;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    margin-bottom: 40px;
    text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.2);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 5px;
}

.stat-divider {
    width: 2px;
    height: 50px;
    background: rgba(255, 255, 255, 0.3);
}

/* ========================================
   ORNAMENT DIVIDER
   ======================================== */
.ornament-divider {
    display: flex;
    justify-content: center;
    padding: 40px 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.95));
}

.ornament-divider svg {
    opacity: 0.6;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ========================================
   VISION & MISSION SECTION
   ======================================== */
.vision-mission-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.95));
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
    border-radius: 2px;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.vm-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.vm-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.vm-card:hover::before {
    transform: scaleX(1);
}

.vm-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--gold);
}

.vm-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: #fff;
    box-shadow: 0 8px 20px rgba(212, 167, 68, 0.4);
}

.vm-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 20px;
}

.vm-description {
    font-size: 1.1rem;
    color: var(--muted);
    line-height: 1.8;
}

/* ========================================
   TEAM SECTION
   ======================================== */

.team-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    padding: 100px 20px;
}

.team-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--muted);
    margin-top: 40px;
    margin-bottom: 60px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.team-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
    position: relative;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    border: 3px solid transparent;
}

.team-card.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.team-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--gold);
}

/* Frame Persegi dengan Border Putih */
.team-frame {
    position: relative;
    width: 220px;
    height: 280px;
    margin: 0 auto 25px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 8px solid #fff;
}

.team-photo {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.team-card:hover .team-photo {
    transform: scale(1.08);
}

/* Team Info */
.team-info {
    padding: 10px 0;
}

.team-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
}

.team-role {
    font-size: 1rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 12px;
}

.team-description {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.6;
}

/* ========================================
   VALUES SECTION
   ======================================== */

.values-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.95));
    padding: 80px 20px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.value-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.value-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.value-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 10px;
}

.value-card p {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.6;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1000px) {
    .hero-about {
        min-height: 65vh;
    }

    .hero-content {
        padding: 70px 22px;
    }
}

@media (max-width: 768px) {
    .hero-about {
        min-height: 60vh;
    }

    .hero-content {
        padding: 60px 20px;
    }

    .hero-stats {
        gap: 20px;
    }

    .vision-mission-section {
        padding: 60px 16px;
    }

    .vision-mission-grid {
        grid-template-columns: 1fr;
    }

    .team-section {
        padding: 80px 16px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .values-section {
        padding: 60px 16px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .vm-card {
        padding: 30px 20px;
    }

    .team-card {
        padding: 25px 20px;
    }

    .value-card {
        padding: 25px 20px;
    }
}