/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    user-select: none;
}

:root {
    --saffron: #FF9933;
    --white: #FFFFFF;
    --green: #138808;
    --navy: #138808;
    --dark: #121212;
    --light-dark: #1e1e1e;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    max-width: 100vw;
}

a {
    user-select: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header Styles with Indian flag wave animation */
header {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.header-content {
    text-align: center;
    z-index: 2;
    padding: 0 20px;
    width: 100%;
    position: relative;
    margin-top: -200px; /* Adjusted to overlap with the flag wave */
}

.logo-container {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid var(--dark);
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.3s;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Title text styles */
h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    color: var(--saffron);
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.5s;
    font-weight: 700;
    letter-spacing: 1px;
    /* Reduced text-shadow to make it less blurry */
    text-shadow: -5px 0px 20px rgba(0, 0, 0, 0.5);
}

/* Indian Chaska Restaurant text */
.tagline {
    font-size: 1.3rem;
    margin-bottom: 70px; /* Reduced to bring content closer to chakra */
    color: var(--green);
    max-width: 600px;
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.7s;
    margin-left: auto;
    margin-right: auto;
    font-weight: 600;
    letter-spacing: 0.5px;
    /* Reduced text-shadow to make it less blurry */
    text-shadow: -5px 0px 20px rgba(0, 0, 0, 0.5);
}

/* Create space for chakra */
.chakra-space {
    height: 120px; /* Height for chakra to fit */
    width: 100%;
    position: relative;
    margin-bottom: 20px;
}

.address {
    font-size: 1rem;
    margin-bottom: -20px; /* Increased gap */
    color: #000;
    transform: translateY(30px);
    opacity: 0;
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
    animation: fadeInUp 1s ease forwards 0.9s;
}

.contact {
    font-size: 1rem;
    margin-top: 5px; /* Position under location */
    color: #000;
    transform: translateY(30px);
    opacity: 0;
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
    animation: fadeInUp 1s ease forwards 1.1s;
}

.contact a {
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
}

/* Indian Flag Wave Animation - Fixed Position */
.flag-wave {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.flag-stripe {
    position: absolute;
    width: 300%;
    height: 33.33%;
    left: -100%;
    transform: skewY(-8deg);
}

.flag-stripe:nth-child(1) {
    top: 0;
    background-color: rgba(255, 153, 51, 0.7);
    animation: waveAnimation 20s infinite linear;
}

.flag-stripe:nth-child(2) {
    top: 33.33%;
    background-color: rgba(255, 255, 255, 0.7);
    animation: waveAnimation 15s infinite linear reverse;
}

.flag-stripe:nth-child(3) {
    top: 66.66%;
    background-color: rgba(19, 136, 8, 0.7);
    animation: waveAnimation 18s infinite linear;
}

@keyframes waveAnimation {
    0% {
        transform: skewY(-8deg) translateX(0);
    }
    50% {
        transform: skewY(-5deg) translateX(5%);
    }
    100% {
        transform: skewY(-8deg) translateX(0);
    }
}

/* Chakra symbol in the center */
.chakra {
    position: fixed;
    width: 100px;
    height: 100px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.1;
    z-index: -1;
}

.chakra::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--navy);
    animation: rotate 20s linear infinite;
}

.chakra::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, transparent 30%, transparent 31%, var(--navy) 31%, var(--navy) 33%, transparent 33%),
                      repeating-conic-gradient(transparent 0deg, var(--navy) 1deg, var(--navy) 15deg, transparent 15deg, transparent 30deg);
    border-radius: 50%;
    opacity: 100%;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Saffron colored scroll arrow with no background */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 10;
    opacity: 1;
}

.scroll-indicator i {
    font-size: 2rem;
    color: var(--saffron);
    /* Remove the background */
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
        opacity: 1;
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
        opacity: 1;
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
        opacity: 1;
    }
}

.scroll-top-btn {
    position: fixed;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--saffron), var(--white), var(--green));
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
    animation: bounce 2s infinite;
}

.scroll-top-btn.visible {
    bottom: 20px;
    opacity: 1;
}

.scroll-top-btn:hover {
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    animation: none;
}

.scroll-top-btn i {
    font-size: 1.2rem;
    color: var(--navy);
}

@media (max-width: 768px) {
    .scroll-top-btn {
        width: 40px;
        height: 40px;
    }
    
    .scroll-top-btn.visible {
        bottom: 15px;
    }
}

/* Menu Section Styles */
.menu-section {
    padding: 100px 0;
    position: relative;
    width: 100%;
    background-color: rgba(255, 243, 176, 0.9); /* Another soft yellow option */
    z-index: 2;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    display: block;
    margin: 0 auto 50px auto;
    width: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    color: var(--saffron);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, var(--saffron), var(--green));
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 999;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: linear-gradient(135deg, rgba(255,153,51,0.95), rgba(255,255,255,0.95), rgba(19,136,8,0.95));
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
    border: 2px solid white;
}

