/* Custom styles for Polo's Cafe */

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

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #022c22;
}

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

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Navbar transition */
.nav-scrolled #nav-bg {
    display: block;
}

/* Image aspect ratio utilities */
.aspect-card {
    aspect-ratio: 4/5;
}

/* Focus styles for accessibility */
a:focus-visible, button:focus-visible {
    outline: 2px solid #064e3b;
    outline-offset: 2px;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Decorative patterns */
.bg-pattern-dots {
    background-image: radial-gradient(#064e3b 1px, transparent 1px);
    background-size: 20px 20px;
}
