/* === RESET & FONTS === */
body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(to right, #e3f2fd, #ffffff);
  color: #333;
  margin: 0;
  padding: 0;
  height: 100vh;
}

/* === HEADER MODERN CENTERED === */
.header-text {
	font-family: 'Helvetica', sans-serif;
	font-size: 2.8vw;
	color: #FFFFFF;
	width:100vw;
}
#judul_1 {
	font-family: 'Helvetica', sans-serif;
	font-size: 2.8vw;
	color: #FFFFFF;
	width:100vw;
	font-weight: 900;
}
#judul_2 {
	font-family: 'Helvetica', sans-serif;
	font-size: 1.5vw;
	color: #FFFFFF;
	width:100vw;
}
#logo {
	width:8vw;
	height:auto;
	float:right;
}
.transparan{
	background-color: rgba(0,0,0,0.5);
}
.transparan-abu{
	background-color: rgba(208,211,212,0.5);
}
.wrapper {
  min-height: 100vh;
  padding-bottom: 80px;
}

/* === LAYOUT BOOTSTRAP GRID === */
.card-modern {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.card-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.card-equal {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


/* === JUDUL SEKSIONAL === */
.section-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  border-left: 5px solid #2196f3;
  padding-left: 10px;
  color: #0d47a1;
}

/* === SLIDE GURU === */
#carouselGuru {
	position: relative;
	max-height: 320px;
	overflow: hidden;
}
#carouselGuru .carousel-inner {
  min-height: 120px;
}
#carouselGuru .carousel-item {
  transition: transform 0.6s ease;
  padding: 10px;
}

.card-guru {
  max-width: 380px;
  width: 100%;
}
.guru-slide {
  display: flex;
  align-items: center;
  gap: 10px;
}
.media-object {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  object-fit: cover;
}
.guru-info h5 {
  font-size: 1.5rem;
  margin-bottom: 4px;
  font-weight: bold;
}
.guru-info p {
  font-size: 1.2rem;
  margin: 2px 0;
  font-weight: bold;
}


/* === JADWAL SHALAT === */
/* === JADWAL SHOLAT MODERN === */
.prayer-modern-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 12px;
}

.prayer-modern {
  background: #f4f6f8;
  border-radius: 12px;
  text-align: center;
  padding: 12px 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: transform 0.2s;
}
.prayer-modern:hover {
  transform: scale(1.03);
}

.prayer-icon {
  font-size: 1.6rem;
  margin-bottom: 5px;
  color: #0d47a1;
}
.prayer-label {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 4px;
}
.prayer-time {
  font-size: 1.2rem;
  font-weight: bold;
  color: #00796b;
}

/* Optional coloring by type */
.prayer-modern.subuh { background: #e1f5fe; }
.prayer-modern.dhuha { background: #fff8e1; }
.prayer-modern.dzuhur { background: #ffe0b2; }
.prayer-modern.ashar { background: #e8f5e9; }
.prayer-modern.maghrib { background: #fce4ec; }
.prayer-modern.isya { background: #ede7f6; }

/* === WEB === */
.carousel-item h5 {
  font-size: 1.25rem;
  font-weight: 600;
}
.carousel-item p {
  font-size: 1rem;
  color: #444;
}
.carousel-item small {
  color: #666;
}


/* === BANNER / VIDEO === */
.img-fluid {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* === GALERI === */
.carousel-item img {
  width: 100%;
  border-radius: 8px;
}
.carousel-caption h5 {
  margin-bottom: 5px;
}
.carousel-caption p {
  font-size: 0.9rem;
}

/* === AGENDA === */
.agenda-item {
  font-size: 0.95rem;
  padding: 10px;
  background-color: #f1f8ff;
  border-radius: 8px;
}

/* === BOTTOM BAR (TANGGAL & NEWS) === */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FF0000;
  color: white;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
}

#tanggal-jam {
  font-weight: bold;
  font-size: 1.2rem;
  white-space: nowrap;
  color: #fff;
}

/* === NEWS SCROLLER === */
#slide-container {
  overflow: hidden;
  width: 100%;
  margin-left: 15px;
}

#first-content {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-left 25s linear infinite;
}

.header-text {
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* === ANIMASI NEWS TICKER === */
@keyframes scroll-left {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* === RESPONSIVE MOBILE === */
@media screen and (max-width: 768px) {
  .guru-slide {
    flex-direction: column;
    align-items: flex-start;
  }
  .bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  #tanggal-jam {
    font-size: 1rem;
  }
  .header-text {
    font-size: 1rem;
  }
}
.card-modern {
  width: 100%;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.card-modern:hover {
  transform: scale(1.01);
}

/* === Card Warna-Warni Modern === */
.card-guru { background-color: #e1f5fe; }         /* Biru muda */
.card-video { background-color: #fff3e0; }        /* Oranye krem */
.card-gallery { background-color: #f3e5f5; }      /* Ungu pastel */
.card-sholat { background-color: #e8f5e9; }       /* Hijau kalem */
.card-agenda { background-color: #fffde7; }       /* Kuning soft */
.card-card-jadwal-mengajar { background-color: #fffde7; } 
.card-guru { border-left: 6px solid #039be5; }
.card-video { border-left: 6px solid #fb8c00; }
.card-gallery { border-left: 6px solid #ab47bc; }
.card-sholat { border-left: 6px solid #43a047; }
.card-agenda { border-left: 6px solid #fdd835; }
.card-card-jadwal-mengajar { border-left: 6px solid #fdd835; }

.dotting::after {
  content: '.';
  animation: dots 1.5s steps(3, end) infinite;
}

@keyframes dots {
  0%   { content: '.'; }
  33%  { content: '..'; }
  66%  { content: '...'; }
  100% { content: '.'; }
}

/* Untuk Bootstrap 4 agar modal tampil fullscreen */
.modal-dialog.modal-fullscreen {
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  max-width: none;
}
.modal-content {
  height: 100%;
  border-radius: 0;
  background-color: #fff;
}
.modal.fade.show {
  display: block;
  opacity: 1;
}

.card {
  background: #ffffff;
  transition: transform 0.3s ease;
}
.card:hover {
  transform: scale(1.01);
}

.table th {
  color: #374151;
  font-weight: 600;
}

.table td {
  color: #111827;
}
.card-jadwal-mengajar h3.section-title {
  font-weight: bold;
  font-size: 1.5rem;
  letter-spacing: 1px;
}
.card-jadwal-mengajar .table th {
  font-weight: 600;
  color: #6c757d;
  width: 130px;
}
.card-jadwal-mengajar .table td {
  font-size: 1rem;
}