/**
 * Naantandoori Custom Styles
 * Additional styles beyond Tailwind
 */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* ── Cart sidebar layout — only on menu-category with items (desktop ≥ 1024px) */
@media (min-width: 1024px) {
    body.show-cart-sidebar.cart-has-items {
        padding-right: 360px;
    }
    body.show-cart-sidebar.cart-has-items #header,
    body.show-cart-sidebar.cart-has-items #top-bar-row {
        right: 360px !important;
    }
}

/* Page Load Animation - Progressive Enhancement */
body {
    opacity: 1;
    transition: opacity 0.5s ease-in;
}

body.page-loading {
    opacity: 0;
}

body.page-loaded {
    opacity: 1;
}

/* Loading Spinner (Optional) */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1C1C1C;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.page-loader::after {
    content: '';
    width: 50px;
    height: 50px;
    border: 4px solid rgba(244, 196, 48, 0.3);
    border-top-color: #F4C430;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   PREMIUM ANIMATIONS - CINEMATIC & ELEGANT
   ============================================ */

/* Hero Video Section - Split Layout */
.hero-video-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-video-container {
    position: absolute;
    inset: 0;
    display: flex;
    z-index: 0;
}

.hero-video {
    width: 50%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 0;
}

.hero-video.loaded {
    opacity: 1;
}

.hero-video-overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(28, 28, 28, 0.4),
        rgba(28, 28, 28, 0.5)
    );
    z-index: 1;
    pointer-events: none;
}

.hero-right-bg {
    width: 50%;
    height: 100%;
    background: #2E2E2E; /* Warm Gray */
    z-index: 0;
}

