*{
    margin: 0;
    padding: 0;
}

html{
    scroll-behavior: smooth;
}

/* CSS Variables */
:root{
    --navbar-height: 59px;
}

/* Overall styles for the navbar */
#navbar {
    display: flex;
    align-items: center;
    background-color: rgb(236, 235, 235); /* Background color when at the top */
    color: black; /* Text color when at the top */
    padding: 15px 50px; /* Increased padding at the top */
    position: sticky;  
    top: 0;
    z-index: 1000; 
    transition: background-color 0.5s, color 0.5s, padding 0.5s; /* Smooth transition for all changes */
}

/* Navbar styles when scrolled */
#navbar.scrolled {
    background-color: black; /* Change background color when scrolled */
    color: white;           /* Change text color when scrolled */
    padding: 10px 20px;    /* Default padding */
    box-shadow: none;      /* Optional: change shadow */
}

/* Icon styling */
.material-symbols-outlined {
    color: black; /* Icon color when at the top */
    transition: color 0.3s; /* Smooth transition for icon color */
}

#navbar.scrolled .material-symbols-outlined {
    color: white; /* Icon color when scrolled */
}

/* Logo styling */
#logo img {
    height: 50px; /* Adjust as necessary */
}

/* Styles for the navigation list */
#navbar ul {
    display: flex;
    list-style-type: none;
    padding: 0;
    margin: 0;
    margin-left: 0; /* Align list to the left */
}

/* Individual items within the navbar */
#navbar .home,
#navbar .about,
#navbar .Food,
#navbar .con,
#navbar .car {
    display: flex;
    align-items: center;
    margin-right: 20px; 
}

/* Link styles */
#navbar .item a {
    text-decoration: none; /* Remove underline */
    color: rgb(0, 0, 0); /* Link color when at the top */
    padding: 10px;
    transition: color 0.3s, background-color 0.3s; /* Smooth transition for hover effect */
}

/* Link hover styles */
#navbar .item a:hover {
    color: #ffffff; /* Gold color on hover */
    background-color: black; /* Change background on hover */
    border-radius: 25px; 
}
#navbar.scrolled .item a {
    color: rgb(255, 255, 255); /* Link color when scrolled (white) */
}

/* Link hover styles when scrolled */
#navbar.scrolled .item a:hover {
    color: #ffffff; /* Gold color on hover */
    background-color: black; /* Change background on hover */
}
/* Right-aligned items in the navbar */
#navbar ul {
    margin-left: auto;
}

/* Button styles */
#navbar .item {
    transition: color 0.3s; /* Smooth transition for item colors */
}



/* Login section */
#login-p {
    display: flex; /* Make it a flex container */
    align-items: center; /* Center items vertically */
    margin-left: auto; /* Push the login section to the right */
}

#login-p a {
    text-decoration: none; /* Remove underline */
    color: white; /* Link color */
    padding: 10px;
    transition: color 0.3s; /* Smooth transition for hover effect */
}

#login-p a:hover {
    color: #FFD700; /* Gold color on hover */
    background-color: #FFD700;
    border-radius: 25px; 
}

/* Additional styling for all items to align left */
#navbar > div,
#navbar ul > div {
    display: flex; /* Ensure all items use flex layout */
    align-items: center; /* Center items vertically */
    margin: 0; /* Remove default margins */
}



/* Home Section */

/* Style the home section */

.hero {
    height: 80vh;
    display: flex;
    position: relative;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 24px;
    margin-bottom: 30px;
}
.search-bar {
    margin-top: 50px;
    display: flex;
    margin-left: 0; /* Align the search bar to the left */
}

.search-form {
    display: flex;
    justify-content: flex-start; /* Align form content to the left */
    margin-top: 30px;
}

/* Location Dropdown */
.location-dropdown {
    display: flex;
    align-items: center;
    margin-right: 0; /* Ensure no extra margin */
}

.location-dropdown select {
    padding: 3px; /* Decrease padding further */
    font-size: 14px;
    border: none;
    border-radius: 5px 0 0 5px;
    outline: none;
    width: 100px; /* Set width for the dropdown */
    height: 32px; /* Set smaller height */
}

/* Search Input */
.search-input {
    display: flex;
    align-items: center;
    border-radius: 0 5px 5px 0;
    overflow: hidden;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}

