/* Order Tab */
#OrderTab {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50vh;
  text-align: center;
  background-image: url("/static/images/PizzaBites.png");
  background-size: cover;
  background-position: center;
  width: 100%;
}

#OrderTab>div {
  background: #f8f8f8;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 8px;

  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#OrderTab h2 {
  color: var(--color-1);
}

#OrderTab input {
  height: 30px;
}

/* Buttons */
.button-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

#suggestions {
  position: absolute;
  top: 100%;
  /* show directly below the input */
  left: 0;
  width: 100%;
  border: 1px solid #ccc;
  background: white;
  z-index: 1000;
  list-style: none;
  padding: 0;
  margin: 2px 0 0 0;
  max-height: 150px;
  overflow-y: auto;
  border-radius: 4px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

#suggestions li {
  padding: 8px 12px;
  cursor: pointer;
}

#suggestions li:hover {
  background-color: #f0f0f0;
}

/* Main Carousel */
#main-carasol-container {
  height: fit-content;
  /* background-color: var(--color-1); */
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Center items horizontally */
  /* justify-content: center; Center items vertically */
  overflow: hidden;
  color: var(--color-2);
  width: 100%;
  /* position: relative; */
}

/* Carousel Wrapper */
#Carasol {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  scroll-behavior: smooth;
  white-space: nowrap;
  gap: 10px;
  padding: 10px;
  width: auto;
  /* Auto width to fit items */
  max-width: 100%;
  /* justify-content: center; Center the items */
  scroll-snap-type: x mandatory;
}

/* Hide Scrollbar */
#Carasol::-webkit-scrollbar {
  display: none;
}

/* Individual Carousel Items */
.carasol-container {
  width: 300px;
  background-color: white;
  border-radius: 4px;
  color: var(--color-1);
  flex-shrink: 0;
  scroll-snap-align: start;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-weight: bold;
}

/* Images */
.weoffer-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

/* Images */
.pizza-img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 4px 4px 0 0;
}

/* Why Us Section */
#Whyus-childrens {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.whyus-container {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  background-color: var(--color-1);

  padding: 8px;
  border-radius: 4px;
}

/* Responsive Design */

#contact-form-container {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  /* background-color: #f9f9f9; */
  /* border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
}

#contact-form-container h2 {
  text-align: center;
  margin-bottom: 20px;
}

form {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex-wrap: wrap;
  align-items: flex-start;

  gap: 15px;
}

label {
  font-size: 14px;
  color: #333;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

textarea {
  height: 150px;
  resize: none;
  /* Prevents resizing the textarea */
}

.contact-number {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 8px;
}

.contact-number>div {
  display: flex;
  padding: 4px;
  align-items: center;
}

@keyframes scrollCarasol {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

.scrolling {
  display: flex;
  flex-wrap: nowrap;
  animation: scrollCarasol 5s linear infinite;
}

a {
  text-decoration: none;
  color: inherit;
  /* Inherit color from parent */
}

@media screen and (max-width: 768px) {
  .container {
    grid-template-rows: repeat(auto-fit, minmax(200px, 1fr));
  }

  /* #Whyus-childrens {
    flex-direction: column;
    align-content: center;
  } */

  #Whyus-childrens {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Creates 2 equal columns */
    gap: 4px;
    /* Adjust spacing between grid items */
    justify-content: center;
    /* Centers the grid if it's not full width */
    align-items: center;
    /* Aligns items vertically */
  }

  .whyus-container {
    width: 100%;
    justify-content: space-around;
  }

  /* Images */
  .weoffer-img {
    height: 150px;
  }
}