/* Responsive adjustments - MOBILE FIRST */
@media (max-width: 1024px) {
    .hero-video-section {
        min-height: auto;
        height: auto;
        padding-bottom: 2rem;
    }
    
    .hero-video-container {
        flex-direction: column;
        position: relative;
        height: auto;
    }
    
    .hero-video {
        width: 100% !important;
        height: 50vh !important;
        min-height: 400px;
        position: relative;
    }
    
    .hero-video-overlay {
        width: 100% !important;
        height: 50vh !important;
        min-height: 400px;
        background: rgba(28, 28, 28, 0.5) !important;
    }
    
    .hero-right-bg {
        width: 100% !important;
        height: auto !important;
        min-height: 50vh;
        position: relative;
        padding: 2rem 0;
    }
    
    .hero-video-section .container {
        position: relative !important;
        z-index: 10;
        margin-top: 0;
        padding: 2rem 1rem;
    }
    
    .hero-video-section .container > div {
        margin: 0 auto !important;
        text-align: center !important;
        max-width: 100% !important;
        padding: 1.5rem !important;
    }
    
    /* Center hero content on mobile */
    .hero-video-section .max-w-2xl {
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* Adjust hero text sizes for mobile */
    .hero-headline {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
    }
    
    .hero-subheading {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }
    
    .hero-description {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }
    
    /* Full width buttons on mobile */
    .hero-cta {
        width: 100%;
    }
    
    .hero-cta a {
        width: 100%;
        justify-content: center;
    }
}

/* Hero Content Animations */
.hero-headline {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.hero-subheading {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.hero-description {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out 0.7s forwards;
}

.hero-cta {
    opacity: 0;
    transform: scale(0.9);
    animation: softZoomIn 0.8s ease-out 0.9s forwards;
}

/* Premium Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes softZoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gentlePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes slowRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   CHICKEN STYLE ANIMATIONS
   ============================================ */

/* Scroll Animation Classes - Enhanced */
.scroll-animate {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Animation Delays - More sophisticated */
.scroll-animate:nth-child(1) { transition-delay: 0.05s; }
.scroll-animate:nth-child(2) { transition-delay: 0.1s; }
.scroll-animate:nth-child(3) { transition-delay: 0.15s; }
.scroll-animate:nth-child(4) { transition-delay: 0.2s; }
.scroll-animate:nth-child(5) { transition-delay: 0.25s; }
.scroll-animate:nth-child(6) { transition-delay: 0.3s; }
.scroll-animate:nth-child(7) { transition-delay: 0.35s; }
.scroll-animate:nth-child(8) { transition-delay: 0.4s; }
.scroll-animate:nth-child(9) { transition-delay: 0.45s; }
.scroll-animate:nth-child(10) { transition-delay: 0.5s; }
.scroll-animate:nth-child(11) { transition-delay: 0.55s; }
.scroll-animate:nth-child(12) { transition-delay: 0.6s; }

/* Section Title Animations - Slide from sides */
.section-title {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.section-title.animated {
    opacity: 1;
    transform: translateX(0);
}

.section-title-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.section-title-right.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Image Reveal Animation */
.image-reveal {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.image-reveal.animated {
    opacity: 1;
    transform: scale(1);
}

/* Fade In Left */
.fade-in-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-left.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Fade In Right */
.fade-in-right {
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-right.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Scale In Animation */
.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scale-in.animated {
    opacity: 1;
    transform: scale(1);
}

/* Premium Button Styles with Micro-interactions */
.btn-primary {
    background-color: #E4572E; /* Tandoor Orange */
    color: #FFFFFF;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    background-color: #D14A25;
    box-shadow: 0 8px 25px rgba(228, 87, 46, 0.6);
    color: #FFFFFF;
    transform: translateY(-3px) scale(1.02);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-secondary {
    background-color: transparent;
    color: #F4C430; /* Saffron Yellow */
    border: 2px solid #F4C430;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #F4C430;
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-secondary:hover::before {
    left: 0;
}

.btn-secondary:hover {
    color: #1C1C1C; /* Charcoal Black */
    box-shadow: 0 8px 25px rgba(244, 196, 48, 0.5);
    transform: translateY(-3px) scale(1.02);
    border-color: #F4C430;
}

.btn-secondary:active {
    transform: translateY(-1px) scale(0.98);
}

/* Premium Food Card Animations - Chicken Style */
.food-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, box-shadow;
    position: relative;
    overflow: hidden;
}

.food-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(244, 196, 48, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 1;
    pointer-events: none;
}

.food-card:hover::before {
    left: 100%;
}

.food-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

.food-card img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.food-card:hover img {
    transform: scale(1.12);
}

/* Food Card Content Animation */
.food-card h3,
.food-card p {
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.food-card:hover h3 {
    color: #E4572E; /* Tandoor Orange on hover */
    transform: translateX(5px);
}

.food-card:hover .text-tandoor-orange {
    transform: scale(1.15);
    transition: transform 0.4s ease;
}

/* Food Card Image Container */
.food-card > a,
.food-card > div {
    position: relative;
    display: block;
    overflow: hidden;
}

/* Header Sticky Effect with Shrink */
header {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: padding, box-shadow;
}

/* Header hide/reveal on scroll */
#header {
    will-change: transform;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.fixed.top-0 {
    transition: transform 0.35s ease, opacity 0.35s ease;
    will-change: transform, opacity;
}

body.nav-hidden #header {
    transform: translateY(-120%);
}

body.nav-hidden .fixed.top-0 {
    transform: translateY(-120%);
    opacity: 0;
}

body.nav-hidden #header,
body.nav-hidden .fixed.top-0 {
    pointer-events: none;
}

header.shrink {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

header.shrink .logo img {
    height: 3rem;
    width: 3rem;
    transition: all 0.4s ease;
}

/* Smooth Anchor Scrolling */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Top Info Bar - Always Fixed */
.fixed.top-0 {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    z-index: 50;
}

/* Top Info Bar - Always Fixed at Top */
.fixed.top-0 {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    z-index: 50;
    height: 40px;
}

/* Main Header - Fixed below top bar */
header.fixed {
    position: fixed !important;
    top: 40px !important; /* Below top info bar (40px height) */
    left: 0;
    right: 0;
    z-index: 40;
}

/* Ensure content doesn't go under fixed headers */
body {
    padding-top: 0;
}

/* Content spacing for fixed headers */
.pt-20 {
    padding-top: 5rem; /* 80px for header + top bar */
}

@media (min-width: 768px) {
    .md\:pt-28 {
        padding-top: 7rem; /* 112px for larger screens */
    }
}

/* Ensure proper spacing */
body {
    padding-top: 0;
}

/* Top bar elements always visible */
.fixed.top-0 * {
    position: relative;
    z-index: 51;
}

/* Navigation Links Styling */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #F4C430, #E4572E); /* Saffron to Tandoor Orange */
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 70%;
}

/* Enhanced dropdown menu */
.group:hover .absolute {
    z-index: 100;
}

/* Language Button Active State */
.lang-btn.active {
    background-color: #F4C430; /* Saffron Yellow */
    color: #1C1C1C; /* Charcoal Black */
}

.lang-btn:not(.active) {
    background-color: transparent;
    color: #ffffff;
}

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

#mobile-menu.hidden {
    max-height: 0;
    overflow: hidden;
}

#mobile-menu:not(.hidden) {
    max-height: 500px;
}

/* Image Lazy Loading */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Smooth Transitions for Language Switch */
[data-en],
[data-fr] {
    transition: opacity 0.3s ease;
}

/* Thali Card Hover */
#thali .bg-naan-charcoal\/90 {
    transition: all 0.3s ease;
}

/* Contact Section Links */
a[href^="tel:"] {
    text-decoration: none;
}

a[href^="mailto:"] {
    text-decoration: none;
}

/* Scroll Offset for Fixed Header */
section {
    scroll-margin-top: 80px;
}

/* Custom Scrollbar (Optional) */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: #F4C430; /* Saffron Yellow */
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #E4572E; /* Tandoor Orange */
}

/* Loading State */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Focus States for Accessibility */
a:focus,
button:focus {
    outline: 2px solid #F4C430; /* Saffron Yellow */
    outline-offset: 2px;
}

/* Top Info Bar Styles */
.top-info-bar {
    font-size: 0.875rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.top-info-bar a {
    text-decoration: none;
}

/* Header Dropdown Menu */
.nav-dropdown {
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.group:hover .nav-dropdown {
    transform: translateY(0);
}

/* Mobile Menu Dropdown */
.mobile-menu-dropdown .mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu-dropdown.active .mobile-submenu {
    max-height: 500px;
}

.mobile-menu-toggle svg {
    transition: transform 0.3s ease;
}

.mobile-menu-dropdown.active .mobile-menu-toggle svg {
    transform: rotate(180deg);
}

/* Footer Styles */
footer a {
    text-decoration: none;
}

footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Header Position Adjustment */
header.fixed {
    top: 0;
}

/* Top Info Bar is above header on desktop */
@media (min-width: 768px) {
    header.fixed {
        top: 2rem;
    }
}

/* Top Info Bar Responsive */
@media (max-width: 767px) {
    .top-info-bar {
        display: none;
    }
}

/* Footer Responsive Adjustments */
@media (max-width: 1023px) {
    footer .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    footer .grid {
        grid-template-columns: 1fr;
    }
}

/* Language Switcher Active State */
.lang-switcher a.active {
    background-color: #F4C430; /* Saffron Yellow */
    color: #1C1C1C; /* Charcoal Black */
    font-weight: 700;
}

/* Feature Cards Animation - Enhanced */
.feature-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(30px);
    opacity: 0;
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(244, 196, 48, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.feature-card:hover::after {
    width: 300px;
    height: 300px;
}

.feature-card.animated,
.scroll-animate.animated.feature-card {
    transform: translateY(0);
    opacity: 1;
}

/* Ensure scroll-animate works with feature-card */
.scroll-animate.feature-card.animated {
    transform: translateY(0);
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.feature-card .icon-pulse {
    transition: transform 0.4s ease;
}

.feature-card:hover .icon-pulse {
    transform: scale(1.2) rotate(5deg);
}

/* Performance Optimizations */
.hero-video,
.food-card,
.btn-primary,
.btn-secondary {
    will-change: transform;
}

/* Reduce animations on low-end devices */
@media (prefers-reduced-motion: reduce) {
    .hero-video,
    .scroll-animate,
    .food-card,
    .btn-primary,
    .btn-secondary {
        animation: none !important;
        transition: none !important;
    }
    
    .scroll-animate {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Smooth Section Transitions */
section {
    position: relative;
    overflow: hidden;
}

/* Text Reveal Animation */
.text-reveal {
    overflow: hidden;
}

.text-reveal span {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.text-reveal.animated span {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .hero-video {
        /* Reduce video quality on mobile for performance */
        object-fit: cover;
    }
    
    .food-card:hover {
        transform: translateY(-8px) scale(1.01);
    }
    
    .hero-headline {
        font-size: 2.5rem;
    }
    
    .hero-subheading {
        font-size: 1.5rem;
    }
    
    /* Reduce animation intensity on mobile */
    .scroll-animate {
        transform: translateY(30px);
    }
    
    .fade-in-left,
    .fade-in-right {
        transform: translateX(0);
    }
}

/* Print Styles */
@media print {
    header,
    footer,
    .btn-primary,
    .btn-secondary,
    .hero-video {
        display: none;
    }
}

/* ============================================
   ELEGANT GALLERY STYLES
   ============================================ */

/* Masonry Gallery Layout */
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    grid-auto-rows: auto;
    gap: 1.5rem;
    padding: 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    cursor: pointer;
    background: #1C1C1C;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    aspect-ratio: 1 / 1;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(244, 196, 48, 0.3);
    z-index: 10;
}

.gallery-item-small {
    grid-row-end: span 1;
}

.gallery-item-medium {
    grid-row-end: span 1;
}

.gallery-item-large {
    grid-row-end: span 1;
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.15);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay-content {
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay-content {
    transform: translateY(0);
}

.gallery-icon {
    width: 3rem;
    height: 3rem;
    color: #F4C430;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-masonry {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 1rem;
    }
    
    .gallery-item-small {
        grid-row-end: span 1;
    }
    
    .gallery-item-medium {
        grid-row-end: span 1;
    }
    
    .gallery-item-large {
        grid-row-end: span 1;
    }
}

/* Gallery Filter Buttons */
.filter-btn {
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 196, 48, 0.3);
}

.filter-btn.active {
    box-shadow: 0 4px 15px rgba(244, 196, 48, 0.5);
}

/* Gallery Item Fade In Animation */
.gallery-item.fade-in {
    animation: fadeInGallery 0.5s ease-in;
}

@keyframes fadeInGallery {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Enhanced Modal Styles */
.modal-container {
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-container button {
    transition: all 0.3s ease;
}

.modal-container button:hover {
    transform: scale(1.1);
    background-color: rgba(244, 196, 48, 0.3) !important;
}

/* ============================================
   ELEGANT IMAGE SHOWCASE SECTIONS
   ============================================ */

.image-showcase {
    position: relative;
    overflow: hidden;
}

.image-showcase-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(6, 200px);
    gap: 1rem;
}

.showcase-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase-item:hover img {
    transform: scale(1.1);
}

.showcase-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.4) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.showcase-item:hover::after {
    opacity: 1;
}

/* Large showcase items */
.showcase-item-large {
    grid-column: span 6;
    grid-row: span 3;
}

/* Medium showcase items */
.showcase-item-medium {
    grid-column: span 4;
    grid-row: span 2;
}

/* Small showcase items */
.showcase-item-small {
    grid-column: span 3;
    grid-row: span 2;
}

/* Tall showcase items */
.showcase-item-tall {
    grid-column: span 3;
    grid-row: span 3;
}

@media (max-width: 1024px) {
    .image-showcase-grid {
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: repeat(8, 150px);
    }
    
    .showcase-item-large {
        grid-column: span 6;
        grid-row: span 4;
    }
    
    .showcase-item-medium {
        grid-column: span 3;
        grid-row: span 2;
    }
    
    .showcase-item-small {
        grid-column: span 2;
        grid-row: span 2;
    }
    
    .showcase-item-tall {
        grid-column: span 2;
        grid-row: span 3;
    }
}

@media (max-width: 768px) {
    .image-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(12, 120px);
    }
    
    .showcase-item-large,
    .showcase-item-medium,
    .showcase-item-small,
    .showcase-item-tall {
        grid-column: span 2;
        grid-row: span 2;
    }
}

/* Parallax Image Effect */
.parallax-image {
    position: relative;
    overflow: hidden;
    height: 500px;
}

.parallax-image img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    transform: translateY(0);
    transition: transform 0.3s ease-out;
}

@media (prefers-reduced-motion: no-preference) {
    .parallax-image img {
        will-change: transform;
    }
}

/* Image Reveal Animation */
.image-reveal-container {
    position: relative;
    overflow: hidden;
}

.image-reveal-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(244, 196, 48, 0.2), transparent);
    z-index: 2;
    transition: left 0.8s ease;
}

.image-reveal-container:hover::before {
    left: 100%;
}

/* Elegant Image Border */
.elegant-image-border {
    position: relative;
    padding: 0.5rem;
    background: linear-gradient(135deg, #F4C430, #E4572E);
    border-radius: 1rem;
}

.elegant-image-border img {
    border-radius: 0.5rem;
    display: block;
}

/* ============================================
   CHEF PAGE SPECIFIC STYLES
   ============================================ */

/* Chef Profile Card Enhancement */
.chef-profile-card {
    position: relative;
    overflow: hidden;
}

.chef-profile-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(244, 196, 48, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Process Step Number Animation */
.process-step-number {
    position: relative;
    display: inline-block;
}

.process-step-number::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 2px solid rgba(244, 196, 48, 0.3);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.5;
    }
}

/* Value Card Hover Effect */
.value-card {
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(244, 196, 48, 0.2), transparent);
    transition: left 0.6s ease;
}

.value-card:hover::before {
    left: 100%;
}

/* Kitchen Feature Card Enhancement */
.kitchen-feature-card {
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.kitchen-feature-card:hover {
    transform: translateY(-10px);
}

.kitchen-feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #F4C430, #E4572E);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.kitchen-feature-card:hover::after {
    transform: scaleX(1);
}

/* Hero Background Overlay Animation */
.chef-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(28, 28, 28, 0.8) 0%,
        rgba(46, 46, 46, 0.6) 50%,
        rgba(28, 28, 28, 0.8) 100%
    );
    animation: gradientShift 10s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* Quote Styling */
blockquote {
    position: relative;
    padding-left: 2rem;
}

blockquote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 4rem;
    color: #F4C430;
    opacity: 0.3;
    font-family: serif;
}

/* Team Image Grid Hover */
.team-image-grid img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-image-grid:hover img {
    transform: scale(1.05);
}

/* CTA Section Gradient Animation */
.cta-gradient-section {
    position: relative;
    overflow: hidden;
}

.cta-gradient-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        rgba(244, 196, 48, 0.1) 0%,
        rgba(228, 87, 46, 0.1) 50%,
        rgba(244, 196, 48, 0.1) 100%
    );
    animation: gradientMove 15s ease infinite;
}

