/* === Base & Typography === */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
}

::selection {
  background: rgba(212, 168, 75, 0.3);
  color: #f9f0f4;
}

/* === Navbar === */
#navbar {
  background: transparent;
  transition: background 0.5s ease, box-shadow 0.5s ease, backdrop-filter 0.5s ease;
}

#navbar.scrolled {
  background: rgba(37, 18, 34, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(212, 168, 75, 0.1);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #D4A84B;
  transition: width 0.3s ease;
}

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

/* === Mobile Menu === */
.mobile-link {
  position: relative;
}

/* === Floating Cards === */
.floating-card {
  animation: float 6s ease-in-out infinite;
}

.floating-card.card-cocktails {
  animation-delay: 0s;
}

.floating-card.card-hours {
  animation-delay: -2s;
}

.floating-card.card-address {
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

/* === Reveal Animations === */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }

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

  .reveal.delay-1 { transition-delay: 0.1s; }
  .reveal.delay-2 { transition-delay: 0.2s; }
  .reveal.delay-3 { transition-delay: 0.3s; }
}

/* === Decorative Divider === */
.section-divider {
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 168, 75, 0.3), transparent);
}

/* === Form Styles === */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(0.7) sepia(1) saturate(3) hue-rotate(10deg);
  cursor: pointer;
}

select option {
  background: #2a1224;
  color: #f3e0e9;
}

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

::-webkit-scrollbar-track {
  background: #1a0a18;
}

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

::-webkit-scrollbar-thumb:hover {
  background: #6e274c;
}

/* === Focus Visible === */
*:focus-visible {
  outline: 2px solid rgba(212, 168, 75, 0.6);
  outline-offset: 2px;
}

/* === Responsive Adjustments === */
@media (max-width: 768px) {
  .floating-card {
    display: none;
  }

  #hero {
    min-height: 100vh;
  }
}

/* === Print === */
@media print {
  #navbar, #mobile-menu-btn, .floating-card {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }
}
