/* =========================
   IMAGE HERO SECTION
========================= */
.image-hero {
    width: 100%;
    position: relative;
    height: 50vh;
    overflow: hidden;
}

.image-hero-media {
    width: 100%;
    height: 100%;
}

/* IMAGE */
.image-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(#28282880, #28282880);
    pointer-events: none;
}
.image-hero-product::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* =========================
   HERO FINAL MATCH
========================= */
.hero {
    position: relative;
    min-height: 100vh;
    background: url("../../images/hero/hero-poshflor.jpg") center / cover no-repeat;
    color: #fff;
    display: flex;
    align-items: flex-end;
}

/* overlay tipis */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.55),
        rgba(0, 0, 0, 0.25),
        rgba(0, 0, 0, 0.05)
    );
}

/* LEFT CONTENT */
.hero-left {
    max-width: 520px;
    margin: 0 0 72px 80px;
    z-index: 2;
}

.hero-left h1 {
    font-family: var(--font-heading);
    font-size: clamp(24px, 2.5vw, 40px);
    font-weight: 700;
}

.hero-desc {
    font-size: 14.5px;
    line-height: 1.75;
    color: white;
    margin-bottom: 18px;
    text-align: justify;
}

.hero-tagline {
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: clamp(14px, 2vw, 15px);
}

/* RIGHT STATS */
.hero-stats {
    position: absolute;
    right: 80px;
    bottom: 72px;
    display: flex;
    gap: 75px;
    z-index: 2;
}

.stat strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
}

.stat span {
    font-size: 13px;
    letter-spacing: 0.1em;
    /* opacity: .85; */
    font-family: var(--font-body);
    font-weight: 400;
}
.stat strong {
    transition: transform 0.4s ease, opacity 0.4s ease;
    will-change: transform;
}


/* RESPONSIVE */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        height: 100vh;
        align-items: flex-end; /* Align content to bottom */
        padding-bottom: 40px;
    }

    .hero-left {
        margin: 0 24px 20px;
        max-width: 100%;
        text-align: left;
        position: absolute;
        bottom: 120px; /* Above stats */
        left: 0;
        right: 0;
        z-index: 3;
    }

    .hero-left h1 {
        font-size: clamp(36px, 10vw, 48px);
        line-height: 1.1;
        margin-bottom: 10px;
        text-transform: lowercase;
    }

    .hero-desc {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 20px;
        max-width: 90%;
        opacity: 0.9;
        text-align: justify;
    }

    .hero-tagline {
        font-size: 16px;
        font-weight: 700;
        letter-spacing: 0.5px;
    }

    .hero-stats {
        position: absolute;
        bottom: 40px;
        left: 24px;
        right: 24px;
        margin-top: 0;
        flex-direction: row; /* Horizontal */
        justify-content: space-between;
        gap: 10px;
        padding: 0;
        z-index: 3;
        width: auto;
    }

    .stat {
        text-align: left;
        flex: 1;
    }

    .stat strong {
        font-size: 28px;
        margin-bottom: 2px;
    }

    .stat span {
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .hero {
        min-height: 80vh;
    }

    .hero-left {
        margin: 0 0 60px 60px;
        max-width: 480px;
    }

    .hero-left h1 {
        font-size: clamp(48px, 6vw, 64px);
    }

    .hero-stats {
        right: 100px;
        bottom: 60px;
        gap: 50px;
    }

    .stat strong {
        font-size: 38px;
    }
}

/* =========================
   HERO ABOUT SECTION
========================= */
.hero-about {
    background: #e6e0d5;
    padding: 120px 0;
}

/* GRID */
.hero-about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.1fr;
    gap: 64px;
    align-items: center;
}

/* LEFT CONTENT */
.section-label2 {
    font-family: var(--font-body); /* Inter */
    font-size: 18px;
    font-weight: 400;
    text-transform: lowercase;
    letter-spacing: 0.08em;
    color: #000;
}

.hero-about-content h2 {
    font-family: var(--font-heading); /* Noto Serif */
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
    margin: 12px 0 20px;
}

