/* Custom styles for QCS Masonry LLC */

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

/* Selection color */
::selection {
    background-color: #FF7B66;
    color: white;
}

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

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

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

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

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .group:hover img {
        transform: none;
    }
    
    .group img {
        transition: none;
    }
}

/* Mobile menu animation */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

/* Hamburger animation */
#menu-btn.active #menu-line-1 {
    transform: rotate(45deg) translate(4px, 4px);
}

#menu-btn.active #menu-line-2 {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* Navbar scroll state */
#navbar.scrolled {
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

/* Form select arrow */
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='%23404040' 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 0 center;
}

/* Subtle line decoration */
.decorative-line {
    position: relative;
}

.decorative-line::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 48px;
    height: 2px;
    background-color: #FF7B66;
}
