/*

Theme Name: Wijayatrans Theme

*/

@font-face {
  font-family: 'raleway';
  src: url('assets/fonts/Raleway-VariableFont_wght.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'raleway-italic';
  src: url('assets/fonts/Raleway-Italic-VariableFont_wght.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: oblique 0deg 10deg;
  font-display: swap;
}
@font-face {
  font-family: 'inter';
  src: url('assets/fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'inter-italic';
  src: url('assets/fonts/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: oblique 0deg 10deg;
  font-display: swap;
}
@font-face {
  font-family: 'josefin';
  src: url('assets/fonts/JosefinSans-VariableFont_wght.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'josefin-italic';
  src: url('assets/fonts/JosefinSans-Italic-VariableFont_wght.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: oblique 0deg 10deg;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'raleway', sans-serif;
}

html {
  scroll-behavior: smooth
}

a {
  text-decoration: none;
}

.customize-support .navigation {
  top: 32px
}

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.navigation {
  position: fixed;
  top: 0;
  z-index: 9999;
  width: 100%;
  transition: all .5s ease-in-out;
}

.navigation.is-active {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px);
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.navigation.is-active .navigation__links a {
  color: black;
}

.navigation .navigation__container {
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navigation .navigation__side-item {
  width: 200px;
}

.navigation .navigation__side-item.is-right {
  display: flex;
  justify-content: flex-end;
}

.navigation .navigation__side-item.is-right .cta {
  display: none;
}

.navigation .hamburger {
  display: block;
}

.navigation .navigation__side-item.is-left {
  position: relative;
}

.navigation .navigation__brand, .navigation .navigation__brand-not-home {
  width: 130px;
}

.navigation .navigation__brand.is-black {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  transition: all .5s linear;
}

.navigation .navigation__brand.is-black.is-black--active {
  opacity: 1;
}

.navigation .navigation__links {
  display: none;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.navigation .navigation__links a {
  font-size: 16px;
  letter-spacing: 2px;
  font-weight: 500;
  color: black;
  opacity: .5;
  transition: all .5s ease-in-out;
}

.navigation .navigation__links a:hover {
  opacity: 1;
}

.navigation .navigation__links .current_page_item a {
  opacity: 1;
}

.hero {
  position: relative;
  background-image: 
    radial-gradient(circle at 70% 70%, transparent, rgba(0,0,0,.5) 70%), 
    url('assets/img/hero-bg.webp');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.hero .hero__container {
  padding-bottom: 32px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero .hero__content {
  position: relative;
  color: white;
  max-width: 550px;
}

.hero .hero__title {
  font-family: 'josefin', sans-serif;
  letter-spacing: 2px;
  margin-bottom: 16px;
  font-size: 32px !important;
  line-height: 42px !important;
}

.hero .hero__benefit__list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style-type: none;
}

.hero .hero__benefit__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 300;
  font-family: 'josefin', sans-serif;
}

.hero .hero__benefit__item span {
  width: 24px;
  height: 24px;
  background-color: #3582c4;
  border-radius: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.listing {
  margin: 24px 0;
}

.listing .listing__container {
  position: relative;
}

.listing .listing__header {
  min-height: 124px;
  margin-bottom: 24px;
}

.listing .listing__filter-form {
  border: 1px solid #c2c2c2;
  border-radius: 18px;
  padding: 18px 24px;
  gap: 32px;
}

.listing .listing__filter-form__fields {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.listing .listing__filter-form .input__wrapper--2 {
  flex: 1;
  width: 100%;
}

.listing .listing__filter-form .input__wrapper--1 {
  flex: 1;
  width: 100%;
}

.listing .listing__filter-form .separator {
  height: 40px;
  width: 1px;
  background-color: #c2c2c2;
  border-radius: 1px;
  margin: auto 48px;
  display: none;
}

.listing .listing__filter-form label {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #7e7e7e;
}

.listing .listing__filter-form label span {
  display: block;
}

.listing .listing__filter-form .input {
  border: none;
  outline: none;
  display: block;
  flex: 1;
  padding: 10px 0;
  border-radius: 18px;
  font-weight: 600;
  color: black;
  width: 100%;
  font-size: 16px;
  appearance: none;              
  -webkit-appearance: none;      
  -moz-appearance: none;         
}

.listing .input__select-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
}

.listing .input__select-wrapper svg {
  color: #7e7e7e;
}

.listing .listing__filter-form .input::placeholder {
  color: black;
}

.listing .listing__filter__form-button {
  width: 100%;
  background-color: #3582c4;
  border-radius: 18px;
  padding: 10px 24px 10px 18px;
  color: white;
  font-weight: 600;
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 12px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease-in-out;
  margin-top: 12px;
}

.listing .listing__filter__form-button:hover {
  background-color: #2b75b6;
}

.listing .listing__filter__form-button svg {
  margin-right: 8px;
}

.listing .listing__title {
  text-align: center;
  font-weight: 600;
  font-size: 32px;
  line-height: 40px;
  margin-bottom: 32px;
  font-family: 'josefin', sans-serif;
}

.listing .listing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  justify-content: center;
  align-items: center;
  list-style: none;
}

.listing .listing__card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.listing .listing__card__image-wrapper {
  position: relative;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 16/13;
  background-color: rgb(245 246 254);
}

.listing .listing__card__image-wrapper img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.listing .listing__card__title {
  font-weight: 600;
  text-align: center;
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 12px;
}

.listing .listing__card__label {
  display: block;
  font-size: 12px;
  text-align: center;
  margin-bottom: 8px;
}

.listing .listing__card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: #3582c4;
  padding: 4px 8px;
  border-radius: 8px;
  color: white;
  font-size: 10px;
  font-weight: 500;
}

.listing .listing__card__action-btn {
  border: 1px solid #c2c2c2;
  width: 100%;
  display: inline-block;
  text-align: center;
  color: black;
  font-family: 'inter';
}

.listing .listing__card__footer {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  justify-content: flex-end;
}

.listing .listing__card__footer-item {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
  font-family: 'inter', sans-serif;
  margin-bottom: 4px;
}

.listing .listing__card .no-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.listing .listing__card__footer-item span {
  font-family: 'inter', sans-serif;
}

.cta {
  background-color: rgb(245 246 254);
  padding: 60px 0;
}

.cta .cta__title {
  font-weight: 600;
  font-size: 36px;
  line-height: 40px;
  max-width: 400px;
  margin-bottom: 12px;
  font-family: 'josefin', sans-serif;
}

.cta .cta__content {
  max-width: 370px;
}

.cta .cta__description {
  margin-bottom: 12px;
  line-height: 24px;
}

.pre-footer .embed-map-fixed {
  width: 100%;
}

.pre-footer .embed-map-container {
  width: 100%;
}

.footer {
  background-color: rgb(29 35 39);
  padding-top: 60px;
  color: white;
}

.footer .footer__container {
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}

.footer .footer__main {
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.footer .footer__brand {
  width: 160px;
  margin-bottom: 12px;
}

.footer .footer__address {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 12px;
  text-align: center;
}

.footer .footer__social__list {
  display: flex;
  gap: 12px;
  list-style: none;
  align-items: center;
  margin-top: 24px;
  justify-content: center;
  width: 100%;
}

.footer .footer__social__list-item a {
  color: white;
  transition: all 0.3s ease-in-out;
}

.footer .footer__social__list-item a:hover {
  opacity: .8;
}

.footer .footer__copyright {
  background-color: rgb(22, 28, 31);
  font-size: 12px;
  line-height: 18px;
  padding: 16px 0;
}

.footer .copyright__container {
  display: flex;
  justify-content: space-between;
  flex-direction: column-reverse;
}

.footer .footer__copyright__text {
  color: white;
  text-align: center;
}

.footer .copyright__container .menu {
  display: flex;
  list-style: none;
  gap: 8px;
  justify-content: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.footer .copyright__container .menu-item a {
  color: white;
}

.footer .copyright__container .menu-item:nth-child(n+2) a::before {
  background-color: white;
  content: '';
  display: inline-block;
  height: 4px;
  margin-bottom: 3px;
  margin-right: 8px;
  width: 4px;
  border-radius: 4px;
}

/* Button */
.btn {
  display: inline-block;
  padding: 12px 16px;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn--primary {
  color: black;
  background-color: white;
  border: 1px solid #c2c2c2;
}

.btn--primary:hover {
  background-color: rgb(242, 242, 242);
}

.btn--secondary {
  color: white;
  background-color: #3582c4;
}

/* Small (sm) */
@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }

  .hero .hero__container {
    padding-bottom: 250px;
  }

  .hero .hero__benefit__list {
    gap: 64px;
  }

  .hero .hero__title {
    font-size: 42px !important;
    line-height: 60px !important;
  }

  .listing .listing__filter-form__fields {
    flex-direction: row;
  }

  .listing .listing__filter-form .separator {
    display: block;
  }

  .listing .listing__filter-form .input__wrapper--2 {
    flex: 5;
    width: auto;
  }

  .listing .listing__filter-form .input__wrapper--1 {
    flex: 3;
    width: auto;
  }

  .listing {
    margin: 60px 0;
    padding: 0 16px;
  }

  .listing .listing__container {
    background-color: white;
    margin-top: -200px;
    z-index: 1;
    border-radius: 20px;
    padding: 24px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  }

  .footer .footer__container {
    flex-direction: row;
    align-items: flex-end;
  }

  .footer .footer__main {
    max-width: 400px;
    align-items: flex-start;
  }

  .footer .footer__social__list {
    margin-top: 0;
    justify-content: flex-end;
    width: fit-content;
  }

  .footer .copyright__container {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .footer .footer__copyright__text {
    text-align: left;
  }

  .footer .copyright__container .menu {
    margin-bottom: 0;
  }

  .footer .footer__address {
    text-align: left;
  }
}

/* Medium (md) */
@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }

  .navigation .hamburger {
    display: none;
  }

  .hero .hero__title {
    font-size: 32px;
    line-height: 40px;
  }

  .navigation .navigation__links {
    display: flex;
  }

  .navigation .navigation__side-item.is-right .cta {
    display: block;
  }

  .navigation .hamburger {
    display: none;
  }

  .listing .listing__grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 32px;
  }

  .listing .listing__filter-form {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }

  .listing .listing__filter__form-button {
    width: auto;
    margin-top: 0;
  }

  .cta .cta__container {
    display: flex;
    justify-content: space-between;
  }

  .cta .cta__title {
    margin-bottom: 0;
  }
}

/* Large (lg) */
@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

/* Extra Large (xl) */
@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

/* 2XL (Tailwind style) */
@media (min-width: 1536px) {
  .container {
    max-width: 1536px;
  }
}

/* Hamburger Menu */
.nav {
  --color: #ffffff;
  background: none;
  width: 32px;
  height: 32px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
}

.nav svg {
  fill: none;
  stroke: var(--color);
  stroke-width: 7px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav svg use:nth-of-type(1) {
  opacity: 1;
  stroke-dashoffset: 221;
  stroke-dasharray: 46 249;
  transition: all 0.12s linear 0.2s, stroke-dasharray 0.12s linear 0.2s, opacity 0s linear 0.2s;
}
.nav svg use:nth-of-type(2) {
  -webkit-animation: stroke-animation-reverse 1.2s ease-out forwards;
          animation: stroke-animation-reverse 1.2s ease-out forwards;
  transition: color 0.12s linear 0.2s, stroke-dasharray 0.12s linear 0.2s, opacity 0s linear 0.2s;
}

.navigation.nav-active {
  background-color: transparent;
  backdrop-filter: blur(0px);
  box-shadow: none;
}

.navigation.is-active .nav svg {
  stroke: black;
}

.nav.is-active svg {
  stroke: black;
}

.nav.is-active svg use:nth-of-type(1) {
  stroke-dashoffset: 175;
  stroke-dasharray: 0 295;
  opacity: 0;
  transition: stroke-dashoffset 0.07s linear 0.07s, stroke-dasharray 0.07s linear 0.07s, opacity 0s linear 0.14s;
}
.nav.is-active svg use:nth-of-type(2) {
  -webkit-animation: stroke-animation 1.2s ease-out forwards;
          animation: stroke-animation 1.2s ease-out forwards;
}

.navigation__mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.7);
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(20px);
}

.navigation__mobile-menu.is-active {
  pointer-events: auto;
  opacity: 1;
}

.navigation__mobile-menu .navigation__mobile__list {
  list-style: none;
}

.navigation__mobile-menu .navigation__mobile__list li {
  margin-bottom: 24px;
  text-align: center;
}

.navigation__mobile-menu .navigation__mobile__list li:last-child {
  margin-bottom: 0;
}

.navigation__mobile-menu .navigation__mobile__list a {
  color: black;
  font-weight: 500;
  opacity: .6;
}

.not-found {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.not-found .not-found__title {
  font-family: 'josefin', sans-serif;
  text-align: center;
  margin-bottom: 12px;
}

.not-found .not-found__description {
  font-family: 'josefin', sans-serif;
  text-align: center;
  margin-bottom: 24px;
}

.not-found .not-found__link {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 auto;
  margin-top: 24px;
}

@-webkit-keyframes stroke-animation {
  0% {
    stroke-dashoffset: 295;
    stroke-dasharray: 25 270;
  }
  50% {
    stroke-dashoffset: 68;
    stroke-dasharray: 59 236;
  }
  65% {
    stroke-dashoffset: 59;
    stroke-dasharray: 59 236;
  }
  100% {
    stroke-dashoffset: 68;
    stroke-dasharray: 59 236;
  }
}

@keyframes stroke-animation {
  0% {
    stroke-dashoffset: 295;
    stroke-dasharray: 25 270;
  }
  50% {
    stroke-dashoffset: 68;
    stroke-dasharray: 59 236;
  }
  65% {
    stroke-dashoffset: 59;
    stroke-dasharray: 59 236;
  }
  100% {
    stroke-dashoffset: 68;
    stroke-dasharray: 59 236;
  }
}
@-webkit-keyframes stroke-animation-reverse {
  0% {
    stroke-dashoffset: 68;
    stroke-dasharray: 59 236;
  }
  50% {
    stroke-dashoffset: 290;
    stroke-dasharray: 25 270;
  }
  65% {
    stroke-dashoffset: 295;
    stroke-dasharray: 25 270;
  }
  100% {
    stroke-dashoffset: 290;
    stroke-dasharray: 25 270;
  }
}
@keyframes stroke-animation-reverse {
  0% {
    stroke-dashoffset: 68;
    stroke-dasharray: 59 236;
  }
  50% {
    stroke-dashoffset: 290;
    stroke-dasharray: 25 270;
  }
  65% {
    stroke-dashoffset: 295;
    stroke-dasharray: 25 270;
  }
  100% {
    stroke-dashoffset: 290;
    stroke-dasharray: 25 270;
  }
}
