/* Custom styles for Easy Street Ink */

/* Smooth scroll offset for fixed nav */
html {
    scroll-padding-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #020617;
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

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

/* Service card hover glow effects */
.service-card:hover {
    box-shadow: 0 0 40px rgba(20, 184, 166, 0.08);
}

.service-card:hover .bg-gradient-to-br {
    filter: brightness(1.2);
}

/* Navbar glass effect when scrolled */
.navbar-scrolled {
    background: rgba(2, 6, 23, 0.9) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(51, 65, 85, 0.3) !important;
}

/* Gold accent line animation */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Mobile menu transitions */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
}

/* Gallery hover overlay */
.group:hover .group-hover\:scale-110 {
    will-change: transform;
}

/* Input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #1e293b inset !important;
    -webkit-text-fill-color: #f1f5f9 !important;
}

/* Testimonial card hover */
.bg-slate-900\/60:hover {
    border-color: rgba(20, 184, 166, 0.2);
    transition: border-color 0.5s ease;
}

/* Button focus states */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
    border-radius: 0.5rem;
}

/* 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;
    }
    
    .group:hover .group-hover\:scale-110,
    .group:hover .group-hover\:scale-105 {
        transform: none;
    }
}

/* Select dropdown styling */
select option {
    background: #1e293b;
    color: #f1f5f9;
    padding: 0.5rem;
}