@keyframes gradientMove {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ============================================
   TIMELINE STYLES
   ============================================ */

.timeline-item {
    position: relative;
    transition: all 0.4s ease;
}

.timeline-item:hover {
    transform: translateX(10px);
}

.timeline-item:nth-child(even):hover {
    transform: translateX(-10px);
}

/* Timeline responsive adjustments */
@media (max-width: 768px) {
    .timeline-line {
        left: 2rem !important;
    }
    
    .timeline-dot {
        left: 2rem !important;
        transform: translateX(-50%) !important;
    }
    
    .timeline-content {
        padding-left: 4rem !important;
        text-align: left !important;
    }
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

/* Contact Form Input Focus Effects */
#contactForm input:focus,
#contactForm textarea:focus,
#contactForm select:focus {
    background-color: rgba(255, 255, 255, 0.15) !important;
}

/* Contact Info Cards Hover Animation */
.contact-card {
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Opening Hours Table Styling */
.opening-hours-row {
    transition: all 0.2s ease;
}

.opening-hours-row:hover {
    background-color: rgba(244, 196, 48, 0.1);
    padding-left: 1rem;
}

/* Quick Action Buttons */
.quick-action-btn {
    position: relative;
    overflow: hidden;
}

.quick-action-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.quick-action-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* FAQ Accordion Effect (if needed in future) */
.faq-item {
    transition: all 0.3s ease;
}

.faq-item:hover {
    background-color: rgba(244, 196, 48, 0.1);
    border-left: 4px solid #F4C430;
    padding-left: 1.5rem;
}

/* Map Container Styling */
.map-container {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
}

.map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(244, 196, 48, 0.1) 0%, rgba(228, 87, 46, 0.1) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Contact Form Success Message Animation */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-message {
    animation: slideInDown 0.5s ease-out;
}

/* WhatsApp Button Special Styling */
.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

/* Contact Page Responsive Adjustments */
@media (max-width: 768px) {
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .contact-info-card {
        margin-bottom: 1rem;
    }
    
    .quick-actions-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */

/* Reset all inherited styles for WhatsApp button */
.whatsapp-float,
.whatsapp-float *,
.whatsapp-float *::before,
.whatsapp-float *::after {
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
    font-family: inherit !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
}

.whatsapp-float {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 9999 !important;
    animation: floatUp 0.6s ease-out;
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    max-width: 60px !important;
    min-height: 60px !important;
    max-height: 60px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    transform-origin: center center !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

@keyframes floatUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.whatsapp-button {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    max-width: 60px !important;
    min-height: 60px !important;
    max-height: 60px !important;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    text-decoration: none !important;
    overflow: hidden !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
    font-size: 0 !important;
    line-height: 0 !important;
    font-weight: normal !important;
    text-align: center !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
    transform: scale(1) !important;
    transform-origin: center center !important;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
}

.whatsapp-button:active {
    transform: scale(0.95);
}

.whatsapp-icon,
.whatsapp-button svg {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    color: white !important;
    fill: white !important;
    stroke: none !important;
    z-index: 2 !important;
    position: relative !important;
    flex-shrink: 0 !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
    box-sizing: border-box !important;
    transform: none !important;
    transform-origin: center center !important;
    overflow: visible !important;
    vertical-align: middle !important;
}

/* Pulse Animation */
.whatsapp-pulse {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    max-width: 60px !important;
    min-height: 60px !important;
    max-height: 60px !important;
    border-radius: 50% !important;
    background: rgba(37, 211, 102, 0.6) !important;
    animation: pulse 2s infinite !important;
    z-index: 1 !important;
    pointer-events: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-sizing: border-box !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1) !important;
        opacity: 1;
        width: 60px !important;
        height: 60px !important;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.3) !important;
        opacity: 0.5;
        width: 60px !important;
        height: 60px !important;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5) !important;
        opacity: 0;
        width: 60px !important;
        height: 60px !important;
    }
}

