/* General Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

/* Utility Classes */
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.text-left {
  text-align: left;
}
.text-white {
  color: white;
}
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* Container */
.container {
  width: 100%; /* Adjusted for wider layout */
  max-width: 1400px; /* Max-width for very large screens */
  margin: 0 auto;
}

/* Typography */
h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #333;
}

h2 {
  color: #2f3542;
  font-size: 2rem;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.5rem;
}

/* Buttons */
.btn {
  padding: 1%;
  border: none;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
}

.btn-primary {
  background-color: #d3191a;
  color: white;
}

.btn-primary:hover {
  background-color: #d3191a;
  opacity: 0.9;
}

.btn-secondary {
  background-color: #000000;
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
}

.btn-secondary:hover {
  background-color: #000000;
}


/* Admin Section */
.main-content {
  max-width: 800px;
  margin: 50px auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.main-content h1 {
  text-align: center;
  color: #333333;
  margin-bottom: 20px;
}

/* Table Styling */
table {
  width: 100%;
  border-collapse: collapse;
}


table th {
  text-transform: uppercase;
}

table tbody tr:nth-child(even) {
  background-color: #ffffff;  
  /* THIS NEEDS TO BE WHITE! */
}

.food-menu {
  background: 
      url(../images/wow.gif);
  background-repeat: no-repeat;
background-size: cover;
  background-position: center bottom; /* Ensure it's centered at the bottom */
  background-attachment: fixed; /* Prevents parallax-like effects */
  overflow: hidden;
}

.food-menu-box {
  width: calc(33.333% - 20px); /* For three items per row on larger screens */
  margin: 0px;
  padding: 0px;
  background: linear-gradient(to bottom, transparent 35%, white 75%); /* White background at the bottom 25% */
  border-radius: 15px;
  box-shadow: 0 10px 10px rgba(0,0,0,0.2);  
  float: left;
}

.food-menu-desc {
  width: 100%;
  text-align: center;
  padding: 5px 5px 15px 0; /* Increased bottom padding to 30px */
}

.food-title {
  font-size: 1.2rem;
  margin: 5px 0 0;
  font-family: 'Quicksand', sans-serif;
}

.food-price {
  font-size: 1.1rem;
  color: #000000;
  margin: 0;
  font-family: 'Quicksand', sans-serif;
}

.quicksand {
  font-size: 1.1rem;
  color: #000000;
  font-family: 'Quicksand', sans-serif;
}

/* Food Search Section */
.openingscene {
  background: 
      url(../images/nature.gif);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom; /* Ensure it's centered at the bottom */
  background-attachment: fixed; /* Prevents parallax-like effects */
  padding: 15%;
  overflow: hidden;
  height: 100vh;
  font-weight: lighter;
  
  /* Ensure the text inside is wrapped in an element like a div */
  position: relative; /* So the text fades independently */
}

.openingscene .fade-text {
  opacity: 0; /* Start as invisible */
  animation: fadeInOut 5s infinite ease-in-out;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}



/* Food Search Section */
.food-search {
  background: 
      linear-gradient(to bottom, white, rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, 0) 90%, white),
      url(../images/wow.gif);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom; /* Ensure it's centered at the bottom */
  background-attachment: fixed; /* Prevents parallax-like effects */
  overflow: hidden;
}

@media (max-width: 375px) { /* Targeting mobile screens (up to 400px wide) */
  #food-search-section {
    margin-bottom: 5px; /* Adjust this value to your preference for mobile */
  }
}




.food-search input[type="search"] {
  width: 50%;
  padding: 1%;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
}

/* Categories */
.category-header {
  font-size: 1.8rem;
  color: #000000;
  margin: 15px 5px;
  /* text-transform: capitalize; */
  /* padding-bottom: 5px; */
  font-family: 'Quicksand', sans-serif;
  background-color: #ffffff;
  padding: 15px; /* Add padding to ensure text is not too close to the edges */
  border-radius: 5px; /* Optional: Rounds the corners of the background */
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.311);
  font-weight: 400;
  border: 1px solid #000000; /* Adds a very thin black border */
}




.category-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

/* Swiper */
.swiper-container {
  overflow: hidden;
}

.swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.box-3 {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 0;
}

.swiper-slide img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  margin-bottom: 10px;
}

.category-title {
  font-size: 16px;
  color: #333;
  margin-top: 10px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
}

/* Dropdown Menu */
.dropdownPersonal-menu {
  font-family: 'Quicksand', sans-serif;
  position: absolute;
  background-color: #fff;
  z-index: 1000;
  width: 150px;
  list-style-type: none;
  padding: 0;
  margin-left: 16px; /* Adjusted margin to move the box a little more to the right */
}


