html {
  scroll-behavior: smooth;
  
}


/* Global Box-Sizing and Reset */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

/* Root Variables */
:root {
  --primary-color: #002d7b;
  --secondary-color: #f2a21c;
  --secondary-bg-color: #fff7e0;
  --main-color: #242330;
  ---detail-color: #c60120;
  --cwhite: #ffffff;
  --cblack: #0C0C0C;
  --neutral-light: #ededed;
  --natural-lighter: #F9F9F9;
  --success-light: #d1f7e5;
  --success: #04AB5B;
  --gray-medium: #9ca3af;
  --gray-drak: #4b5563;
  --transition-250s: .250s ease-in;
  --nav-height: 95px;
}

::-webkit-scrollbar {
  width: 10px; 
  height: 12px; 
}

::-webkit-scrollbar-track {
  background: #4a2e1b; 
}

::-webkit-scrollbar-thumb {
  background: var(--secondary-color); 
}

::-webkit-scrollbar-thumb:hover {
  background: whitesmoke; 
}

/* Firefox */
/* CSS for modal overlay */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 40;
}

.modal-overlay.active-modal {
  display: block;
}

.container {
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1280px) {
  .custom-container {
    max-width: 1280px;
    /* Apply max-width for 1280px screens */
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* special button */
.special-button {
  padding: 16px 46px;
  font-weight: 600;
  font-size: 18px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: block;
}

.special-button span {
  position: relative;
  z-index: 1;
}

.special-button img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: var(--transition-250s);
}

.special-button:hover img {
  opacity: .3;
  transition: var(--transition-250s);
}

@media (max-width: 640px) {
  .special-button {
    padding: 10px 20px;
    font-weight: normal;
    font-size: 16px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: block;
  }

}

/* Details Button */

.details-button {
  text-align: center;
  transition: var(--transition-250s);
  color: var(--gray-drak);
  cursor: pointer;
  padding: 12px 0;
  width: 100%;
  font-size: 18px;
  font-weight: 300;
  position: relative;
}

.details-button:hover {
  background-color: #c60120;
  color: #ffffff;
  transition: var(--transition-250s);
}

.details-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--gray-medium);
  height: 1px;
  width: 50%;
  border-radius: 50%;
  transition: var(--transition-250s);
}

.details-button:hover::before {
  background-color: transparent;
  transition: var(--transition-250s);
}

/* custom right to left */
.custom-rtl {
  direction: rtl;
}

body {
  font-family: "Alexandria", sans-serif;
  text-align: right;
  direction: rtl;
  background-color: var(--secondary-bg-color);
  line-height: 1.8 !important;
}

.fixed-header {
  position: fixed;
  width: 100%;
  z-index: 100;
  top: 0;
  left: 0;
  box-shadow: 0px 1px 0px 0px #f6d985;
}

.nav-height {
  height: var(--nav-height);
}

.fixed-header nav {
  height: var(--nav-height);
  background: var(--secondary-bg-color);
}

.main-banner {
  margin-top: var(--nav-height);
  height: calc(100vh - var(--nav-height) * 2);
}

.glide-50 {
  max-width: 650px;
}

@media (max-width: 1280px) {
  .glide-50-container {
    flex-direction: column-reverse;
    align-items: center;
  }

  .about-glid-50 {
    align-items: center !important;

  }
}

@media (max-width: 600px) {
  .glide-50 {
    max-width: 375px;
  }

}

.famous-dishes {
  min-height: calc(100vh - var(--nav-height));
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  border: 1px solid #adb5bd;
  transition: .4s;
  border-radius: 30px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 1.4em;
  width: 1.4em;
  border-radius: 20px;
  left: 0.27em;
  bottom: 0.25em;
  background-color: #adb5bd;
  transition: .4s;
}

input:checked+.slider {
  background-color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

input:focus+.slider {
  box-shadow: 0 0 1px var(--primary-color);
}

input:checked+.slider:before {
  transform: translateX(1.4em);
  background-color: #fff;
}

.about-services {
  height: calc(100vh - var(--nav-height));
  overflow: hidden;
  position: relative;
}

.about-services::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: var(--secondary-color);
  background-color: var(--primary-color);
  mix-blend-mode: multiply;
  z-index: 1;
  opacity: .88;
}

.sanna-direction {
  min-height: calc(100vh - var(--nav-height));
}

.direction-map:hover .direction-address {
  color: var(--cwhite);
  background-color: var(---detail-color);
  transition: var(--transition-250s);
}


.food-category-banner {
  height: 500px;
}

