h1{
font-family: 'Playfair Display', serif;
}
h2{
  font-family: "Chewy", system-ui;
  font-weight: 400;
  font-style: normal;
}
body, p {
    font-family: 'Open Sans', sans-serif;
    font-size:20px;
}

.navbar-nav .nav-link {
    color: #000000;
    font-weight: bold;
}

.navbar-nav .nav-link:hover {
    color: #CB202D;
}

.icon-link {
    color: black;
    text-decoration: none;
    font-weight: bold;
}

.icon-link i {
    font-size: 23px;
}

.icon-text {
    font-size: 16px;
    margin-left: 5px;
}

.nav-link {
    position: relative;
    text-transform: uppercase;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 3px;
    background-color:#CB202D;
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

.nav-link:hover::after {
    transform: scaleX(1);
}


       /* Video Background */
        .hero-section {
            position: relative;
            width: 100%;
            height: 50vh;
            overflow: hidden;
			z-index:0;
        }
        
        #background-video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: -1;
        }
        
        /* Overlay Content */
        /* Hero Section Animations */
        @keyframes slideInLeft {
            from { 
                opacity: 0;
                transform: translateX(-50px);
            }
            to { 
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes fadeIn {
            from { 
                opacity: 0;
                transform: translateY(10px);
            }
            to { 
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Title Animation */
        .hero-title {
            animation: slideInLeft 0.8s ease-out forwards;
            opacity: 0;
        }


        /* Button Animation */
        .order-now-btn {
            animation: fadeIn 0.8s ease-out 0.6s forwards;
            opacity: 0;
            transform: translateY(10px);
            position: relative;
            overflow: hidden;
            padding: 8px 25px;
            font-size: 1rem;
        }

        .order-now-btn::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
            transform: translateX(-100%);
            transition: 0.6s;
        }

        .order-now-btn:hover::after {
            transform: translateX(100%);
        }

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 100px 0;
    overflow: hidden;
}

.hero-content-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.hero-title {
    animation: slideInLeft 0.8s ease-out forwards;
    opacity: 0;
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #CB202D;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    animation: fadeIn 0.8s ease-out 0.3s forwards;
    opacity: 0;
    font-size: 2rem;

    display: inline-block;
    padding: 0.2rem 0.2rem;
    border-radius: 30px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.order-now-btn {
    animation: fadeIn 0.8s ease-out 0.6s forwards;
    opacity: 0;
    transform: translateY(10px);
    display: inline-flex;
    align-items: center;
    padding: 10px 25px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    background: #CB202D;
    color: white;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.order-now-btn:hover {
    transform: translateY(-5px) scale(1.05);
    color: white;
}

/* Responsive Media Queries */
@media (max-width: 1400px) {
    .hero-title {
        font-size: 9rem;
    }
    .hero-subtitle {
        font-size: 2rem;
    }
}

@media (max-width: 1200px) {
    .hero-title {
        font-size: 9rem;
    }
    .hero-subtitle {
        font-size: 1.9rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 6rem;
    }
    .hero-subtitle {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 6rem;
    }
    .hero-subtitle {
        font-size: 1.6rem;
    }
    .order-now-btn {
        padding: 10px 25px;
        font-size: 1rem;
    }
}


.order-now-btn i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.order-now-btn:hover i {
    transform: translateX(5px);
}

.order-now-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
}

.order-now-btn:hover::after {
    transform: translateX(100%);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    .hero-subtitle {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 80px 0;
        text-align: center;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
    .order-now-btn {
        padding: 10px 25px;
        font-size: 1rem;
    }
}

        .menu-item {
            text-align: center;
            position: relative;
            transition: transform 0.3s ease-in-out;
            margin-top:-3.5%;
        }
    .word{
        margin-top:-3%;
    }
        .menu-item img {
            transition: transform 0.3s ease-in-out;
        }
    
        .menu-item:hover img {
            transform: scale(1.1); /* Zoom effect */
        }
    
        .order-text {
            opacity: 0; /* Initially hidden */
            transition: opacity 0.3s ease-in-out;
            font-size: 16px;
            font-weight: bold;
            color:black; /* Attractive color */
        }
    
        .menu-item:hover .order-text {
            opacity: 1; /* Show on hover */
        }
        .card {
        max-width: 340px; /* Larger on desktops */
        min-height: 150px; /* Adjust height */
        display: flex;
        align-items: center;
        justify-content: center;
        }
        .card img {
            height: 100%;
            width: 100%;
            object-fit: cover;
        }
	
        .order-btn {
            background-color:#CB202D;
            color: white;
            border: none;
            padding: 10px 15px;
            font-size: 14px;
            font-weight: bold;
            text-transform: uppercase;
        }


        .card-custum {
            height: 100%;
            display: flex;
            flex-direction: column;
        }
    
        .card-body {
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
    
        .btn-custom {
            width: 100%; /* Ensures buttons are the same width */
        }
    
        .header {
            box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        }
        .CATERING{
            padding-top:40px;
        }


        video {
            object-fit: cover;
            width: 100%;
            height: auto;
            display: block;
        }


        .card-custum {
            border: none;
            box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        }
        .card-custum img {
            height: 200px;
            object-fit: cover;
        }
        .card-title {
            font-weight: bold;
            color: white;
            position: absolute;
            top: 10px;
            left: 15px;
            padding: 5px 10px;
            border-radius: 5px;
        }
        .btn-custom {
            color: white;
            border: none;
            padding: 10px;
            font-weight: bold;
			width: 250px;
			
        }


        .footer {
            background-color: #F1F0E9; /* Warm Vibrant Orange */
            color: black;
            padding: 50px 0;
            font-size: 18px;
        }
        .footer a {
            color: black;
            text-decoration: none;
            transition: color 0.3s ease-in-out;
        }
        .footer a:hover {
            text-decoration: underline;
            color: #d2691e; /* Darker Orange */
        }
        .social-icons i {
            font-size: 30px;
            margin: 0 10px;
            transition: transform 0.3s ease-in-out;
            color: black;
        }
        .social-icons i:hover {
            transform: scale(1.2);
            color: white;
        }
        .app-download img {
            border-radius: 10px;
            transition: transform 0.3s ease-in-out;
        }
        .app-download img:hover {
            transform: scale(1.1);
        }
        .footer hr {
            border-top: 1px solid black;
        }

        .card1 {
            transition: transform 0.3s ease-in-out;
            background: white;
        }
        
        .card1:hover {
            transform: translateY(-5px);
        }
        
        .card1 img {
            width: 100%;
            height: 250px;
            object-fit: cover;
        }
        
        #restaurantsContainer {
            margin-top: 2rem;
        }





        #popularDishesContainer {
            margin-top: 2rem;
        }
        
        .menu-item {
            text-align: center;
            position: relative;
            transition: transform 0.3s ease-in-out;
            padding: 15px;
            margin-top: 0 !important;
        }
        
        .dish-image-container {
            height: 200px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1rem;
        }
        
        .menu-item img {
            transition: transform 0.3s ease-in-out;
            max-height: 100%;
            object-fit: contain;
        }
        
        .menu-item:hover img {
            transform: scale(1.1);
        }
        
        .word {
            margin: 0.5rem 0;
            line-height: 1;
            height: 4.8rem;
            overflow: hidden;
            display: -webkit-box;
            display: -moz-box;
            display: box;
            -webkit-box-orient: vertical;
            -moz-box-orient: vertical;
            box-orient: vertical;
            -webkit-line-clamp: 2;
            -moz-line-clamp: 2;
            line-clamp: 2;
            text-overflow: ellipsis;
        }
        
        .order-text {
            opacity: 0;
            transition: opacity 0.3s ease-in-out;
            font-size: 16px;
            font-weight: bold;
            color: black;
            margin-top: -3rem;
        }
        
        .menu-item:hover .order-text {
            opacity: 1;
        }




        .rating {
            color: #ffc107; /* Star color */
        }
        
        .rating i {
            margin-right: 2px;
        }
        
        .restaurant-info {
            text-align: center;
        }
        
        .restaurant-name {
            font-size: 0.9rem;
        }
        
        .dish-image-container {
            height: 200px;
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
            margin-bottom: 1rem;
        }
        
        .dish-image-container img {
            max-height: 100%;
            width: auto;
            object-fit: contain;
        }
        
        .menu-item {
            padding: 15px;
            transition: transform 0.3s ease;
        }
        
        .menu-item:hover {
            transform: translateY(-5px);
        }
        
        .word {
            text-align: center;
            margin: 0.5rem 0;
            min-height: 3rem;
            display: -webkit-box;
            /* -webkit-line-clamp: 2; */
            -webkit-box-orient: vertical;
            overflow: hidden;
        }



        .menu-item a {
            color: inherit;
            text-decoration: none;
            display: block;
            text-align: center;
        }
        
        .menu-item a:hover {
            text-decoration: none;
            color: inherit;
        }
        
        .word {
            color: #CB202D;  /* Keep the red color even when it's a link */
        }
        
        .restaurant-name {
            color: #6c757d !important;  /* Keep the muted color even when it's a link */
        }


        .popular-dish-link {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px; /* Controls spacing between all elements */
        }
        
        .dish-title {
            margin: 0 !important; /* Override Bootstrap margin */
            line-height: 0;
        }
        
        .restaurant-info {
            margin: 0 !important; /* Override Bootstrap margin */
            line-height: 1;
        }
        
        .rating {
            margin: 0 !important; /* Override Bootstrap margin */
            line-height: 1;
        }
        
        /* Update the existing menu-item class */
        .menu-item {
            padding: 15px;
            transition: transform 0.3s ease;
            margin-bottom: 20px; /* Add space between rows */
        }
        
        /* Update the container if needed */
        #popularDishesContainer {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
        }


        .popular-dish-link {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
        }
        
        .dish-title {
            margin-bottom: -45px !important; /* Important: Remove bottom margin */
            line-height: 1.2;
            text-align: center; /* Ensure text remains centered */
        }
        
        .rating {
            margin-top: 0 !important;  /* Important: Remove top margin */
            line-height: 1;
        }
        
        .restaurant-info {
            margin: 0 !important;
            line-height: 1;
        }
        
        .menu-item {
            padding: 15px;
            transition: transform 0.3s ease;
            margin-bottom: 20px;
        }
        
        #popularDishesContainer {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
        }
        
        /* Address overflow issue, important for responsiveness */
        .dish-image-container {
          max-width: 100%;
        }


.card.animate, .menu-item.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* Staggered animation delay */
.card.animate:nth-child(1), .menu-item.animate:nth-child(1) { transition-delay: 0.1s; }
.card.animate:nth-child(2), .menu-item.animate:nth-child(2) { transition-delay: 0.2s; }
.card.animate:nth-child(3), .menu-item.animate:nth-child(3) { transition-delay: 0.3s; }
.card.animate:nth-child(4), .menu-item.animate:nth-child(4) { transition-delay: 0.4s; }
.card.animate:nth-child(5), .menu-item.animate:nth-child(5) { transition-delay: 0.5s; }
.card.animate:nth-child(6), .menu-item.animate:nth-child(6) { transition-delay: 0.6s; }

/* Section title animation */
.section-title {
    position: relative;
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.section-title.animate {
    opacity: 1;
    transform: translateY(0);
}


.section-title.animate::after {
    width: 100%;
}


/* Image container for hover effect */
#restaurantsContainer .card .bg-light {
    overflow: hidden;
    position: relative;
    height: 200px;
}

#restaurantsContainer .card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Hover effect for images */
#restaurantsContainer .card:hover img {
    transform: scale(1.15);
}