.dropdownPersonal-menu li {
  margin: 2.5px 0;
  display: flex;
  align-items: center; /* Vertically align icons and text */
  padding: 8px 0;
}

.dropdownPersonal-menu a {
  color: #000000;
  padding: 5px 10px;
  font-weight: lighter;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  width: 100%;
}


.dropdownPersonal-toggle {
  text-decoration: none;
  color: #000000;
}

.dropdownPersonal-toggle i {
  margin-left: 5px;
}

/* Navbar */
.navbar ul li a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  gap: 5px;
}

.navbar ul li a i {
  font-size: 1.2rem;
  vertical-align: middle;
  line-height: 1;
}

.navbar ul li {
  display: inline-block;
  padding: 0;
  margin: 0;
}

/* Button Group */
.button-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.button-group .btn {
  width: 200px;
  text-align: center;
}

/* Loyalty Time */
.loyaltytime {
  color: #FFD700 !important;
}

/* Navbar Section */
.logo {
  border: 1px solid black;
}

.menu {
  line-height: 60px;
}

.menu ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu ul li {
  display: inline;
  padding: 1%;
  margin-right: 20px;
}

.container {
  width: 100%; /* Make the container full width */
  max-width: 1200px; /* Set a maximum width for larger screens */
  margin: 0 auto; /* Center the container */
  padding: 0 5px; /* Add padding to prevent content from touching the edges */
}

.order-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
}

.order-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    width: calc(33.333% - 20px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.order-item h1 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.order-details {
    display: flex;
    gap: 15px;
}

.order-details img {
    max-width: 100px;
    border-radius: 4px;
}

.order-info {
    flex: 1;
}

.order-info span {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #666;
}

.btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    background-color: #d3191a;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.btn-secondary:hover {
    background-color: #d3191a;
}

/* STYLING FOR ORDER AGAIN IMAGES START */

.food-menu-img-again {
  margin-bottom: 0;  /* Remove any bottom margin */
  padding-bottom: 0; /* Remove any bottom padding */
}

img.img-responsive {
  margin-bottom: 0;  /* Remove any bottom margin directly on the image */
}

/* Ensure the button stretches to full width and removes top left and right border radius */
.full-width {
  width: 100%;
  box-sizing: border-box; /* Ensures padding does not affect the width */
}

.no-top-radius {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.quicksand {
  font-family: 'Quicksand', sans-serif;
}

.food-menu-box {
  margin-bottom: 10px; /* Adjust this value as needed */
}

.container {
  display: flex;
  flex-direction: column;
  gap: 10px; /* This creates space between flex items */
}

.no-animation {
  animation: none !important;
}

.shake {
  animation: shake 0.5s; 
}






/* STYLING FOR ORDER AGAIN IMAGES END */




.REORDERBOX {
  background-color: white;
  border-top-left-radius: 15px;  /* Apply radius to the top-left corner */
  border-top-right-radius: 15px; /* Apply radius to the top-right corner */
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);  
  margin-bottom: 10px;
  display: inline-block;
  vertical-align: top;
}


@media (max-width: 767px) {
  .REORDERBOX {
    width: 90%; /* Or any percentage less than 100% to make it smaller on mobile */
    margin-left: auto;
    margin-right: auto; /* This centers the div if it's not full width */
  }
}

/* Container */

/* Length of the reorder button */
.swiper-slide .REORDERBOX .btn-secondary {
  width: 100% !important;
}

.swiper-slide {
  display: flex;
  flex-direction: column; /* if vertical alignment is needed */
}
.swiper-slide {
  display: grid;
  grid-template-columns: 100%; /* or more complex grid setup */
}

.strongy {
  font-weight: bold;
}

/* NIX THIS WHEN YOU WANT THE BORDERS BACK */
* {
  border-style: none !important;
}

.order-date-spacer-above {
  margin-top: 5px;  /* Adds 5px of space above the text */
}

.order-date-spacer {
  margin-bottom: 5px;  /* This was from the previous request, keeping it for consistency */
}

.swiper-slide {
  pointer-events: auto; /* Make the link clickable */
}

.swiper-slide .category-link {
  pointer-events: all; /* Ensure the anchor is clickable */
}

.categorybackground {
  background-color: #ffffff00;
}

/* Mobile-specific adjustments for .food-menu */
@media (max-width: 767px) {
  .food-menu {
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding: 0 0; /* Optional padding for some breathing room */
  }
}

/* Index.php search section styling START */

