body {
  background-color: #f5f5f5;
  font-family: 'Poppins', sans-serif;
}

.navbar, footer {
  background-color: #b30000 !important;
}

/* Gaya galeri */
.galeri-item {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.galeri-item:hover {
  transform: scale(1.05);
}

@media (max-width: 768px),
       (max-width: 576px) {
  .galeri-item {
    aspect-ratio: 4 / 3;
  }
}

#modalImage {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.modal-header {
  border-bottom: none;
}

.modal-body {
  position: relative;
}

.btn-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  padding: 8px;
  color: #fff;
  border: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s, transform 0.2s;
}

.btn-close:hover {
  background-color: rgba(255, 0, 0, 0.8);
  transform: scale(1.2);
}

.btn-danger {
  background-color: #b30000;
  border: none;
  padding: 10px;
  font-size: 20px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-danger:hover {
  background-color: #8b0000;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Judul Galeri */
.gallery-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(to right, #ff5733, #b30000);
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  animation: titleAnim 3s ease-in-out infinite;
}

@keyframes titleAnim {
  0% {
    transform: translateY(-20px);
    opacity: 0;
  }
  50% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(-20px);
    opacity: 0;
  }
}

footer h6, footer p, footer a, footer i {
  color: #ffffff !important;
}

footer iframe {
  border-radius: 8px;
}

.social-icon i {
  transition: transform 0.3s ease;
}

.social-icon i:hover {
  transform: scale(1.2);
}