.category-item {
  cursor: pointer;
  /* border: 3px solid red; */
  font-size: 14px;
  text-align: center;
}

.category-item:hover {
  background-color: #c60120;
  color: var(--cwhite);
  transition: var(--transition-250s);
}

@media (max-width: 768px) {
  .category-item {
    font-size: 12px;
  }
}

.dish-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 325px));
  justify-content: center;
  grid-auto-rows: min-content;
  padding-top: 50px;
}

.dish-item {
  background: #fdf7e2cb;
  overflow: hidden;
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  position: relative;
  margin: 10px;
}

.dish-details {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: #fff9e7;
  color: var(--primary-color);
  padding: 10px;
  z-index: 10;
  overflow: hidden;
  transition: 0.3s transform ease-out;
  transform: translateY(-100%);
}

.dish-details.show {
  transform: translateY(0);
}

.dish-details ul {
  padding: 20px;
}

.dish-img {
  padding: 10px;
  overflow: hidden;
  border-radius: 65px;
  width: 100%;
  height: 200px;
}

.dish-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.dish-item h3,
.dish-item p {
  padding: 2px 10px;
  width: 100%;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dish-item .add-btn {
  background-color: #f2a21c;
  padding: 2px 20px;
  margin: 10px;
  border-radius: 5px;
  font-size: 14px;
  color: var(--cwhite);
}

.dish-item .add-btn:hover {
  background-color: #c60120;
  color: var(--cwhite);
  transition: var(--transition-250s);
}

.dish-item .show-item-details {
  position: absolute;
  bottom: 10px;
  left: 10px;
  border-radius: 50%;
  color: #002d7b;
}

.dish-item .show-item-details:hover {
  color: #005eff;
  transition: var(--transition-250s);
}

.dish-item .hide-item-details {
  color: black;
}

.dish-item .hide-item-details:hover {
  color: var(---detail-color);
  transition: var(--transition-250s);
}

.cart-container {
  height: calc(100vh - var(--nav-height));
  background: var(--main-color);
  background: var(--secondary-bg-color);
  width: 350px;
  transform: translateX(-110%);
  transition: .4s ease-out;
  box-shadow: 1px 3px 1px 0px #f6d985;
}

.cart-container.show {
  transform: translateX(0%);
}

.cart-list {
  margin-top: 20px;
  padding: 10px;
  max-width: 350px;
  height: 80%;
  overflow: auto;
}

.cart-item {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  overflow: hidden;
  background-color: #fff9e7;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  margin: 10px 0;
  font-size: 14px;
  height: 120px;
}

.cart-item-image {
  width: 150px;
  overflow: hidden;
  border-radius: 10px;
  height: 100%;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cart-item-details {
  padding: 5px 10px;
}

.cart-item-details {
  width: 150px;
}

.cart-item-details h4 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-item-controls {
  background-color: #005eff;
}

.decrease-increase-container {
  align-self: center;
  height: 100%;
  width: 30px;
}

.decrease-increase-container button {
  width: 100%;
  font-size: 24px;
  height: 50%;
  background-color: antiquewhite;
}

.decrease-quantity:hover {
  background-color: red;
  color: var(--cwhite);
  transition: var(--transition-250s);
  
}

.increase-quantity:hover {
  background-color: green;
  color: var(--cwhite);
  transition: var(--transition-250s);
}

.remove-cart-item {
  width: 100%;
  border: 1px solid rgba(255, 0, 0, 0.500);
  color: rgba(255, 0, 0, 0.500);
  border-radius: 10px;
  font-size: 12px;
}

.remove-cart-item:hover {
  color: var(--cwhite);
  background-color: red;
  border-color: red;
  transition: var(--transition-250s);
}

/* dishes page */

.custom-input {
  margin: 0;
  background-color: var(--cwhite);
  width: 100%;
  padding: 16px 36px;
  display: block;
  border: 1px solid #000;
  color: #353535;
  font-size: 18px;
  font-weight: 700;
  line-height: 96.9%;
}

.login-container {
  height: calc(100vh - var(--nav-height));
}

.admin-side-bar {
  transition: var(--transition-250s);
}
.admin-side-bar {
  transform: translateX(100%);
}
.admin-side-bar.show {
  transform: translateX(0%);
}

.custom-glid-slide li {
  position: relative;
  /* border-radius: 5px; */
  padding: 40px 0;
}

.custom-glid-slide li::before {
  content: "";
  left: 0px;
  top: 0;
  height: 100%;
  width: 1px;
  background-color: var(---detail-color);
  position: absolute;
}