.food-price-search {
  background-color: transparent;
  height: 50px;
  line-height: 25px;
  padding: 0 10px;
  border: 1px solid #ccc;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  resize: none;
  width: 100%; /* Assuming you want the search input to be responsive */
}

.food-price-search::placeholder {
  color: #000000;
  text-align: center;
  opacity: 1;
  font-weight: bold;
}

.food-price-search:focus::placeholder {
  opacity: 0;
}

/* Styling for the search textarea */
.food-price-search {
  background-color: transparent;
  height: 50px;
  line-height: 25px;
  padding: 0 10px;
  border: 1px solid #ccc;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  resize: none;
  font-weight: bold; /* This makes the text bold */
}

.food-price-search::placeholder {
  color: #000000;
  text-align: center;
  opacity: 1;
  font-weight: bold; /* Ensures placeholder text is also bold */
}

.food-price-search:focus::placeholder {
  opacity: 0;
}

/* Styling for the search button */
.search-button {
  background-color: #d3191a;
  border: none;
  color: white;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  line-height: 40px;
}

/* Remove the focus outline (black border) on the search button */
.search-button:focus {
  outline: none;
}

.search-button i {
  vertical-align: middle;  /* Ensures icon is aligned in the middle */
  position: relative;      /* Needed to move the icon */
  top: -11px;              /* Increase this value to move the icon further up */
}

/* styling menu.php for mobile viewport START */



/* General styles */
.img-fluid {
  max-width: 100%;
  height: auto;
}

.menu-icon {
  display: none;
  cursor: pointer;
}

@media (max-width: 375px) {

}

/* styling menu.php for mobile viewport END */




















/* For smaller screens */
@media (max-width: 375px) {


  /* STYLING THE MENU (NO LOGO) START*/
  
.menu.show {
      display: block;
      position: absolute;
      top: 50px;
      left: 0;
      right: 0;
      background: #ffffff00;
  }


  .menu ul {
    text-align: center;
  }

  /* STYLING THE MENU (NO LOGO) END*/










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

  .btn-basket {
      margin-top: 10px;
  }





  .food-search input[type="search"] {
    width: 90%;
    padding: 2%;
    margin-bottom: 3%;
  }

  .btn {
    width: 91%;
    padding: 2%;
  }

  .food-search {
    padding: 10% 0;
  }

  .categories {
    padding: 20% 0;
  }

  h2 {
    margin-bottom: 10%;
  }

  .box-3 {
    width: 50%;
    margin: 4% auto;
  }

  .food-menu {
    padding-left: 0;
    padding-right: 0;
    text-align: center; /* Center align the menu boxes */
    margin: 0; /* Ensure no margins */
  }

  .food-menu-box {
    width: 100%; /* Set the width to 50% of the viewport width */
    margin: 0; /* No margin between the boxes */
    display: inline-block; /* Allows for side-by-side placement */
    vertical-align: top; /* Ensure boxes align at the top */
  }

  .social {
    padding: 5% 0;
  }

  .order {
    width: 100%;
  }


}


.your-svg-class {
  overflow: visible; /* Ensure this isn't set to hidden */
}


.badge-circle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  background-color: #d3191a; /* Set your badge color */
  color: white;
  font-size: 12px;
  position: absolute;
  top: -3px;
  left: 32px;
  border-radius: 50%;
}

.badge-circle span {
  display: inline-block;
  min-width: 20px;
  padding: 0 5px;
  font-size: 12px;
}

.badge-circleCheckout {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  background-color: #d3191a; /* Set your badge color */
  color: white;
  font-size: 12px;
  position: absolute;
  top: 13px;
  right: 55px;  /* Move it to the right */
  border-radius: 50%;
}

.badge-circleCheckout span {
  display: inline-block;
  min-width: 20px;
  padding: 0 5px;
  font-size: 12px;
}

html {
  scroll-behavior: smooth;
}


/* Only apply the swell animation to swiper links inside the swiper */
.swiper-container-wrapper .category-link:focus {
  animation: swell 0.3s ease;
}

.menu-text {
  padding-left: 5px; /* Adjust this value to your liking */
}

.loyalty-box {
  display: inline-block;
  width: 50px; /* Width of the box */
  height: 50px; /* Height of the box */
  border-radius: 8px; /* Soft rounded corners */
  background-color: #e5e5e5; /* Light gray background (can change as needed) */
  text-align: center; /* Center the content (icon or space) */
  line-height: 50px; /* Align content vertically in the middle */
  margin-right: 5px; /* Space between boxes */
  margin-bottom: 10px; /* Space between boxes */
  vertical-align: middle; /* Ensures the boxes stay aligned even if they contain different content (images or spaces) */
}

