/* Footer dark mode sama seperti navbar */
body.dark-mode footer {
  background: linear-gradient(90deg, #232b3e 0%, #181f2a 100%) !important;
  color: #ffd84d !important;
}
body.dark-mode footer a,
body.dark-mode footer b {
  color: #ffd84d !important;
}
body.dark-mode footer img {
  background: #232b3e;
}
/* Sticky footer agar selalu di bawah */
html,
body {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1 0 auto;
}
footer {
  flex-shrink: 0;
  background: linear-gradient(90deg, #357abd 0%, #1a2a47 100%);
  color: #fff;
}

/* ...lanjutan CSS lain kamu di bawahnya... */

/* =======================
   ABOUT TENTANG KAMI CARD
======================= */
.about-main {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  margin-top: 32px;
  margin-bottom: 32px;
}

.about-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
  padding: 36px 40px 32px 40px;
  max-width: 700px;
  width: 100%;
  color: #1a2a47;
  text-align: left;
  transition: box-shadow 0.2s, transform 0.2s;
}

.about-card h1 {
  color: #357abd;
  margin-bottom: 18px;
  font-size: 1.6rem;
  font-weight: bold;
}

.about-card p {
  font-size: 1.08rem;
  line-height: 1.7;
  margin: 0;
}

body.dark-mode .about-card {
  background: #232b3e;
  color: #ffd84d;
  box-shadow: 0 8px 32px 0 rgba(44, 62, 80, 0.18);
}

body.dark-mode .about-card h2 {
  color: #ffd84d;
}

/* Teks pada kategori jadwal */
.category-card p {
  color: #1a2a47;
}
body.dark-mode .category-card p {
  color: #fff !important;
}

/* Teks instruksi di bawah kategori */
.instruction {
  color: #1a2a47;
  text-align: center;
  margin-top: 18px;
  font-size: 1.1rem;
}
body.dark-mode .instruction {
  color: #fff !important;
}
/* Heading warna gelap di light mode, putih di dark mode */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #1a2a47;
}
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {
  color: #fff !important;
}

/* Teks pada card lokasi */
.location-card p {
  color: #1a2a47;
}
body.dark-mode .location-card p {
  color: #ffd84d !important;
}

/* Navbar text harus selalu putih */
nav .text-white,
nav a.text-white,
nav button.text-white,
.bg-gray-800 .text-white,
.bg-gray-800 a.text-white,
.bg-gray-800 button.text-white {
  color: #ffffff !important;
}

