/* Custom Styles for Mountain Laurel Lodge */

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

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

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #14b8a6, #0d9488);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #2dd4bf, #14b8a6);
}

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

/* Navbar Transition */
#navbar {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile Menu Animations */
#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

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

/* Card Hover Effects */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Gradient Text Animation */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.text-gradient {
    background: linear-gradient(90deg, #2dd4bf, #14b8a6, #0d9488, #14b8a6, #2dd4bf);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
}

/* Pulse Animation for Decorative Elements */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

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

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

/* Stagger Animation Delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* Focus States */
input:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
}

/* Form Button Hover */
button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(20, 184, 166, 0.3);
}

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

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Accessibility */
@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;
    }
}

/* Print Styles */
@media print {
    #navbar,
    #mobile-menu {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
