/* Custom styles for Uptown Appliance Solutions */

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

/* Scroll reveal base - always visible by default */
.scroll-reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Animated state only when JS adds the class */
.scroll-reveal.animated {
    opacity: 0;
    transform: translateY(30px);
}

/* Navbar glass effect */
#navbar.scrolled {
    background: rgba(6, 12, 24, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(20, 184, 166, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Gold accent line animation */
.gold-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #14b8a6, #fbbf24);
    border-radius: 2px;
}

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

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

::-webkit-scrollbar-track {
    background: #060c18;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #14b8a6;
}

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

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

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

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Button hover glow */
button:hover,
a:hover {
    /* handled by Tailwind utilities */
}

/* Image lazy loading placeholder */
img {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}
