/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* GLOBAL */
body {
  margin: 0 auto;
  padding: 0;
  font-family: "Poppins", sans-serif;
  background-color: #f4f6f8;
}

.container {
  max-width: 1500px;
  margin: auto;
  padding: 0 17px;
}

/* HEADER */
.site-header {
  background: #ffffff;
  position: sticky;
  max-width: 1500px;
  top: 0;
  margin: 0 auto;
  z-index: 999;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.site-header .container {
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo a {
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  color: #222;
}

.logo span {
  color: #c9a24d;
}

/* NAV */
.nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: #000000;
  transition: color 0.3s;
}

.nav a:hover {
  color: #2563eb;
}

/* BUTTON */
.btn {
  padding: 10px 18px;
  background: #c9a24d;
  color: #ffffff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.3s;
}

.btn:hover {
  background: #1e4fd6;
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #000000;
}

/* MOBILE BUTTON HIDDEN DESKTOP */
.mobile-btn {
  display: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav {
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    background: #ffffff;
    display: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  }

  .nav.active {
    display: block;
  }

  .nav ul {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }

  .header-btn {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-btn {
    display: block;
    margin-top: 10px;
  }

  .mobile-btn .btn {
    width: 100%;
    display: block;
    text-align: center;
    color: #fff;
  }
}
.header-img {
  display: block; /* membuat img sebagai block */
  margin: 20px auto; /* tengah horizontal, jarak 20px atas & bawah */
  max-width: 100%; /* responsif, tidak melebihi lebar container */
  height: auto; /* proporsional */
}
.footer {
  background: #0a0a0a;
  color: #fff;
  padding: 50px 20px 20px;
  font-family: "Poppins", sans-serif;
  margin: 0 auto;
  max-width: 1500px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin: 0 auto;
}

.footer h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
  color: gold;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a {
  text-decoration: none;
  color: #ccc;
  transition: 0.3s;
}

.footer ul li a:hover {
  color: gold;
}

.social-icons a {
  display: inline-block;
  margin-right: 8px;
}

.social-icons img {
  width: 35px;
  height: 35px;
  background: #fff;
  padding: 5px;
  border-radius: 10px;
}
.tanggal-terbit {
  font-size: 13px;
  color: #333;
  font-style: italic; /* membuat teks miring */
}

.tanggal-terbit span {
  font-weight: bold;
  color: #c9a24d; /* warna tanggal */
  font-style: italic; /* membuat teks miring */
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #333;
  font-size: 0.9rem;
  color: #aaa;
}
.kontak-icons p {
  display: flex;
  align-items: center; /* sejajarkan ikon dan teks secara vertikal */
  font-size: 15px;
  color: #fff; /* sesuaikan warna teks */
}
.footer p {
  margin: 8px 0; /* atas 10px, kanan 15px, bawah 8px, kiri 5px */
}
.kontak-icons img {
  margin-right: 8px; /* jarak antara ikon dan teks */
  width: 20px; /* ukuran ikon seragam */
  height: 20px;
}
.center-footer {
  text-align: center; /* bikin gambar di tengah */
}

.circle-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #ddd;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: inline-block; /* biar bisa ditengah pakai text-align */
  margin-bottom: 10px;
}

/* ===== LAYOUT ===== */
.main-layout {
  max-width: 1500px;
  margin: 20px auto;
  padding: 0px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;
}

/* ===== ARTIKEL ===== */
.article-content {
  background: #fff;
  padding: 40px 32px;
  border-radius: 0px;
  line-height: 1.8;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.article-content h1 {
  font-size: 2.2rem;
  margin-bottom: 24px;
  color: #000000;
  line-height: 1.2;
}

.article-content h2 {
  margin-top: 40px;
  margin-bottom: 10px;
  color: #000000;
  line-height: 1.2;
}

.article-content p,
.article-content li {
  color: #333;
}

ul.list {
  padding: 0;
  margin: auto;
}
ul.list li {
  background-color: #fff;
  padding: 7px;
  line-height: 1.2;
}
ul.list li strong {
  color: #ac7d17; /* warna judul hotel */
}

ul.list li em {
  font-style: italic;
  color: #000;
}
/* ===== CTA ===== */
.cta-box {
  margin-top: 40px;
  padding: 24px;
  background: #f2f2f2;
  color: #000000;
  border-radius: 10px;
  text-align: center;
}

.cta-box a.cta-btn {
  display: inline-block;
  margin-top: 12px;
  background: #c9a24d;
  padding: 12px 22px;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

/* ===== SIDEBAR ===== */
\.sidebar-products {
  position: sticky;
  top: 100px;
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Item Produk */
.product-item {
  background: #fff;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
}

/* Gambar Produk */
.product-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  margin-bottom: 15px;
}

/* Text */
.product-title {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.product-desc {
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.product-price {
  display: block;
  font-weight: 700;
  margin-bottom: 14px;
  color: #4e342e;
}

/* Button */
.product-btn {
  display: inline-block;
  padding: 12px 16px;
  background: #c9a24d;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

/* ===== RESPONSIVE (TANPA MENGUBAH POSISI) ===== */
@media (max-width: 900px) {
  .main-layout {
    grid-template-columns: 1fr;
  }

  .sidebar-products {
    top: 80px; /* tetap sticky, hanya jarak atas disesuaikan */
    gap: 16px;
  }
  h1 {
    font-size: 2rem;
  }
  .product-item {
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  }
}

/* JUDUL SIDEBAR */
.sidebar-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a; /* slate-900 */
  margin-bottom: 16px;
  margin-top: 0.5rem;
  padding-bottom: 8px;
  border-bottom: 2px solid #e5e7eb;
  letter-spacing: 0.3px;
  text-align: center;
}
/* ITEM ARTIKEL */
.artikel-item {
  padding: 16px 14px;
  border-bottom: 1px solid #eaeaea;
}

/* HAPUS GARIS ITEM TERAKHIR */
.artikel-item:last-child {
  border-bottom: none;
}

/* JUDUL ARTIKEL */
.artikel-title {
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.45;
  margin-bottom: 6px;
}

/* DESKRIPSI */
.artikel-desc {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 8px;
}

/* PUBLIKASI */
.artikel-publis {
  display: block;
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 12px;
}

/* TOMBOL BACA */
.artikel-btn {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* HOVER EFEK */
.artikel-btn:hover {
  background: linear-gradient(135deg, #1e40af, #1e3a8a);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.25);
}
