/* Custom CSS for Raptor Tap House */

:root {
    --plum-50: #faf5ff;
    --plum-100: #f3e8ff;
    --plum-200: #e9d5ff;
    --plum-300: #d8b4fe;
    --plum-400: #c084fc;
    --plum-500: #a855f7;
    --plum-600: #9333ea;
    --plum-700: #7e22ce;
    --plum-800: #6b21a8;
    --plum-900: #581c87;
    --plum-950: #3b0764;
    
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
}

/* Base styles */
html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--plum-950);
    color: var(--plum-50);
}

/* Custom animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes float-delay {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delay {
    animation: float-delay 5s ease-in-out infinite;
    animation-delay: 1s;
}

/* Navbar styles */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--amber-400);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--amber-400);
}

/* Mobile menu */
#mobile-menu {
    transition: all 0.3s ease;
}

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

.mobile-link:hover {
    color: var(--amber-400);
    background-color: rgba(251, 191, 36, 0.1);
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .animate-float,
    .animate-float-delay,
    .reveal {
        animation: none;
        transition: none;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}

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

::-webkit-scrollbar-track {
    background: var(--plum-950);
}

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

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

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--amber-400);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .animate-float,
    .animate-float-delay {
        animation: none;
    }
}
