@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;700&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rubik', sans-serif;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #ffffff;
    color: #333;
}

header {
    background: #1AC073;
    color: #fff;
    padding: 20px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: auto;
    margin: 0 auto;
    padding: 0 20px;
}

.logo a {
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
}

.nav-icons {
    display: flex;
    align-items: center;
}

.nav-icons a {
    color: #fff;
    margin-left: 20px;
    font-size: 24px;
    transition: transform 0.2s, color 0.2s;
}

.nav-icons a:hover {
    transform: scale(1.1);
    color: #ff6347;
}

.search-icon {
    color: #fff;
}

.hero {
    background-color: #1AC073;
    color: #fff;
    padding: 100px 20px;
    width: auto;
    height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    text-align: left;
}

.hero .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    max-width: 50%;
    margin-right: 20px;
}

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

.hero p {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 100;
}

.hero .btn {
    background: #333;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-bottom: 20px;
}

.hero-image {
    max-width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

.search-section {
    margin-top: 20px;
    display: flex;
}

.search-section input[type="text"] {
    padding: 10px;
    width: calc(100% - 120px);
    max-width: 300px;
    border: none;
    border-radius: 5px 0 0 5px;
}

.search-section button {
    padding: 10px;
    background: #ff8c00;
    color: #fff;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        height: auto;
        padding: 50px 20px;
    }

    .hero .container {
        flex-direction: column;
    }

    .hero-content {
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .hero .btn {
        padding: 10px 15px;
    }

    .hero-image {
        max-width: 100%;
        margin-top: 20px;
    }

    .search-section input[type="text"] {
        width: calc(100% - 100px);
    }

    .nav-links {
        display: none;
    }

    .nav-icons .menu-icon {
        display: block;
    }
}


/* Home Kitchen */


.home-kitchen {
    padding: 50px 20px;
    text-align: center;
    background-color: #fff;
}

.home-kitchen h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #000000;
    text-align: left;
    padding: 15px 80px;
}

/* Card Container */

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    color: #333;
    height: 20px;
    padding: 10px;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    position: relative;
    width: 277px;
    height: 337px;
}

.card img {
    width: 100%;
    height: auto;
}

.badge {
    position: absolute;
    top: 1px;
    left: 2px;
    background: #F3BA00;
    color: black;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px 0px 0px 0px;
    width: 29px;
    height: 30px;
}

.card-content {
    padding: 10px;
    text-align: left;
}

.card-content h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.card-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: 40px;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 20px;
    width: 120px;
    font-size: 14px;
}

.delivery-time {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #dfdfdf;
    width: 68px;
    height: 22px;
    border-radius: 5px;
}

.delivery {
    display: flex;
    background-color: #ffffff;
    border-radius: 5px;
    margin-top: 0%;
    height: 22px;
    padding: 3px;
    font-size: smaller;
    align-items: center;
}

.rating {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ededed;
    padding: 2px;
    padding-right: 5px;
    border-radius: 5px;
}

.star-img {
    width: 20px; /* Adjusted to a larger size */
    height: 20px;
    display: inline-block; /* Ensures proper alignment */
    vertical-align: middle; /* Aligns with the text baseline */
    margin-right: 4px; /* Adds spacing between the star and the rating number */
    object-fit: contain; /* Ensures the image fits within the specified dimensions */
}

.add-btn,
.counter-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s, visibility 0.3s;
}

.counter-container {
    display: none;
    visibility: hidden;
    opacity: 0;
}

.add-btn {
    visibility: visible;
    opacity: 1;
}

.counter-container.show {
    display: flex;
    visibility: visible;
    opacity: 1;
}

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

.add-btn {
    background: #ff8c00;
    color: white;
    border: none;
    border-radius: 5px;
    margin-top: 10px;
    width: 20px;
    height: 20px;
    font-size: 15px;
    cursor: pointer;
}

.counter-container button {
    background-color: #ff8c00;
    color: white;
    border: none;
    border-radius: 5px;
    width: 20px;
    height: 22px;
    font-size: 15px;
    cursor: pointer;
}

.counter {
    font-size: 18px;
    font-weight: bold;
}

