/* Custom styles for Walsh's Pub */

/* Card float animation for hero stats */
.card-float {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-float:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(6, 78, 59, 0.1);
}

/* Smooth image loading */
img {
    transition: opacity 0.3s ease;
}

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

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

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

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

/* Selection color */
::selection {
    background: #d1fae5;
    color: #064e3b;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #10b981;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Animation for stat cards */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.card-float:nth-child(1) {
    animation: float 4s ease-in-out infinite;
}

.card-float:nth-child(2) {
    animation: float 4s ease-in-out infinite 1s;
}

.card-float:nth-child(3) {
    animation: float 4s ease-in-out infinite 2s;
}

.card-float:nth-child(4) {
    animation: float 4s ease-in-out infinite 3s;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .card-float {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Print styles */
@media print {
    nav,
    .card-float,
    iframe {
        display: none;
    }
    
    body {
        background: white;
    }
}
