@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

@import "./_reset.css";
@import "./_animation.css";

:root {
  --primary-color: #1f1107;
  --yellow-color: #f9cf00;
  --primary-text-color: rgba(255, 255, 255, 1);
  --text-muted: #525252;
}

body {
  /* background-color: var(--primary-color); */
  color: var(--primary-text-color);
  font-family: "Roboto", sans-serif, Arial, Helvetica, sans-serif;
}
.wrapper {
  min-height: 100dvh;
  padding-inline: 10px;
  background-color: var(--primary-color);
}

.header-mobile__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.header-mobile__container .header-mobile__list {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 10px;
}

.header-mobile__list li button {
  background-color: transparent;
}

/* Menu Item Mobile */

.menu-item-mobile__container {
  position: relative;
  max-width: 120px;
}
.menu-item-mobile__container .menu-item-mobile__img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -30%);
  width: 50%;
}

.menu-item-mobile__title {
  background: linear-gradient(92.3deg, #f7cf53 24.16%, #fcf1b5 49.82%, #f7cf53 84.43%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-weight: bold;
  text-align: center;
}

.menu-item-mobile {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 15px;
  height: 100%;
  margin-bottom: 30px;
}
.menu-item-mobile .menu-item-mobile__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Row Methods Mobile */

.row-methods {
  padding-inline: 10px;
  padding-block: 10px;
  background-color: rgba(249, 207, 0, 0.12);
  border-radius: 8px;
  margin-bottom: 30px;
}

.row-methods__container {
  display: flex;
  gap: 10px;
  justify-content: space-around;
}
.row-methods__item {
  background-color: rgba(108, 108, 108, 0.35);
  width: 50px;
  height: 50px;
  display: flex;
  padding: 10px;
  border-radius: 100%;
}
.row-methods__item img {
  filter: brightness(0) invert(1);
  transition: all 1s ease;
}

.row-methods__item:focus-within {
  background-color: var(--yellow-color);
}
.row-methods__item:focus-within img {
  filter: brightness(0) invert(0);
}
/* Group Links & Banner Mobile */

.group-links .group-links__banner {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  width: 80%;
  margin-inline: auto;
}

.group-links .group-links-mobile__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
}

.group-links-mobile__item {
  display: flex;
  color: black;
  width: 100%;
  background-image: url("/assets/images/bg-btn.png");
  background-size: cover;
  background-position: center;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-weight: bold;
}

/* Footer */
#footer-wrapper {
  padding-bottom: 30px;
}

.footer-top {
  padding-inline: 20px;
}

.footer-top .footer-top__logo {
  display: flex;
  justify-content: center;
}

.footer-container-mobile {
  display: flex;
  flex-direction: column;
}

.footer-top .footer-top__box {
  position: relative;
  padding: 40px 20px;
  border-radius: 12px;
  margin-bottom: 30px;
}

