/* Root CSS */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');

:root {
  --PrimaryColor: rgb(190, 60, 60);
  --SecondaryColor: rgb(90, 170, 40);
  --BackGroundColor: #FFF;
  --ContainerColor: color-mix(in srgb, var(--PrimaryColor) 80%, var(--TitleColor) 20%);

  --TextColor: rgb(90, 90, 90);
  --TitleColor: rgb(20, 20, 20);

  --TextFont: "Poppins", sans-serif;
  --TitleFont: "Lobster", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

body {
  background: var(--BackGroundColor);
  font-family: var(--TextFont);
  overflow-x: hidden;
  outline: none;
  transition: all 0.4s ease-in-out;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  border: none;
  outline: none;
  font-family: inherit;
}

.Main {
  overflow: hidden;
}

.SectionBadge {
  width: fit-content;
  min-height: 40px;
  margin: 0;
  padding: 0.50rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: var(--PrimaryColor);
  background-color: rgba(190, 60, 60, 0.1);
  border: 2px solid var(--PrimaryColor);
  border-radius: 5rem;
  font-size: 1rem;
  margin-bottom: 0.6rem;
  font-weight: bold;
  line-height: 1.2;
  text-decoration: none;
}

.SectionBadge i {
  font-size: 1rem;
  line-height: 1;
}

.SectionTitle {
  margin: 0;
  color: var(--TitleColor);
  font-family: var(--TitleFont);
  font-size: clamp(2.8rem, 5vw, 3.4rem);
  font-weight: bold;
  line-height: 1;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
  text-align: center;
}

.SectionTitle span {
  color: var(--PrimaryColor);
}

.SectionDescription {
  max-width: 620px;
  margin: 0 auto;
  color: var(--TextColor);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.8rem;
  margin-bottom: 1rem;
  text-align: center;
}

.SectionDescription b {
  color: var(--PrimaryColor);
  font-weight: bold;
}

.PrimaryButton {
  width: 180px;
  min-width: 180px;
  height: 50px;
  padding: 0 1.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--BackGroundColor);
  background-color: var(--PrimaryColor);
  border: 2px solid var(--PrimaryColor);
  gap: 0.5rem;
  border-radius: 5rem;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.PrimaryButton i {
  font-size: 1.1rem;
  line-height: 1;
}

.PrimaryButton:hover {
  background-color: var(--ContainerColor);
  border-color: var(--ContainerColor);
}

/* Navigation */

/* Home Section */

.Home {
  max-width: 1200px;
  min-height: 100dvh;
  margin: auto;
  padding: 3rem 2rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: 2.5rem 3rem;
  overflow: visible;
}

.HomeLogo {
  width: 100%;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.HomeLogo img {
  width: 100%;
  max-width: 580px;
  display: block;
  filter: drop-shadow(0 20px 20px rgba(20, 20, 20, 0.3));
}

.HomeContent {
  width: 100%;
  align-self: center;
  text-align: center;
}

.HomeButtons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.HomeBanner {
  grid-column: 1 / -1;
  align-self: end;
  width: 100vw;
  height: 66px;
  margin-top: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--PrimaryColor);
}

.HomeBannerTrack {
  --BannerMove: 0px;
  width: max-content;
  display: flex;
  align-items: center;
  animation: HomeBanner 20s linear infinite;
  will-change: transform;
}

.HomeBannerGroup {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding-right: 1.6rem;
  flex-shrink: 0;
}

.HomeBannerText {
  display: inline-flex;
  align-items: center;
  gap: 1.6rem;
  color: var(--BackGroundColor);
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.04rem;
  white-space: nowrap;
}

.HomeBannerText::after {
  content: "•";
  color: var(--BackGroundColor);
  font-size: 1.1rem;
  line-height: 1;
}

@media (max-width: 1000px) {
  .Home {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    min-height: auto;
    padding: 6rem 1rem 0;
    gap: 2rem;
  }

  .HomeContent {
    order: 1;
  }

  .HomeLogo {
    order: 2;
    min-height: auto;
  }

  .HomeLogo img {
    max-width: min(410px, 90vw);
  }

  .HomeBanner {
    order: 3;
    margin-top: 0.5rem;
  }
}

/* About Us Section */

.AboutUs {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 1.5rem;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 3rem;
}

.AboutUsContent {
  text-align: center;
}

.AboutUsVisual {
  width: 100%;
  max-width: 660px;
  margin: 0 auto;
  position: relative;
}

.AboutUsVisual>img {
  width: 100%;
  filter: drop-shadow(0 20px 20px rgba(20, 20, 20, 0.5));
}

.AboutUsRatingCard {
  width: 130px;
  min-height: 100px;
  padding: 1rem;
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  gap: 0.5rem;
  color: var(--TitleColor);
  background-color: var(--BackGroundColor);
  border: 3px solid var(--PrimaryColor);
  border-radius: 1rem;
  text-decoration: none;
}

.AboutUsRatingCardFacebook {
  left: 10%;
  bottom: 20%;
}

.AboutUsRatingCardGoogle {
  right: 10%;
  top: 20%;
}

.AboutUsRatingCard img {
  width: 30px;
}

.AboutUsStars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  color: var(--PrimaryColor);
  font-size: 1rem;
  line-height: 1;
}

