/* Custom styles for Renzie Park Delights */

html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0a0a0c;
}
::-webkit-scrollbar-thumb {
  background: #2e2e36;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3e3e46;
}

/* Selection color */
::selection {
  background: rgba(212, 160, 84, 0.3);
  color: #f5f5f6;
}

/* Header transition states */
#site-header.scrolled {
  background: rgba(10, 10, 12, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(46, 46, 54, 0.5);
}

/* Mobile menu transitions */
#mobile-menu {
  animation: slideDown 0.3s ease forwards;
}
#mobile-menu.hidden {
  animation: slideUp 0.25s ease forwards;
}

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

/* Mobile link hover */
.mobile-link {
  display: block;
}

/* Subtle gold shimmer on hover for cards */
.bg-charcoal-950.border.border-charcoal-800.rounded-2xl {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.bg-charcoal-950.border.border-charcoal-800.rounded-2xl:hover {
  box-shadow: 0 0 40px rgba(212, 160, 84, 0.05);
}

/* Gallery image hover */
.rounded-2xl.overflow-hidden img {
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Focus styles for accessibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid #D4A054;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Ensure map iframe is readable */
iframe[title] {
  border-radius: 0.75rem;
}

/* Print styles */
@media print {
  #site-header, #mobile-menu, .animate-bounce {
    display: none !important;
  }
  body {
    background: white;
    color: black;
  }
}