.hero-about-desc {
    font-family: var(--font-body); /* Inter */
    max-width: 520px;
    margin-bottom: 36px;
    font-size: 14px;
    font-weight: 400;
}

/* VALUES LIST */
.about-values {
    list-style: none;
    padding: 0;
    margin: 32px 0 28px;
}

.about-values li {
    display: flex;
    gap: 18px;
    padding: 14px 0;
    border-top: 1px solid rgb(0, 0, 0);
}

.about-values li:last-child {
    border-bottom: 1px solid rgb(0, 0, 0);
}

.about-values img {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.about-values h3 {
    font-family: var(--font-heading); /* Noto Serif */
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 4px;
}

.about-values p {
    font-family: var(--font-body); /* Inter */
    font-size: 14px;
    margin: 0;
    font-weight: 400;
}

/* RIGHT IMAGES */
.hero-about-images img {
    width: 100%;
    display: block;
}

.image-grid-small {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

/* =========================
   PRODUCT COLLECTION
========================= */
.product-collection {
    background: #ffff;
    padding: 120px 0;
    color: #fff;
}

/* HEADER */
.collection-header {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    margin-bottom: 72px;
}

.section-label {
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: lowercase;
    opacity: 0.8;
    display: block;
    margin-bottom: 12px;
    color: #000000;
    font-weight: 400;
}

.header-left h2 {
    font-family: var(--font-heading);
    font-size: 40px;
    line-height: 1.25;
    font-weight: 700;
    opacity: 0.8;
    color: #000000;
}

.header-right p {
    font-size: 14.5px;
    line-height: 1.8;
    color: #000000;
    opacity: 0.8;
    margin-top: 42px;
}

/* GRID */
.collection-grid-home {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
}
.collection-grid-home .collection-item-home {
    flex: 0 1 calc(20% - 28px); /* Equivalent to 5 columns with gap */
    min-width: 200px; /* Ensure they don't get too small */
}

.collection-item-home img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

/* BUTTON */
.collection-btn {
    display: block;
    margin-top: 16px;
    padding: 14px 0;
    background: #fff;
    border: 1.5px solid #000;
    color: #000;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.collection-btn:hover {
    background: #000;
    color: #fff;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .collection-header {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .collection-grid {
        grid-template-columns: 1fr;
    }

    .collection-item img {
        height: 320px;
    }
}

/* =========================
   CLIENT SLIDER
========================= */
.client-strip {
    background: #fff;
    padding: 45px 0;
}

.client-slider {
    overflow: hidden;
    width: 100%;
}

.client-track {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: scroll 25s linear infinite;
}

.client-track img {
    height: 40px;
    flex-shrink: 0;
}
.client-slider:hover .client-track {
    animation-play-state: paused;
}

/* KEYFRAME */
@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .client-track {
        gap: 40px;
    }

    .client-track img {
        height: 34px;
    }
}

/* =========================
   COMPANY OVERVIEW
========================= */
.company-overview {
    padding: 90px 0 62px;
    background: #fff;
}

/* ROWS */
.overview-row {
    display: grid;
    gap: 64px;
    margin-bottom: 32px;
}

.overview-row.top {
    grid-template-columns: 1.2fr 0.8fr;
}

/* =========================
   COMMERCIAL OVERVIEW
========================= */
.overview-commercial {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    margin-bottom: 48px;
    padding: 48px 0;
    align-items: start;
}

.overview-commercial-left {
    align-self: center;
}

.overview-commercial-left h2 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 24px;
}

.overview-commercial-left p {
    font-size: 14.5px;
    line-height: 1.8;
    color: #333;
    text-align: justify;
}

.overview-commercial-right {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.commercial-item {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid #e5e5e5;
    align-items: flex-start;
}

.commercial-item:first-child {
    padding-top: 0;
}

.commercial-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.commercial-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.commercial-icon img {
    width: 40px;
    height: 40px;
}

.commercial-content h3 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
}

