/* Additional custom styles for Quig's Pizza Steaks & Hoagie's */

/* Smooth scroll offset for fixed navbar */
html {
    scroll-padding-top: 80px;
}

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

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

::-webkit-scrollbar-thumb {
    background: #27522e;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1c3721;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 3px solid #44a670;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background: #27522e;
    color: white;
}

/* Print styles */
@media print {
    .navbar,
    .mobile-menu,
    .scroll-indicator {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        height: auto;
        padding: 2rem 0;
    }
    
    .hero-bg,
    .hero-overlay {
        display: none;
    }
    
    .hero-content {
        position: static;
        text-align: left;
    }
    
    .hero-title {
        color: #1c3721;
        text-shadow: none;
    }
    
    .hero-subtitle {
        color: #666;
    }
    
    .btn-primary,
    .btn-secondary {
        background: #27522e;
        color: white;
        border: none;
    }
    
    .section {
        padding: 2rem 0;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .feature-card,
    .menu-card {
        border: 2px solid ButtonText;
    }
    
    .btn-primary,
    .btn-secondary {
        border: 2px solid ButtonText;
    }
}

/* Reduced motion support (already handled in HTML, but reinforcing) */
@media (prefers-reduced-motion: reduce) {
    .fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .scroll-indicator {
        animation: none;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large desktop adjustments */
@media (min-width: 1400px) {
    .hero-content {
        max-width: 1000px;
    }
    
    .features-grid,
    .menu-grid {
        max-width: 1400px;
    }
}