@media (max-width: 1000px) {
  .AboutUs {
    padding: 4.5rem 1rem 1.5rem;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .AboutUsContent {
    order: 1;
  }

  .AboutUsVisual {
    order: 2;
    max-width: min(560px, 90vw);
  }

  .AboutUsRatingCard {
    width: 110px;
    min-height: 90px;
    padding: 0.7rem;
    border-radius: 1rem;
    place-content: center;
  }

  .AboutUsRatingCardFacebook {
    left: 10%;
    bottom: 20%;
  }

  .AboutUsRatingCardGoogle {
    right: 10%;
    top: 20%;
  }

  .AboutUsRatingCard img {
    width: 30px;
  }
}

/* Menu Section */

.Menu {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 2rem;
  background-color: var(--PrimaryColor);
  font-family: var(--TextFont);
}

.MenuTitle {
  margin: 0 0 2rem;
  color: var(--BackGroundColor);
  font-family: var(--TitleFont);
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
  letter-spacing: 4px;
}

.MenuContainer {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1rem;
  padding-bottom: 2rem;
}

.MenuCategories {
  display: grid;
  gap: 4rem;
}

.MenuCategory {
  width: 100%;
}

.MenuCategoryHeader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  margin-bottom: 2rem;
}

.MenuCategoryTitle {
  margin: 0;
  color: var(--BackGroundColor);
  font-family: var(--TitleFont);
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  letter-spacing: 2px;
  white-space: nowrap;
}

.MenuCategoryLine {
  flex: 1;
  max-width: 200px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--BackGroundColor), transparent);
}

.MenuProducts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 1rem), 17rem));
  justify-content: center;
  gap: 1rem;
  max-width: calc((17rem * 4) + (2rem * 3));
  margin-inline: auto;
}