#restaurantsContainer .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

#restaurantsContainer .card-img-top {
    transition: transform 0.5s ease;
}

#restaurantsContainer .card:hover .card-img-top {
    transform: scale(1.03);
}

#restaurantsContainer .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Restaurant card container */
#restaurantsContainer {
    padding: 0 12px;
    margin: 0 -8px;
}

#restaurantsContainer .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
   
    opacity: 0;
    transition: opacity 0.3s ease;
}

#restaurantsContainer .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

#restaurantsContainer .card:hover::before {
    opacity: 1;
}

/* Card image container */
#restaurantsContainer .card .bg-light {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    height: 160px;
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
    border-radius: 10px 10px 0 0;
}

/* Card image */
#restaurantsContainer .card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
    backface-visibility: hidden;
}

#restaurantsContainer .card:hover img {
    transform: scale(1.08);
}

/* Card body */
#restaurantsContainer .card-body {
    padding: 14px 16px 16px;
    position: relative;
}

/* Restaurant name */
#restaurantsContainer .card .card-title {
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: #2c3e50;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    padding-bottom: 4px;
}

#restaurantsContainer .card .card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
  
    transition: width 0.3s ease;
}

#restaurantsContainer .card:hover .card-title::after {
    width: 60px;
}

/* Opening hours */
#restaurantsContainer .card .card-text {
    font-size: 0.82rem;
    color: #7f8c8d;
    margin-bottom: 0;
    line-height: 1.4;
    display: flex;
    align-items: center;
    margin-top: 6px;
}



