/* Custom CSS for Pisces Sushi Bar & Lounge */

:root {
    --navy-900: #1e3a5f;
    --navy-800: #264a73;
    --gold-500: #d4a574;
    --gold-400: #e0b48a;
    --stone-50: #fafaf9;
    --slate-600: #475569;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1e293b;
    background-color: #fafaf9;
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

/* Custom color classes */
.text-navy-900 { color: var(--navy-900); }
.bg-navy-900 { background-color: var(--navy-900); }
.bg-navy-800 { background-color: var(--navy-800); }
.text-gold-500 { color: var(--gold-500); }
.text-gold-400 { color: var(--gold-400); }
.bg-gold-500 { background-color: var(--gold-500); }
.bg-gold-400 { background-color: var(--gold-400); }

/* Smooth scroll offset for fixed navbar */
section[id] {
    scroll-margin-top: 80px;
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.active {
    max-height: 500px;
}

/* Subtle hover effects */
a, button {
    transition: all 0.2s ease;
}

/* Image hover zoom */
img {
    transition: transform 0.5s ease;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--gold-500);
    outline-offset: 2px;
    border-radius: 4px;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--navy-900);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--navy-800);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    img {
        transition: none;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .font-playfair {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Touch-friendly tap targets on mobile */
@media (max-width: 640px) {
    a, button {
        min-height: 44px;
        min-width: 44px;
    }
}
