/* Custom styles for Aqua Tech Scuba Center */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #2a111a;
}
::-webkit-scrollbar-thumb {
    background: #502534;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #8a3f5a;
}

/* Selection color */
::selection {
    background: rgba(251, 191, 36, 0.3);
    color: #faf5f7;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(42, 17, 26, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(80, 37, 52, 0.5);
}

/* Mobile menu active state */
.mobile-menu-active {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Menu button animation */
.menu-open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}
.menu-open .menu-line:nth-child(2) {
    opacity: 0;
}
.menu-open .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
    width: 20px;
}

/* Subtle hover glow on cards */
.group:hover .group-hover\\:scale-105 {
    filter: brightness(1.05);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .group:hover img,
    img.hover\\:scale-105:hover {
        transform: none;
    }
}

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

/* Form select styling */
select option {
    background: #2a111a;
    color: #f5e9ee;
}

/* Print styles */
@media print {
    nav,
    #contact,
    button,
    iframe {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