.search-input input {
    padding: 3px; /* Decrease padding further */
    font-size: 14px;
    border: none;
    border-radius: 0 0 0 0;
    outline: none;
    width: 200px; /* Set width for the dropdown */
    height: 26px; /* Set smaller height to match the dropdown */
}

.search-input button {
    padding: 5px; /* Decrease padding */
    background-color: #f33;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    height: 32px; /* Set button height to match input and dropdown */
    border-radius: 0 5px 5px 0;
}

.search-input button:hover {
    background-color: #d00;
}



/* Main Content */
.main-content {
    display: flex;
    justify-content: space-around;
    margin: 50px 0;
}

.food-item {
    text-align: center;
    max-width: 300px;
}

.food-item img {
    width: 100%;
    border-radius: 10px;
}

.food-item h2 {
    margin-top: 20px;
    font-size: 24px;
}

.food-item p {
    margin-top: 10px;
    color: #555;
}


.hero-bg-color{
    background-color: rgb(236, 235, 235);
    width: 100vw;
    height: 100vh;
    position: absolute;
    z-index: 0;

}
.plate-shadow {
    position: absolute;
    width: 600px;
    margin-right: 30px;
    margin-bottom: 100px;
    height: 600px;
    border-radius: 50%;
    background-color:rgba(156, 156, 156, 0.1) ;
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.2);
}
.hero-bg-img img{
    position: relative;
    width: 600px;
    height: 580px;
    opacity: 0.9;
    margin-bottom: 80px;
}
.hero-bg{
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}


.hero-content{
    position: relative;
    z-index: 5;
    width: 100vw;
    height: 100vh;
    padding-left: 100px;
    display: flex;
    align-items: center;
    margin-top: -100px;
    justify-content:space-between;
}
.hero-content h1{
    font-size: 120px;
    font-weight: lighter;
    line-height: 80px;
}
.hero-content p{
    font-size: 20px;
}
.hero-content .line{
    width: 40px;
    height: 0px;
    margin-top: 10px;
    margin-right: 10px;
    border: solid 1px black;
}
.item-container{
    display: flex;
    gap: 20px;
    margin-top: 100px;
    flex-direction: column;
}
.item-content{
    width: 400px;
    height: 100px;
    background-color: rgb(236, 235, 235);
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.1);
    color: black;
    border-radius: 50px 0 0 50px; 
    display: flex;
    padding-left: 15px;
    align-items: center;
}
.item-content img{
    height: 90px;
    width: auto;
}
.item-content p{
    height: 0px;
    font-size: 18px;
    margin-left: 40px;
}

/* Keyframes for scrolling animation */
@keyframes scroll {
    0% {
        transform: translateX(100%); /* Start from the right */
    }
    100% {
        transform: translateX(-100%); /* Move to the left */
    }
}




/* Services Section */
#services-container {
    padding: 50px 20px; /* Add some padding */
    background-color: #f9f9f9; /* Light background for contrast */
    text-align: center; /* Center text for better alignment */
}

#services {
    display: flex; /* Use flexbox for layout */
    justify-content: space-around; /* Space out boxes */
    flex-wrap: wrap; /* Allow wrapping for responsiveness */
    max-width: 1200px; /* Limit width for better appearance */
    margin: 0 auto; /* Center the container */
}

.box {
    background: #fff; /* White background for boxes */
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    margin: 15px; /* Spacing between boxes */
    padding: 20px; /* Padding inside boxes */
    transition: transform 0.3s, box-shadow 0.3s; /* Animation effect */
    width: calc(55% - 30px); /* Adjusted width for smaller boxes */
    max-width: 300px; /* Maximum width for boxes */
    max-height: 600px;
}

.box img {
    max-width: 80%; /* Ensure images are responsive */
    height: 120px; /* Maintain aspect ratio */
    border-radius: 10px; /* Rounded corners for images */
}

.box:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2); /* Stronger shadow on hover */
}

.h-primary {
    font-size: 2em; /* Large heading */
    color: #1d0101; /* Dark color for contrast */
}

.h-secondary {
    font-size: 1.5em; /* Medium heading */
    color: #f1683a; /* Accent color */
}

