/* Custom Styles for Terrell's Pool Hall */

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

/* Base Typography */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #FDFBF7;
}
::-webkit-scrollbar-thumb {
    background: #c5dfc8;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9cc59f;
}

/* Card Hover Effects */
.card-hover {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

/* Nav Scrolled State */
.nav-scrolled #nav-bg {
    opacity: 1;
}

/* Mobile Menu Transitions */
.mobile-link {
    position: relative;
}
.mobile-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #4f8252;
    transition: width 0.3s ease;
}
.mobile-link:hover::after {
    width: 100%;
}

/* Animation Classes (Progressive Enhancement) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .card-hover {
        transition: none;
    }
}