/* Status badge */
.status-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.status-badge.open {
    color: #27ae60;
}

.status-badge.closed {
    color: #e74c3c;
}

/* ===========================================
   Restaurant Cards - Responsive Breakpoints
   =========================================== */

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    #restaurantsContainer .card .bg-light {
        height: 150px;
    }
    
    #restaurantsContainer .card-body {
        padding: 12px 14px 14px;
    }
    
    #restaurantsContainer .card .card-title {
        font-size: 1rem;
    }
    
    #restaurantsContainer .card .card-text {
        font-size: 0.78rem;
    }
}

/* Medium devices (tablets, 768px to 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    #restaurantsContainer .card .bg-light {
        height: 140px;
    }
    
    #restaurantsContainer .card-body {
        padding: 10px 12px 12px;
    }
    
    #restaurantsContainer .card .card-title {
        font-size: 0.95rem;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }
    
    #restaurantsContainer .card .card-text {
        font-size: 0.75rem;
    }

    /* 2 cards per row */
    #restaurantsContainer .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Small devices (landscape phones, 576px to 767.98px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    #restaurantsContainer .card .bg-light {
        height: 130px;
    }
    
    #restaurantsContainer .card-body {
        padding: 8px 10px 10px;
    }
    
    #restaurantsContainer .card .card-title {
        font-size: 0.9rem;
        margin-bottom: 2px;
    }
    
    #restaurantsContainer .card .card-text {
        font-size: 0.72rem;
    }

    /* 2 cards per row */
    #restaurantsContainer .col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0.25rem !important;
    }

    /* Reduce card spacing */
    #restaurantsContainer {
        margin: 0 -0.25rem;
    }

    #restaurantsContainer .card {
        margin: 0 0.25rem 0.5rem;
        border-radius: 0.5rem;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    #restaurantsContainer .card .bg-light {
        height: 120px;
    }
    
    #restaurantsContainer .card-body {
        padding: 6px 8px 8px;
    }
    
    #restaurantsContainer .card .card-title {
        font-size: 0.85rem;
        margin-bottom: 2px;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }
    
    #restaurantsContainer .card .card-text {
        font-size: 0.7rem;
        margin-top: 2px;
    }

    /* 2 cards per row */
    #restaurantsContainer .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0.2rem !important;
    }

    /* Adjust card spacing */
    #restaurantsContainer {
        margin: 0 -0.2rem;
    }

    #restaurantsContainer .card {
        margin: 0 0.2rem 0.4rem;
        border-radius: 0.4rem;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    }

    /* Adjust status badges */
    .status-badge {
        font-size: 0.6rem;
        padding: 2px 6px;
        top: 6px;
        right: 6px;
    }

    /* Reduce hover effects on mobile for better performance */
    #restaurantsContainer .card:hover {
        transform: none;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
    }

    #restaurantsContainer .card:hover img {
        transform: none;
    }
}

    /* Optimize navbar for mobile */
    .navbar-brand img {
        height: 50px !important;
    }
    
    .navbar {
        padding: 0.5rem 1rem !important;
    }
    
    /* Adjust popular dishes for mobile */
    .dish-image {
        width: 140px !important;
        height: 140px !important;
        margin-bottom: 5px !important;
    }
    
    .dish-name {
        font-size: 14px !important;
    }
    
    .dish-rating .bi {
        font-size: 12px !important;
    }
    
    .dish-restaurant {
        font-size: 12px !important;
    }
    
    /* Optimize the catering section */
    #CATERING .card-title {
        font-size: 18px !important;
		color: #000000;
		background: #ffffff;
    }
    
    #CATERING .card-text {
        font-size: 14px !important;
    }
    
    #CATERING .btn-custom {
        font-size: 14px !important;
        padding: 8px !important;
        width: 100% !important;
    }
    
    /* Footer adjustments */
    .footer {
        text-align: center !important;
    }
    
    .social-icons {
        margin-bottom: 15px !important;
        justify-content: center !important;
        display: flex !important;
    }


