/* Custom styles for Fury Comics */

/* Smooth focus outlines for accessibility */
*:focus-visible {
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: rgba(20, 184, 166, 0.3);
    color: #f0fdfa;
}

/* Custom scrollbar for webkit */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #020617;
}

::-webkit-scrollbar-thumb {
    background: #0d9488;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #14b8a6;
}

/* Ensure iframe map is responsive */
iframe {
    width: 100%;
    height: 100%;
}

/* Navbar glass effect when scrolled */
.navbar-scrolled {
    background: rgba(2, 6, 23, 0.95) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

/* Subtle hover glow for service cards */
.group:hover .w-14 {
    box-shadow: 0 0 20px rgba(20, 184, 166, 0.2);
}

/* Mobile menu animation */
#mobileMenu.opening {
    opacity: 1;
    pointer-events: auto;
}

#mobileMenu.closing {
    opacity: 0;
    pointer-events: none;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Print styles */
@media print {
    header, #contact, footer, .animate-bounce {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
