/*==============================================================
  EightOrax Finance — Mobile & Tablet overrides
  File: assets/css/eo-mobile.css
  Load AFTER sinace-responsive.css (see header.php).
  Desktop (1200px and up) is NOT affected.
==============================================================*/

/* Hamburger bar is hidden on desktop */
.eo-mobile-bar {
  display: none;
}


/*==============================================================
  1. HEADER — tablet & mobile (below 1200px)
     Logo left, hamburger right, one clean white bar
==============================================================*/
@media (max-width: 1199px) {

  .main-header {
    background-color: var(--sinace-white);
  }

  .main-menu__wrapper-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 30px;
    background-color: var(--sinace-white);
    box-shadow: 0 4px 20px rgba(15, 33, 60, 0.08);
  }

  /* Logo: back into normal flow, left side */
  .main-menu__logo {
    position: static;
    left: auto;
    padding: 0;
    justify-content: flex-start;
  }

  .main-menu__logo img {
    max-height: 48px;
    width: auto;
  }

  /* Hide desktop-only parts: call box, top bar, navy menu bar */
  .main-menu__call,
  .main-menu__wrapper-inner-content {
    display: none !important;
  }

  /* Hamburger on the right */
  .eo-mobile-bar {
    display: flex;
    align-items: center;
  }

  .main-menu .eo-burger {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background-color: var(--sinace-black);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 5px;
    padding: 0 12px;
    font-size: 0;
    transition: background-color 300ms ease;
  }

  .main-menu .eo-burger span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background-color: var(--sinace-white);
    transition: width 300ms ease;
  }

  .main-menu .eo-burger span:nth-child(2) {
    width: 15px;
  }

  .main-menu .eo-burger:hover,
  .main-menu .eo-burger:focus {
    background-color: var(--sinace-base);
  }

  .main-menu .eo-burger:hover span:nth-child(2) {
    width: 22px;
  }

  /* Slide-in menu opens from the RIGHT (same side as hamburger) */
  .mobile-nav__wrapper {
    transform: translateX(100%);
    transform-origin: right center;
  }

  .mobile-nav__content {
    margin-left: auto;
    transform: translateX(100%);
  }

  /* Custom cursor is useless on touch screens */
  .custom-cursor__cursor,
  .custom-cursor__cursor-two {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .main-menu__wrapper-inner {
    padding: 10px 16px;
  }

  .main-menu__logo img {
    max-height: 40px;
  }

  .main-menu .eo-burger {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    padding: 0 11px;
  }

  .mobile-nav__content {
    width: 85%;
    max-width: 320px;
  }
}


/*==============================================================
  2. HERO — tablet & mobile (below 1200px)
     Remove red/navy diagonal shapes, clean photo + navy overlay
==============================================================*/
@media (max-width: 1199px) {

  /* Hide all decorative red/navy shapes */
  .main-slider__shape-1,
  .main-slider__shape-2,
  .main-slider__shape-3,
  .main-slider__shape-4,
  .main-slider__shape-5 {
    display: none !important;
  }

  /* Photo: keep the people in frame */
  .main-slider__bg {
    background-position: 70% center;
  }

  .main-slider__bg:before {
    background-color: rgba(15, 33, 60, 0.20);
  }

  /* Navy gradient: light at top, dark behind the text */
  .main-slider__shadow {
    opacity: 1;
    background-image: linear-gradient(180deg,
        rgba(15, 33, 60, 0.15) 0%,
        rgba(15, 33, 60, 0.55) 45%,
        rgba(15, 33, 60, 0.92) 100%);
  }

  .main-slider .item {
    padding-top: 150px;
    padding-bottom: 130px;
  }

  .main-slider__title {
    font-size: 60px;
    line-height: 66px;
  }
}

@media (max-width: 991px) {
  .main-slider .item {
    padding-top: 120px;
    padding-bottom: 110px;
  }

  .main-slider__title {
    font-size: 48px;
    line-height: 56px;
    margin-bottom: 32px;
  }

  /* Hide prev/next arrows on tablet & mobile */
  .main-slider .owl-theme .owl-nav {
    display: none;
  }
}

@media (max-width: 767px) {

  /* Text sits at the bottom over the darkest part of the gradient */
  .main-slider .item {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 560px;
    padding-top: 90px;
    padding-bottom: 60px;
  }

  .main-slider .item .container {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .main-slider__sub-title {
    font-size: 13px;
    line-height: 20px;
    padding: 6px 16px;
    border-radius: 20px;
    background-color: rgba(var(--sinace-white-rgb), 0.14);
    border: 1px solid rgba(var(--sinace-white-rgb), 0.20);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  .main-slider__title {
    font-size: 36px;
    line-height: 44px;
    margin-top: 14px;
    margin-bottom: 26px;
  }

  .main-slider__title br {
    display: none;
  }

  .main-slider__btn {
    padding: 14px 36px;
  }
}

@media (max-width: 400px) {
  .main-slider .item {
    min-height: 520px;
  }

  .main-slider__title {
    font-size: 31px;
    line-height: 39px;
  }

  .main-slider__btn {
    display: block;
    text-align: center;
  }
}