/* ============================================
   OsteEvents – Custom Styles
   Dark Mode • Glassmorphism • Glow Effects
   ============================================ */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #0a0a0f;
}
::-webkit-scrollbar-thumb {
  background: #2a2a3a;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #4da8ff;
}

/* Glassmorphism base */
.glass-card {
  background: rgba(17, 17, 24, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Glow text effect */
.text-glow-blue {
  text-shadow: 0 0 20px rgba(77, 168, 255, 0.5), 0 0 40px rgba(77, 168, 255, 0.2);
}
.text-glow-cyan {
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.5), 0 0 40px rgba(0, 229, 255, 0.2);
}

/* Product card hover */
.product-card {
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}
.product-card:hover {
  transform: translateY(-6px);
}

/* Image fade-in */
.product-image {
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.product-image.loaded {
  opacity: 1;
}
.product-image:not(.loaded) {
  opacity: 0;
  transform: scale(1.02);
}

/* Image slider dots */
.dot-indicator {
  transition: all 0.3s ease;
  cursor: pointer;
}
.dot-indicator.active {
  background: #4da8ff;
  box-shadow: 0 0 10px rgba(77, 168, 255, 0.6);
  transform: scale(1.3);
}

/* Calendar day cells */
.calendar-day {
  transition: all 0.2s ease;
  cursor: default;
}
.calendar-day.available:hover {
  background: rgba(77, 168, 255, 0.1);
  cursor: pointer;
}
.calendar-day.booked {
  background: rgba(239, 68, 68, 0.25);
  color: #fca5a5;
  cursor: not-allowed;
  position: relative;
}
.calendar-day.booked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 1px;
  background: rgba(239, 68, 68, 0.5);
  transform: rotate(-45deg);
}
.calendar-day.today {
  border: 2px solid #4da8ff;
  font-weight: 700;
}

/* Cookie consent animations */
@keyframes cookieSlideUp {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.cookie-consent-animate {
  animation: cookieSlideUp 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Toggle switch for cookie settings */
.cookie-toggle {
  appearance: none;
  width: 44px;
  height: 24px;
  background: #2a2a3a;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.cookie-toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s ease;
}
.cookie-toggle:checked {
  background: #4da8ff;
  border-color: #4da8ff;
}
.cookie-toggle:checked::after {
  transform: translateX(20px);
}
.cookie-toggle:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.cookie-toggle:disabled::after {
  background: #888;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .product-card:hover {
    transform: translateY(-3px);
  }
}