footer {
    background: #1AC073;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

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

@media (max-width: 768px) {
    .card-container {
        grid-template-columns: 1fr;
    }
}

/* Slider Container */
#popular-items {
    text-align: center;
    padding: 40px;
  }
  
  .carousel-container {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
  }
  
  .carousel {
    overflow: hidden;
    width: calc(3 * 320px); /* Width to display exactly 3 cards */
    position: relative;
    margin: 20px auto;
  }
  
  .carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: calc(3 * 320px + 6 * 320px); /* Adjust width to accommodate cloned cards */
  }
  
  .slider-card {
    flex: 0 0 300px; /* Each card is 300px wide */
    margin: 10px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    overflow: hidden;
    transform: scale(1); /* Default scale */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  }
  
  .slider-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
  }
  
  .slider-card h3 {
    margin: 10px 0;
    font-size: 1.2rem;
    color: #333;
  }
  
  .slider-card p,
  .slider-card span {
    font-size: 1rem;
    color: #444;
  }
  
  /* Highlight the middle card */
  .slider-card.middle {
    transform: scale(1.05); /* Adjust scale as needed */
    z-index: 1;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  }
  

  
  
  /* Buttons for navigation */
  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: #28a745;
    border: 3px solid #28a745;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease, color 0.3s ease;
  }
  
  .carousel-btn:hover {
    background: #28a745;
    color: #fff;
  }
  
  .carousel-btn.left {
    left: 10px;
  }
  
  .carousel-btn.right {
    right: 10px;
    background: #28a745;
    color: #fff;
  }
  
  /* Request dish button */
  .request-dish-btn {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 1rem;
    color: white;
    background: #1AC073;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .request-dish-btn:hover {
    background: #218838;
  }
  
  /* Responsive design */
  @media screen and (max-width: 768px) {
    .carousel {
      width: 100%; /* Full width for smaller screens */
    }
  
    .slider-card {
      flex: 0 0 90%; /* Cards occupy 90% of the width */
    }
  
    .carousel-btn {
      width: 40px;
      height: 40px;
      font-size: 1.2rem;
    }
  }
  
  @media screen and (max-width: 480px) {
    .slider-card {
      flex: 0 0 100%; /* Full-width cards for very small screens */
    }
  
    .carousel-btn {
      width: 35px;
      height: 35px;
      font-size: 1rem;
    }
  }
  
 

/* Video Section */
.full-width {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

#about-service {
    text-align: center;
}

#about-service .text-content {
    margin-top: 20px;
    margin-bottom: 20px;
}

#about-service .text-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
    line-height: 1.5;
}

#about-service .text-content p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
}

#about-service .video-section {
    background: linear-gradient(to bottom, white 50%, #C7EACC 50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#about-service .video-container {
    width: 100%;
    max-width: 877px;
    height: 442px;
    padding-bottom: 75px;
    overflow: hidden;
}

#about-service #service-video {
    width: 100%;
    height: 100%;
    border: none;
}


/* Contact Section */

.contact-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f0f0f0; /* Bland background color */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    padding: 20px 80px;
    flex-wrap: wrap; /* Allow wrapping */
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    flex-wrap: wrap; /* Allow wrapping */
}

.form-container {
    flex: 1;
    padding-right: 10rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%; /* Full width on smaller screens */
    max-width: 600px; /* Limit max width */
    margin-bottom: 20px; /* Add margin for spacing */
}

.form-container h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.form-container p {
    margin-bottom: 20px;
    color: #555;
    font-size: 16px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form input, form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
}

form textarea {
    resize: none;
    height: 130px;
}

form button {
    background-color: #1AC073;
    width: 30%; /* Adjust width */
    color: white;
    border: none;
    padding: 15px 15px 15px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #17ef8a;
}

.image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%; /* Full width on smaller screens */
    max-width: 600px; /* Limit max width */
}

.image-container img {
    width: 100%;
    height: auto;
    border-radius: 50%;
}

