/* Custom Styles for Libation */

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

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

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.animation-delay-200 {
    animation-delay: 0.2s;
}

.animation-delay-400 {
    animation-delay: 0.4s;
}

.animation-delay-600 {
    animation-delay: 0.6s;
}

/* Scroll Reveal Animation */
.reveal-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.animation-delay-100 {
    transition-delay: 0.1s;
}

.animation-delay-200 {
    transition-delay: 0.2s;
}

.animation-delay-300 {
    transition-delay: 0.3s;
}

/* Navbar Scroll Effect */
.nav-scrolled {
    background-color: rgba(44, 44, 44, 0.95) !important;
    backdrop-filter: blur(10px);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

/* Focus Styles */
button:focus,
a:focus,
input:focus,
textarea:focus {
    outline: none;
}

/* Image Hover Effects */
img {
    transition: transform 0.7s ease;
}

/* Form Focus States */
input:focus,
textarea:focus {
    border-color: #FF7F50 !important;
}

/* Button Hover Effects */
button {
    transition: all 0.3s ease;
}

/* Mobile Menu Transition */
#mobile-menu {
    transition: all 0.3s ease;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal-on-scroll.hidden-reveal {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: clamp(2rem, 8vw, 3rem);
    }
}
