/* =========================================================
   HOME REMAKE (override tampilan total, fungsi tetap)
   ========================================================= */

:root {
  --bg: #f6f8fc;
  --card: #ffffff;
  --text: #0f172a;
  --muted: rgba(15, 23, 42, 0.68);
  --border: rgba(15, 23, 42, 0.1);
  --shadow: 0 16px 60px rgba(2, 8, 23, 0.1);
  --shadow2: 0 10px 30px rgba(2, 8, 23, 0.08);
  --radius: 20px;
  --brand: #1a73e8;
  --brand2: #22c55e;
}

body {
  background: var(--bg);
}

/* ------------ HERO SLIDER (REVOLUTION) ------------- */
#home {
  position: relative;
  padding: 20px 0 0;
}
#home .container-fluid {
  padding-left: 16px !important;
  padding-right: 16px !important;
}

#home .rev_slider_wrapper {
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

/* overlay gelap modern */
#home .rev_slider_wrapper:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(11, 18, 32, 0.7),
    rgba(11, 18, 32, 0.3),
    rgba(11, 18, 32, 0.12)
  );
}

/* “top highlight” */
#home .rev_slider_wrapper:after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 6;
  pointer-events: none;
  background:
    radial-gradient(
      800px 260px at 10% 0%,
      rgba(26, 115, 232, 0.28),
      transparent 60%
    ),
    radial-gradient(
      700px 260px at 90% 10%,
      rgba(34, 197, 94, 0.22),
      transparent 60%
    );
  mix-blend-mode: screen;
  opacity: 0.9;
}

/* ------------ SECTION UMUM ------------- */
#about {
  padding: 34px 0 18px;
}
#about .section-content {
  padding: 0;
}
#about h3.line-bottom.border-bottom {
  border: 0 !important;
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 18px !important;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.2px;
}
#about h3.line-bottom.border-bottom:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 120px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--brand), var(--brand2));
}

/* rapihin row bootstrap lama supaya card tidak kepotong */
#about .row {
  margin-left: -10px;
  margin-right: -10px;
}
#about [class*="col-"] {
  padding-left: 10px;
  padding-right: 10px;
}

/* ------------ BERITA: ubah artikel lama jadi card modern ------------- */
/* Target: article.post... yang kamu punya */
#about article.post {
  background: var(--card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  overflow: hidden;
  padding: 0 !important;
  margin: 0 0 14px !important;
}

/* bikin layout dua kolom rapi tanpa ubah HTML */
#about article.post > .col-md-4,
#about article.post > .col-md-8 {
  padding: 0 !important;
}

#about article.post .post-thumb {
  margin: 0 !important;
}
#about article.post .post-thumb img {
  width: 100% !important;
  height: 210px !important;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.25s ease;
}
#about article.post:hover .post-thumb img {
  transform: scale(1.08);
}

/* wrapper content yang tadinya background abu */
#about article.post .col-md-8 > div {
  background: transparent !important;
  padding: 14px 16px 16px;
}

/* kotak tanggal yang tadinya block warna: jadi pill */
#about article.post .entry-date {
  border-radius: 16px !important;
  background: rgba(11, 18, 32, 0.82) !important;
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}
#about article.post .entry-date ul {
  margin: 0;
}
#about article.post .entry-date li.border-bottom {
  border: 0 !important;
}

/* judul berita (aslinya text-white) jadi gelap modern */
#about article.post .entry-title,
#about article.post .entry-title a {
  color: var(--text) !important;
  text-transform: none !important;
  font-weight: 900 !important;
  letter-spacing: -0.2px;
}
#about article.post p {
  color: var(--muted);
  line-height: 1.75;
  margin-top: 10px !important;
}

/* tombol read more jadi modern */
#about article.post a.btn.btn-default.btn-sm.btn-theme-colored {
  float: none !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 14px !important;
  padding: 10px 14px !important;
  border: 1px solid rgba(26, 115, 232, 0.18) !important;
  background: rgba(26, 115, 232, 0.1) !important;
  color: var(--brand) !important;
  font-weight: 900;
}
#about article.post a.btn.btn-default.btn-sm.btn-theme-colored:after {
  content: "→";
  font-weight: 900;
}
#about article.post .clearfix {
  display: none;
}

/* ------------ AGENDA: tampil beda total, tapi struktur sama ------------- */
#about .col-md-4 .event.media {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  padding: 14px 14px 6px !important;
  backdrop-filter: blur(10px);
}

/* item agenda per row */
#about .col-md-4 .event.media .row.mt-10 {
  margin: 0 0 10px;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  transition:
    transform 0.15s ease,
    border-color 0.15s ease;
}
#about .col-md-4 .event.media .row.mt-10:hover {
  transform: translateY(-1px);
  border-color: rgba(26, 115, 232, 0.22);
}

/* date box */
#about .event-date {
  border-radius: 16px !important;
  border: 1px solid rgba(26, 115, 232, 0.18) !important;
  background: linear-gradient(
    135deg,
    rgba(26, 115, 232, 0.14),
    rgba(34, 197, 94, 0.14)
  ) !important;
}
#about .event-date li {
  color: var(--text) !important;
}
#about .event-date li.font-28 {
  font-weight: 1000 !important;
}
#about .event-date li.font-18 {
  color: rgba(15, 23, 42, 0.7) !important;
  font-weight: 900 !important;
}

/* judul agenda */
#about .event-content h5 a {
  color: var(--text) !important;
  font-weight: 900 !important;
  text-decoration: none;
}
#about .event-content h5 a:hover {
  color: var(--brand) !important;
}
#about .event-content ul.list-inline {
  margin-top: 6px !important;
  color: rgba(15, 23, 42, 0.7) !important;
  font-weight: 700 !important;
}
#about .event-content i {
  color: var(--brand) !important;
}

