/* ==========================================================================
   Base Configuration
   ========================================================================== */
/* 1. Mengubah background utama */
#halaman-info {
    background: var(--cream-light);
    /* Menggantikan --brown-dark */
    padding: 1px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
}

/* 2. Menyesuaikan warna teks agar kontras dengan latar baru (Cream Dark) */
.info-title,
.section-subtitle {
    color: var(--brown-dark) !important;
    /* Diubah dari --cream agar terbaca di background terang */
}

.info-desc,
.info-desc-secondary,
.card-text,
.task-intro,
.task-list li {
    color: var(--brown-dark) !important;
    /* Diubah dari --cream-dark agar lebih pekat */
}

.about-container {
    max-width: 1200px;
    width: 100%;
}

/* Header Manifesto */
.about-hero {
    text-align: center;
    padding-top: 140px;
    border-radius: 8px;
    background: radial-gradient(ellipse at center,  var(--cream) 20%, var(--cream-border) 55%, var(--cream-light) 65%);
    min-height: 110vh;
    overflow: hidden;
}
.scroll-text{
    color: var(--brown-dark) !important;
}

.info-tag {
    color: var(--gold);
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-top: 100px;
}

.info-title {
    color: var(--cream);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    padding-top: 2px;
}

/* Divider Hiasan */
.ornament-divider {
    width: 120px;
    height: 2px;
    background: var(--gold);
    margin: 26px auto;
    position: relative;
}

.ornament-divider::before,
.ornament-divider::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--gold);
    top: -2px;
    transform: rotate(45deg);
}

/* Styling untuk Hero Pattern agar lebih artistik */
.hero-pattern {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    margin-top: 20px;
}

.hero-pattern .dot {
    width: 12px;
    height: 12px;
    background-color: transparent;
    border: 1.5px solid var(--gold);
    /* Bingkai emas */
    transform: rotate(45deg);
    position: relative;
}

/* Menambahkan aksen di dalam dot */
.hero-pattern .dot::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 6px;
    height: 6px;
    background-color: var(--gold);
    opacity: 0.8;
}

/* Menambahkan garis dekoratif yang menghubungkan */
.hero-pattern .dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    width: 25px;
    height: 1px;
    background: linear-gradient(to right, var(--gold), transparent);
    opacity: 0.5;
}

/* Menghilangkan garis pada dot terakhir agar tidak menggantung */
.hero-pattern .dot:last-child::before {
    display: none;
}

/* Memberikan efek napas (pulsing) halus agar terlihat hidup */
@keyframes pulse-gold {

    0%,
    100% {
        opacity: 0.5;
        transform: rotate(45deg) scale(1);
    }

    50% {
        opacity: 1;
        transform: rotate(45deg) scale(1.1);
    }
}

.hero-pattern .dot {
    animation: pulse-gold 3s infinite ease-in-out;
}

.hero-pattern .dot:nth-child(2) {
    animation-delay: 0.5s;
}

.ornament-divider::before {
    left: -15px;
}

.ornament-divider::after {
    right: -15px;
}

.info-desc {
    color: var(--cream-dark);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    line-height: 1.85;
    max-width: 700px;
    margin: 0 auto;
}

.section-subtitle {
    color: var(--cream);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    text-align: center;
}

.info-desc-secondary {
    color: var(--cream-dark);
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 25px auto;
}

.detail {
    padding-left: 40px;
    padding-right: 40px;
}

/* ==========================================================================
   REFERENSI CARDS & EFEK INTERAKTIF HOVER LUAS
   ========================================================================== */
.ref-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.ref-detail-card {
    background: rgba(255, 255, 255, 0.5);
    /* Background lebih terang/semi-transparan */
    border: 1px solid var(--gold);
    padding: 35px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.35s ease,
        box-shadow 0.4s ease,
        background-color 0.35s ease;
}

.ref-detail-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(212, 162, 80, 0.1);
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--gold);
    margin-bottom: 18px;
}

.card-meta h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
}

.card-text {
    color: var(--cream-dark);
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 25px;
}

