/* Custom styles for Western Union Santa Monica site */

/* Ensure smooth rendering */
html, body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Hero image parallax-like subtle effect */
.hero-image-frame img {
    transition: transform 0.6s ease;
}
.hero-image-frame:hover img {
    transform: scale(1.02);
}

/* Gold shimmer animation for badge */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Mobile menu animations */
.mobile-menu .mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}
.mobile-menu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}
.mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.3s; }

/* Navbar scroll state */
.nav-glass.scrolled {
    background: rgba(5, 10, 24, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Button focus states */
.btn-gold:focus-visible,
.btn-outline-gold:focus-visible,
a:focus-visible {
    outline: 2px solid #C9A84C;
    outline-offset: 2px;
}

/* Input focus states */
input:focus-visible,
textarea:focus-visible {
    outline: none;
}

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal-up {
        opacity: 1 !important;
        transform: none !important;
    }
}