.nav-logo span {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.5);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: #000;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.5);
    position: relative;
    background: rgba(255, 255, 255, 0.7);
    padding: 5px 15px;
    border-radius: 20px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--green);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #000;
    font-size: 1.5rem;
    cursor: pointer;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.7);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
}

/* Search bar styles */
.search-container {
    max-width: 600px;
    margin: 0 auto 30px;
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border-radius: 30px;
    border: 1px solid var(--green);
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--saffron);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--saffron);
    font-size: 18px;
}

/* Special items slider */
.specials-slider {
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    padding: 0 20px;
    touch-action: pan-y;
    width: 100%;
    max-width: 100vw;
}

.specials-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--saffron);
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.slides-container {
    display: flex;
    overflow: hidden;
    transition: transform 0.5s ease;
    width: 100%;
    will-change: transform;
    position: relative;
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
}

.slides-container::before,
.slides-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.slides-container::before {
    left: 0;
    background: linear-gradient(to right, rgba(255,255,255,0.7), transparent);
}

.slides-container::after {
    right: 0;
    background: linear-gradient(to left, rgba(255,255,255,0.7), transparent);
}

.slide {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    cursor: pointer;
    box-sizing: border-box;
    position: relative;
}

.slide-content {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 500px;
    height: 350px;
    position: relative;
    margin: 0 auto;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    pointer-events: none;
}

.slide-name {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    font-size: 1.2rem;
    text-align: center;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.slider-dot.active {
    background-color: var(--saffron);
    transform: scale(1.2);
}

/* Category buttons */
.category-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    margin-bottom: 40px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    padding-top: 20px;
    margin-top: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
}

.category-buttons::-webkit-scrollbar {
    display: none;
}

.category-btn {
    padding: 12px 25px;
    background-color: rgba(255, 255, 255, 0.8);
    border: 2px solid var(--saffron);
    border-radius: 30px;
    color: #333;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    flex-shrink: 0;
}

.category-btn:hover, .category-btn.active {
    background-color: var(--saffron);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Indian Flag Colors Animated Border for Special Category Button */
.category-btn.special {
    background: transparent;
    color: var(--saffron);
    position: relative;
    border: 2px solid transparent;
    background-clip: padding-box;
    z-index: 1;
}

/* Animated border effect using pseudo-element */
.category-btn.special::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(90deg, 
        var(--saffron), var(--white), var(--green));
    background-size: 600% 600%;
    border-radius: 32px; /* Slightly larger than the button */
    z-index: -1;
    animation: animatedBorder 6s linear infinite;
}

@keyframes animatedBorder {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* White background inside the button for non-active state */
.category-btn.special::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: white;
    border-radius: 28px; /* Slightly smaller than the border */
    z-index: -1;
    transition: background 0.3s ease;
}

.category-btn.special:hover::before {
    animation: animatedBorder 3s linear infinite;
}

/* Active state - keep animated border but with animated background */
.category-btn.special.active {
    color: #333;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 2px solid transparent;
}

.category-btn.special.active::before {
    animation: animatedBorder 6s linear infinite; /* Faster animation for active state */
}

.category-btn.special.active::after {
    background: linear-gradient(135deg, var(--saffron), var(--white), var(--green));
    background-size: 400% 400%;
    animation: goldGradient 10s ease infinite;
    opacity: 0.8; /* Make it slightly transparent so the border is visible */
}

@keyframes goldGradient {
    0% { background-position: 0% 50% }
    50% { background-position: 100% 50% }
    100% { background-position: 0% 50% }
}

.category-btn.special:hover:not(.active) {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Menu Items */
.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
}

.menu-item {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: translateY(0);
    will-change: transform, opacity;
    cursor: pointer;
    width: 100%;
    border: 1px solid rgba(19, 136, 8, 0.1);
}

.menu-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.item-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    pointer-events: none;
}

.menu-item:hover .item-image {
    transform: scale(1.1);
}

.item-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
}

.item-name {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--saffron);
}

.item-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    flex-grow: 1;
}

.item-price {
    font-size: 1.1rem;
    color: var(--green);
    font-weight: bold;
}

.price-tag {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.price-label {
    font-size: 0.9rem;
    color: #666;
}

/* Add to cart button */
.add-to-cart-btn {
    background: linear-gradient(135deg, var(--saffron), var(--green));
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    margin-left: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.add-to-cart-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Rating container */
.rating-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.rating-link {
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative;
}

.rating-link:hover {
    transform: translateY(-5px);
}

.rating-link:hover .rating-container {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.review-prompt {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--saffron), var(--green));
    padding: 8px 15px;
    border-radius: 20px;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    animation: float 2s ease-in-out infinite, pulse 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-8px);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    }
}

