/* ============================
   PROYEK KAMI PAGE
   ============================ */

/* ============================
   CONTAINER
   Ikut pola project: max-width 1440px + gutter dari --gutter-desktop
   ============================ */
.pk-container {
    max-width: var(--max-container);
    margin: 0 auto;
    padding-left: var(--gutter-desktop);
    padding-right: var(--gutter-desktop);
    width: 100%;
    box-sizing: border-box;
}

/* ============================
   SECTION 1 — PAGE HEADER
   ============================ */
.pk-header {
    width: 100%;
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    background: #F8FAFC;
}

.pk-header-title-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.pk-header-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 36px;
    line-height: 44px;
    color: #333333;
    margin: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

.pk-header-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #777777;
    text-align: right;
    margin: 0;
    flex: 1;
}

.pk-header-banner {
    width: 100%;
    height: 380px;
    overflow: hidden;
    flex-shrink: 0;
}

.pk-header-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============================
   SECTION 2 — DAFTAR PROYEK
   ============================ */
.pk-projects {
    width: 100%;
    position: relative;
    background-color: #F8FAFC;
    background-image: url('/img/background/bg_proyek.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.pk-projects-inner {
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
}

/* ============================
   PROJECT ITEM
   ============================ */
.pk-project-item {
    padding: 56px 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Header baris: [nama + kategori] — [garis] — [tahun] */
.pk-project-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 36px;
}

.pk-project-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}

.pk-project-name {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 36px;
    line-height: 44px;
    color: #A4271E;
    margin: 0;
}

.pk-project-category {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 29px;
    color: #777777;
    display: block;
}

.pk-project-line {
    flex: 1;
    height: 1px;
    background: #252525;
    display: block;
    min-width: 0;
}

.pk-project-year {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 36px;
    line-height: 44px;
    color: #333333;
    flex-shrink: 0;
}

/* Deskripsi + list */
.pk-project-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 36px;
    color: #333333;
}

.pk-project-body p {
    margin: 0 0 12px 0;
}

.pk-project-body p:last-child {
    margin-bottom: 0;
}

.pk-project-body ul {
    margin: 0 0 12px 0;
    padding-left: 20px;
    list-style-type: disc;
}

.pk-project-body ol {
    margin: 0 0 12px 0;
    padding-left: 20px;
    list-style-type: decimal;
}

.pk-project-body li {
    margin-bottom: 4px;
}

.pk-project-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 36px;
    color: #333333;
    margin: 0;
}

.pk-project-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pk-project-list li {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 36px;
    color: #333333;
    padding-left: 20px;
    position: relative;
}

.pk-project-list li::before {
    content: '•';
    position: absolute;
    left: 4px;
    color: #333333;
}

/* ============================
   GALLERY
   ============================ */
.pk-project-gallery {
    width: 100%;
    overflow: hidden;
}

.pk-gallery-scroll {
    display: flex;
    flex-direction: row;
    gap: 20px;
    /* Sedikit melebihi container untuk menampilkan edge foto ke-5 */
    padding-right: 20px;
}

.pk-gallery-scroll img {
    width: 260px;
    height: 260px;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
    border-radius: 4px;
}

/* ============================
   DASHED DIVIDER
   ============================ */
.pk-divider {
    width: 100%;
    height: 1px;
    border: none;
    border-top: 1px dashed #252525;
    flex-shrink: 0;
}

/* ============================
   RESPONSIVE — 1279px
   ============================ */
@media (max-width: 1279px) {
    .pk-project-name {
        font-size: 28px;
        line-height: 36px;
    }

    .pk-project-year {
        font-size: 28px;
        line-height: 36px;
    }
}

/* ============================
   RESPONSIVE — 1023px
   ============================ */
@media (max-width: 1023px) {
    .pk-header {
        padding-top: 70px;
    }

    .pk-container {
        padding-left: var(--gutter-tablet);
        padding-right: var(--gutter-tablet);
    }

    .pk-header-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .pk-header-desc {
        text-align: left;
    }

    .pk-project-header {
        flex-wrap: wrap;
        gap: 16px;
    }

    .pk-project-line {
        display: none;
    }

    .pk-project-year {
        margin-left: auto;
    }

    .pk-project-name {
        font-size: 24px;
        line-height: 32px;
    }

    .pk-project-category {
        font-size: 18px;
        line-height: 26px;
    }

    .pk-project-year {
        font-size: 24px;
        line-height: 32px;
    }
}

/* ============================
   RESPONSIVE — 767px
   ============================ */
@media (max-width: 767px) {
    .pk-container {
        padding-left: var(--gutter-tablet);
        padding-right: var(--gutter-tablet);
    }

    .pk-header {
        padding-top: 60px;
        gap: 24px;
    }

    .pk-header-title {
        font-size: 28px;
        line-height: 36px;
    }

    .pk-header-banner {
        height: 240px;
    }

    .pk-project-item {
        padding: 40px 0;
        gap: 16px;
    }

    .pk-project-name {
        font-size: 20px;
        line-height: 28px;
    }

    .pk-project-category {
        font-size: 16px;
        line-height: 24px;
    }

    .pk-project-year {
        font-size: 20px;
        line-height: 28px;
    }

    .pk-project-desc,
    .pk-project-list li {
        font-size: 16px;
        line-height: 28px;
    }

    .pk-gallery-scroll img {
        width: 200px;
        height: 200px;
    }
}

/* ============================
   RESPONSIVE — 575px
   ============================ */
@media (max-width: 575px) {
    .pk-container {
        padding-left: var(--gutter-mobile);
        padding-right: var(--gutter-mobile);
    }

    .pk-header {
        padding-top: 50px;
    }

    .pk-project-item {
        padding: 32px 0;
    }

    .pk-gallery-scroll img {
        width: 160px;
        height: 160px;
    }
}