/* Small mobile devices */
@media (max-width: 375px) {
    #restaurantsContainer .card {
        max-width: 100px !important;
    }

    #restaurantsContainer .bg-light {
        height: 100px !important;
    }

    #restaurantsContainer .card h5 {
        font-size: 0.7rem;
    }
}

/* Text truncation styles */
.word, .menu-name, .dish-title, .restaurant-name {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    display: -moz-box;
    display: box;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    box-orient: vertical;
    -webkit-line-clamp: 2;
    -moz-line-clamp: 2;
    line-clamp: 2;
    max-height: 2.6em;
    line-height: 1.3;
}

/* Fallback for browsers that don't support line-clamp */
@supports not (display: -webkit-box) {
    .word, .menu-name, .dish-title, .restaurant-name {
        display: block;
        position: relative;
        max-height: 2.6em;
        padding-right: 1rem; /* Space for ellipsis */
        overflow: hidden;
    }

    .word::after, .menu-name::after, .dish-title::after, .restaurant-name::after {
        content: "...";
        position: absolute;
        right: 0;
        bottom: 0;
        padding-left: 0.5rem;
        background: inherit;
    }
}

/* Update specific instances */
.word {
    margin: 0.5rem 0;
    height: auto;
    min-height: 3rem;
}

.restaurant-name {
    font-size: 0.9rem;
    max-height: 2.4em;
    -webkit-line-clamp: 1;
    -moz-line-clamp: 1;
    line-clamp: 1;
}