.input-container {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

/* Footer */

.footer {
    background-color: #1AC073;
    color: white;
    width: 100%;
    padding: 40px 80px; /* Increased height and added left-right padding */
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    flex-wrap: wrap; /* Allow wrapping */
}

.footer::after {
    content: '';
    position: absolute;
    top: 75%;
    left: 0;
    right: 0;
    height: 2px;
    margin: 0 80px 0 80px;
    background-color: white;
    opacity: 0.6;
    transform: translateY(-50%);
}

.footer .logo {
    font-size: 18px;
    font-weight: bold;
    z-index: 1;
    margin-bottom: 20px; /* Add margin for spacing */
}

.footer nav {
    display: flex;
    gap: 15px;
    z-index: 1;
    flex-wrap: wrap; /* Allow wrapping */
    justify-content: center; /* Center align on smaller screens */
    margin-bottom: 20px; /* Add margin for spacing */
}

.footer nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer nav a:hover {
    color: #cce7cc;
}

.footer .social-icons {
    display: flex;
    gap: 10px;
    z-index: 1;
    justify-content: center; /* Center align on smaller screens */
}

.footer .social-icons a {
    color: white;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer .social-icons a:hover {
    color: #cce7cc;
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .carousel {
      width: 100%; /* Full width for smaller screens */
    }
  
    .slider-card {
      flex: 0 0 90%; /* Cards occupy 90% of the width */
    }
  
    .carousel-btn {
      width: 40px;
      height: 40px;
      font-size: 1.2rem;
    }

    .contact-section {
        padding: 20px 40px; /* Reduce padding */
    }

    .form-container {
        padding-right: 0; /* Remove right padding */
    }

    form button {
        width: 50%; /* Adjust width for smaller screens */
    }

    .footer {
        padding: 20px 40px; /* Reduce padding */
    }
  }
  
  @media screen and (max-width: 480px) {
    .slider-card {
      flex: 0 0 100%; /* Full-width cards for very small screens */
    }
  
    .carousel-btn {
      width: 35px;
      height: 35px;
      font-size: 1rem;
    }

    .contact-section {
        padding: 20px; /* Further reduce padding */
    }

    form button {
        width: 100%; /* Full width for very small screens */
    }

    .footer {
        padding: 20px; /* Further reduce padding */
    }
  }

  /* Model color */
:root {
    --primary-color: #1ac073;
    --secondary-color: #f0faf7;
    --tertiary-color: #f2f2f2;
    --highlight-color: #2ebf91;
    --text-color: #000;
    --text-muted: #7a7a7a;
    --white: #fff;
}


  /* cart model */

  .modal {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 1000px;
    background-color: #f0faf7;
    color: #000000db;
    overflow-y: auto;
    z-index: 1000;
    padding: 20px;
    border-radius: 10px;
    display: none;
    overflow: hidden;
}

.cart-model-paragraph{
    color: #7a7a7a;
}

.modal-content {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.cart-model-heading {
    margin: 0;
    font-size: 3rem;
    margin-top: 2rem;
}

.cart-model-paragraph {
    margin: 0;
    margin-top: 1rem;
    font-size: 1.5rem;
    opacity: 0.5;
}

#close-modal {
    margin-top: 3rem;
    padding: 1.3rem 3.5rem;
    background-color: #1AC073;
    border-radius: 10px;
    color: #ffffff;
    border: none;
    font-size: 1rem;
    cursor: pointer;
}



/* Request a dish */

.dish-modal {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 550px;
    overflow-y: auto;
    z-index: 1000;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: none;
    background-color: var(--secondary-color);
}

.dish-modal-content {
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.request-dish-heading {
    margin: 3rem;
    font-size: 3rem;
}

.dish-model-input-details {
    margin: 1rem;
    width: 85%;
}

.name-section {
    width: 100%;
    height: 20px;
    font-size: 1.2rem;
    opacity: 0.7;
}

.dish-modal-name {
    padding: 1rem;
    width: 100%;
    border-radius: 10px;
    font-size: 1rem;
    color: var(--secondary-color);
    border: none;
}

.dish-modal-upload-image {
    width: 100%;
    height: 20px;
    font-size: 1.2rem;
    opacity: 0.7;
    margin-top: 2rem;
}

.dish-modal-upload-image-input {
    padding: 1rem;
    width: 100%;
    border-radius: 10px;
    font-size: 1rem;
    color: var(--secondary-color);
    border: none;
}

.dish-model-button-section {
    display: flex;
    margin-top: 4rem;
    gap: 1rem;
}

.close-dish-model-cancel-button {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 1rem 4.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 7px;
    font-size: 1rem;
}

.close-dish-modal-submit-button {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 1rem 3rem;
    border: 2px solid var(--primary-color);
    border-radius: 7px;
    font-size: 1rem;
} 