.commercial-content p {
    font-size: 13.5px;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

.overview-row.bottom {
    grid-template-columns: 1fr 1.2fr;
}

/* IMAGE */
.overview-image img {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

.overview-image.center img {
    max-height: 460px;
}

/* =========================
   VISION & MISSION
========================= */
.vision-mission h3 {
    font-family: var(--font-heading);
    font-size: 24px;
}

.vision p {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 32px;
}

/* MISSION */
.mission-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mission-list li {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    padding: 14px 0;
    position: relative;
}

/* GARIS PEMISAH */
.mission-list li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: #d9d9d9;
}

/* INDUSTRIES */
.industries {
    padding-top: 48px;
}
.industries h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 40px;
    text-transform: lowercase;
}

.industries ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.industries li {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
    font-family: var(--font-body);
    font-weight: 400;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .overview-commercial {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .overview-row.top,
    .overview-row.bottom {
        grid-template-columns: 1fr;
    }

    .overview-row {
        margin-bottom: 80px;
    }

    /* About Page Reordering */
    .overview-row.bottom .overview-image.center {
        order: -1;
    }
}

/* ------------- */
/* PG SECTION */
/* ------------- */
.pg-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    border-top: 1px solid #e5e5e5;
    padding-top: 60px;
}

/* HEADER */
.pg-header {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.pg-label {
    font-size: 12px;
    letter-spacing: 0.12em;
    color: #777;
}

.pg-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    margin-top: 6px;
}

.pg-header p {
    font-size: 14px;
    line-height: 1.6;
    text-align: right;
    margin-top: 36px;
}

/* GRID */
.pg-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.pg-card {
    display: none;
}

.pg-card.is-visible {
    display: block;
}

.pg-thumb {
    display: block;
    /* border-radius: 16px; */
    overflow: hidden;
}

.pg-card img {
    width: 100%;
    height: 353px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* .pg-thumb:hover img {
  transform: scale(0.8);
} */

.pg-card h3 {
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.35;
    min-height: 44px; /* cukup buat 2 baris */
    display: -webkit-box;
    -webkit-line-clamp: 2; /* maksimal 2 baris */
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* NAV + BUTTON */
.pg-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
}

.pg-nav {
    display: flex;
    gap: 12px;
}
.pg-nav button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid #000;
    background: #fff;
    color: #000;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pg-nav button:hover {
    background: #000;
    color: #fff;
}

/* VALUES */
.pg-values {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    margin-top: 60px;
}

.pg-values h3,
.pg-values p {
    grid-column: 1 / 2;
}

.pg-values h3 {
    font-size: 28px;
    margin-bottom: 14px;
}

.pg-values p {
    font-size: 14.5px;
    line-height: 1.65;
    color: #555;
    max-width: 720px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .pg-track {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .pg-track {
        grid-template-columns: 1fr;
    }

    .pg-card img {
        height: 220px;
    }

    .pg-bottom {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .header-right p,
    .pg-values p,
    .hero-about-desc {
        text-align: justify;
    }

    .pg-header {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Layout H2 ke kiri */
    .pg-header > div:first-child {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    /* Force line break / 2 paragraf visual & align left */
    .pg-header h2 {
        max-width: 320px; /* Adjust width to ensure 2 lines */
        margin-right: auto;
    }

    /* P dibawah kiri */
    .pg-header p {
        text-align: left;
        margin-top: 10px;
    }

    .hero-about-content h2 {
        margin-bottom: 8px;
    }

    .pg-values {
        grid-template-columns: 1fr;
    }

    .pg-values h3 {
        margin-bottom: 8px;
    }

    .header-right p {
        margin-top: 8px;
    }

    .collection-header {
        gap: 16px;
        margin-bottom: 40px;
    }

    .header-left h2 {
        font-size: 24px; /* Reduced from 40px */
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-about,
    .product-collection {
        padding: 60px 0; /* Reduced from 120px */
    }

    .pg-section {
        margin-top: 30px; /* Reduced from 60px */
        padding-top: 30px; /* Reduced from 60px */
        padding-bottom: 40px;
    }

    /* About Page Mobile */
    .industries,
    .vision-mission {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .overview-text p {
        text-align: justify;
    }
}