@media (max-width: 768px) {
    .word, .menu-name, .dish-title {
        font-size: 0.9rem;
        line-height: 1.2;
        max-height: 2.4em;
    }
    
    .restaurant-name {
        font-size: 0.8rem;
        max-height: 1.2em;
    }
}

/* Bottom Navigation for Mobile */
.bottom-nav {
    display: none; /* Hidden by default */
    height: 56px;
    z-index: 1000;
    transition: all 0.3s ease;
    background-color: #e94057 !important; /* Bright red color matching the image */
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 0;
    justify-content: space-between;
}

.bottom-nav.hidden {
    transform: translateY(100%);
}

.bottom-nav .nav-item {
    flex: 1;
    transition: all 0.2s;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px 0;
    border-top: 2px solid transparent;
}



.bottom-nav i {
    font-size: 18px;
    margin-bottom: 4px;
}

.bottom-nav .small {
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    margin: 0;
}

/* Show bottom nav only on mobile */
@media (max-width: 768px) {
    .bottom-nav {
        display: flex;
    }
    
    /* Add padding to the body to prevent content from being hidden behind fixed bottom nav */
    body {
        padding-bottom: 56px;
    }
    
    /* Adjust hero section for mobile */
    .hero-section {
        height: 40vh;
    }
    
    .hero-content h2 {
        font-size: 42px !important;
    }
    
    .hero-content p {
        font-size: 18px !important;
    }
    
    /* Make restaurant cards take full width on mobile */
    #restaurantsContainer .col-lg-4 {
        padding: 0.5rem;
    }
    
    /* Add margin to separate sections for better mobile scrolling */
    section {
        margin-bottom: 2rem;
    }
    
    /* Adjust footer for mobile */
    .footer {
        padding: 30px 0;
        font-size: 16px;
        text-align: center;
        margin-bottom: 0;
    }
    
    .footer .col-md-4 {
        margin-bottom: 20px;
    }
}

