/* Custom styles for Hail Mary's Sports Bar */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf2f2;
}
::-webkit-scrollbar-thumb {
    background: #e97070;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9b1d3a;
}

/* Hero animations */
.hero-content {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.hero-image {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease 0.2s forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About section animations */
.about-images {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideRight 0.8s ease 0.3s forwards;
}

.about-content {
    opacity: 0;
    transform: translateX(30px);
    animation: slideLeft 0.8s ease 0.3s forwards;
}

@keyframes slideRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Menu animations */
.menu-header {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards;
}

.menu-grid > * {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards;
}

.menu-grid > *:nth-child(1) { animation-delay: 0.1s; }
.menu-grid > *:nth-child(2) { animation-delay: 0.2s; }
.menu-grid > *:nth-child(3) { animation-delay: 0.3s; }

/* Game day animations */
.game-day-content {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideRight 0.8s ease forwards;
}

.game-day-image {
    opacity: 0;
    transform: translateX(30px);
    animation: slideLeft 0.8s ease 0.2s forwards;
}

/* Visit section animations */
.visit-header {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards;
}

.visit-info {
    opacity: 0;
    transform: translateX(-20px);
    animation: slideRight 0.6s ease 0.1s forwards;
}

.visit-form-container {
    opacity: 0;
    transform: translateX(20px);
    animation: slideLeft 0.6s ease 0.2s forwards;
}

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(255, 251, 248, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(155, 29, 58, 0.08);
}

.nav-scrolled .font-display {
    color: #9b1d3a !important;
}

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

.mobile-link {
    transition: all 0.2s ease;
}

/* Interactive elements */
a, button {
    -webkit-tap-highlight-color: transparent;
}

/* Focus styles */
:focus-visible {
    outline: 2px solid #9b1d3a;
    outline-offset: 2px;
}

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

/* Tablet adjustments */
@media (max-width: 768px) {
    .hero-content {
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.75rem;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-content > div:last-child {
        justify-content: center;
    }
    
    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-images {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Large desktop */
@media (min-width: 1024px) {
    .hero-content h1 {
        font-size: 5rem;
    }
}