.footer-top .footer-top__box::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: 12px;

  background:
    linear-gradient(0deg, #ffffff, #ffffff),
    linear-gradient(0deg, #94641e 0%, #fff2db 82.81%, #eac885 93.75%, #fbf5d1 97.92%, #bd9a4b 99.99%, #ecd8a3 100%);

  background-origin: border-box;
  background-clip: content-box, border-box;

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.footer-top__box p {
  text-align: justify;
  font-weight: bold;
  font-size: 15px;
}

.footer-top .footer-top__about strong,
.footer-top .footer-top__contact strong {
  font-size: 18px;
  margin-bottom: 15px;
  display: block;
}

.footer-top .footer-top__about {
  margin-bottom: 30px;
}
.footer-top .footer-top__about ul li a,
.footer-top .footer-top__contact ul li {
  margin-bottom: 10px;
  font-weight: 300;
}
.footer-top .footer-top__contact ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Hidden element desktop */

.footer-middle,
.footer-bottom,
.group-links-desktop__container,
.wrapper-overplay,
.desktop-model,
.header-desktop__container,
.menu-item-desktop {
  display: none;
}

@media screen and (min-width: 1025px) {
  /* Hidden element mobile */
  .header-mobile__container,
  .menu-item-mobile,
  .group-links .group-links-mobile__grid {
    display: none;
  }

  .wrapper {
    padding-inline: 0;
    position: relative;
    background-color: transparent;
    background-image: url("/assets/images/bg-desktop.webp");
    background-size: cover;
    background-position: center;
  }
  .wrapper-overplay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.815) 8%, rgba(29, 16, 7, 0.96) 95%);
    pointer-events: none;
    display: block;
  }
  /* Desktop Model */
  .desktop-model {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -95%);
    z-index: 0;
    display: flex;
    justify-content: center;
  }

  .desktop-model img {
    width: 700px;
    height: 620px;
    /* width: 700px;
    height: 620px; */
    object-fit: cover;
    object-position: top;
  }

  .wrapper-content {
    position: relative;
    z-index: 3;
  }

  /* Header Desktop */
  .header-desktop__container {
    padding-inline: 100px;
    display: flex;
    justify-content: end;
    position: relative;
    padding-block: 30px;
  }

  .header-desktop__container .header-desktop__logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .header-desktop__container .header-desktop__logo a {
    width: 280px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .header-desktop__container .header-desktop__logo a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .header-desktop__container .header-desktop__btns {
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }
  .header-desktop__container .header-desktop__btns a {
    display: flex;
    max-width: 200px;
    background-color: transparent;
  }

  /* Desktop Menu */
  .menu-item-desktop {
    display: block;
  }
  .menu-item-desktop > * {
    margin: 50px auto;
  }

  .menu-item-desktop > :nth-child(1) {
    width: 90%;
  }
  .menu-item-desktop > :nth-child(2) {
    width: 80%;
  }
  .menu-item-desktop > :nth-child(3) {
    width: 70%;
  }

  .menu-item-desktop__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .menu-item-desktop__row .menu-item-desktop__item {
    display: flex;
  }
  .menu-item-desktop__row .menu-item-desktop__item > img {
    width: 80px;
    height: 80px;
    margin-right: 20px;
    object-fit: cover;
  }

  .menu-item-desktop__row .menu-item-desktop__item button {
    background-color: transparent;
    position: relative;
  }
  .menu-item-desktop__row .menu-item-desktop__item button > img {
    height: 80px;
  }
  .menu-item-desktop__row .menu-item-desktop__item button > p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    font-size: 1.3rem;
    text-transform: uppercase;
  }
  .menu-item-desktop .menu-item-desktop__row:last-child .menu-item-desktop__item:last-child > img {
    width: 120px;
  }
  /* Row Methods */
  .row-methods {
    background-color: transparent;
    margin-bottom: 60px;
  }
  .row-methods__container {
    justify-content: center;
    gap: 60px;
  }
  .row-methods__item {
    width: 80px;
    height: 80px;
    padding: 20px;
    position: relative;
  }
  .row-methods__item::after {
    content: attr(data-label);
    position: absolute;
    top: 110%;
    left: 0;
    width: 100%;
    background: linear-gradient(92.3deg, #f7cf53 24.16%, #fcf1b5 49.82%, #f7cf53 84.43%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-weight: bold;
    font-size: 1rem;
  }
  .row-methods__item:hover {
    background-color: var(--yellow-color);
  }

  /* Group Links */
  .group-links {
    margin-bottom: 60px;
  }
  .group-links .group-links__banner {
    margin-bottom: 30px;
    width: 100%;
  }
  .group-links-desktop__container {
    display: block;
    max-width: 1475px;
    margin: 0 auto;
  }
  .group-links-desktop__container .group-links-desktop__row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
  }
  .group-links-desktop__container .group-links-desktop__row .group-links-mobile__item {
    max-width: 300px;
    min-height: 70px;
    margin: 0;
  }

  /* Footer PC */
  #footer-wrapper {
    background-color: var(--primary-color);
    border-radius: 30px;
    padding-top: 50px;
    position: relative;
  }

  .footer-middle,
  .footer-bottom {
    display: block;
  }

  .footer-container-pc {
    max-width: 1680px;
    margin: 0 auto;
  }

  .footer-container-mobile {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
  }
  .footer-container-mobile > :not(:nth-child(2)) {
    flex-shrink: 0;
  }
  .footer-container-mobile > :nth-child(2) {
    max-width: 500px;
  }
  .footer-top {
    padding-inline: 0;
  }
  .footer-top .footer-top__about ul li a:hover {
    color: var(--yellow-color);
  }
  /* Footer Middle */
  .footer-middle {
    padding-inline: 14px;
  }
  .footer-middle ul {
    display: flex;
    justify-content: space-around;
  }
  .footer-middle ul li {
    flex: 1;
    display: flex;
    justify-content: center;
    border-left: 1px solid white;
  }
  .footer-middle ul li:first-child {
    border-left: none;
  }
  .footer-middle ul li a {
    font-weight: 300;
  }
  .footer-middle ul li a:hover {
    color: var(--yellow-color);
    display: inline-block;
  }
  /* Footer Bottom */
  .footer-bottom {
    margin-top: 50px;
  }
  .footer-bottom__wrapper {
    display: flex;
    justify-content: space-between;
  }
  .footer-bottom__social {
    display: flex;
    gap: 10px;
    align-items: center;
  }
  .footer-bottom__group {
    display: flex;
    gap: 10px;
  }
  .footer-bottom__group a:hover img {
    filter: brightness(80%);
  }
  .footer-bottom__wrapper p,
  .footer-bottom__social p {
    color: var(--text-muted);
    font-size: 13px;
  }
  .footer-bottom__social p {
    text-transform: uppercase;
  }
}
