/* Custom Styles for Texas Waterboys */

:root {
    --navy-900: #0a1628;
    --navy-800: #1a2744;
    --navy-700: #243556;
    --navy-100: #f0f4f8;
    --navy-50: #f7f9fc;
    --gold-500: #c9a84c;
    --gold-400: #d4b965;
}

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

/* Selection Color */
::selection {
    background-color: var(--gold-500);
    color: var(--navy-900);
}

/* Navbar Transition States */
.nav-fixed {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(10, 22, 40, 0.08);
}

.nav-fixed .nav-text {
    color: var(--navy-900) !important;
}

.nav-fixed .nav-link {
    color: var(--navy-800) !important;
}

.nav-fixed .nav-btn #bar1,
.nav-fixed .nav-btn #bar2,
.nav-fixed .nav-btn #bar3 {
    background-color: var(--navy-900) !important;
}

/* Mobile Menu States */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Hamburger Animation */
.menu-active #bar1 {
    transform: translateY(5px) rotate(45deg);
}

.menu-active #bar2 {
    opacity: 0;
}

.menu-active #bar3 {
    transform: translateY(-5px) rotate(-45deg);
}

/* Service Card Hover */
.service-card {
    transform: translateY(0);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Fade-in animation for scroll reveals */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .service-card:hover {
        transform: none;
    }
    img {
        transition: none;
    }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--gold-500);
    outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--navy-50);
}
::-webkit-scrollbar-thumb {
    background: var(--navy-200);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--navy-400);
}