.ref-link-premium {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 600;
    border: 1px solid var(--gold);
    padding: 8px 18px;
    border-radius: 4px;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.ref-link-premium:hover {
    color: var(--brown-dark) !important;
    background: var(--gold);
}

/* ==========================================================================
   STRUKTUR KARTU ANGGOTA - MANAJEMEN UKURAN & LAYOUT TOTAL DI CSS
   ========================================================================== */
.team-section {
    margin-bottom: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.team-cards-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1024px;
    width: 100%;
    margin: 48px auto 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.member-row-card {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    background: var(--cream);
    border: 1px solid rgba(107, 58, 31, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.35s ease;
    margin-bottom: 55px;
    width: 100%;
}

.member-row-card:last-child {
    margin-bottom: 0;
}

.member-row-card:hover {
    border-color: var(--gold);
    background: rgba(240, 224, 204, 0.06);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.member-rtl {
    flex-direction: row;
}

.member-ltr {
    flex-direction: row-reverse;
}

.member-info-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-header-dev {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.card-header-dev h3 {
    color: var(--brown-light) !important;
}

.avatar-box {
    width: 50px;
    height: 50px;
    background: var(--brown-mid);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    border: 1px solid var(--gold);
}

.card-header-dev h3 {
    color: var(--cream);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.role-badge {
    display: inline-block;
    color: var(--cream-dark);
    background: var(--brown-dark) !important;
    /* Dibalik agar kontras */
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.task-intro {
    color: var(--brown-dark) !important;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 400;
    margin-bottom: 14px;
}

.task-list {
    display: flex;
    flex-direction: column;
}

.task-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--cream-dark);
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
}

.task-list li i {
    color: var(--gold);
    margin-top: 3px;
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.portfolio-links {
    display: flex;
    gap: 12px;
    border-top: 1px solid rgba(232, 201, 168, 0.1);
    padding-top: 18px;
}

.portfolio-links a {
    color: var(--brown-dark);
    background: rgba(107, 58, 31, 0.25);
    width: 38px;
    height: 38px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212, 162, 80, 0.2);
    transition: all 0.25s ease;
}

.portfolio-links a:hover {
    color: var(--brown-dark) !important;
    background: var(--gold) !important;
    border-color: var(--gold);
    transform: translateY(-3px);
}

.member-photo-block {
    width: 320px;
    min-width: 320px;
    position: relative;
    background: var(--brown-mid);
}

.photo-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    object-position: top;
}


.member-row-card:hover .photo-wrapper img {
    transform: scale(1.06);
}

.photo-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.overlay-right {
    background: linear-gradient(to right, var(--brown-dark) 0%, transparent 15%, rgba(0, 0, 0, 0.2) 100%);
}

.overlay-left {
    background: linear-gradient(to left, var(--brown-dark) 0%, transparent 15%, rgba(0, 0, 0, 0.2) 100%);
}

.highlight-quote {
    background: linear-gradient(135deg, var(--cream-border), var(--brown-light));
    border-left: 4px solid var(--gold);
    padding: 35px;
    border-radius: 0 8px 8px 0;
    margin: 100px 100px 100px 100px;
}

.highlight-quote blockquote {
    color: var(--zinc) !important;
    /* Teks dibuat lebih gelap */
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 1000;
    font-size: 1.4rem;
    text-align: center;
}

.portfolio-links a svg {
    width: 20px !important;
    height: 20px !important;
    display: block;
}

.main-layout-container.sidebar-closed .events-sticky-box,
.main-layout-container.sidebar-closed .events-sidebar h3 {
    display: none;
}

@media (max-width: 768px)  {
    .hero-scroll-indicator{
        display: none !important;
    }
}
/* ==========================================================================
   RESPONSIVE MOBILE OPTIMIZED (CARD HAMPIR MENYENTUH PINGGIR HALAMAN FULL)
   ========================================================================== */
@media screen and (max-width: 768px) {
    .Hilang{
        display: none;
    }

    .about-container {
        padding: 0px !important;
        /* MODIFIKASI: Sisa jarak ke tepi layar dibuat sangat tipis (4px) */
        display: flex;
        flex-direction: column;
        align-items: center;
        box-sizing: border-box;
        width: 100% !important;
        max-width: 100% !important;
        
    }
    .about-hero{
        background: none;
        margin-top: -50px;
    }

    .pcard {
        display: flex;
        flex-direction: column;
        align-items: center !important;
        justify-content: center !important;
    }

    .info-tag {
        letter-spacing: 1.2px;
        text-align: center;
    }

    .info-title {
        line-height: 1.2;
        margin-top: 8px;
        text-align: center;
    }

    .ornament-divider {
        width: 80px;
        margin: 15px auto;
    }

    .info-desc {
        font-size: 0.88rem;
        line-height: 1.55;
        max-width: 100%;
        text-align: center;
        padding: 0 12px;
        /* Teks deskripsi diberi padding agar tidak ikut mepet tepi */
    }

    .section-subtitle {
        font-size: 1.2rem;
        line-height: 1.3;
        text-align: center;
    }

    .info-desc-secondary {
        font-size: 0.72rem;
        line-height: 1.45;
        margin-bottom: 14px;
        max-width: 100%;
        text-align: center;
        padding: 0 12px;
    }

    /* =========================
       REFERENSI CARD (MOBILE)
       ========================= */
    .ref-cards-container {
        padding: 0 !important;
        width: 100%;
    }

    .ref-detail-card {
        width: 100% !important;
        max-width: 100% !important;
        /* Mengisi penuh sisa ruang kontainer */
        margin: 0 auto;
        padding: 24px 16px;
        border-radius: 6px;
        /* Lengkungan sudut sedikit dikurangi agar tampak kokoh di pinggir */
        box-sizing: border-box;
    }

    .ref-detail-card:hover {
        transform: translateY(-3px);
    }

    .card-meta {
        justify-content: center;
        gap: 10px;
        margin-bottom: 12px;
    }

    .card-meta h3 {
        font-size: 0.95rem;
        line-height: 1.3;
        text-align: center;
    }

    .card-meta i,
    .card-meta svg {
        width: 14px !important;
        height: 14px !important;
    }

    .card-text {
        font-size: 0.74rem;
        line-height: 1.5;
        margin-bottom: 14px;
        text-align: center;
    }

    .ref-link-premium {
        font-size: 0.68rem;
        padding: 5px 12px;
        gap: 5px;
        align-self: center;
    }

    /* =========================
       TEAM SECTION (MOBILE)
       ========================= */
    .team-section {
        margin-bottom: 45px;
        width: 100%;
    }

    .team-cards-container {
        width: 100% !important;
        max-width: 100% !important;
        /* Memaksa container meregang penuh */
        margin: 30px auto 0 auto;
        padding: 0 !important;
        display: flex;
        flex-direction: column;
        align-items: center !important;
    }

    .member-row-card {
        width: 100% !important;
        /* Card tim dipaksa meregang penuh ke tepi halaman */
        max-width: 100% !important;
        flex-direction: column-reverse !important;
        border-radius: 6px;
        /* Lengkungan sudut sedikit dikurangi agar rapi di pinggiran */
        margin-bottom: 25px;
        align-items: center !important;
        justify-content: center !important;
    }

    .member-info-content {
        width: 100%;
        padding: 24px 16px;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box;
    }

    .card-header-dev {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 10px;
        justify-content: center !important;
    }

    .avatar-box {
        width: 34px;
        height: 34px;
        min-width: 34px;
    }

    .avatar-box i,
    .avatar-box svg {
        width: 14px !important;
        height: 14px !important;
    }

    .card-header-dev h3 {
        font-size: 0.98rem;
        line-height: 1.3;
        text-align: center;
    }

    .role-badge {
        font-size: 0.52rem;
        padding: 1px 6px;
        margin-top: 2px;
        display: block;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }

    .task-intro {
        font-size: 0.72rem;
        line-height: 1.45;
        margin-bottom: 6px;
        text-align: center;
    }

    .task-list {
        gap: 5px;
        margin-bottom: 14px;
        text-align: left;
        justify-content: left;
    }

    .task-list li {
        font-size: 0.70rem;
        line-height: 1.4;
        gap: 6px;
       text-align: left;
    }

    .task-list li i,
    .task-list li svg {
        width: 10px !important;
        height: 10px !important;
        margin-top: 2px;
    }

    /* PORTFOLIO (MOBILE) */
    .portfolio-links {
        gap: 10px;
        padding-top: 12px;
        width: 100%;
        justify-content: center;
    }

    .portfolio-links a {
        width: 28px;
        height: 28px;
    }

    .portfolio-links a svg,
    .portfolio-links a i {
        width: 13px !important;
        height: 13px !important;
    }

    /* FOTO MEMBER (MOBILE) */
    .member-photo-block {
        width: 100%;
        min-width: 100%;
        height: 230px;
    }

    .photo-overlay {
        background: linear-gradient(to top, rgba(44, 26, 14, 0.85) 0%, transparent 55%) !important;
    }

    /* QUOTE (MOBILE) */
    .highlight-quote {
        width: 100%;
        max-width: 100% !important;
        /* Mengikuti kelebaran halaman penuh */
        padding: 16px;

        margin: 100px 100px 100px 100px;
        border-left: none;
        border-top: 3px solid var(--gold);
        border-radius: 6px;
        box-sizing: border-box;
    }

    .highlight-quote blockquote {
        font-size: 0.90rem;
        line-height: 1.55;
    }
}