/* Custom styles for Beverly Hilton Hotel */

:root {
    --color-midnight-900: #0a1826;
    --color-mint-400: #5fbda0;
    --color-mint-500: #3a9d83;
}

html {
    scroll-behavior: smooth;
}

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

/* Navbar transitions */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(10, 24, 38, 0.06);
}

#navbar.scrolled .nav-text {
    color: #0a1826;
}

#navbar.scrolled .nav-link {
    color: #0a1826;
}

#navbar.scrolled .nav-line-1,
#navbar.scrolled .nav-line-2,
#navbar.scrolled .nav-line-3 {
    background: #0a1826;
}

.nav-link {
    color: rgba(10, 24, 38, 0.7);
    transition: color 0.3s ease;
    position: relative;
}

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

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

.nav-link:hover {
    color: #0a1826;
}

/* Mobile menu */
.mobile-nav-link {
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: #5fbda0;
}

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .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; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* Image hover effects */
img {
    transition: transform 0.7s ease, opacity 0.3s ease;
}

/* Thin line accents */
.line-accent {
    position: relative;
}

.line-accent::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -24px;
    width: 16px;
    height: 1px;
    background: #5fbda0;
    transform: translateY(-50%);
}

/* Selection color */
::selection {
    background: rgba(95, 189, 160, 0.2);
    color: #0a1826;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #0a1826;
}

::-webkit-scrollbar-thumb {
    background: #5fbda0;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3a9d83;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #5fbda0;
    outline-offset: 4px;
}

/* Smooth image loading */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}
