/* Royal Bliss Custom Styling & Enhancements */

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Glassmorphism Classes */
.glass-nav {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.glass-nav-scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
}

.glass-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.glass-card-dark {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.75);
  }
}

.animate-pulse-glow {
  animation: pulseGlow 2.5s infinite;
}

/* Gallery image zoom on hover */
.gallery-item {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.06);
}

.gallery-img {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Lightbox styles */
.lightbox-modal {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

/* Review Carousel */
.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
}

@media (min-width: 768px) {
  .carousel-slide {
    flex: 0 0 50%;
    min-width: 50%;
  }
}

@media (min-width: 1024px) {
  .carousel-slide {
    flex: 0 0 33.333333%;
    min-width: 33.333333%;
  }
}

/* Accordion Styling */
.accordion-content {
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.accordion-content.open {
  display: block;
  opacity: 1;
  animation: accordionFade 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes accordionFade {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Focus styles for keyboard accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid #25D366;
  outline-offset: 2px;
}

/* Badge luxury shimmer effect */
.shimmer-badge {
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Background Video Styling */
#hero-bg-video {
  pointer-events: none;
  object-fit: cover;
  min-width: 100%;
  min-height: 100%;
}

/* Video Control Button */
#hero-video-toggle {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