.MenuProductCard {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 24rem;
  padding: 1rem 1rem 4rem;
  overflow: hidden;
  background-color: var(--ContainerColor);
  border: 2px solid var(--BackGroundColor);
  border-radius: 1rem;
  box-shadow: 0 10px 20px rgba(20, 20, 20, 0.3);
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.MenuProductCard:hover {
  box-shadow: 0 10px 30px rgba(20, 20, 20, 0.7);
}

.MenuProductBadges {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  max-width: calc(100% - 1.7rem);
}

.MenuProductBadge {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  overflow: hidden;
  box-sizing: border-box;
  color: var(--BackGroundColor);
  border: 2px solid var(--BackGroundColor);
  border-radius: 5rem;
  font-size: 1rem;
  line-height: 1;
  white-space: nowrap;
  transition: width 0.5s ease-in-out 0.3s;
}

.MenuProductBadge:hover {
  width: 6rem;
  transition-delay: 0s;
}

.MenuProductBadgeSpicy {
  background-color: rgb(250, 0, 0);
}

.MenuProductBadgeSpicy:hover {
  width: 5.5rem;
}

.MenuProductBadgeVegetarian {
  background-color: rgb(70, 160, 70);
}

.MenuProductBadgeVegetarian:hover {
  width: 8.5rem;
}

.MenuProductBadge i {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: calc(2rem - 4px);
  height: calc(2rem - 4px);
  font-size: 1rem;
  line-height: 1;
  pointer-events: none;
}

.MenuProductBadge i::before {
  display: block;
  line-height: 1;
}

.MenuProductBadgeText {
  display: inline-block;
  padding-left: 2rem;
  padding-right: 0.8rem;
  opacity: 0;
  color: var(--BackGroundColor);
  font-size: 0.6rem;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none;
}

.MenuProductBadge:hover .MenuProductBadgeText {
  opacity: 1;
  transition-delay: 0.3s;
}

.MenuProductImage,
.MenuProductContent,
.MenuProductAllergens,
.MenuProductPrices {
  position: relative;
  z-index: 1;
}

.MenuProductImage {
  width: 100px;
  aspect-ratio: 1 / 1;
  align-self: center;
  margin-top: 1.8rem;
  margin-bottom: 1rem;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(20, 20, 20, 0.5));
}

.MenuProductContent {
  display: grid;
  gap: 0.4rem;
  justify-items: center;
  padding-inline: 0.4rem;
  text-align: center;
}

.MenuProductTitle {
  margin-top: -1rem;
  color: var(--BackGroundColor);
  font-family: var(--TextFont);
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1;
}

.MenuProductText {
  margin-top: 0.5rem;
  color: #CCC;
  font-size: 0.7rem;
  font-style: italic;
  line-height: 1.4;
}

.MenuProductAllergens {
  display: grid;
  justify-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 1rem;
  text-align: center;
}

.MenuProductAllergensLabel {
  color: var(--BackGroundColor);
  font-size: 0.7rem;
  font-style: italic;
  font-weight: bold;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.MenuProductAllergenList {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  max-width: 100%;
}

.MenuProductAllergen {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.6rem;
  height: 1.6rem;
  padding-inline: 0.4rem;
  color: var(--BackGroundColor);
  background-color: var(--PrimaryColor);
  border: 2px solid var(--BackGroundColor);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: bold;
  line-height: 1;
}

.MenuProductPrices {
  position: absolute;
  left: 50%;
  bottom: -2px;
  display: inline-flex;
  align-items: stretch;
  justify-content: center;
  max-width: calc(100% - 2rem);
  overflow: hidden;
  color: var(--BackGroundColor);
  background-color: var(--PrimaryColor);
  border: 2px solid var(--BackGroundColor);
  border-radius: 1rem 1rem 0 0;
  line-height: 1;
  transform: translateX(-50%);
}

.MenuProductPriceItem {
  display: grid;
  place-items: center;
  min-width: 4.7rem;
  padding: 0.5rem 0.6rem;
  background-color: transparent;
}

.MenuProductPriceItem+.MenuProductPriceItem {
  border-left: 2px solid var(--BackGroundColor);
}

.MenuProductPriceDetail,
.MenuProductPriceValue {
  display: block;
  text-align: center;
  white-space: nowrap;
}

.MenuProductPriceDetail {
  margin-bottom: 0.2rem;
  color: #CCC;
  font-size: 0.7rem;
  font-style: italic;
  font-weight: normal;
  line-height: 1.1;
}

.MenuProductPriceValue {
  color: var(--BackGroundColor);
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.1;
}

/* Footer */

.Footer {
  padding-block: 2rem;
  background-color: var(--PrimaryColor);
  text-align: center;
}

.FooterCopy {
  font-style: italic;
  margin-top: 3rem;
  font-size: 1rem;
  color: var(--BackGroundColor);
}

/* Animations */

@keyframes HomeBanner {
  to {
    transform: translateX(calc(var(--BannerMove) * -1));
  }
}