/* For extra small devices */
/* Restaurant Card Hover Effect */
#restaurantsContainer .card {
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 12px;
}

#restaurantsContainer .card .bg-light {
    overflow: hidden;
    position: relative;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 12px 12px 0 0;
}

#restaurantsContainer .card img {
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#restaurantsContainer .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25) !important;
}

#restaurantsContainer .card:hover .bg-light {
    transform: scale(1.05);
}

#restaurantsContainer .card:hover img {
    transform: scale(1.2);
    transition: transform 5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Ensure smooth transition when mouse leaves */
#restaurantsContainer .card:not(:hover) img {
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@media (max-width: 576px) {
    .hero-content h2 {
        font-size: 32px !important;
    }
    
    .hero-content p {
        font-size: 16px !important;
    }
    
    .dish-image {
        width: 120px !important;
        height: 120px !important;
    }
    
    .card img {
        height: 180px !important;
    }
}

/* Account/Profile icon styles */
.bottom-nav a[href="account_details.html"] i {
    font-size: 19px; /* Slightly larger than other icons for better visibility */
}

.account-icon-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.account-icon-mobile:hover {
    transform: scale(1.1);
}

.account-icon-mobile i {
    color: #e94057 !important;
}

/* Override Bootstrap margins */
.mt-5 {
    margin-top: 0 !important;
}

/* Remove hover animation and padding for restaurant images */
#restaurantsContainer .card,
#restaurantsContainer .card img {
    padding: 0 !important;
    transition: none !important;
}
#restaurantsContainer .card:hover,
#restaurantsContainer .card:hover img {
    transform: none !important;
    box-shadow: none !important;
}
#restaurantsContainer .card img {
    width: 104% !important;
	
    height: auto !important;
    object-fit: cover !important;
}

/* --- Restaurant card: clean, smooth, responsive, minimal --- */
#restaurantsContainer .card {
    border-radius: 16px !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: none;
	min-height: 200px;

    background: #fff;
    transition: box-shadow 0.2s;
}
#restaurantsContainer .card-img-top {
    border-radius: 16px 16px 0 0 !important;
    width: 120% !important;
    height: 180px !important;
    object-fit: cover !important;
    margin-bottom: 0 !important;
}
#restaurantsContainer .card-body {
    padding: 0.75rem 0.5rem 0.75rem 0.5rem !important;
	height:60px;
    text-align: center;
}
#restaurantsContainer .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #222;
    letter-spacing: 0.5px;
}
#restaurantsContainer .card .text-muted {
    font-size: 0.95rem;
    margin-bottom: 0;
    margin-top: 0.1rem;
}
@media (max-width: 768px) {
    #restaurantsContainer .card-img-top {
        height: 120px !important;
    }
    #restaurantsContainer .card-title {
        font-size: 1rem;
    }
    #restaurantsContainer .card-body {
        padding: 0.5rem 0.25rem 0.5rem 0.25rem !important;
    }
}