/* Custom CSS for BobCatz Indian Taco & Frybread */

:root {
    --midnight-900: #0a1628;
    --midnight-800: #111f38;
    --midnight-700: #1a2d4d;
    --midnight-600: #243b63;
    --midnight-500: #2e4a78;
    --midnight-400: #4d6a94;
    --midnight-300: #6b89b0;
    --midnight-200: #8aa5c1;
    --midnight-100: #c4d1e0;
    --mint-500: #34d399;
    --mint-600: #2bb885;
    --mint-400: #6ee7b7;
    --mint-300: #a7f3d0;
    --mint-200: #d1fae5;
    --mint-100: #ecfdf5;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: var(--midnight-900);
}

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

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

/* Color utilities */
.text-midnight-900 { color: var(--midnight-900); }
.text-midnight-800 { color: var(--midnight-800); }
.text-midnight-700 { color: var(--midnight-700); }
.text-midnight-600 { color: var(--midnight-600); }
.text-midnight-500 { color: var(--midnight-500); }
.text-midnight-400 { color: var(--midnight-400); }
.text-midnight-200 { color: var(--midnight-200); }
.text-midnight-100 { color: var(--midnight-100); }

.text-mint-600 { color: var(--mint-600); }
.text-mint-500 { color: var(--mint-500); }
.text-mint-400 { color: var(--mint-400); }
.text-mint-300 { color: var(--mint-300); }

.bg-midnight-900 { background-color: var(--midnight-900); }
.bg-midnight-800 { background-color: var(--midnight-800); }
.bg-midnight-100 { background-color: var(--midnight-100); }

.bg-mint-500 { background-color: var(--mint-500); }
.bg-mint-600 { background-color: var(--mint-600); }
.bg-mint-200 { background-color: var(--mint-200); }
.bg-mint-100 { background-color: var(--mint-100); }
.bg-mint-50 { background-color: #f0fdf4; }

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

.hero-anim:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-anim:nth-child(3) {
    animation-delay: 0.4s;
}

.hero-anim:nth-child(4) {
    animation-delay: 0.6s;
}

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

/* Scroll reveal animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(20px);
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll effect */
.navbar-scrolled {
    box-shadow: 0 1px 20px rgba(10, 22, 40, 0.08);
}

/* Button hover effects */
a {
    text-decoration: none;
}

/* Smooth transitions */
.transition-all {
    transition: all 0.3s ease;
}

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

#mobileMenu.open {
    max-height: 300px;
}

/* Image loading */
img {
    max-width: 100%;
    height: auto;
}

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

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

::-webkit-scrollbar-track {
    background: var(--midnight-50);
}

::-webkit-scrollbar-thumb {
    background: var(--mint-300);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--mint-500);
}

/* Selection color */
::selection {
    background: var(--mint-200);
    color: var(--midnight-900);
}
