html {
  scroll-behavior: smooth;
}
body {
  perspective: 1px;
  transform-style: preserve-3d;
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
}
[data-theme="dark"] body {
  background-color: black;
  color: #facc15;
}
[data-theme="light"] body {
  background-color: white;
  color: #1f2937;
}
[data-theme="dark"] .theme-bg {
  background-color: black;
}
[data-theme="light"] .theme-bg {
  background-color: white;
}
[data-theme="dark"] .theme-text {
  color: #facc15;
}
[data-theme="light"] .theme-text {
  color: #1f2937;
}
[data-theme="dark"] .theme-border {
  border-color: #facc15;
}
[data-theme="light"] .theme-border {
  border-color: #1f2937;
}
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}
#galleryGrid img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}
#galleryGrid img:hover {
  border-color: #facc15;
}

/* Lightbox styles */
#lightboxOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}
#lightboxOverlay.active {
  display: flex;
}
#lightboxImage {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 0 20px #facc15;
}
#lightboxClose {
  color: #facc15;
  font-size: 2rem;
  cursor: pointer;
  margin-top: 1rem;
  user-select: none;
}
