/* Custom styles for Recyclers Unlimited */

/* Hero Gradient */
.hero-gradient {
    background: linear-gradient(135deg, 
        #B8544E 0%, 
        #8c3935 25%, 
        #a84640 50%, 
        #d4a03a 75%, 
        #e2b84a 100%
    );
    position: relative;
}

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

/* Reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(254, 252, 248, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-scrolled a {
    color: #57534e;
}

.nav-scrolled .logo-text {
    color: #1c1917;
}

/* Mobile menu transitions */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

#mobile-menu.hidden {
    max-height: 0;
    opacity: 0;
}

#mobile-menu:not(.hidden) {
    max-height: 500px;
    opacity: 1;
}

/* Form focus styles */
input:focus,
textarea:focus,
select:focus {
    border-color: #B8544E;
    box-shadow: 0 0 0 3px rgba(184, 84, 78, 0.2);
}

/* Button hover effects */
button:hover,
a:hover {
    transform: translateY(-2px);
}

button:active,
a:active {
    transform: translateY(0);
}

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

::-webkit-scrollbar-track {
    background: #fefcf8;
}

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

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

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-gradient {
        min-height: 100vh;
    }
    
    h1 {
        font-size: 2.5rem !important;
    }
    
    h2 {
        font-size: 2rem !important;
    }
}