/* Tooltip */
.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #1C1C1C;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #1C1C1C;
}

.whatsapp-button:hover .whatsapp-tooltip {
    opacity: 1;
    right: 75px;
}

/* Responsive WhatsApp Button */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 15px !important;
        right: 15px !important;
        width: 56px !important;
        height: 56px !important;
        min-width: 56px !important;
        max-width: 56px !important;
        min-height: 56px !important;
        max-height: 56px !important;
    }
    
    .whatsapp-button {
        width: 56px !important;
        height: 56px !important;
        min-width: 56px !important;
        max-width: 56px !important;
        min-height: 56px !important;
        max-height: 56px !important;
    }
    
    .whatsapp-icon,
    .whatsapp-button svg {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        max-width: 28px !important;
        min-height: 28px !important;
        max-height: 28px !important;
    }
    
    .whatsapp-pulse {
        width: 56px !important;
        height: 56px !important;
        min-width: 56px !important;
        max-width: 56px !important;
        min-height: 56px !important;
        max-height: 56px !important;
    }
    
    .whatsapp-tooltip {
        display: none !important; /* Hide tooltip on mobile for cleaner look */
    }
}

/* WhatsApp Button Animation on Page Load */
@keyframes whatsappBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.whatsapp-float.loaded {
    animation: floatUp 0.6s ease-out, whatsappBounce 2s ease-in-out 0.6s infinite;
}

