/* Custom styles for Working Class Tattoos */

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

/* Body base */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Serif font for headings */
.font-serif {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Scroll animation base - content is visible by default */
.scroll-animate {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Progressive enhancement: animate on scroll when JS is available */
@media (prefers-reduced-motion: no-preference) {
    .scroll-animate.animate-on-scroll {
        opacity: 0;
        transform: translateY(24px);
    }

    .scroll-animate.animate-on-scroll.animated {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(4, 13, 26, 0.92) !important;
    backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    box-shadow: 0 1px 40px rgba(0, 0, 0, 0.4);
}

/* Selection color */
::selection {
    background: rgba(52, 211, 153, 0.3);
    color: #ffffff;
}

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

::-webkit-scrollbar-track {
    background: #040D1A;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #1a3a5c;
}

/* Image hover effects */
.rounded-2xl img {
    transition: transform 0.5s ease;
}

/* Form select styling */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* Subtle gradient border effect on cards */
.group:hover .group-hover\:border-mint-400\/30 {
    border-color: rgba(52, 211, 153, 0.3);
}