.box p {
    font-size: 1.2em; /* Set font size */
    color: #555; /* Dark grey for text */
    line-height: 1.6; /* Improve line spacing for readability */
    margin: 10px 0; /* Space above and below paragraphs */
}


/* Responsive styles */
@media (max-width: 768px) {
    .box {
        width: calc(45% - 30px); /* Adjust width for smaller screens */
    }
}

@media (max-width: 480px) {
    .box {
        width: 100%; /* Full width on extra small screens */
    }
}




h2 {
    text-align: center; /* Centers the heading */
    margin-top: 50px;
    font-size: 2em;
    color: #333;
    margin-bottom: 20px;
  }

/* General Section Styling */
#reviews {
    text-align: center;
    margin: 40px;
}

.reviews-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.review-box {
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 10px;
    width: 28%; /* Smaller width for smaller boxes */
    height: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Adjust the restaurant name position */
.restaurant-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #1d0101;
}

/* Reduce the image size and remove excess border */
.restaurant-photo {
    width: 100%;
    height: 150px; /* Adjust the height to make the box look balanced */
    object-fit: cover;
    border-radius: 10px; /* Reduced border radius */
    margin-bottom: 10px;
}

.restaurant-tagline {
    font-size: 14px;
    color: #666;
}

/* Hover effect to slightly lift the boxes */
.review-box:hover {
    transform: translateY(-10px); /* Lifts the box */
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); /* Slightly increase shadow depth */
}



 /* Ensure the container can scroll smoothly */

.scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px;
    white-space: nowrap;
    gap: 20px; /* Spacing between items */
    padding-bottom: 10px; /* Extra padding at bottom to ensure visibility */
}

.food-item {
    display: inline-block;
    min-width: 200px; /* Fixed minimum width for food items */
    max-width: 150px;
    text-align: center;
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Add smooth transitions */
}

.image-placeholder {
    width: 150px;
    height: 100px;
    background-color: #ccc;
    margin: 0 auto 10px;
    border-radius: 50%;
    overflow: hidden; /* Ensure the image does not overflow the circle */
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the entire area while maintaining aspect ratio */
    border-radius: 50%; /* Ensures the image stays within the circular shape */
}


/* Hover effect for each food item */
.food-item:hover {
    transform: translateY(-10px); /* Slightly raise the box */
    box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.2); /* Increase shadow for a lifted effect */
}

/* Buttons for scrolling */
.scroll-buttons {
    text-align: center;
    margin-top: 10px;
}

.scroll-buttons button {
    background-color: #333;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    margin: 0 5px;
    font-size: 18px;
}

.scroll-buttons button:hover {
    background-color: #555;
}



/* Meal Section */
.meal-section {
    padding: 20px;
    background-color: #f9f9f9;
}

.meal-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.meal-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.meal-box {
    width: 22%;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.meal-box:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(-10px); /* Slight lift effect on hover */
}

.meal-info {
    position: relative;
}

.meal-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease; /* Smooth image scaling */
}

.meal-box:hover .meal-image {
    transform: scale(1.05); /* Slight image zoom on hover */
}

/* Fix: Black bar at the bottom without line */
.meal-info h4 {
    position: absolute;
    bottom: 0; /* Aligns the black bar at the very bottom */
    width: 100%;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 0;
    text-align: center;
    margin: 0; /* Ensure no margin is applied */
    transition: background 0.3s ease;
}

.meal-box:hover h4 {
    background: rgba(0, 0, 0, 0.8); /* Darker background on hover */
}

/* Fix: Remove the line or gap */
.meal-info p {
    position: absolute;
    bottom: -40px; /* Initially position it below the visible area */
    width: 100%;
    color: white;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.6);
    padding: 5px 0;
    text-align: center;
    margin: 0;
    transition: background 0.3s ease, bottom 0.3s ease;
}

.meal-box:hover p {
    bottom: 0; /* Bring the description up on hover */
    background: rgba(0, 0, 0, 0.8); /* Darker background on hover */
}

.meal-box p {
    display: none; /* Keep the extra description hidden initially */
}

/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
    .meal-box {
        width: 45%;
    }
}

@media (max-width: 480px) {
    .meal-box {
        width: 100%;
    }
}



/* Best offer section  */

.best-offers-section {
    text-align: center;
    margin: 20px;
    margin-left: 20px;

  }
 /* General container for the menu items */

