/* Bangkok Thyme — Custom Styles */

/* Base */
html {
  scroll-behavior: smooth;
}

body {
  background-color: #030610;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #060b18;
}
::-webkit-scrollbar-thumb {
  background: #d4a843;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #e2c06a;
}

/* Selection */
::selection {
  background: rgba(212, 168, 67, 0.3);
  color: #fff;
}

/* Animations */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fade-up 0.8s ease-out forwards;
}

/* Scroll-triggered animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Menu tabs */
.menu-tab {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.menu-tab:hover {
  background: rgba(212, 168, 67, 0.1);
  color: #f0d48a;
  border-color: rgba(212, 168, 67, 0.3);
}

.menu-tab.active {
  background: #d4a843;
  color: #060b18;
  border-color: #d4a843;
  font-weight: 600;
}

/* Menu items */
.menu-item {
  animation: fade-up 0.4s ease forwards;
}

/* Navbar scroll state */
#navbar.scrolled {
  background: rgba(3, 6, 16, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0;
  padding-bottom: 0;
}

#navbar.scrolled .py-5 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

/* Mobile menu */
#mobile-menu {
  animation: slideDown 0.3s ease forwards;
}

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

/* Date input styling */
.date-input::-webkit-calendar-picker-indicator {
  filter: invert(0.7);
  cursor: pointer;
}

/* Gold gradient text utility */
.text-gold-gradient {
  background: linear-gradient(135deg, #f0d48a 0%, #d4a843 50%, #b8922e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Image hover zoom container */
img {
  will-change: transform;
}

/* Smooth focus for accessibility */
*:focus-visible {
  outline: 2px solid #d4a843;
  outline-offset: 2px;
}

/* Mobile menu link hover */
.mobile-link {
  position: relative;
}

.mobile-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #5eead4;
  transition: width 0.3s ease;
}

.mobile-link:hover::after {
  width: 100%;
}

/* Decorative pattern overlay */
.pattern-overlay {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4a843' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
