/* Custom styles for Dayton Lane Pub */

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

/* Custom shadow utilities */
.shadow-soft {
    box-shadow: 0 4px 24px rgba(45, 110, 64, 0.08), 0 2px 8px rgba(45, 110, 64, 0.04);
}

.shadow-soft:hover {
    box-shadow: 0 8px 32px rgba(45, 110, 64, 0.12), 0 4px 12px rgba(45, 110, 64, 0.06);
}

/* Floating animation for hero cards */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes float-delayed {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

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

.animate-float-delayed {
    animation: float-delayed 4s ease-in-out infinite;
    animation-delay: 2s;
}

/* Navbar scroll state */
.nav-scrolled #nav-inner {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

/* Nav link hover underline effect */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #2d6e40;
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 1px;
}

.nav-link:hover::after {
    width: 60%;
}

/* Mobile link styles */
.mobile-link {
    display: block;
}

/* Fade-in animation for scroll reveals */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeUp 0.8s ease forwards;
}

/* Subtle hover scale for cards */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #93ca9e;
}

/* Selection color */
::selection {
    background: #dcefdf;
    color: #173822;
}

/* Image aspect ratios for layout stability */
img {
    max-width: 100%;
    height: auto;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .animate-float,
    .animate-float-delayed {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    img, .group-hover\:scale-105 {
        transition: none;
    }
}
