/*
  TRIK UTAMA (sama persis dengan about.css):
  Body diberi background-color yang SAMA dengan hero,
  sehingga area top-bar + navbar menyatu secara visual
  dengan hero section → terlihat full ke atas layar.
*/
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f1f3;
}

/* Hero section treatment */
.treatment-hero {
    position: relative;
    width: 100%;
    min-height: 75vh;
    background-color: #f0f1f3;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0;
    margin-top: -130px;
}

/* Shape Abu-abu melengkung murni dengan CSS */
.treatment-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 65%;
    height: 140%;
    background-color: #e9ecef;
    border-radius: 40% 60% 50% 50% / 40% 50% 60% 50%;
    z-index: 1;
    transform: rotate(-15deg);
}

/* Aksen Segitiga Teal di Kanan Atas */
.treatment-hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 250px;
    height: 250px;
    background-color: var(--primary-teal, #a4b697);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    z-index: 2;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 3;
    padding: 210px 5% 60px;
    gap: 40px;
}

/* Image Section */
.hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.hero-image-wrapper img {
    max-height: 350px;
    width: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.15));
}

/* Text Section */
.hero-text-content {
    flex: 1;
    padding-left: 3rem;
    position: relative;
    z-index: 3;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
    padding-left: 25px;
}

/* Garis kecil pada subtitle meniru gaya minimalis */
.hero-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 15px;
    height: 1px;
    background-color: #6c757d;
}

.hero-title {
    font-size: 2.8rem;
    color: #495057;
    font-weight: 400;
    line-height: 1.3;
    margin: 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .treatment-hero {
        padding-top: 7rem;
        height: auto;
        min-height: 100vh;
    }

    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-text-content {
        padding-left: 0;
        margin-bottom: 2rem;
    }

    .hero-subtitle::before {
        display: none;
    }

    .hero-subtitle {
        padding-left: 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-image-wrapper img {
        max-height: 350px;
    }

    .treatment-hero::after {
        width: 150px;
        height: 150px;
    }
}

/* =====================
   GRID & CONTAINER
   ===================== */
.treatment-list-section {
    width: 100%;
    padding: 4rem 2rem 6rem 2rem;
    background-color: #fff;
}

.list-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header & Filter */
.list-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
    position: relative;
}

.title-wrapper h2 {
    font-size: 2rem;
    color: #888;
    font-weight: 300;
    margin: 0;
}

.title-underline {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 250px;
    height: 3px;
    background-color: var(--primary-teal, #a4b697);
}

.treatment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* =====================
   KARTU PREMIUM
   ===================== */
.treatment-card {
    background: var(--bg-color);
    border-radius: 16px;
    overflow: hidden;
    display: block;
    border: 1px solid #f0f0f0;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    text-decoration: none;
    color: inherit;
}

.treatment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-teal);
}

.card-img-box {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.card-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.treatment-card:hover img {
    transform: scale(1.05);
}

.card-info {
    padding: 22px;
}

.card-title {
    font-size: 1.1rem;
    color: #777;
    font-weight: 500;
    text-transform: uppercase;
    margin: 0 0 8px 0;
}

.card-pricing {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.current-price {
    font-size: 1.1rem;
    color: var(--teal-primary, #a4b697);
    font-weight: 600;
}

.old-price {
    font-size: 1rem;
    color: #d9534f;
    text-decoration: line-through;
    font-weight: 400;
}

/* =====================
   PAGINASI
   ===================== */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 60px;
    margin-bottom: 40px;
}

.page-btn {
    padding: 8px 14px;
    border: 1px solid #ddd;
    background-color: white;
    color: #555;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.page-btn:hover {
    background-color: #f1f1f1;
}

.page-btn.active {
    background-color: var(--teal-primary, #a4b697);
    color: white;
    border-color: var(--teal-primary, #a4b697);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .treatment-grid {
        grid-template-columns: 1fr;
    }
}