/* ===== Penyesuaian khusus proyek (di luar style.css bawaan template) ===== */

/* Tombol WhatsApp mengambang */
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 100px;
    z-index: 99;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
    transition: transform .3s ease;
}

.whatsapp-float:hover {
    color: #fff;
    transform: scale(1.08);
}

/* Konten rich text dari editor admin */
.rich-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 12px 0;
}

.rich-content h2,
.rich-content h3,
.rich-content h4 {
    margin-top: 28px;
    margin-bottom: 12px;
}

.rich-content ul,
.rich-content ol {
    padding-left: 20px;
    margin-bottom: 16px;
}

.rich-content ul li {
    list-style: disc;
    margin-bottom: 8px;
}

.rich-content ol li {
    list-style: decimal;
    margin-bottom: 8px;
}

.rich-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 12px 20px;
    background: #f7f8fb;
    border-radius: 6px;
    margin: 20px 0;
}

/* Pagination Bootstrap agar selaras dengan tema */
.pagination {
    gap: 8px;
    flex-wrap: wrap;
}

.pagination .page-link {
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    color: var(--secondary-color);
    background: #f2f4f8;
    font-weight: 600;
}

.pagination .page-item.active .page-link,
.pagination .page-link:hover {
    background: var(--primary-color);
    color: #fff;
}

.pagination .page-item.disabled .page-link {
    opacity: .5;
}

/* Kartu galeri */
.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    display: block;
}

.gallery__item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform .5s ease;
}

.gallery__item:hover img {
    transform: scale(1.08);
}

.gallery__item .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 13, 29, 0) 40%, rgba(15, 13, 29, .85) 100%);
    display: flex;
    align-items: flex-end;
    padding: 18px;
    color: #fff;
    opacity: 0;
    transition: opacity .4s ease;
}

.gallery__item:hover .overlay {
    opacity: 1;
}

/* Kartu lowongan karier */
.career__item {
    background: #fff;
    border: 1px solid #e8eaf1;
    border-radius: 14px;
    padding: 28px;
    transition: all .35s ease;
}

.career__item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 12px 30px var(--primary10);
    transform: translateY(-4px);
}

.career__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.career__meta span {
    background: #f2f4f8;
    border-radius: 30px;
    padding: 6px 14px;
    font-size: 14px;
}

/* Filter kategori */
.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-pills a {
    padding: 10px 22px;
    border-radius: 30px;
    background: #f2f4f8;
    font-weight: 600;
    color: var(--secondary-color);
    transition: all .3s ease;
}

.filter-pills a.active,
.filter-pills a:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Formulir berlangganan di footer */
.footer__subscribe .form-control {
    border-radius: 8px 0 0 8px;
    border: none;
    padding: 12px 16px;
}

.footer__subscribe .btn-one {
    border-radius: 0 8px 8px 0;
}

/* Detail proyek */
.project__meta-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed #e2e5ee;
}

.project__meta-list li:last-child {
    border-bottom: none;
}