/* --- GLOBAL VARIABLES --- */
:root {
  --gold: #d4af37;
  --dark-blue: #0f2027;
}

body {
  font-family: "Poppins", sans-serif;
  color: #444;
  overflow-x: hidden;
  /* Cursor custom dihapus agar ringan */
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Playfair Display", serif;
}
.text-gold {
  color: var(--gold);
}
.bg-soft {
  background-color: #f9ffff;
  position: relative;
}
.section-padding {
  padding: 80px 0;
  position: relative;
  z-index: 2;
}

.divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 20px auto;
  transition: 0.5s;
}
section:hover .divider {
  width: 120px;
}

/* --- BUTTONS --- */
.btn-gold-outline {
  color: #d4af37;
  border: 2px solid #d4af37;
  border-radius: 50px;
  padding: 12px 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  background: transparent;
  transition: all 0.4s ease;
}
.btn-gold-outline:hover {
  background: #d4af37;
  color: #000;
  transform: translateY(-3px);
}

/* --- NAVBAR OPTIMIZED (TANPA BLUR) --- */
.navbar {
  padding: 15px 0;
  transition: 0.3s ease;
  background: transparent;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98); /* Solid color, ringan */
  padding: 10px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.navbar-brand img {
  width: 140px;
}
.nav-link {
  color: white !important;
  font-weight: 500;
  margin-left: 15px;
  letter-spacing: 1px;
  font-size: 0.9rem;
}
.nav-link:hover {
  color: var(--gold) !important;
}
.navbar.scrolled .nav-link {
  color: #333 !important;
}
.navbar.scrolled .nav-link:hover {
  color: var(--gold) !important;
}

/* Search Input */
.search-form {
  position: relative;
  width: 250px;
  margin-left: 20px;
}
.search-input {
  width: 100%;
  padding: 8px 15px 8px 40px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.2);
  color: white;
}
.search-input:focus {
  background: white;
  color: #333;
  border-color: var(--gold);
  outline: none;
}
.search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
}
.navbar.scrolled .search-input {
  border-color: #ddd;
  background: #f5f5f5;
  color: #333;
}

/* --- MOBILE MENU --- */
@media (max-width: 991px) {
  .navbar-collapse {
    background: #0f2027; /* Solid color, ringan */
    padding: 20px;
    margin-top: 15px;
    text-align: center;
  }
  .search-form {
    width: 100% !important;
    margin-left: 0 !important;
    margin-top: 20px;
  }
}

/* --- PAGINATION (New) --- */
.pagination {
  justify-content: center;
  margin-top: 40px;
  gap: 5px;
}
.page-item .page-link {
  color: var(--dark-blue);
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-item.active .page-link {
  background-color: var(--gold);
  border-color: var(--gold);
  color: white;
}

/* --- FOOTER & WA --- */ /* --- FOOTER CLEAN & LIGHTWEIGHT --- */
.footer-clean {
  background-color: #0f1012; /* Hitam pekat elegan */
  padding: 80px 0 30px;
  color: #999;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05); /* Garis tipis pemisah */
}

.footer-title {
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  margin-bottom: 25px;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
}

/* Garis emas kecil di bawah judul */
.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background-color: var(--gold);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #888;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--gold);
  transform: translateX(5px); /* Efek gerak dikit saat hover */
}

.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-contact li {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%; /* Bulat */
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
  border: 1px solid transparent;
}

.social-links a:hover {
  background: var(--gold);
  color: #000;
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .footer-clean {
    padding: 50px 0 20px;
    text-align: center;
  }
  .footer-title::after {
    left: 50%;
    transform: translateX(-50%); /* Tengahin garis di HP */
  }
  .footer-contact li {
    justify-content: center; /* Tengahin kontak di HP */
  }
  .social-links {
    justify-content: center;
  }
}
/* --- LANGUAGE SWITCHER DYNAMIC COLOR --- */

/* 1. Kondisi Awal (Navbar Transparan) */
.lang-link {
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  color: white; /* Default putih */
}

.lang-link:hover {
  color: var(--gold);
}

.lang-link.active {
  color: var(--gold); /* Yang dipilih warnanya Emas */
  font-weight: 700;
}

.lang-divider {
  color: rgba(255, 255, 255, 0.5); /* Warna garis pemisah default */
}

/* 2. Kondisi Saat Scroll (Navbar Putih) */
.navbar.scrolled .lang-link {
  color: #333; /* Berubah jadi Hitam/Abu Gelap */
}

.navbar.scrolled .lang-link.active {
  color: var(--gold); /* Yang aktif tetap Emas */
}

.navbar.scrolled .lang-divider {
  color: #ccc; /* Garis pemisah jadi abu-abu */
}
.lang-link {
  text-decoration: none;
  font-weight: 500;
  color: white !important; /* Paksa Putih */
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

/* 2. Kondisi Saat Scroll (Navbar Putih) - Teks Hitam */
.navbar.scrolled .lang-link {
  color: #333 !important; /* Paksa Hitam Gelap */
}

/* 3. Warna Garis Pemisah (|) */
.lang-divider {
  color: rgba(255, 255, 255, 0.7) !important; /* Putih transparan */
  margin: 0 8px;
}
.navbar.scrolled .lang-divider {
  color: #333 !important; /* Hitam saat scroll */
}

/* 4. State Active (Bahasa Terpilih) - Selalu Emas */
.lang-link.active {
  color: var(--gold) !important;
  font-weight: 700;
}
.navbar.scrolled .lang-link.active {
  color: var(--gold) !important;
}

/* 5. Hover Effect */
.lang-link:hover {
  color: var(--gold) !important;
}

/* --- FLOATING WHATSAPP BUTTON --- */
.float-wa {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px; /* Jarak dari bawah */
  right: 30px; /* Jarak dari kanan */
  background-color: #25d366; /* Warna Hijau WhatsApp */
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px; /* Ukuran icon */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); /* Bayangan agar terlihat mengambang */
  z-index: 1000; /* Pastikan selalu di atas elemen lain */
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.float-wa:hover {
  background-color: #128c7e; /* Warna hijau lebih gelap saat disentuh */
  transform: translateY(-5px); /* Efek naik sedikit saat hover */
  color: white;
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.4);
}

/* Penyesuaian untuk layar HP agar tidak menutupi konten penting */
@media (max-width: 768px) {
  .float-wa {
    width: 50px;
    height: 50px;
    font-size: 24px;
    bottom: 20px;
    right: 20px;
  }
}
/* --- MOBILE FOOTER OPTIMIZATION --- */
@media (max-width: 768px) {
  /* Kurangi padding atas bawah footer */
  .footer-clean {
    padding: 40px 0 20px;
  }

  /* Kecilkan ukuran logo di footer */
  .footer-brand img {
    width: 110px !important;
    margin-bottom: 10px;
  }

  /* Kurangi jarak antar elemen sosial media */
  .social-links {
    margin-top: 15px !important;
    margin-bottom: 30px; /* Beri jarak ke menu bawahnya */
  }

  /* Judul menu footer lebih kecil sedikit */
  .footer-title {
    font-size: 1rem;
    margin-bottom: 15px;
  }

  /* Rapatkan list menu */
  .footer-links li {
    margin-bottom: 8px;
  }

  /* Rapatkan info kontak */
  .footer-contact li {
    margin-bottom: 10px;
    font-size: 0.85rem;
  }
}