.stars {
    display: flex;
    gap: 5px;
}

.stars i {
    color: #FFD700;
    font-size: 24px;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}

.stars i.partial {
    position: relative;
    background: linear-gradient(90deg, #FFD700 40%, #ccc 40%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.rating-text {
    color: #000;
    font-size: 18px;
    font-weight: bold;
}

/* Star animation with wave effect */
@keyframes starPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.stars i:nth-child(1) {
    animation: starPulse 2s infinite;
}

.stars i:nth-child(2) {
    animation: starPulse 2s infinite 0.4s;
}

.stars i:nth-child(3) {
    animation: starPulse 2s infinite 0.8s;
}

.stars i:nth-child(4) {
    animation: starPulse 2s infinite 1.2s;
}

.stars i:nth-child(5) {
    animation: starPulse 2s infinite 1.6s;
}

/* Item modal styles */
.item-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.item-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.item-modal {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transform: translateY(50px);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
}

.item-modal-overlay.active .item-modal {
    transform: translateY(0);
    opacity: 1;
}

.modal-image-container {
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.modal-content {
    padding: 25px;
}

.modal-name {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--saffron);
}

.modal-description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
}

.modal-price-container {
    margin-bottom: 20px;
}

.modal-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.modal-price-label {
    font-size: 1rem;
    color: #666;
}

.modal-price {
    font-size: 1.3rem;
    color: var(--green);
    font-weight: bold;
}

.modal-add-btn {
    background: linear-gradient(135deg, var(--saffron), var(--green));
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    margin-left: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.modal-add-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.size-quantity-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: #333;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.quantity-btn:hover {
    background-color: var(--saffron);
    color: white;
}

.quantity-display {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    width: 30px;
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.modal-close:hover {
    background-color: #e74c3c;
    color: white;
}

/* Current order panel */
.order-panel {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
    z-index: 1002;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    border-left: 3px solid var(--green);
}

.order-panel.active {
    right: 0;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, var(--saffron), var(--white), var(--green));
}

.order-title {
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    color: var(--saffron);
}

.order-count {
    background-color: white;
    color: var(--green);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
}

