/* Custom styles for Infamous Tattoos */

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

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

::-webkit-scrollbar-track {
    background: #0a0f1a;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #111d33;
}

/* Service cards */
.service-card {
    background: rgba(17, 29, 51, 0.5);
    border: 1px solid rgba(55, 65, 80, 0.5);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(61, 217, 192, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Gallery items */
.gallery-item {
    cursor: pointer;
}

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(10, 15, 26, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(61, 217, 192, 0.1);
}

/* Mobile menu animations */
.mobile-link {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

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

/* Selection color */
::selection {
    background: rgba(61, 217, 192, 0.3);
    color: white;
}

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