/* Custom styles for The Cove Inn */

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

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

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

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

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

/* Animation for elements appearing on scroll */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero image hover effect */
.hero-image {
    transition: transform 0.7s ease;
}

.hero-image:hover {
    transform: scale(1.05);
}

/* Button hover effects */
.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.3);
}

/* Card hover effects */
.menu-card, .testimonial-card {
    transition: all 0.4s ease;
}

.menu-card:hover, .testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Image hover effects */
.gallery-img {
    transition: transform 0.5s ease;
}

.gallery-img:hover {
    transform: scale(1.1);
}

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Form input focus effects */
input:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.2);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .fade-in-up {
        opacity: 1;
        transform: none;
    }
}

/* Loading animation for images */
img {
    background-color: #f3f4f6;
}

/* Selection color */
::selection {
    background-color: #fbbf24;
    color: #0f172a;
}
