:root {
  --item-bg: #6464644f;
  --title-color: var(--color-brand);
  --cta-color: var(--color-brand-second);
  --cta-second-color: var(--color-brand-third);
  --subtitle-color: #bbbbbbdd;
  --text-color: #ccc;
}

.menu__category,
h2 {
  font-family: var(--font-family-title);
}

h3 {
  font-family: var(--font-family-subtitle);
}

p {
  font-family: var(--font-family);
}

.row {
  flex-direction: row;
}

.column {
  flex-direction: column;
}

.row,
.column {
  display: flex;
}

.space-between {
  justify-content: space-between;
}

.center {
  justify-content: center;
  align-items: center;
}

.img-text__content.center.row {
  backdrop-filter: blur(8px) brightness(0.5);
  -webkit-backdrop-filter: blur(5px) brightness(0.6);
}

.hero--on-section {
  margin: -50px 0 0 0;
}

.hero {
  height: calc(100vh - var(--header-height));
  width: 100%;

  h1,
  p,
  img {
    transition: opacity 1s ease-in-out;
  }

  .hero__wrapper,
  #heroVideo {
    height: 100%;
  }

  #heroVideo {
    object-fit: cover;
  }

  .start__body {
    gap: 25px;

    h1 {
      color: #ddd;
      font-weight: 100;
      font-size: 4rem;
      letter-spacing: 5px;
      font-family: var(--font-family-subtitle);
    }

    p {
      color: #ffffff91;
      font-size: 1.3rem;
      font-weight: 500;
      text-transform: uppercase;
      letter-spacing: 5px;
    }

    img {
      height: 100%;
      object-fit: contain;
    }
  }
}

.fixed-cta {
  right: 20px;
  bottom: 8px;
  z-index: 99;
  width: 55px;
  height: 60px;
  background: black;
  border-radius: 25px;
  position: fixed;
  background: #222;
  padding: 10px;
}



.menu__wrapper {
  padding: 20px 0px;
  gap: 10px;
}

.category__wrapper {
  padding: 10px;
  overflow-x: scroll;
  gap: 10px;
  top: 0;
  z-index: 1;
  position: sticky;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);

  .btn {
    background-color: #3333336d;
    border: 5px solid #aaaaaa40;
    border-radius: 10px;
    box-shadow: 0 0 20px #333;
    width: max-content;
    text-transform: capitalize;
  }
}

.category__wrapper .btn {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.category__wrapper .category__btn--important {
  color: var(--color-brand);
  font-weight: 900;
  font-style: italic;
}

.menu__category {
  font-size: 2.5rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #bbb;
  text-shadow: 0 0 10px #aaa;
  padding: 60px 0 0 0;
  text-align: center;
}

.menu__item-wrapper {
  display: flex;
  flex-direction: row;
  overflow-x: scroll;
  width: 100%;
  gap: 10px;
  padding: 25px;
  background: radial-gradient(circle, rgba(18, 16, 16, 0.75) 0%, rgba(13, 12, 12, 0.1) 69%, rgba(34, 34, 34, 0.38) 100%);
  z-index: 0;
}

.menu__item {
  background-color: var(--item-bg);
  align-items: stretch;
  backdrop-filter: blur(21px);
  -webkit-backdrop-filter: blur(21px);
  background: rgba(100, 100, 100, 0.3);
  /* Fallback background */
  padding: 10px;
  gap: 10px;
  border-top: 1px solid #555;
  box-shadow: 0 -10px 10px #ffffff0f;
  width: 300px;
  border-radius: 25px;
  z-index: -1;
  background: linear-gradient(360deg, rgba(38, 38, 38, 0.75) 0%, rgba(21, 18, 18, 0.55) 32%, rgba(34, 34, 34, 0.38) 100%);

  .item__img {
    height: 150px;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
    box-shadow: 0 0 30px #030304c4;
    border: 1px solid black;

    .fallback {
      object-fit: cover !important;
    }

    img {
      background-color: #000000;
    }
  }

  .item__bottom {
    display: flex;
    flex-direction: column;
    gap: 5px;
    overflow: hidden;
    width: 100%;
    height: 100%;
    justify-content: space-between;

    h2 {
      font-size: 1.5rem;
      font-weight: 900;
      color: var(--title-color);
      line-height: 1.5rem;
      letter-spacing: -1px;
      border-bottom: 2px solid #ffffff5e;
      padding: 0 0 10px 0;
      width: 300px;
    }

    p {
      font-size: 0.8rem;
      font-weight: 400;
      color: var(--text-color);
      margin: 0 0 5px 0;
      width: 100%;
    }

    h3 {
      font-size: 1.8rem;
      font-weight: 300;
      color: var(--cta-second-color);
      text-shadow: 0 0 10px #777;

      span {
        font-size: 1rem;
      }
    }
  }
}

.brand-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background: #71717136;
  margin: 0;
  gap: 15px;
  background: #000000;
  background: linear-gradient(0deg,
      rgba(0, 0, 0, 1) 0%,
      rgba(204, 204, 204, 0) 100%);
  overflow-x: auto;

  img {
    object-fit: contain;
    width: 101px;
  }
}

.popup {
  position: fixed;
  display: none;
  top: 0px;
  width: 100vw;
  height: 100vh;
  opacity: 1;
  z-index: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  transition: opacity 0.3s ease, display 0s;
  /* Add transition for opacity */

  h4 {
    font-family: var(--font-family-subtitle);
    color: var(--color-brand);
    font-size: 2rem;
    text-align: center;
  }

  img {
    /* display: none; */
    width: clamp(300px, 80%, 600px);
    height: 60vh;
    object-fit: cover;
    background-color: transparent;
  }

  img.default-img {
    object-fit: contain;
  }

  button {
    border: 3px solid #ccc;
    border-radius: 38px;
    padding: 10px 35px;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 1.2rem;
    color: #cccccc;
    background: #262626bf;
  }
}

.popup--open {
  display: flex;
  backdrop-filter: blur(5px) brightness(30%);
  -webkit-backdrop-filter: blur(5px) brightness(30%);
  background: rgba(0, 0, 0, 0.3);
  /* Fallback for blur */
  z-index: 5;
}

.scroll-down-button {
  position: absolute;
  bottom: 75px;
  transform: translateX(-50%);
  padding: 10px;
  border-radius: 50%;
  /*border: 2px solid #fff;*/
  /* Optional border */
  color: white;
  cursor: pointer;
  animation: bounce 2s infinite;
  z-index: 10;
}

.scroll-down-icon {
  border: solid white;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 5px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}