/* Custom styles for The Tshirt-center inc. */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #e8645c;
}

/* Selection color */
::selection {
    background: rgba(232, 100, 92, 0.3);
    color: #f5f5f5;
}

/* Service card hover glow effect */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(232, 100, 92, 0.05), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

/* Portfolio item image transition */
.portfolio-item img {
    will-change: transform;
}

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

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

/* Mobile menu animation */
#mobileMenu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .service-card::before,
    .portfolio-item img,
    .service-card > div {
        transition: none;
        animation: none;
    }
    
    #mobileMenu {
        animation: none;
    }
}

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

/* Subtle gradient text utility */
.text-gradient-gold {
    background: linear-gradient(135deg, #e8d5a0, #c9a84c, #b8943f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom select dropdown styling */
select option {
    background: #1e1e1e;
    color: #e0e0e0;
    padding: 8px;
}
