/* Custom styles — progressive enhancement only; content is visible without JS */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Base text color utility */
.text-navy-900 { color: #111f33; }
.text-navy-800 { color: #1a2d45; }
.text-navy-700 { color: #2a4060; }
.text-navy-600 { color: #3a5575; }
.text-navy-500 { color: #4a6a8a; }
.text-navy-300 { color: #8aa4be; }
.text-navy-200 { color: #b0c4d8; }
.text-navy-100 { color: #d4e0eb; }
.text-navy-50  { color: #eaf2f8; }

.text-gold-600 { color: #c4953a; }
.text-gold-500 { color: #d4a84b; }
.text-gold-400 { color: #e2c06e; }
.text-gold-100 { color: #fdf3d7; }

.bg-navy-950 { background-color: #0b1524; }
.bg-navy-900 { background-color: #111f33; }
.bg-navy-800 { background-color: #1a2d45; }
.bg-navy-100 { background-color: #d4e0eb; }
.bg-navy-50  { background-color: #eaf2f8; }
.bg-gold-500 { background-color: #d4a84b; }
.bg-gold-100 { background-color: #fdf3d7; }

/* Scroll reveal — progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fallback: always visible if JS is disabled or prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Navbar glass effect */
.navbar-scrolled {
    background: rgba(17, 31, 51, 0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #111f33;
}
::-webkit-scrollbar-thumb {
    background: #2a4060;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #3a5575;
}

/* Mobile menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
#mobile-menu.open {
    max-height: 400px;
}

/* Subtle image hover parallax */
.group img {
    will-change: transform;
}

/* Focus visible for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid #d4a84b;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background: rgba(212, 168, 75, 0.2);
    color: #111f33;
}
