/* 
===============
Custom CSS 
===============
*/

/* language */
.wpml-ls-legacy-list-horizontal {
  padding: 0;
  border: none;
}
a.wpml-ls-link {
  padding: 0;
  color: #201c1b;
  font-weight: 500;
  transition: 0.3s all;
}
a.wpml-ls-link:hover {
  color: #eab650;
}

/* ANIMATED BORDER */
.animated-border {
  --scale: 0;
  pointer-events: none;
}

.animated-border.right {
  transform: scaleX(var(--scale));
  transform-origin: left center; /* grows left → right */
}

.animated-border.left {
  transform: scaleX(var(--scale));
  transform-origin: right center; /* grows right → left */
}

.animated-border.top {
  transform: scaleY(var(--scale));
  transform-origin: bottom center; /* grows bottom → top */
}

.animated-border.bottom {
  transform: scaleY(var(--scale));
  transform-origin: top center; /* grows top → bottom */
}

/* Header */
.sc-header-section {
  transition: 0.3s all;
}
.sc-header-section.sticky {
  position: fixed !important;
  top: 0 !important;
  z-index: 999 !important;
  background: #fff;
  box-shadow: 0 8px 20px 0 rgba(0, 0, 0, 0.1);
  animation: 0.95s ease 0s normal forwards 1 running stickyAnimation;
  -webkit-animation: 0.95s ease 0s normal forwards 1 running stickyAnimation;
}
body.admin-bar .sc-header-section.sticky {
  top: 32px !important;
}

@keyframes stickyAnimation {
  0% {
    margin-top: -150px;
  }

  100% {
    margin-top: 0;
  }
}

/* Form */
.wsf-form input[type="text"],
.wsf-form input[type="tel"],
.wsf-form input[type="email"],
.wsf-form textarea,
.wsf-form select {
  border: none !important;
  border-bottom: 1px solid #201c1b !important;
  color: #201c1b !important;
  border-radius: 0px !important;
  padding: 6px 0px !important;
  cursor: pointer;
}
.wsf-form input[type="text"]:focus,
.wsf-form input[type="tel"]:focus,
.wsf-form input[type="email"]:focus,
.wsf-form textarea:focus,
.wsf-form select:focus {
  box-shadow: none !important;
}
.wsf-form input[type="text"]::placeholder,
.wsf-form input[type="tel"]::placeholder,
.wsf-form input[type="email"]::placeholder,
.wsf-form textarea::placeholder {
  color: #201c1b !important;
}

.wsf-form select.wsf-field {
  background-repeat: no-repeat;
  background-position: center right 0px !important;
  background-size: 12px !important;
  appearance: none !important;
  -moz-appearance: none;
}
.wsf-form
  select.wsf-field:not([multiple]):not([size]):not([data-wsf-select2])
  + span.wsf-select-arrow {
  display: none !important;
  border: none !important;
}
.wsf-form select#wsf-1-field-8 {
  background-image: url("../assets/svg/down-arrow.svg") !important;
}

.wsf-form button {
  background: transparent !important;
  border: none !important;
  border-bottom: 2px solid #201c1b !important;
  border-radius: 0px !important;
  color: #201c1b !important;
  padding: 2px 0px !important;
  width: auto !important;
  transition: 0.3s !important;
  font-weight: 700 !important;
}
.wsf-form button:hover {
  border-color: #eab650 !important;
  color: #eab650 !important;
}

/* Menu bar */
.sc-mobile-menu-bar {
  position: relative;
  z-index: 9;
  cursor: pointer;
}

.sc-mobile-menu-bar .elementor-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* MOBILE MENU */
.sc-mobile-menu {
  position: fixed;
  top: 0;
  z-index: 999;
  background: #ffffff;
  height: 100%;
  width: 450px;
  max-width: 100%;
  padding: 30px 0px;
  transition: 0.6s;
  transform: translateX(-110%);
}
.sc-mobile-menu.show {
  transform: translateX(0%);
}

.sc-mobile-menu .inner-main {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.sc-mobile-menu .logo {
  position: relative;
  z-index: 20;
}
.sc-mobile-menu .top-wrapper {
  padding: 0px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sc-mobile-menu .top-wrapper .mobile-menu-bar-close img {
  width: 20px;
}
.sc-mobile-menu .bottom-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  padding: 0px 20px;
}
ul#main-menu-mobile {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-bottom: 50px;
}
ul#main-menu-mobile li a {
  color: #201c1b;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.1em;
  transition: 0.3s;
  text-transform: uppercase;
  width: 100%;
  display: block;
  overflow-wrap: anywhere;
}
ul#main-menu-mobile li:nth-child(even) a {
  text-align: center;
}
ul#main-menu-mobile li a:hover {
  color: #eab650;
}

.sc-mobile-menu a.wpml-ls-link {
  font-size: 30px;
  font-weight: 400;
}

/* OVERLAY */
.sc-mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 998; /* one less than menu */
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
}

.sc-mobile-overlay.show {
  opacity: 1;
  visibility: visible;
}

@media only screen and (min-width: 1025px) {
  .sc-mobile-menu,
  .sc-mobile-overlay {
    display: none;
  }
}