/* Text putih untuk elemen lain (bukan navbar) */
.text-white:not(nav .text-white):not(nav a.text-white):not(nav button.text-white):not(.bg-gray-800 .text-white):not(.bg-gray-800 a.text-white):not(.bg-gray-800 button.text-white) {
  color: #1a2a47 !important;
}
body.dark-mode .text-white:not(nav .text-white):not(nav a.text-white):not(nav button.text-white):not(.bg-gray-800 .text-white):not(.bg-gray-800 a.text-white):not(.bg-gray-800 button.text-white) {
  color: #ffd84d !important;
}
/* Tombol toggle mode */
.theme-toggle-btn {
  /* background: #ffd84d; */
  background: #1a2a47;

  color: #1a2a47;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.3rem;
  /* margin-left: 16px; */
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.theme-toggle-btn:hover {
  background: #1a2a47;
  color: #ffd84d;
}

/* DARK MODE */
body.dark-mode {
  background: #181f2a;
  color: #f3f3f3;
}
body.dark-mode header,
body.dark-mode nav {
  background: linear-gradient(90deg, #232b3e 0%, #181f2a 100%);
}
body.dark-mode .schedule-table,
body.dark-mode .location-card,
body.dark-mode .hadist-card,
body.dark-mode .category-card,
body.dark-mode .detail-container {
  background: #232b3e !important;
  color: #f3f3f3 !important;
  border-color: #2c3e50 !important;
}
body.dark-mode .schedule-table th,
body.dark-mode .schedule-table td {
  background: #232b3e !important;
  color: #f3f3f3 !important;
}
body.dark-mode .theme-toggle-btn {
  background: #232b3e;
  color: #ffd84d;
}
body.dark-mode .theme-toggle-btn:hover {
  background: #ffd84d;
  color: #232b3e;
}
body.dark-mode .spinner {
  border: 4px solid #232b3e;
  border-top: 4px solid #ffd84d;
}
body.dark-mode .bg-[#ffd84d] {
  background: #232b3e !important;
}
body.dark-mode .text-gray-700,
body.dark-mode .text-gray-800,
body.dark-mode .text-gray-600 {
  color: #000 !important;
}

/* Navbar text tetap putih bahkan di dark mode */
body.dark-mode nav .text-white,
body.dark-mode nav a.text-white,
body.dark-mode nav button.text-white,
body.dark-mode .bg-gray-800 .text-white,
body.dark-mode .bg-gray-800 a.text-white,
body.dark-mode .bg-gray-800 button.text-white {
  color: #ffffff !important;
}
/* Spinner loading spiral */
/* Spinner loading spiral */
.spinner {
  display: inline-block;
  width: 36px;
  height: 36px;
  border: 4px solid #ffd84d;
  border-top: 4px solid #1a2a47;
  border-radius: 50%;
  animation: spin 1.5s linear infinite !important;
  will-change: transform;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* =======================
   KOMPONEN UTAMA CSS BERSIH
======================= */
body {
  font-family: Arial, sans-serif;
  background: #f2f9ff;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  text-align: center;
}
header {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 100;
}
nav {
  background: linear-gradient(90deg, #357abd 0%, #1a2a47 100%);
  min-height: 60px;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Logo ke kiri, link ke kanan */
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px; /* Tambah padding atas-bawah agar lebih tengah */
  box-sizing: border-box;
  min-height: 64px;
}

nav .logo {
  margin-right: 16px;
  font-weight: bold;
  color: #fff;
  letter-spacing: 1px;
  font-size: 26px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  margin-left: auto;
}
nav ul li {
  margin: 0 8px;
}
nav a {
  position: relative;
  display: inline-block;
  margin: 0 10px;
  padding: 8px 15px;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  transform-style: preserve-3d;
  font-size: 1rem;
  border-radius: 5px;
}
nav a.active,
nav a.active,
nav a:focus {
  background: linear-gradient(145deg, #357abd, #1a2a47);
  color: #fff;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(255, 216, 77, 0.18);
  border-radius: 5px;
  z-index: 1;
}
nav a#nav-tentang.active {
  background: linear-gradient(145deg, #357abd, #1a2a47) !important;
  color: #fff !important;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(255, 216, 77, 0.18);
  border-radius: 5px;
  z-index: 1;
}
nav a:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), inset 0 2px 5px rgba(255, 255, 255, 0.3);
  transform: translateZ(10px);
  background: linear-gradient(145deg, #ffd84d, #1a2a47);
  border-radius: 5px;
  color: #fff;
}
.logo-container {
  display: flex;
  align-items: center;
}
.logo {
  font-size: 24px;
  cursor: pointer;
  font-weight: bold;
  transition: transform 0.3s ease;
}
h1 {
  font-size: 28px;
  font-weight: bold;
  margin: 20px 0;
  color: #1a2a47;
}
h2 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0;
  color: #1a2a47;
}
.instruction {
  font-size: 14px;
  color: #1a2a47;
  margin: 20px 0;
}

/* Jadwal */
.schedule-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px;
  flex-wrap: wrap;
}
.schedule-table {
  border-collapse: collapse;
  width: 90%;
  max-width: 900px;
  margin: 20px auto;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.schedule-table th,
.schedule-table td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: center;
}
.schedule-table th {
  background-color: #1a2a47;
  color: #fff;
  text-align: center;
  font-weight: bold;
  white-space: nowrap;
}
.schedule-table td {
  transition: opacity 0.3s ease, background 0.3s;
  white-space: nowrap;
}
.schedule-table tr:nth-child(even) {
  background-color: #f8f9fa;
}
.schedule-table tr:hover {
  background-color: #e3f2fd;
}
.schedule-table td.bg-yellow-100 {
  background: #fffbe6 !important;
  color: #1a2a47 !important;
  font-weight: bold !important;
  border-radius: 6px;
}
.schedule-table tr td.bg-yellow-100 {
  box-shadow: 0 2px 8px 0 #ffd84d33;
}
.schedule-table td.font-bold {
  font-weight: bold;
}
.schedule-table td.rounded {
  border-radius: 6px;
}
.schedule-table select,
.schedule-table option {
  font-size: 1rem;
}
.schedule-table select {
  background: #ffd84d;
  color: #1a2a47;
  border: 1px solid #ffd84d;
  border-radius: 6px;
  padding: 6px 12px;
  margin: 0 4px;
  font-weight: 600;
  box-shadow: 0 2px 8px 0 #ffd84d22;
  transition: border 0.2s, background 0.2s;
}
.schedule-table select:focus {
  background: #ffe484;
  border: 2px solid #ffd84d;
  outline: none;
}
.schedule-table select:focus {
  border: 2px solid #ffd84d;
  outline: none;
}

/* Lokasi */
.location-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 20px auto;
  max-width: 900px;
}

/* Card lokasi: warna dan efek hover seragam dengan card hadist */
.location-card {
  background: #1a2a47;
  border-radius: 24px;
  padding: 28px 32px 24px 32px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
  color: #fff;
  position: relative;
  text-align: center;
  cursor: pointer;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  border: none;
}
.location-card:hover {
  background: #ffd84d;
  color: #1a2a47;
  box-shadow: 0 12px 32px 0 #ffd84d55;
  transform: translateY(-4px) scale(1.03);
}
.location-card img {
  width: 100%;
  max-width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 auto 18px auto;
  background: #f5f5f5;
  border: none;
  box-shadow: 0 2px 8px rgba(44, 62, 80, 0.08);
}
.location-card p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: inherit;
  letter-spacing: 0.5px;
}

