/* --- 1. IMPORT & RESET --- */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Poppins:wght@300;400;600&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #fdfafb;
  font-family: "Poppins", sans-serif;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  color: #884a5f;
  margin-bottom: 15px;
}

/* --- 2. STICKY NAVBAR --- */
#navbar {
  background-color: #884a5f;
  display: flex;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#navbar a,
.dropbtn {
  color: #f3f0df;
  padding: 18px 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  border: none;
  background: none;
  cursor: pointer;
  transition: 0.3s;
}

#navbar a:hover,
.dropdown:hover .dropbtn {
  background-color: #6b3a4a;
}

/* Dropdown */
.dropdown {
  position: relative;
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  z-index: 10000;
}
.dropdown-content a {
  color: #884a5f !important;
  padding: 12px 16px;
  display: block;
  text-transform: none;
  border-bottom: 1px solid #f1f1f1;
}
.dropdown:hover .dropdown-content {
  display: block;
}

/* --- 3. LAYOUT UTAMA (FLEXBOX) --- */
.row {
  display: flex;
  flex-wrap: wrap; /* Kunci agar responsif */
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 15px;
  gap: 25px; /* Jarak antar kolom */
}

/* Kolom Kiri (70% di Desktop) */
.leftcolumn {
  flex: 70%;
  min-width: 300px;
}

/* Kolom Kanan (25% di Desktop) */
.rightcolumn {
  flex: 25%;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  /* Membuat kolom kanan menempel saat scroll di desktop */
  position: sticky;
  top: 80px;
  align-self: flex-start;
}

/* --- 4. KOMPONEN KARTU --- */
.card {
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  width: 100%;
}

/* Gambar & Maps agar Selalu Pas */
.card img,
.card iframe {
  width: 100% !important;
  height: auto;
  border-radius: 10px;
  border: none;
}

/* --- 5. RESPONSIVE (HP & TABLET) --- */
@media screen and (max-width: 992px) {
  .leftcolumn,
  .rightcolumn {
    flex: 100%; /* Lebar penuh di layar kecil */
  }

  .rightcolumn {
    position: static; /* Matikan sticky di HP agar tidak mengganggu */
  }

  #navbar {
    flex-wrap: wrap;
  }
}

/* --- 6. FOOTER --- */
.footer {
  padding: 40px 20px;
  text-align: center;
  background: #222;
  color: #f3f0df;
  margin-top: 50px;
}
/*Vidio diHome*/
/* Pembungkus Video agar Landscape 16:9 */
.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* Memaksa rasio Landscape */
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 15px;
}

.video-container video,
.video-container iframe {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Video memenuhi area tanpa gepeng */
}

/* Seksi Iklan Tren Hijab Internasional */
.trend-section {
  margin-top: 30px;
  padding: 20px;
  background: #f9f4f6;
  border-left: 5px solid #884a5f;
  border-radius: 8px;
}

.trend-grid {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.trend-item {
  flex: 1;
  min-width: 250px;
  background: white;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
/* --- Hero & Video Section --- */
.hero-section {
  padding: 20px;
  text-align: center;
}

/* Container utama video */
.hero-video {
  width: 100%;
  max-width: 700px; /* Batas lebar maksimal agar tidak terlalu besar di monitor */
  margin: 20px auto;
  position: relative;

  /* KUNCI UTAMA: Memaksa rasio landscape 16:9 */
  aspect-ratio: 16 / 9;

  overflow: hidden;
  border-radius: 15px;
  background-color: #000; /* Warna hitam di belakang jika video belum muat */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Pengaturan elemen video di dalamnya */
.video-display {
  width: 100%;
  height: 100%;

  /* KUNCI KEDUA: Memastikan isi video menutupi area tanpa menjadi gepeng */
  object-fit: cover;

  display: block;
}

/* --- Seksi Berita Tren Internasional --- */
.news-container {
  margin-top: 40px;
  background: #fff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.news-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.news-card {
  flex: 1;
  min-width: 280px;
  background: #fdfafb;
  padding: 20px;
  border-radius: 10px;
  border-top: 4px solid #884a5f;
  transition: transform 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-card h4 {
  color: #884a5f;
  margin-bottom: 10px;
  font-family: "Playfair Display", serif;
}

.news-card p {
  font-size: 0.9em;
  color: #666;
}

.tag-internasional {
  display: inline-block;
  background: #884a5f;
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 10px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
/* Styling Gambar di Berita */
.news-img-wrapper {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Container Gambar Berita agar seragam */
.news-img-wrapper {
  width: 100%;
  height: 200px; /* Tinggi tetap agar rapi */
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 15px;
  background-color: #eee; /* Warna cadangan jika gambar gagal muat */
}

.news-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Kunci agar gambar tidak gepeng */
  display: block;
}

/* Memperbaiki posisi tombol baca agar selalu di bawah kartu */
.news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.btn-read {
  margin-top: auto; /* Memaksa tombol ke bagian bawah kartu */
  padding-top: 15px;
  text-decoration: none;
  color: #884a5f;
  font-weight: 600;
}
/* --- REVISI DOSEN: STYLING PANDUAN --- */
.panduan-produk-box {
  margin-top: 25px;
  background: #fdfafb;
  padding: 20px;
  border-radius: 12px;
  border-top: 4px solid #884a5f;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.panduan-title {
  color: #884a5f;
  font-family: "Playfair Display", serif;
  font-size: 16px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.panduan-divider {
  border: 0.5px solid #eee;
  margin-bottom: 15px;
}

.panduan-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.panduan-kolom {
  flex: 1;
  min-width: 250px;
}

.panduan-kolom h5 {
  color: #884a5f;
  font-size: 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.panduan-kolom ul {
  list-style: none;
  padding-left: 0;
}

.panduan-kolom ul li {
  position: relative;
  padding-left: 15px;
  font-size: 12.5px;
  color: #555;
  margin-bottom: 8px;
  line-height: 1.5;
  text-align: left;
}

/* Custom bullet point warna marun */
.panduan-kolom ul li::before {
  content: "•";
  color: #884a5f;
  font-weight: bold;
  font-size: 16px;
  position: absolute;
  left: 0;
  top: -2px;
}

/* Responsif untuk Handphone */
@media screen and (max-width: 600px) {
  .panduan-grid {
    flex-direction: column;
  }
}