.loyalty-box img {
  width: 50px; /* Ensure the image is smaller than the box */
  height: auto; /* Maintain aspect ratio */
  vertical-align: middle; /* Align image vertically within the box */
}




/* DROPDOWNMENU ON MOBILE START */
/* DROPDOWNMENU ON MOBILE START */
/* DROPDOWNMENU ON MOBILE START */
/* DROPDOWNMENU ON MOBILE START */
/* DROPDOWNMENU ON MOBILE START */

    /* Default for larger screens */
    .img-container {
      float: left;
      margin-right: 10px;
      border-radius: 15px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }

  /* For mobile screens, ensure proper spacing */
  @media (max-width: 768px) {
      .img-container {
          float: none;  /* Remove float on small screens */
          display: inline-block; /* Ensures image doesn't overlap text */
          margin-right: 15px; /* Ensure space between image and text */
          margin-bottom: 10px; /* Space below image */
      }
      
      /* Ensure the text is stacked properly */
      .cart-detail-product {
          clear: both; /* Ensures text is below the image */
      }
  }








/* DROPDOWNMENU ON MOBILE END */
/* DROPDOWNMENU ON MOBILE END */
/* DROPDOWNMENU ON MOBILE END */
/* DROPDOWNMENU ON MOBILE END */
/* DROPDOWNMENU ON MOBILE END */



body.modal-open {
  overflow: hidden; /* Prevents scrolling */
}

.checkout-btn {
  width: 100%;               /* Button takes up 50% of the screen */
  padding: 15px 60px;          /* Increase the thickness of the button */
  font-size: 18px;          /* Adjust font size if needed */
  text-align: center;       /* Center the text horizontally */
  display: inline-block;    /* Ensures it only takes 50% width */
  margin-top: 30px; /* Adjust the value as needed */
  line-height: normal;      /* Adjusts vertical alignment */
}

.icon-green {
  color: green;
}




.food-menuOHistory-img {
  width: 100%;
  padding-bottom: 185px; /* Aspect ratio for images */
  position: relative;
  background-color: transparent; /* No background in the image section */
}

.food-menuOHistory-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px 15px 0 0;
}

.food-menuOHistory-img-again {
  margin-bottom: 0;  /* Remove any bottom margin */
  padding-bottom: 0; /* Remove any bottom padding */
}



.food-menu-box {
  width: calc(33.333% - 20px); /* For three items per row on larger screens */
  margin: 0px;
  padding: 0;
  float: left;
  border-radius: 15px;
  box-shadow: 0 10px 10px rgba(0,0,0,0.2);  
}

.food-menu-img {
  width: 100%;
  padding-bottom: 100%; /* Aspect ratio for images */
  position: relative;
  background-color: transparent; /* No background in the image section */
}

.food-menu-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px 15px 0 0;
}


.food-menu-desc {
  background-color: white; /* White background for the text part */
  padding: 15px;
  border-radius: 0 0 15px 15px; /* Rounded corners for the text part */
}

.food-menu-desc .food-title {
  font-size: 18px;
  font-weight: bold;
}

.food-menu-desc .food-price {
  font-size: 16px;
  color: #333;
}

.container {
  position: relative;
}

.quicksand {
  position: absolute;
  bottom: -46px; /* Positions the button at the bottom of the container */
  left: 0px; /* Moves the button 10px to the left */
  right: 10px; /* Moves the button 10px to the right */
  width: auto; /* Allows the button's width to auto-expand beyond the container */
}

/* Style to be applied when a meal option is selected */
.selected {
  background-color: rgb(143, 226, 145);
}

.small-space {
  display: block;
  margin-bottom: 4px; /* Adjust this value as needed */
}

textarea.input-responsive {
  border: 1px solid #ccc;
}


.flex-grow-1 { 
  flex: 1; 
}

.dropdown-menu {
  /* ... your existing styles ... */
  display: flex; 
  flex-direction: column; 
}

.deadset {
  text-decoration: none; /* Removes the underline */
  color: white; /* Ensures the link doesn't change color */
}

.deadset:visited,
.deadset:active,
.deadset:hover,
.deadset:focus {
  color: white; /* Ensures the link stays the same color on hover, active, visited, and focus */
  text-decoration: none; /* Ensures no underline on these states */
  box-shadow: none !important; /* Remove any shadow or outline */

}

  /* Add transition for smooth font-size enlargement */
  .enlarge {
    transition: font-size 0.2s ease-in-out; /* Smooth transition */
  }

  /* Enlarge the text when the button is clicked */
  .enlarge:active {
    font-size: 26px !important; /* Increase font size when clicked */
  }

