/* 
 * The Bar - Custom Styles
 * Clean, minimalist aesthetic with deep navy and warm gold
 */

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

body {
    /* Custom font weights applied via Tailwind, but ensuring fallbacks */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f8f9fa;
}
::-webkit-scrollbar-thumb {
    background: #112240;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d4af37;
}

/* Selection Color */
::selection {
    background-color: #d4af37;
    color: #0a192f;
}

/* Smooth Image Loading */
img {
    image-rendering: -webkit-optimize-contrast;
}

/* Animation Utilities */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu Transitions */
#mobile-menu {
    backdrop-filter: blur(10px);
    background-color: rgba(248, 249, 250, 0.95);
}

/* Hover Effects */
.group:hover .group-hover\:translate-x-0 {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Focus States for Accessibility */
a:focus-visible, button:focus-visible {
    outline: 2px solid #d4af37;
    outline-offset: 4px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .fade-in-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
    * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
