/* Custom styles for SoRad Bowls */

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

/* Custom animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.reveal-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.reveal-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

.reveal-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Stagger animations */
.reveal-up:nth-child(1) { animation-delay: 0.1s; }
.reveal-up:nth-child(2) { animation-delay: 0.2s; }
.reveal-up:nth-child(3) { animation-delay: 0.3s; }
.reveal-up:nth-child(4) { animation-delay: 0.4s; }
.reveal-up:nth-child(5) { animation-delay: 0.5s; }
.reveal-up:nth-child(6) { animation-delay: 0.6s; }

/* Navbar styles */
#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

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

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

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

/* Image hover effects */
img {
    transition: transform 0.3s ease;
}

/* Button hover effects */
button, a {
    transition: all 0.3s ease;
}

/* Mobile menu animation */
#mobile-menu {
    animation: fadeInUp 0.3s ease-out;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal-left,
    .reveal-right,
    .reveal-up {
        animation: none;
        opacity: 1;
    }
    
    html {
        scroll-behavior: auto;
    }
}
