/* Custom additional styles for Jess' Quick Lunch #2 */

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

/* Selection color */
::selection {
    background: rgba(93, 232, 181, 0.3);
    color: #f0f4ff;
}

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

::-webkit-scrollbar-track {
    background: #0a0e27;
}

::-webkit-scrollbar-thumb {
    background: #162050;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5de8b5;
}

/* Mobile overlay */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Geometric decorative elements */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-style: solid;
}

.geo-square {
    border: 3px solid rgba(93, 232, 181, 0.2);
    transform: rotate(45deg);
}

/* Pulse animation for CTA button */
@keyframes pulse-mint {
    0%, 100% {
        box-shadow: 0 10px 40px rgba(61, 216, 154, 0.3);
    }
    50% {
        box-shadow: 0 10px 60px rgba(61, 216, 154, 0.5);
    }
}

.btn-primary:hover {
    animation: pulse-mint 1.5s ease-in-out infinite;
}

/* Card hover glow effect */
.feature-card:hover,
.menu-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(93, 232, 181, 0.1);
}

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

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

/* High contrast mode support */
@media (prefers-contrast: high) {
    .feature-card,
    .menu-card,
    .info-card {
        border-width: 2px;
    }
    
    .hero-title .highlight {
        -webkit-text-fill-color: #5de8b5;
    }
}

/* Print styles */
@media print {
    .navbar,
    .hero-shape,
    .btn-primary,
    .btn-secondary {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    section {
        padding: 2rem 0;
    }
}
