/* Custom overrides and additional styles */

html {
    scroll-behavior: smooth;
}

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

/* Ensure all text meets contrast requirements */
.text-navy-900\/50 {
    color: rgba(10, 22, 40, 0.5);
}

.text-white\/50 {
    color: rgba(255, 255, 255, 0.5);
}

.text-white\/60 {
    color: rgba(255, 255, 255, 0.6);
}

.text-white\/20 {
    color: rgba(255, 255, 255, 0.2);
}

.text-white\/30 {
    color: rgba(255, 255, 255, 0.3);
}

.text-white\/70 {
    color: rgba(255, 255, 255, 0.7);
}

.text-gold-500\/60 {
    color: rgba(200, 168, 110, 0.6);
}

.text-gold-500\/40 {
    color: rgba(200, 168, 110, 0.4);
}

.text-gold-500\/20 {
    color: rgba(200, 168, 110, 0.2);
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 1px solid #C8A86E;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background-color: rgba(200, 168, 110, 0.3);
    color: inherit;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease forwards;
}

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

/* Subtle hover on gallery images */
img:hover {
    cursor: pointer;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