#menu-items {
    display: flex;
    flex-wrap: wrap; 
    gap: 45px; /* Space between cards */
    padding: 20px;
    /* justify-content: space-between;  */
}

/* Individual food item card */
.food-item {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    width: 500%; /* Keep 3 items per row */
    /* text-align: center; */
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
}

/* Hover effect to scale the card */
.food-item:hover {
    transform: scale(1.05);
}

/* Image of the food item */
.food-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #ddd;
}

/* Name of the food item */
.food-item h3 {
    margin: 15px 0 10px;
    font-size: 1.5em;
    color: #333;
}

/* Description of the food item */
.food-item p {
    font-size: 0.9em;
    color: #666;
    padding: 0 15px;
    margin-bottom: 10px;
}

/* Price of the food item */
.price {
    font-size: 1.2em;
    font-weight: bold;
    color: #27ae60;
    margin-bottom: 10px;
}

/* Special offer display */
.offer {
    background: linear-gradient(45deg, #f39c12, #f1c40f); /* Gradient background */
    color: #fff;
    padding: 10px 20px; 
    font-size: 1em; /* Slightly increase font size */
    font-weight: bold;
    margin-bottom: 15px;
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Add a box shadow for a 3D effect */
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); /* Slight text shadow */
    position: relative;
    animation: float 2.5s ease-in-out infinite; /* Animation for floating effect */
}

/* Define floating animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px); /* Make it move up slightly */
    }
}


/* Add to cart button */
.add-to-cart-btn {
    background-color: #27ae60;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 15px;
}

.add-to-cart-btn:hover {
    background-color: #2ecc71;
}

/* Responsive design */
@media (max-width: 1024px) {
    .food-item {
        width: 45%; /* 2 items per row on medium screens */
    }
}

@media (max-width: 768px) {
    #menu-items {
        flex-direction: column;
        align-items: center;
    }

    .food-item {
        width: 90%; /* 1 item per row on small screens */
    }
}



/* This is for top trending places  */
  
.collections-section {
    padding: 20px;
    text-align: center;
}

.collections-section h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.collections-section p {
    font-size: 1.2em;
    color: #666;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.collection-box {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.collection-box img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
}

.collection-box .info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
}

.collection-box:hover{
    transform: scale(1.05);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

.info h3 {
    margin: 0;
    font-size: 1.5em;
}

.info p {
    margin: 5px 0;
    font-size: 1.1em;
}

@media (max-width: 768px) {
    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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



    /* Reset global margins and padding for all elements within the footer */
footer, footer * {
    margin: 0;
    padding: 0;
    background-color:#ccc;
}

/* Main Footer Styling */
footer {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: -20px;
    margin-left: -20px;
    margin-right: -20px;
    justify-content: space-between;
    padding: 0; /* Remove any padding from the footer itself */
}

/* Column Styling */
footer .col {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Text Styling */
footer h4 {
    font-size: 14px;
    padding-bottom: 20px;
}

footer p {
    font-size: 13px;
    margin: 0 0 8px 0;
}

footer a {
    font-size: 13px;
    text-decoration: none;
    color: #222;
    margin-bottom: 10px;
}

/* Image Styling */
footer .install .row img {
    border: 1px solid #088178;
    border-radius: 6px;
}

footer .install img {
    margin: 10px 0 15px 0;
}

/* Hover Effects */
footer .follow i:hover,
footer a:hover {
    color: #088178;
}

/* Copyright Section Styling */
footer .copyright {
    width: 100%;
    text-align: center;
    margin: 0; /* Ensure no margin */
    padding: 0; /* Ensure no padding */
    margin-top: 0; /* Remove any top margin */
    margin-top: 20px;
}

/* Utility Classes */
.h-primary{
    font-family: 'Bree Serif', serif;
    font-size: 3.8rem;
    padding: 12px;
}

.h-secondary{
    font-family: 'Bree Serif', serif;
    font-size: 2.3rem;
    padding: 12px;
}

.btn{
    padding: 6px 20px;
    border: 2px solid white;
    background-color: brown;
    color: white;
    margin: 17px;
    font-size: 1.5rem;
    border-radius: 10px;
    cursor:pointer;
}

.button-link{
    color: white;
    cursor: pointer;
}


.center{
    text-align: center;
}


