/* Custom styles complementing Tailwind */

html {
    scroll-behavior: smooth;
}

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

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    box-shadow: 0 1px 20px rgba(10, 22, 40, 0.08);
}

/* Scroll reveal animations - progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.hidden-reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal-left {
        opacity: 1;
        transform: translateX(0);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal-left.hidden-reveal {
        opacity: 0;
        transform: translateX(-24px);
    }
    .reveal-right {
        opacity: 1;
        transform: translateX(0);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal-right.hidden-reveal {
        opacity: 0;
        transform: translateX(24px);
    }
}

/* Gold accent line */
.gold-line {
    width: 60px;
    height: 3px;
    background: #c8a45e;
}

/* Button focus styles */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #c8a45e;
    outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #152d56;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #0f2140;
}
</style>