/* Kategori */
.category-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
  flex-wrap: wrap;
}
.category-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  /* width: 200px; */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}
.category-card img {
  width: 100%;
  height: 150px;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 10px;
}
.category-card p {
  margin: 0;
  font-size: 16px;
  color: #1a2a47;
}

/* Hadist */
.hadist-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  margin: 32px auto;
  max-width: 1200px;
  padding: 0 16px;
}
.hadist-card {
  background: #1a2a47;
  border-radius: 24px;
  padding: 28px 32px 24px 32px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
  color: #fff;
  position: relative;
  text-align: left;
  cursor: pointer;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.15s, box-shadow 0.15s;
}
.hadist-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 40px 0 rgba(31, 38, 135, 0.22);
}
.hadist-card .kitab-badge {
  position: absolute;
  right: 32px;
  top: 32px;
  background: #ffd84d;
  color: #333;
  border-radius: 12px;
  padding: 8px 22px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px 0 rgba(255, 216, 77, 0.18);
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.2s;
}
.hadist-card .kitab-badge:hover {
  background: #ffe484;
}
.hadist-card .number-badge {
  position: absolute;
  left: 0;
  top: 0;
  background: #ffd84d;
  color: #333;
  border-radius: 0 8px 8px 0;
  padding: 12px 20px;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 0 2px 8px 0 rgba(255, 216, 77, 0.18);
  display: flex;
  align-items: center;
  min-width: 44px;
  justify-content: center;
}
.hadist-card .arabic-title {
  font-family: 'Amiri', serif;
  font-size: 2.1rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 12px;
  text-align: right;
  direction: rtl;
}
.hadist-card .latin-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.hadist-card .author {
  font-size: 1rem;
  color: #dbeafe;
  margin-bottom: 0;
}

/* Detail Hadist & Lokasi */
.detail-container {
  max-width: 400px;
  margin: 20px auto;
  background: #1a2a47;
  border-radius: 24px;
  padding: 28px 32px 24px 32px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
  color: #fff;
  position: relative;
  text-align: left;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.15s, box-shadow 0.15s;
}
.detail-container h2 {
  color: #ffd84d;
}
.detail-container h2 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0;
  color: #fff;
}
.detail-container p {
  font-size: 16px;
  color: #fff;
  margin: 10px 0;
  text-align: left;
}