/* ------------ SECTION ADS + PENGUMUMAN ------------- */
section.bg-silver-light {
  background: transparent !important;
  padding: 10px 0 40px;
}
section.bg-silver-light .section-content {
  background: transparent !important;
}
section.bg-silver-light .row {
  background: transparent;
}

/* “panel” modern untuk kedua kolom */
section.bg-silver-light .col-md-6 {
  margin-top: 10px;
}
section.bg-silver-light .col-md-6 > * {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  padding: 14px;
}

/* judul pengumuman */
section.bg-silver-light h3.title {
  margin: 0 0 12px !important;
  border: 0 !important;
  font-weight: 900;
  color: var(--text);
}
section.bg-silver-light h3.title .text-theme-colored {
  color: var(--brand) !important;
}

/* pengumuman item jadi card list */
section.bg-silver-light .icon-box {
  border: 0 !important;
  border-radius: 16px;
  padding: 12px !important;
  background: rgba(15, 23, 42, 0.03);
  margin-bottom: 10px;
  transition: transform 0.15s ease;
}
section.bg-silver-light .icon-box:hover {
  transform: translateY(-1px);
}
section.bg-silver-light .icon-box-title {
  color: var(--text) !important;
  font-weight: 900 !important;
  letter-spacing: -0.1px;
  text-transform: none !important;
}
section.bg-silver-light .icon-box p {
  color: var(--muted);
}

/* Ads image rounding */
section.bg-silver-light .img-hover-border img {
  border-radius: 16px;
  display: block;
  width: 100%;
}

/* ------------ STATS PARALLAX: ubah jadi card ------------- */
section.divider.parallax {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  margin: 10px 16px 30px;
  box-shadow: var(--shadow);
}
section.divider.parallax:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(11, 18, 32, 0.82),
    rgba(11, 18, 32, 0.55)
  );
  z-index: 0;
}
section.divider.parallax .container {
  position: relative;
  z-index: 1;
}
section.divider.parallax .funfact {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 18px 14px;
  backdrop-filter: blur(10px);
}
section.divider.parallax .funfact h2 {
  font-weight: 1000 !important;
}

/* ------------ GALLERY: beda total ------------- */
section .section-title h2 {
  font-weight: 1000 !important;
  letter-spacing: -0.3px;
}
.gallery-isotope {
  margin-top: 14px;
}
.gallery-isotope .gallery-item .thumb {
  max-height: none !important; /* override yang lama */
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow2);
  border: 1px solid rgba(15, 23, 42, 0.08);
  position: relative;
}
.gallery-isotope .gallery-item .thumb img {
  height: 260px;
  object-fit: cover;
  width: 100%;
  transform: scale(1.03);
  transition: transform 0.25s ease;
}
.gallery-isotope .gallery-item:hover .thumb img {
  transform: scale(1.1);
}

/* overlay & info */
.gallery-isotope .overlay-shade {
  opacity: 1 !important;
  background: linear-gradient(
    0deg,
    rgba(11, 18, 32, 0.75),
    rgba(11, 18, 32, 0.05)
  ) !important;
}
.gallery-isotope .portfolio-upper-part {
  left: 16px !important;
  bottom: 14px !important;
  top: auto !important;
  color: #fff !important;
}
.gallery-isotope .portfolio-upper-part h4 {
  font-weight: 1000 !important;
  margin-bottom: 2px !important;
}
.gallery-isotope .portfolio-upper-part h5 {
  opacity: 0.85;
}

/* tombol kamera jadi floating bubble */
.portfolio-view {
  left: auto !important;
  right: 14px !important;
  top: 14px !important;
}
.portfolio-view a {
  width: 46px;
  height: 46px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}
.portfolio-view i {
  font-size: 22px !important;
  color: #fff !important;
}

/* ------------ RESPONSIVE ------------- */
@media (max-width: 992px) {
  #home .container-fluid {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  #home .rev_slider_wrapper {
    border-radius: 18px;
  }
  #about article.post .post-thumb img {
    height: 180px !important;
  }
  section.divider.parallax {
    margin: 10px 10px 26px;
    border-radius: 18px;
  }
}

#about-us {
  background: #f7f8fa;
}

#about-us .about-content {
  font-size: 16px;
  line-height: 1.9;
}

.double-line-bottom-centered-theme-colored-2 {
  width: 60px;
  height: 3px;
  background: #ff6b00;
  margin: 15px auto;
  position: relative;
}

.double-line-bottom-centered-theme-colored-2:after {
  content: "";
  width: 30px;
  height: 3px;
  background: #333;
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
}

/* ------------ SKELETON LOADER ------------- */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton-loading {
  background: #eee;
  background: linear-gradient(
    90deg, 
    #eff1f3 4%, 
    #e2e5e7 25%, 
    #eff1f3 36%
  );
  background-size: 200% 100%;
  animation: shimmer 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  display: block;
}

.skeleton-loading img {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.skeleton-loaded {
  background: transparent !important;
  animation: none !important;
}

.skeleton-loaded img {
  opacity: 1 !important;
}

.skeleton-box {
  width: 100%;
  height: 20px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.skeleton-image { height: 210px; border-radius: var(--radius); margin-bottom: 15px; }
.skeleton-title { width: 70%; height: 28px; margin-bottom: 15px; }
.skeleton-text { width: 95%; height: 16px; margin-bottom: 8px; }
.skeleton-date-box { width: 60px; height: 60px; border-radius: 16px; flex-shrink: 0; }

/* Hide content when loading */
.loading-hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
}

.loading-visible {
  opacity: 1;
  visibility: visible;
}

/* Remove full-page overlay styles as we are using image-only skeletons */
#skeleton-overlay {
  display: none !important;
}
