/* ==========================================================================
   SHELL BUNDLE (Performance Optimization)
   Consolidates: hello-bar, navigation, button-move, wave, footer, scroll-to-top
   ========================================================================== */

/* Hello Bar */
.hello-bar {
  color: var(--vvhite, #fff);
  font-size: 0.9375rem;
}

.hello-bar-offer {
  word-break: keep-all;
}

@media (min-width: 992px) {
  .hello-bar-content {
    max-width: 1100px;
  }
}

.hello-bar-link:hover,
.hello-bar-link:focus {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

/* Navigation */
.gradient-border {
  border-bottom-width: 1.5vh;
  border-bottom-style: solid;
  border-image: linear-gradient(
      to left,
      var(--color-primary),
      var(--color-accent)
    )
    1;
}

.logo,
.menu-icon,
.menu-open,
.menu-close {
  height: 60px;
}
.menu-icon,
.menu-open,
.menu-close {
  width: 60px;
}

.menu-icon {
  opacity: 0.66;
  transition: opacity 0.5s;
}

@media (hover: hover) {
  .menu-icon:hover {
    opacity: 1;
  }
}

@media only screen and (min-width: 576px) {
  .logo,
  .menu-icon,
  .menu-open,
  .menu-close {
    height: 72px;
  }
  .menu-icon,
  .menu-open,
  .menu-close {
    width: 72px;
  }
}

.main-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-color);
  z-index: 1000;
  overflow-y: scroll;
  overflow-x: hidden;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.main-menu-overlay::-webkit-scrollbar {
  display: none;
}

.js-action .main-menu-overlay {
  opacity: 0;
}

.main-menu-bg-img {
  background-image: url(/assets/images/backgrounds/pattern-bg.png);
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.main-menu-content {
  position: relative;
  width: 100%;
  min-height: 100%;
  padding: 2rem 0;
}

.main-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-menu-buttons a {
  color: var(--vvhite);
  text-transform: uppercase;
}

.language-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lang-btn {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background-color: transparent;
  border-radius: 8px;
  padding: 5px 12px;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color 0.3s,
    color 0.3s;
  white-space: nowrap;
}

.lang-btn:hover {
  background-color: var(--color-primary-light);
  color: var(--black);
}

.lang-btn.activated,
.lang-btn:active {
  background-color: var(--color-accent);
  color: var(--black);
}

.lang-btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .language-switcher {
    justify-content: center;
    margin-top: 1rem;
  }
}

.main-menu-close {
  background: none;
  border: none;
  color: var(--vvhite);
  font-size: var(--menu-close-size);
}

.main-menu-nav {
  margin-top: 1rem;
}
.main-menu-nav ul {
  list-style-type: "";
  padding: 0;
}
.main-menu-nav ul li {
  padding: var(--menu-gap) 0;
}

.main-menu-nav ul li a {
  font-size: var(--menu-font-size);
  text-decoration: none;
  color: var(--vvhite);
  transition: color 0.5s;
}

.menu-section-header {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--color-primary);
  text-align: left;
}

.menu-section-header:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.section-arrow {
  display: inline-block;
  width: 0.75rem;
  height: 0.75rem;
  border-right: 2px solid var(--vvhite);
  border-bottom: 2px solid var(--vvhite);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.menu-section-header[aria-expanded="true"] .section-arrow {
  transform: rotate(-135deg);
}

@media (max-width: 991.98px) {
  .menu-section-list {
    display: none;
  }
  .menu-section-list.is-open {
    display: block;
  }
}

.main-menu-item {
  color: var(--vvhite);
  text-decoration: none;
  transition: color 0.5s;
}

@media (hover: hover) {
  .main-menu-item:hover,
  .main-menu-nav ul li a:hover {
    color: var(--color-primary);
  }

  .lang-btn:hover {
    background-color: var(--color-accent);
    color: var(--black);
  }
}

.circle-buttons {
  display: flex;
  gap: 1rem;
}

.circle-button-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--white);
}

.circle-button-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 0.5rem;
}
.circle-button-text {
  font-size: 0.875rem;
  text-align: center;
}

/* Button Move Styles */
.button-move {
  color: var(--white);
  border: none;
  padding: 10px 20px;
  position: relative;
  padding-right: 40px;
  white-space: nowrap;
  cursor: pointer;
}

.button-move-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  transition: right 0.2s ease;
}

@media (hover: hover) {
  .button-move:hover .button-move-icon {
    right: 12px;
  }
}

.button-move-large {
  position: relative;
  background-color: var(--vvhite);
  width: 220px;
  height: 60px;
  color: var(--blvck);
  border: 0;
  border-radius: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  letter-spacing: 2px;
  padding-left: 40px;
  transition: all 0.35s ease;
}

.button-move-large-icon {
  position: absolute;
  left: 0;
  width: 50px;
  height: 50px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--vvhite);
  transform: translateX(5px);
  transition:
    transform 0.35s ease,
    color 0.35s ease;
}

@media (hover: hover) {
  .button-move-large:hover {
    padding-left: 0;
    padding-right: 40px;
  }

  .button-move-large:hover .button-move-large-icon {
    transform: translateX(calc(220px - 55px));
    color: var(--blvck);
  }
}

/* Wave Parallax */
.parallax > use {
  animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}

.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}

@keyframes move-forever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }
  100% {
    transform: translate3d(85px, 0, 0);
  }
}

/* Footer */
.footer-logo img {
  max-height: 60px;
}

.social-icons {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 1.5em 0 0 0;
  list-style: none;
  justify-content: center;
}

.social-icons li {
  margin-right: 0.5em;
}

.social-icons li a {
  display: inline-block;
  color: var(--grey-olive);
  transition: 0.3s;
}

@media (hover: hover) {
  .social-icons li a:hover {
    color: var(--red-flame);
  }
}

footer hr {
  border-top: 2px solid var(--grey-dark);
  animation: loadiine 12s infinite;
}

@keyframes loadiine {
  0%,
  50%,
  100% {
    width: 100%;
  }
  80% {
    width: 0px;
  }
}

.footer-title {
  font-weight: 700;
  text-transform: uppercase;
  padding: 0 0 0.5rem 0;
  color: var(--grey-light);
}

.footer-link,
.copyright-link {
  list-style: none;
  padding: 0;
}
.footer-link li {
  padding: 0.25rem 0;
}
.footer-link li a {
  color: var(--red-pastel);
}

.copyright-link li {
  margin: 0;
  padding: 0.5rem 0;
  position: relative;
}

.copyright-link li a {
  color: var(--vvhite);
}

.hover-me a {
  display: inline-block;
  position: relative;
}

.hover-me a::after {
  position: absolute;
  content: "";
  left: auto;
  bottom: 0;
  background: currentColor;
  width: 0;
  height: 2px;
  transition: 0.3s;
  right: 0;
}

@media (hover: hover) {
  .footer-link li a:hover {
    color: var(--vvhite);
  }

  .footer-link li a:hover::after,
  .copyright-link li a:hover::after,
  .hover-me a:hover::after {
    width: 100%;
    left: 0;
    right: auto;
  }
}

@media only screen and (min-width: 992px) {
  .copyright-link {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  .copyright-link li {
    padding: 0 0.5rem;
  }
  .copyright-link li:first-child {
    padding: 0 0.5rem 0 0;
  }
  .copyright-link li + li::after {
    position: absolute;
    content: "";
    height: 1.75rem;
    width: 2px;
    background: var(--grey-olive);
    left: -1px;
    top: 50%;
    transform: translateY(-50%);
  }
}

/* Scroll to top */
#to-the-top {
  color: var(--blue-sky);
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
}