/* =======================
   SLIDER MASJID (INDEX)
======================= */
.slider-container {
  position: relative;
  margin: 20px 0;
  overflow: hidden;
  /* max-width: 1500px; */
  margin-left: auto;
  margin-right: auto;
  margin-top: 90px;
  height: 600px;
}
.slider {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
}
.slider img {
  width: 100%;
  flex: 0 0 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(74, 144, 226, 0.8);
  color: #fff;
  border: none;
  font-size: 24px;
  padding: 6px 18px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  transition: background-color 0.3s ease;
}
.slider-arrow.prev {
  left: 10px;
}
.slider-arrow.next {
  right: 10px;
}
.slider-arrow:hover {
  background-color: #4682a9;
  color: #2c3e50;
}
#activity-slider {
  width: 500px;
  height: 350px;
}
#activity-img {
  width: 500px;
  height: 350px;
  object-fit: cover;
  border-radius: 0.75rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.slider-indicators {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.indicator.active {
  background-color: #4a90e2;
}

@media (max-width: 768px) {
  .schedule-table {
    width: 100%;
    font-size: 14px;
  }
  .schedule-table th,
  .schedule-table td {
    padding: 8px;
  }
  .slider-container {
    max-width: 100%;
    height: 240px;
  }
  .slider img {
    height: 100%;
  }
  .slider-arrow {
    font-size: 18px;
    padding: 8px 16px;
  }
  #activity-slider {
    width: 300px;
    height: 250px;
  }
  #activity-img {
    width: 300px;
    height: 250px;
  }
  .location-container {
    grid-template-columns: 1fr;
    max-width: 320px;
  }
  .category-container {
    flex-direction: column;
    align-items: center;
  }

  .hadist-container {
    grid-template-columns: 1fr;
    padding: 0 8px;
  }
  .detail-container {
    /* padding: 10px; */
  }
  nav {
    flex-direction: column;
    min-height: unset;
    padding: 8px 0;
  }
  nav .logo {
    margin: 0 0 12px 0;
    font-size: 22px;
  }
  nav ul {
    flex-direction: column;
    gap: 6px;
  }
  nav ul li {
    margin: 0;
  }
  nav a {
    margin: 0 5px;
    padding: 6px 10px;
    font-size: 0.98rem;
  }
}

/* END KOMPONEN UTAMA CSS BERSIH */

/* =======================
   KALENDER INDONESIA MODERN
======================= */
#kalender-indonesia {
  background: linear-gradient(120deg, #e0e7ff 0%, #fff 100%);
  box-shadow: 0 4px 24px rgba(30, 64, 175, 0.08);
}
#calendar-container .calendar-cell {
  min-width: 52px;
  min-height: 52px;
  font-size: 1.35rem;
  text-align: center;
  border-radius: 50%;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
  margin: 10px 10px;
}
#calendar-container .calendar-cell.calendar-holiday {
  background: linear-gradient(90deg, #fbbf24 60%, #f59e42 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(251, 191, 36, 0.15);
  border: 1.5px solid #f59e42;
}
#calendar-container .calendar-cell.calendar-holiday:hover {
  background: linear-gradient(90deg, #f59e42 60%, #fbbf24 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(251, 191, 36, 0.22);
  border: 2px solid #f59e42;
  transform: scale(1.08);
  z-index: 2;
}
#calendar-container .calendar-cell.calendar-today {
  background: linear-gradient(90deg, #60a5fa 60%, #93c5fd 100%);
  color: #1e3a8a;
  font-weight: bold;
  border: 1.5px solid #60a5fa;
  box-shadow: 0 2px 8px rgba(96, 165, 250, 0.12);
}
#calendar-container .calendar-cell:hover:not(.calendar-holiday):not(.calendar-today) {
  background: #e0e7ff;
  color: #1e3a8a;
  border: 1px solid #60a5fa;
  transform: scale(1.05);
  z-index: 1;
}
#calendar-container table {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.07);
  border-spacing: 10px 12px;
}
#calendar-container th {
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 0;
  background: #e0e7ff;
  color: #1e3a8a;
}
#calendar-container td {
  padding: 0.7rem 0.3rem;
}
@media (max-width: 600px) {
  #calendar-container .inline-block {
    padding: 1rem 0.2rem;
  }
  #calendar-container table {
    font-size: 1.05rem;
    border-spacing: 6px 8px;
  }
  #calendar-container .calendar-cell {
    min-width: 36px;
    min-height: 36px;
    font-size: 1.1rem;
    margin: 3px 3px;
  }
}

