@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@300;400;500;600&display=swap');

/* GLOBAL */
:root {
  --red: #e53535;
  --red-dark: #b91c1c;
}

body {
  font-family: 'DM Sans', sans-serif;
}

/* GLOBAL - noise grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* SERVICE CARD - red glow on hover */
.service-card:hover {
  box-shadow:
    0 0 0 1px var(--red),
    0 20px 60px rgba(229, 53, 53, 0.12);
}

/* SERVICE CARD - red gradient sweep pseudo element */
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(229, 53, 53, 0.06) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}
.service-card:hover::after {
  opacity: 1;
}

/* CARD IMAGE - dark gradient overlay pseudo element */
.card-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
}

/* BOOK BUTTON - shine sweep pseudo element */
.book-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transition: left 0.4s ease;
}
.book-btn:hover::before {
  left: 150%;
}

/* SKELETON - shimmer loading placeholders */
.skeleton-img {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04) 25%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.04) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}

.skeleton-line {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.06) 25%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.06) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}

/* KEYFRAMES */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* ANIMATION CLASSES */
.animate-slideDown {
  animation: slideDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.animate-fadeUp {
  animation: fadeUp 0.7s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.animate-card {
  opacity: 0;
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes green-glow-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }

  50% {
    box-shadow: 0 0 40px 12px rgba(34, 197, 94, 0.12);
  }
}

.success-glow {
  animation: green-glow-pulse 3s ease-in-out infinite;
}

/* NAV LINK hover underline */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #e53535;
  transition: width 0.3s ease;
}
.nav-link:hover::after {
  width: 100%;
}
.nav-link.active::after {
  width: 100%;
}
.nav-link.active {
  color: white;
}

/* MOBILE MENU */
#mobile-menu {
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  transition:
    max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.3s ease;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}
#mobile-menu.open {
  max-height: 300px;
  opacity: 1;
}

/* BOOK NOW button shine */
.book-now-btn {
  position: relative;
  overflow: hidden;
}
.book-now-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transition: left 0.4s ease;
}
.book-now-btn:hover::before {
  left: 150%;
}

/* TRACK CARD hover lift */
.track-card {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.track-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

/* CARD title red accent */
.card-title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-title::before {
  content: '';
  display: block;
  width: 2px;
  height: 12px;
  background: #e53535;
  border-radius: 1px;
  flex-shrink: 0;
}

/* QUEUE badge */
.queue-badge {
  background: linear-gradient(
    135deg,
    rgba(229, 53, 53, 0.12),
    rgba(229, 53, 53, 0.04)
  );
  border: 1px solid rgba(229, 53, 53, 0.25);
}

/* STATUS HERO glow pulse */
@keyframes glow-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(229, 53, 53, 0);
  }
  50% {
    box-shadow: 0 0 40px 10px rgba(229, 53, 53, 0.1);
  }
}
.status-glow {
  animation: glow-pulse 3s ease-in-out infinite;
}

/* CARD stagger delays */
.card-1 {
  animation-delay: 0.08s;
}
.card-2 {
  animation-delay: 0.16s;
}
.card-3 {
  animation-delay: 0.24s;
}
.card-4 {
  animation-delay: 0.12s;
}
.card-5 {
  animation-delay: 0.2s;
}
.card-6 {
  animation-delay: 0.28s;
}

/* Hamburger bars */
#bar1,
#bar2,
#bar3 {
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

/* DISABLE hover effects on touch devices */
@media (hover: none) {
  .track-card:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
  }
  .book-now-btn:hover::before {
    left: -100%;
  }
}

/* SCALE DOWN glow on mobile */
@media (max-width: 640px) {
  @keyframes glow-pulse {
    0%,
    100% {
      box-shadow: 0 0 0 0 rgba(229, 53, 53, 0);
    }
    50% {
      box-shadow: 0 0 20px 4px rgba(229, 53, 53, 0.08);
    }
  }
  #mobile-menu {
    max-height: 0;
  }
  #mobile-menu.open {
    max-height: 400px;
  }
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}
