/* Custom overrides and enhancements */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth focus outlines */
a:focus-visible, button:focus-visible {
    outline: 2px solid #d4a017;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background: rgba(212, 160, 23, 0.25);
    color: #141f30;
}

/* Subtle scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f8f7f4;
}
::-webkit-scrollbar-thumb {
    background: #c4c0b8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a8a49c;
}

/* Navbar shadow on scroll */
.nav-scrolled {
    box-shadow: 0 1px 20px rgba(20, 31, 48, 0.08) !important;
}

/* Hero text shimmer (subtle) */
@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50 { background-position: 100% 50%; }
}

/* Floating animation for decorative elements */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Print styles */
@media print {
    header, .reveal { display: block !important; opacity: 1 !important; }
    .mobile-menu { display: none !important; }
}