/* DARK MODE KALENDER INDONESIA */
body.dark-mode #kalender-indonesia {
  background: linear-gradient(120deg, #232b3e 0%, #181f2a 100%);
  box-shadow: 0 4px 24px rgba(44, 62, 80, 0.18);
}
body.dark-mode #calendar-container .calendar-cell {
  background: #232b3e;
  color: #ffd84d;
  border-color: #232b3e;
}
body.dark-mode #calendar-container .calendar-cell.calendar-holiday {
  background: linear-gradient(90deg, #ffd84d 60%, #f59e42 100%);
  color: #232b3e;
  border: 1.5px solid #ffd84d;
  box-shadow: 0 2px 8px rgba(255, 216, 77, 0.18);
}
body.dark-mode #calendar-container .calendar-cell.calendar-holiday:hover {
  background: linear-gradient(90deg, #f59e42 60%, #ffd84d 100%);
  color: #232b3e;
  border: 2px solid #ffd84d;
  box-shadow: 0 4px 16px rgba(255, 216, 77, 0.22);
}
body.dark-mode #calendar-container .calendar-cell.calendar-today {
  background: linear-gradient(90deg, #60a5fa 60%, #232b3e 100%);
  color: #ffd84d;
  border: 1.5px solid #60a5fa;
  box-shadow: 0 2px 8px rgba(96, 165, 250, 0.18);
}
body.dark-mode #calendar-container .calendar-cell:hover:not(.calendar-holiday):not(.calendar-today) {
  background: #232b3e;
  color: #ffd84d;
  border: 1px solid #ffd84d;
}
body.dark-mode #calendar-container table {
  background: #232b3e;
  box-shadow: 0 2px 8px rgba(44, 62, 80, 0.18);
}
body.dark-mode #calendar-container th {
  background: #232b3e;
  color: #ffd84d;
}
body.dark-mode #calendar-container td {
  background: #232b3e;
  color: #ffd84d;
}

/* DARK MODE: Dropdown bulan & tahun pada kalender */
body.dark-mode #kalender-indonesia select,
body.dark-mode #kalender-indonesia option {
  background: #232b3e !important;
  color: #ffd84d !important;
  border: 1.5px solid #ffd84d !important;
  border-radius: 12px !important;
  padding: 8px 18px !important;
  font-size: 1.15rem !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 8px rgba(255, 216, 77, 0.10);
  transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s;
}
body.dark-mode #kalender-indonesia select:focus {
  background: #181f2a !important;
  color: #ffd84d !important;
  border: 2px solid #ffd84d !important;
  box-shadow: 0 4px 16px rgba(255, 216, 77, 0.18);
}
body.dark-mode #kalender-indonesia select:hover {
  background: #ffd84d !important;
  color: #232b3e !important;
  border: 2px solid #ffd84d !important;
  box-shadow: 0 4px 16px rgba(255, 216, 77, 0.22);
}

/* DARK MODE: Judul Kalender Indonesia jadi putih */
body.dark-mode #kalender-indonesia h1 {
  color: #ffd84d !important;
  text-shadow: 0 2px 12px rgba(255, 216, 77, 0.18);
}

/* =======================
   LOKASI PAGE LAYOUT
======================= */
.location-page-container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 2rem !important;
  background: transparent !important;
}

.location-page-title {
  text-align: center !important;
  color: #1a2a47 !important;
  font-size: 2.5rem !important;
  font-weight: bold !important;
  text-transform: uppercase !important;
  margin-bottom: 3rem !important;
  letter-spacing: 1px !important;
}

.location-grid-new {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 2rem !important;
  margin-bottom: 3rem !important;
  width: 100% !important;
}

.location-card-new {
  background: #1a2a47 !important;
  border-radius: 20px !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  position: relative !important;
  border: none !important;
  min-height: 280px !important;
  display: flex !important;
  flex-direction: column !important;
}

.location-card-new:hover {
  background: #ffd84d !important;
  transform: translateY(-8px) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2) !important;
}

.location-image-new {
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
  border-radius: 20px 20px 0 0 !important;
}

.location-info-new {
  padding: 1.5rem !important;
  text-align: center !important;
}

.location-name-new {
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  color: white !important;
  margin: 0 !important;
  line-height: 1.4 !important;
  transition: color 0.3s ease !important;
}

