/* Star Ink Tattoos & Piercings — Custom Styles */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f4f7fb;
}
::-webkit-scrollbar-thumb {
    background: #d4a032;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #b88320;
}

/* Selection color */
::selection {
    background: #d4a032;
    color: #0f1a2e;
}

/* Service cards hover lift */
.service-card {
    transform: translateY(0);
}
.service-card:hover {
    transform: translateY(-4px);
}

/* Testimonial cards */
.testimonial-card {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.testimonial-card:hover {
    transform: translateY(-4px);
}

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

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}
.navbar-scrolled .text-navy-900 {
    color: #1a2a46 !important;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease forwards;
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll reveal animations — progressive enhancement only */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
}

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

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid #d4a032;
    outline-offset: 2px;
}

/* Button hover glow */
button:hover, a:hover {
    transition: all 0.3s ease;
}

/* Form input focus states */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(212, 160, 50, 0.15);
}

/* Subtle pattern overlay for dark sections */
.hero-pattern {
    background-image: radial-gradient(rgba(212, 160, 50, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
}
