/* Custom styles for Appliances 4 Less */

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

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

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

::-webkit-scrollbar-thumb {
    background: #ff6b3f;
    border-radius: 5px;
}

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

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Reveal animation for scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(30, 32, 36, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Button hover effects */
.btn-primary {
    background: linear-gradient(135deg, #ff6b3f 0%, #f04e1e 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff8a6a 0%, #ff6b3f 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 63, 0.3);
}

.btn-secondary {
    border: 2px solid #ff6b3f;
    color: #ff6b3f;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #ff6b3f;
    color: #1e2024;
}

/* Card hover effects */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .card-hover {
        transition: none;
    }
    
    .btn-primary, .btn-secondary {
        transition: none;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-bg {
        background: linear-gradient(135deg, #1e2024 0%, #2e3136 100%);
    }
}
