/* Base Styles */
/* STRUKTUR KONTEN Pamflet */
.content-text h3 {
    font-size: 2rem;
    margin-bottom: 1.8rem;
    color: #000000;
}

.content-text .description {
    font-size: 1rem;
    line-height: 2;
    color: #000000;
}

.benefits-title {
    font-size: 1.1rem;
    margin-bottom: 1.8rem;
    color: #000000;
}

.benefits-container {
    margin: 1.5rem 0;
}

.benefits-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.benefit-item i {
    color: #4caf50;
    margin-top: 3px;
}

/* CARD UNTUK TEKS */
.card-info {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    flex: 1;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Responsif desktop */
@media (min-width: 992px) {
    .program-content-container {
        display: flex;
        gap: 2rem;
        align-items: flex-start; /* ✅ RATAKAN ATAS antara gambar dan teks */
    }

    .layout-left .program-content-container {
        flex-direction: row;
    }

    .layout-right .program-content-container {
        flex-direction: row-reverse;
    }
}

/* PENTING: Ini adalah wadah scroll utama */
.program-content-wrapper {
    max-height: 80vh; /* 80% dari tinggi layar */
    overflow-y: auto; /* Scrollbar vertikal jika konten panjang */
    padding: 1rem;
    border: 1px solid #e9e9e9;
    border-radius: 8px;
}

/* PENTING: Mengubah display agar semua program tampil */
.program-detail {
    display: block; /* Bukan 'none', agar semua terlihat */
    padding: 2rem 0;
    border-bottom: 1px solid #f0f0f0; /* Garis pemisah antar program */
}
.program-detail:last-child {
    border-bottom: none; /* Hapus garis di item terakhir */
}

/* --- LAYOUT LOGIC --- */

/* Defaultnya adalah layout mobile (tumpuk ke bawah) */
.program-content-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.content-image {
    flex-basis: 40%; /* Lebar gambar 40% dari card */
    margin-right: 1.5rem; /* Jarak antara gambar dan teks */
}

.card-info {
    display: flex; /* Atur layout menjadi flex */
    flex-direction: row; /* Gambar dan teks berdampingan */
    align-items: flex-start; /* Rata atas antara gambar dan teks */
}

.card-info .content-text {
    flex: 1; /* Ambil sisa ruang untuk teks */
}

.card-info .content-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* DIHAPUS: Style untuk tab tidak lagi diperlukan */
/* .program-tabs, .tab-button, .program-detail.active { ... } */

/* Styling Section Program */
.program-section {
    background-color: #f8f9fa;
}

/* Tombol Filter */
.filter-buttons-wrapper {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.filter-btn {
    padding: 10px 25px;
    border: 1px solid #ccc;
    background-color: #fff;
    color: #555;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.filter-btn.active,
.filter-btn:hover {
    background-color: #e69500;
    color: white;
    border-color: #e69500;
}

/* GRID CONTAINER - Kunci Tampilan Berderet ke Samping dan Center */
.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem; /* Jarak antar kartu (bisa disesuaikan) */
    justify-content: center; /* Memastikan grup kartu berada di tengah */
}

/* Kelas untuk menyembunyikan item via JavaScript */
.program-item.hidden {
    display: none;
}

/* Kartu Program */
.program-card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease;
}
.program-card:hover {
    transform: translateY(-5px);
}
.program-card-image-wrapper {
    position: relative;
}
.program-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.program-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #198754 !important;
}
.program-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.program-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.program-card-info {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.program-card-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #f39c12;
    margin-bottom: 1.5rem;
}
.btn-detail {
    display: block;
    width: 100%;
    padding: 12px;
    text-align: center;
    background-color: #198754;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    margin-top: auto;
    transition: background-color 0.3s;
}
.btn-detail:hover {
    background-color: #157347;
}

/* Pesan jika tidak ada program */
.no-program-notice {
    grid-column: 1 / -1;
}

/* camp card */

.section-title-camp {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}
.section-subtitle-camp {
    max-width: 700px;
    margin: 0 auto;
    color: #666;
}

/* Grid untuk Kartu Camp */
/* .camp-grid {
    display: flex;
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    gap: 1.5rem; 
    justify-content: center;
} */

/* Styling Kartu Camp */
/* GANTI .camp-card ANDA DENGAN INI */
.camp-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0; /* Menambahkan garis tepi abu-abu muda */
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05); /* Bayangan sedikit dikurangi */
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease,
        border-color 0.3s ease;
}
/* Tambahkan CSS ini */
.camp-section {
    background-color: #d0e0e3;
    padding: 80px 0; /* dari 60px */
}

.section-title-camp {
    font-size: 2.8rem; /* dari 2.2rem / 2.5rem */
    font-weight: 800;
    text-transform: uppercase;
    color: var(--accent); /* atau #333 kalau mau netral */
    margin-bottom: 1rem;
}

.section-subtitle-camp {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.camp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.camp-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.camp-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-color: #0d6efd;
}

.camp-card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.camp-card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.camp-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.camp-card-description {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.promo-banner {
    background-color: #ffc107;
    color: #333;
    font-weight: 600;
    text-align: center;
    padding: 10px;
    border-radius: 50px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.btn-details {
    display: inline-block;
    background-color: #198754;
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    transition: background-color 0.3s ease;
    margin-top: auto;
    align-self: center;
    width: max-content;
}

.btn-details:hover {
    background-color: #157347;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .camp-grid {
        grid-template-columns: 1fr;
    }

    .section-title-camp {
        font-size: 1.8rem;
    }

    .section-subtitle-camp {
        font-size: 1rem;
    }
}