/* Prevent WhatsApp button from overlapping with other fixed elements */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 80px; /* Above mobile menu if needed */
    }
}

/* Ensure WhatsApp button and all children are properly sized */
.whatsapp-float * {
    box-sizing: border-box;
}

.whatsapp-button svg,
.whatsapp-button .whatsapp-icon {
    display: block !important;
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    flex-shrink: 0;
    object-fit: contain;
}

/* Override any potential conflicting styles */
.whatsapp-float,
.whatsapp-float a,
.whatsapp-float .whatsapp-button {
    transform-origin: center center;
}

@media (max-width: 768px) {
    .whatsapp-button svg,
    .whatsapp-button .whatsapp-icon {
        width: 28px !important;
        height: 28px !important;
        max-width: 28px !important;
        max-height: 28px !important;
        min-width: 28px !important;
        min-height: 28px !important;
    }
}

/* ============================================
   MEGA MENU STYLES
   ============================================ */

/* Mega Menu Container */
.mega-menu-wrapper {
    position: relative;
}

/* Mega Menu Dropdown - Enhanced visibility and positioning */
.mega-menu-dropdown {
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(0) !important;
    margin-top: 0.25rem !important;
    z-index: 9999 !important;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease !important;
}

/* Show mega menu on hover */
.mega-menu-wrapper:hover .mega-menu-dropdown,
.group:hover .mega-menu-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(-50%) translateY(0) !important;
}