.order-toggle {
    background: none;
    border: none;
    color: var(--saffron);
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.order-toggle:hover {
    transform: rotate(90deg);
}

.order-items {
    flex: 1;
    overflow-y: auto;
    padding: 0 20px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.order-item-details {
    flex: 1;
}

.order-item-name {
    font-size: 1rem;
    color: #333;
    margin-bottom: 5px;
    font-weight: 500;
}

.order-item-price {
    font-size: 0.9rem;
    color: var(--green);
    font-weight: bold;
}

.order-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-quantity-btn {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: #333;
    border: none;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-quantity-btn:hover {
    background-color: var(--saffron);
    color: white;
}

.order-quantity-display {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    width: 25px;
    text-align: center;
}

.order-item-remove {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.order-item-remove:hover {
    transform: scale(1.2);
}

.order-footer {
    display: flex;
    flex-direction: column;
    padding: 15px 20px;
    border-top: 1px solid #eee;
    background-color: #f9f9f9;
}

.order-total {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.order-total-amount {
    font-weight: bold;
    color: var(--green);
}

.clear-order-btn {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.clear-order-btn:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Order toggle button */
.order-toggle-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--saffron), var(--green));
    color: white;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.order-badge {
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #e74c3c;
    color: white;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(30%, -30%);
    opacity: 0;
    transition: opacity 0.3s ease;
    font-weight: bold;
}

.order-badge.active {
    opacity: 1;
}

/* Gallery Section Styles */
.gallery-section {
    padding: 100px 0;
    background-color: rgba(255, 243, 176, 0.85); /* Another soft yellow option */
    width: 100%;
    position: relative;
    z-index: 2;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 300px;
    opacity: 0;
    transform: translateY(50px);
    will-change: transform, opacity;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.gallery-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    pointer-events: none;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #fff;
}

/* Contact Section Styles */
.contact-section {
    padding: 100px 0;
    background-color: rgba(255, 243, 176, 0.9); /* Another soft yellow option */
    position: relative;
    width: 100%;
    z-index: 2;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    width: 100%;
}

.contact-info {
    color: #333;
    opacity: 0;
    transform: translateY(50px);
    will-change: transform, opacity;
    transition: opacity 1s ease, transform 1s ease;
}

.contact-info.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--saffron);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-detail {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-detail i {
    font-size: 1.5rem;
    color: var(--green);
    margin-right: 15px;
    width: 30px;
    text-align: center;
}

.contact-detail p {
    color: #333;
}

.contact-detail a {
    color: var(--navy);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-detail a:hover {
    color: var(--saffron);
}

.map-container {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(50px);
    will-change: transform, opacity;
    transition: opacity 1s ease, transform 1s ease;
    border: 3px solid var(--saffron);
}

.map-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, var(--saffron), var(--white), var(--green));
    padding: 30px 0;
    text-align: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

.copyright {
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--saffron);
}

/* Special items styling */
.menu-item.special {
    border: 3px solid;
    border-image: linear-gradient(135deg, var(--saffron), var(--green), var(--saffron), var(--green)) 1;
    animation: borderRotate 4s linear infinite;
}

@keyframes borderRotate {
    0% {
        border-image: linear-gradient(0deg, var(--saffron), var(--green), var(--saffron), var(--green)) 1;
    }
    25% {
        border-image: linear-gradient(90deg, var(--saffron), var(--green), var(--saffron), var(--green)) 1;
    }
    50% {
        border-image: linear-gradient(180deg, var(--saffron), var(--green), var(--saffron), var(--green)) 1;
    }
    75% {
        border-image: linear-gradient(270deg, var(--saffron), var(--green), var(--saffron), var(--green)) 1;
    }
    100% {
        border-image: linear-gradient(360deg, var(--saffron), var(--green), var(--saffron), var(--green)) 1;
    }
}

/* Special badge */
.special-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, var(--saffron), var(--white), var(--green));
    color: #000;
    padding: 5px 10px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 0.9rem;
    z-index: 2;
    animation: specialBadgePulse 2s ease-in-out infinite;
}

/* Special badge pulse animation */
@keyframes specialBadgePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Responsive Styles */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.1rem;
        margin-bottom: 20px; /* Less space on mobile */
    }
    
    .chakra-space {
        height: 100px; /* Smaller space on mobile */
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .menu-items, .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-container {
        width: 100px;
        height: 100px;
        margin-top: 220px;
    }
    
    .item-image-container {
        height: 180px;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: linear-gradient(135deg, rgba(255,153,51,0.95), rgba(255,255,255,0.95), rgba(19,136,8,0.95));
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.5s ease;
        z-index: 1001;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 20px 0;
    }
    
    /* Position mobile menu button to the right */
    .mobile-menu-btn {
        display: flex;
        z-index: 1002;
        position: absolute;
        right: 80px;
        top: 30px;
    }

    /* Adjust order panel for mobile */
    .order-panel {
        width: 280px;
        right: -280px;
    }
    
    /* Position the order toggle button for mobile */
    .order-toggle-btn {
        right: 15px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        height: 300px;
        margin-top: 30px;
    }
    
    .slide-content {
        height: 250px;
    }

    .nav-logo span {
        font-size: 0.8rem;
        font-weight: bold;
        color: #000;
        text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.5);
    }
}

/* Animation classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Day availability display */
.day-availability {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.day-badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    background-color: var(--green);
    color: white;
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--green);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to {transform: rotate(360deg);}
}

/* Toast notifications */
#toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 20px;
    border-radius: 5px;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    z-index: 15000;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, var(--saffron) 0%, var(--white) 50%, var(--green) 100%);
    border: 1px solid rgba(19, 136, 8, 0.3);
}

/* Day availability circles for the modal */
.day-availability {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 15px 0;
}

/* Individual day circle */
.day-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
    color: white;
    background-color: rgba(128, 128, 128, 0.5); /* Default gray for unavailable */
}

/* Available day styling with Indian flag green */
.day-badge.available {
    background-color: var(--green);
    box-shadow: 0 2px 5px rgba(19, 136, 8, 0.3);
}

/* Today's day styling with Indian flag saffron */
.day-badge.today {
    border: 2px solid var(--saffron);
    box-shadow: 0 0 8px rgba(255, 153, 51, 0.5);
}

/* Unavailable item overlay styling */
.unavailable-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.unavailable-text {
    color: white;
    font-weight: bold;
    font-size: 1.3rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transform: rotate(-10deg);
    background-color: rgba(0, 0, 0, 0.7);
    padding: 8px 16px;
    border-radius: 5px;
    width: 100%;
    text-align: center;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .day-badge {
        width: 35px;
        height: 35px;
        font-size: 0.7rem;
    }
}

/* Make sure unavailable overlay is below close button */
.unavailable-overlay {
    z-index: 5 !important;
    cursor: default !important;
}

/* Override any hover styles for unavailable items */
.menu-item.unavailable {
    cursor: default !important;
    transform: none !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.menu-item.unavailable:hover {
    transform: none !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.menu-item.unavailable:hover .item-image {
    transform: none !important;
}

/* Remove orange border from day badges */
.day-badge.today {
    border: none !important;
    box-shadow: none !important;
}

/* Add to cart button when unavailable */
.add-to-cart-btn[style*="cursor: not-allowed"],
.modal-add-btn.unavailable {
    cursor: not-allowed !important;
}