.location-card-new:hover .location-name-new {
  color: #1a2a47 !important;
}

/* Responsive design for location page */
@media (max-width: 768px) {
  .location-grid-new {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }
  .location-page-title {
    font-size: 2rem !important;
  }
}

@media (max-width: 480px) {
  .location-grid-new {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .location-page-title {
    font-size: 1.5rem !important;
  }
}

/* Dark mode for location page */
body.dark-mode .location-page-title {
  color: #ffd84d !important;
}

body.dark-mode .location-card-new {
  background: #232b3e !important;
}

body.dark-mode .location-card-new:hover {
  background: #ffd84d !important;
}

body.dark-mode .location-name-new {
  color: #fff !important;
}

body.dark-mode .location-card-new:hover .location-name-new {
  color: #1a2a47 !important;
}

/* Additional styles to ensure proper display */
body {
  background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%) !important;
  min-height: 100vh !important;
}

.location-page-container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 2rem !important;
  background: transparent !important;
}

.location-grid-new {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 2rem !important;
  margin-bottom: 3rem !important;
  width: 100% !important;
}

.location-card-new {
  background: #1a2a47 !important;
  border-radius: 20px !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  position: relative !important;
  border: none !important;
  min-height: 280px !important;
  display: flex !important;
  flex-direction: column !important;
}

/* =======================
   HADIST PAGE DARK MODE
======================= */
body.dark-mode .hadist-page-title {
  color: #ffd84d !important;
}

body.dark-mode .hadist-card {
  background: #232b3e !important;
}

body.dark-mode .hadist-card:hover {
  background: #2d3748 !important;
}

body.dark-mode .hadist-title {
  color: #ffd84d !important;
}

body.dark-mode .hadist-detail-btn {
  background: #ffd84d !important;
  color: #1a2a47 !important;
}

body.dark-mode .hadist-detail-btn:hover {
  background: #ffe484 !important;
}

/* =======================
   DETAIL HADIST PAGE DARK MODE
======================= */
body.dark-mode .detail-hadist-title {
  color: #ffd84d !important;
}

body.dark-mode .detail-hadist-card {
  background: #232b3e !important;
}

body.dark-mode .detail-hadist-judul {
  color: #ffd84d !important;
}

body.dark-mode .detail-hadist-section-title {
  color: #ffd84d !important;
}

body.dark-mode .detail-hadist-arab {
  background: rgba(255, 216, 77, 0.15) !important;
  border-right: 4px solid #ffd84d !important;
}

body.dark-mode .detail-hadist-arti {
  background: rgba(255, 255, 255, 0.08) !important;
  border-left: 4px solid #ffd84d !important;
}

body.dark-mode .back-button {
  background: #ffd84d !important;
  color: #1a2a47 !important;
}

body.dark-mode .back-button:hover {
  background: #ffe484 !important;
}

/* =======================
   DETAIL LOKASI PAGE DARK MODE
======================= */
body.dark-mode .detail-page-title {
  color: #ffd84d !important;
}

body.dark-mode .detail-card {
  background: #232b3e !important;
}

body.dark-mode .detail-name {
  color: #ffd84d !important;
}

body.dark-mode .detail-address {
  color: #e2e8f0 !important;
}

body.dark-mode .detail-map-link {
  color: #ffd84d !important;
}

body.dark-mode .detail-map-link:hover {
  color: #ffe484 !important;
}

/* =======================
   JADWAL PAGES DARK MODE
======================= */
body.dark-mode .jadwal-page-title {
  color: #ffd84d !important;
}

body.dark-mode .jadwal-card {
  background: #232b3e !important;
}

body.dark-mode .jadwal-card:hover {
  background: #2d3748 !important;
}

body.dark-mode .jadwal-title {
  color: #ffd84d !important;
}

body.dark-mode .jadwal-time {
  color: #e2e8f0 !important;
}

body.dark-mode .jadwal-detail-btn {
  background: #ffd84d !important;
  color: #1a2a47 !important;
}

body.dark-mode .jadwal-detail-btn:hover {
  background: #ffe484 !important;
}

/* =======================
   JADWAL KATEGORI PAGES DARK MODE
======================= */
body.dark-mode .jadwal-kategori-title {
  color: #ffd84d !important;
}

