/* ==========================================
   BHEEMA'S INDIAN CUISINE - Custom Styles
   ========================================== */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #1B4D3E;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2A7D64;
}

/* Font Styles */
.font-display {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Line Clamp */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Veg/Non-veg indicators */
.veg-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border: 2px solid #16A34A;
    background: transparent;
}

.veg-indicator::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #16A34A;
    border-radius: 50%;
}

.non-veg-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border: 2px solid #DC2626;
    background: transparent;
}

.non-veg-indicator::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #DC2626;
    border-radius: 50%;
}

/* Animation for mobile menu */
#mobile-menu {
    transition: all 0.3s ease;
}

/* Hero background adjustment for smaller screens */
@media (max-width: 768px) {
    .hero-section {
        min-height: 500px;
    }
}

/* Card hover effects */
.location-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Button focus states for accessibility */
button:focus,
a:focus {
    outline: 2px solid #E07B54;
    outline-offset: 2px;
}

/* Form input focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #1B4D3E;
    box-shadow: 0 0 0 3px rgba(27, 77, 62, 0.1);
}

/* Category pills scrollbar */
.category-pills::-webkit-scrollbar {
    height: 4px;
}

.category-pills::-webkit-scrollbar-thumb {
    background: #E07B54;
    border-radius: 2px;
}

/* Sticky header shadow on scroll */
.header-scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Loading skeleton animation */
@keyframes shimmer {
    0% {
        background-position: -468px 0;
    }
    100% {
        background-position: 468px 0;
    }
}

.skeleton {
    animation: shimmer 1.5s infinite linear;
    background: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
    background-size: 800px 104px;
}

/* Print styles */
@media print {
    header,
    footer,
    .no-print {
        display: none !important;
    }

    body {
        font-size: 12pt;
    }

    .container {
        max-width: 100% !important;
        padding: 0 !important;
    }
}

/* Accessibility - Reduced motion */
@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;
    }
}

/* High contrast mode adjustments */
@media (prefers-contrast: high) {
    .text-gray {
        color: #333 !important;
    }

    .border-gray-200 {
        border-color: #666 !important;
    }
}
