html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeDown {
  animation: fadeDown 0.6s ease-out;
}

.animate-fadeUp {
  animation: fadeUp 0.6s ease-out 0.2s;
}

/* Fade In animations for video hero section */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 1s ease-out forwards;
  opacity: 0;
}

.animation-delay-300 {
  animation-delay: 0.3s;
}

.animation-delay-600 {
  animation-delay: 0.6s;
}

/* Video container styles */
video {
  object-fit: cover;
  filter: brightness(0.8);
}

/* Enhanced search box with backdrop blur */
.backdrop-blur-sm {
  backdrop-filter: blur(4px);
}

/* Active navigation state */
.active-nav {
  color: #C89B52 !important;
  transform: scale(1.05);
  transition: all 0.3s ease;
}

/* Smooth scroll enhancement */
html {
  scroll-padding-top: 120px;
}

/* Glow Effect on Cards */
.tour-card {
  transition: all 0.4s ease;
  position: relative;
}

.tour-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(
    45deg,
    rgba(0, 204, 255, 0.5),
    rgba(255, 0, 204, 0.5)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  filter: blur(15px);
}

.tour-card:hover::before {
  opacity: 1;
}

.tour-card img {
  transition: transform 0.5s ease;
}

.tour-card:hover img {
  transform: scale(1.1);
}

/* Glitter Animation */
.glitter {
  position: relative;
  overflow: hidden;
}

.glitter::after {
  content: "";
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: linear-gradient(
    60deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transform: rotate(25deg);
  animation: shine 6s infinite linear;
  z-index: 1;
  pointer-events: none;
}

@keyframes shine {
  0% {
    transform: translateX(-200%) rotate(25deg);
  }

  50% {
    transform: translateX(200%) rotate(25deg);
  }

  100% {
    transform: translateX(-200%) rotate(25deg);
  }
}

/* Mobile menu styles */
.mobile-menu {
  transition: all 0.3s ease;
  max-height: 0;
  overflow: hidden;
}

.mobile-menu.open {
  max-height: 500px;
}

/* Loading placeholder for images */
.image-placeholder {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

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

  100% {
    background-position: -200% 0;
  }
}