/* Ensure mega menu stays open when hovering over it */
.mega-menu-dropdown:hover {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Mega Menu Content */
.mega-menu-dropdown .grid {
    pointer-events: auto;
}

/* Mega Menu Links */
.mega-menu-dropdown a {
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Mega Menu Responsive */
@media (max-width: 1200px) {
    .mega-menu-dropdown,
    .group:hover .absolute[class*="w-\[1000px\]"] {
        width: 90vw !important;
        max-width: 900px !important;
    }
    
    .mega-menu-dropdown .grid[class*="grid-cols-5"],
    .group:hover .grid[class*="grid-cols-5"] {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

@media (max-width: 1024px) {
    .mega-menu-dropdown,
    .group:hover .absolute[class*="w-\[1000px\]"] {
        width: 95vw !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin-left: 0;
    }
    
    .mega-menu-dropdown .grid[class*="grid-cols-5"],
    .group:hover .grid[class*="grid-cols-5"] {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .mega-menu-dropdown,
    .group:hover .absolute[class*="w-\[1000px\]"] {
        width: calc(100vw - 2rem) !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin-left: 0;
    }
    
    .mega-menu-dropdown .grid[class*="grid-cols-5"],
    .group:hover .grid[class*="grid-cols-5"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Mega Menu Image Hover Effects */
.group\/menu-item img {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.group\/menu-item:hover img {
    transform: scale(1.15);
}

/* Mega Menu Animation */
.mega-menu-wrapper:hover .mega-menu-dropdown,
.group:hover .mega-menu-dropdown {
    animation: fadeInDown 0.3s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px) translateX(-50%);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateX(-50%);
    }
}

/* Prevent mega menu from being hidden by other elements */
header {
    position: relative;
    z-index: 1000;
}

.mega-menu-dropdown {
    z-index: 9999 !important;
}

/* Ensure smooth hover transition */
.mega-menu-wrapper::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

/* Fix for group hover not working */
.group:hover > .mega-menu-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* ============================================
   COMPREHENSIVE MOBILE RESPONSIVENESS
   ============================================ */

/* Mobile Typography */
@media (max-width: 768px) {
    /* Base font sizes */
    html {
        font-size: 16px;
    }
    
    body {
        overflow-x: hidden;
        width: 100%;
    }
    
    /* Headings */
    h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }
    
    h2 {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
    }
    
    h3 {
        font-size: 1.5rem !important;
        line-height: 1.4 !important;
    }
    
    h4 {
        font-size: 1.25rem !important;
    }
    
    /* Sections padding */
    section {
        padding: 3rem 1rem !important;
    }
    
    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    /* Grid adjustments */
    .grid {
        gap: 1rem !important;
    }
    
    /* Cards */
    .food-card,
    .feature-card {
        margin-bottom: 1rem;
    }
    
    /* Buttons */
    .btn-primary,
    .elegant-menu-btn,
    button,
    a.btn {
        padding: 0.875rem 1.5rem !important;
        font-size: 1rem !important;
        width: 100%;
        max-width: 100%;
    }
    
    /* Images */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Prevent horizontal scroll */
    * {
        max-width: 100vw;
    }
    
    /* Fix overflow issues */
    .overflow-hidden {
        overflow: hidden !important;
    }
}

/* Mobile Header Adjustments */
@media (max-width: 768px) {
    #header {
        top: 0 !important;
        padding: 0.5rem 0 !important;
    }
    
    #header nav {
        padding: 0.75rem 1rem !important;
    }
    
    #header .logo img,
    #header img[alt*="Logo"] {
        height: 60px !important;
        width: 60px !important;
    }
    
    /* Hide desktop navigation on mobile */
    .hidden.lg\\:flex {
        display: none !important;
    }
}

/* Mobile Hero Section */
@media (max-width: 768px) {
    .hero-video-section {
        min-height: auto !important;
        height: auto !important;
    }
    
    .hero-video-section .container {
        padding-top: 1rem !important;
        padding-bottom: 2rem !important;
    }
}

/* Mobile Featured Dishes */
@media (max-width: 768px) {
    .grid.grid-cols-1.md\\:grid-cols-2.lg\\:grid-cols-4 {
        grid-template-columns: 1fr !important;
    }
    
    .food-card {
        max-width: 100%;
    }
    
    .food-card img {
        height: 200px !important;
        object-fit: cover;
    }
}

/* Mobile Special Offers */
@media (max-width: 768px) {
    .grid.grid-cols-1.md\\:grid-cols-3 {
        grid-template-columns: 1fr !important;
    }
}

/* Mobile Why Choose Us */
@media (max-width: 768px) {
    .grid.grid-cols-1.md\\:grid-cols-2.lg\\:grid-cols-3 {
        grid-template-columns: 1fr !important;
    }
}

/* Mobile Testimonials */
@media (max-width: 768px) {
    .grid.grid-cols-1.md\\:grid-cols-3 {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

/* Mobile Footer */
@media (max-width: 768px) {
    footer .grid {
        grid-template-columns: 1fr !important;
        text-align: center;
    }
    
    footer .flex {
        justify-content: center !important;
    }
}

/* Touch-friendly tap targets */
@media (max-width: 768px) {
    a, button, input, select, textarea {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Increase tap target size for links */
    nav a,
    .nav-link {
        padding: 1rem !important;
        display: block;
    }
}

/* Mobile Menu Improvements */
@media (max-width: 768px) {
    #mobile-menu {
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    #mobile-menu a {
        font-size: 1.125rem !important;
        padding: 1rem 0 !important;
    }
}

/* Prevent zoom on input focus (iOS) */
@media (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    textarea,
    select {
        font-size: 16px !important;
    }
}

/* Mobile spacing fixes */
@media (max-width: 768px) {
    .py-20 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .py-16 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    
    .mb-12 {
        margin-bottom: 2rem !important;
    }
    
    .mb-8 {
        margin-bottom: 1.5rem !important;
    }
}

/* Fix viewport height issues on mobile */
@media (max-width: 768px) {
    .min-h-screen {
        min-height: 100vh;
        min-height: -webkit-fill-available;
    }
    
    html {
        height: -webkit-fill-available;
    }
}

/* Smooth scroll behavior on mobile */
@media (max-width: 768px) {
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
}

/* Mobile animations - reduce motion if preferred */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