body.dark-mode .jadwal-kategori-card {
  background: #232b3e !important;
}

body.dark-mode .jadwal-kategori-card:hover {
  background: #2d3748 !important;
}

body.dark-mode .jadwal-kategori-name {
  color: #ffd84d !important;
}

body.dark-mode .jadwal-kategori-time {
  color: #e2e8f0 !important;
}

body.dark-mode .jadwal-kategori-detail-btn {
  background: #ffd84d !important;
  color: #1a2a47 !important;
}

body.dark-mode .jadwal-kategori-detail-btn:hover {
  background: #ffe484 !important;
}

/* =======================
   TENTANG KAMI PAGE DARK MODE
======================= */
body.dark-mode .about-main {
  background: transparent !important;
}

body.dark-mode .about-card {
  background: #232b3e !important;
  color: #ffd84d !important;
  box-shadow: 0 8px 32px 0 rgba(44, 62, 80, 0.18) !important;
}

body.dark-mode .about-card h1 {
  color: #ffd84d !important;
}

body.dark-mode .about-card p {
  color: #e2e8f0 !important;
}

/* =======================
   GENERAL DARK MODE IMPROVEMENTS
======================= */
body.dark-mode {
  background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%) !important;
}

body.dark-mode main {
  background: transparent !important;
}

/* Ensure all text in dark mode is readable */
body.dark-mode .text-gray-700,
body.dark-mode .text-gray-800,
body.dark-mode .text-gray-900 {
  color: #e2e8f0 !important;
}

/* Ensure all backgrounds in dark mode are consistent */
body.dark-mode .bg-white {
  background: #232b3e !important;
}

body.dark-mode .bg-gray-50 {
  background: #2d3748 !important;
}

body.dark-mode .bg-gray-100 {
  background: #374151 !important;
}

/* =======================
   WELCOME SECTION DARK MODE
======================= */
body.dark-mode .welcome-section {
  background: #2d3748 !important;
}

body.dark-mode .welcome-section h1 {
  color: #ffd84d !important;
}

body.dark-mode .welcome-section h2 {
  color: #e2e8f0 !important;
}

body.dark-mode .welcome-section p {
  color: #cbd5e0 !important;
}

/* =======================
   JADWAL SOLAT SECTION DARK MODE
======================= */
body.dark-mode #jadwal {
  background: #2d3748 !important;
}

body.dark-mode #jadwal h3 {
  color: #ffd84d !important;
}

body.dark-mode #jadwal .bg-\[#dde6ed\] {
  background: #374151 !important;
}

body.dark-mode #jadwal .text-gray-700 {
  color: #e2e8f0 !important;
}

body.dark-mode #jadwal .text-gray-100 {
  color: #ffffff !important;
  font-weight: bold !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8) !important;
}

/* =======================
   SCHEDULE TABLE DARK MODE IMPROVEMENTS
======================= */
body.dark-mode .schedule-table {
  background: #1a2a47 !important;
  color: #e2e8f0 !important;
}

body.dark-mode .schedule-table th {
  background: #2d3748 !important;
  color: #ffd84d !important;
  border-color: #4a5568 !important;
}

body.dark-mode .schedule-table td {
  background: #1a2a47 !important;
  color: #e2e8f0 !important;
  border-color: #4a5568 !important;
}

body.dark-mode .schedule-table tr:nth-child(even) td {
  background: #2d3748 !important;
}

body.dark-mode .schedule-table tr:hover td {
  background: #374151 !important;
}

body.dark-mode .schedule-table td.bg-yellow-100 {
  background: rgba(255, 216, 77, 0.2) !important;
  color: #1a2a47 !important;
  font-weight: bold !important;
}

/* =======================
   SELECT DROPDOWNS DARK MODE
======================= */
body.dark-mode .schedule-table select {
  background: #2d3748 !important;
  color: #e2e8f0 !important;
  border-color: #4a5568 !important;
}

body.dark-mode .schedule-table select:focus {
  border-color: #ffd84d !important;
  box-shadow: 0 0 0 2px rgba(255, 216, 77, 0.2) !important;
}

body.dark-mode .schedule-table select option {
  background: #2d3748 !important;
  color: #e2e8f0 !important;
}

