/* Custom styles for Red Jacket Quad */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a1f3f;
}
::-webkit-scrollbar-thumb {
    background: #3b5bdb;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #ffd60a;
}

/* Selection color */
::selection {
    background: #ffd60a;
    color: #0a1f3f;
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #ffd60a;
    outline-offset: 2px;
}

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

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(10, 31, 63, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Card hover effects */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(30, 58, 138, 0.2);
}

/* Button focus */
.btn-primary:focus,
.btn-secondary:focus {
    outline: 2px solid #ffd60a;
    outline-offset: 2px;
}
