/* General Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-style: none !important; /* NIX THIS WHEN YOU WANT THE BORDERS BACK */
}

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

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

/* 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%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

/* 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: #ea1a20;
  color: white;
}

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

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

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

.checkout-btn {
  width: 100%;
  padding: 15px 60px;
  font-size: 18px;
  text-align: center;
  display: inline-block;
  margin-top: 30px;
  line-height: normal;
}

/* 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 */
.food-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  background: url(../images/eddysgif.gif);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
  background-attachment: fixed;
  overflow: hidden;
}

.food-menu-box {
  width: 100px;
  margin: 10px auto;
  padding: 0;
  background: linear-gradient(to bottom, transparent 35%, white 75%);
  border-radius: 15px;
  box-shadow: 0 10px 10px rgba(0,0,0,0.2);
  float: none;
  display: inline-block;
  vertical-align: top;
}

@media (orientation: landscape) {
  .food-menu-box {
    width: 100px;
    margin: 10px auto;
    float: none;
    display: inline-block;
  }
}

@media (max-width: 375px) {
  .food-menu-box {
    width: 100%;
    margin: 0;
    display: inline-block;
    vertical-align: top;
  }
}

.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-img-again {
  margin-bottom: 0; /* Remove any bottom margin */
  padding-bottom: 0; /* Remove any bottom padding */
}

.food-menu-desc {
  width: 100%;
  text-align: center;
  padding: 15px;
  border-radius: 0 0 15px 15px;
  background-color: white; /* White background for the text part */
}

.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;
}

.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 Search Section */
.openingscene {
  background: url(../images/eddysgif.gif);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
  background-attachment: fixed;
  padding: 15%;
  overflow: hidden;
  height: 100vh;
  font-weight: lighter;
  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 {
  background: linear-gradient(to bottom, white, rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, 0) 90%, white),
      url(../images/eddysgif.gif);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
  background-attachment: fixed;
  overflow: hidden;
}

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

.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 */
  font-weight: bold;
}

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

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

.search-button {
  background-color: #ea1a20;
  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;
}

.search-button:focus {
  outline: none;
}

.search-button i {
  vertical-align: middle;
  position: relative;
  top: -11px;
}

/* Categories */
.category-header {
  font-size: 1.8rem;
  color: #000000;
  margin: 15px 5px;
  font-family: 'Quicksand', sans-serif;
  background-color: #ffffff;
  padding: 15px;
  border-radius: 5px;
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.311);
  font-weight: 400;
  border: 1px solid #000000;
}

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

.categorybackground {
  background-color: #ffffff00;
}

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

.swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: auto; /* Make the link clickable */
}

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

.swiper-container-wrapper .category-link:focus {
  animation: swell 0.3s ease;
}

.swiper-slide .REORDERBOX .btn-secondary {
  width: 100% !important;
}

.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;
}

.dropdownPersonal-menu li {
  margin: 2.5px 0;
  display: flex;
  align-items: center;
  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;
}

.dropdown-menu {
  display: flex;
  flex-direction: column;
}

/* 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;
}

.loyalty-box {
  display: inline-block;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background-color: #e5e5e5;
  text-align: center;
  line-height: 50px;
  margin-right: 5px;
  margin-bottom: 10px;
  vertical-align: middle;
}

.loyalty-box img {
  width: 50px;
  height: auto;
  vertical-align: middle;
}

/* 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;
}

.menu-text {
  padding-left: 5px;
}

/* Order Container */
.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: 100px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.order-item h1 {
  font-size: 18px;
  margin-bottom: polymorphic;
  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;
}

.order-date-spacer-above {
  margin-top: 5px;
}

.order-date-spacer {
  margin-bottom: 5px;
}

/* Styling for Order Again Images */
img.img-responsive {
  margin-bottom: 0;
}

.full-width {
  width: 100%;
  box-sizing: border-box;
}

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

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

.shake {
  animation: shake 0.5s;
}

.REORDERBOX {
  background-color: white;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  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%;
    margin-left: auto;
    margin-right: auto;
  }
}

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

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

.your-svg-class {
  overflow: visible;
}

.badge-circle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  background-color: #28a745;
  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: #28a745;
  color: white;
  font-size: 12px;
  position: absolute;
  top: 13px;
  right: 55px;
  border-radius: 50%;
}

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

.icon-green {
  color: green;
}

.strongy {
  font-weight: bold;
}

.selected {
  background-color: rgb(143, 226, 145);
}

.small-space {
  display: block;
  margin-bottom: 4px;
}

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

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

.deadset {
  text-decoration: none;
  color: white;
}

.deadset:visited,
.deadset:active,
.deadset:hover,
.deadset:focus {
  color: white;
  text-decoration: none;
  box-shadow: none !important;
}

.enlarge {
  transition: font-size 0.2s ease-in-out;
}

.enlarge:active {
  font-size: 26px !important;
}

html {
  scroll-behavior: smooth;
}

/* Dropdown Menu on Mobile */
.img-container {
  float: left;
  margin-right: 10px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .img-container {
    float: none;
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 10px;
  }
  .cart-detail-product {
    clear: both;
  }
}

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

@media (max-width: 375px) {
  .menu.show {
    display: block;
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    background: #ffffff00;
  }
  .menu ul {
    text-align: center;
  }
  .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;
    margin: 0;
  }
  .social {
    padding: 5% 0;
  }
  .order {
    width: 100%;
  }
  #food-search-section {
    margin-bottom: 5px;
  }
}

/* Quicksand Font */
.quicksand {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.1rem;
  color: #000000;
  position: absolute;
  bottom: -46px;
  left: 0px;
  right: 10px;
  width: auto;
}