/* =========================================
   HEADER
========================================= */

.main_header {
  width: 100%;
  height: auto;
  /* background: #fff; */
  position: sticky;
  top: 0;
  z-index: 9999;
  /* border-bottom: 1px solid #eee; */
  padding: 10px 0;

  /* Initially transparent */
  background: transparent;

  transition:
    background-color 0.5s ease,
    box-shadow 0.5s ease,
    backdrop-filter 0.5s ease,
    transform 0.4s ease;
}

/* =========================================
   SCROLLED HEADER
========================================= */

.main_header.header_scrolled {
  background: rgba(255, 255, 255, 0.97);

  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.main_header .header_inner {
  width: 100%;
  height: 100%;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =========================================
   LOGO
========================================= */

.main_header .header_logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  width: 120px;
}

.main_header .header_logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  filter: invert(1);
}

.main_header.header_scrolled .header_logo img {
  filter: unset;
}

/* =========================================
   HEADER RIGHT
========================================= */

.main_header .header_right {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 55px;
}

.main_header .header_link {
  position: relative;
  border: none;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 2px;
  transition: color 0.3s ease;
  background: none;
}

.main_header.header_scrolled .header_link {
  color: #222;
}

.main_header .header_link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 1px;
  background: #fff;
  transition: width 0.35s ease;
}

.main_header.header_scrolled .header_link::after {
  background: #000;
}

/* .main_header .header_link:hover {
  color: #000;
} */

.main_header .header_link:hover::after {
  width: 100%;
}

/* =========================================
   MENU TOGGLE
========================================= */

.main_header .menu_toggle {
  width: 55px;
  height: 40px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 7px;

  position: relative;
  z-index: 10001;
}

.main_header .menu_toggle span {
  display: block;
  height: 1px;
  background: #fff;
  transition:
    width 0.4s cubic-bezier(0.77, 0, 0.18, 1),
    transform 0.4s ease,
    background 0.3s ease;
}

.main_header.header_scrolled .menu_toggle span {
  background: #111;
}

.main_header .menu_toggle span:first-child {
  width: 30px;
}

.main_header .menu_toggle span:last-child {
  width: 20px;
}

/* Hover */

.main_header .menu_toggle:hover span:first-child {
  width: 20px;
}

.main_header .menu_toggle:hover span:last-child {
  width: 30px;
}

/* Active */

.main_header .menu_toggle.active span {
  background: #fff;
}

.main_header .menu_toggle.active span:first-child {
  width: 30px;
  transform: translateY(4px) rotate(45deg);
}

.main_header .menu_toggle.active span:last-child {
  width: 30px;
  transform: translateY(-4px) rotate(-45deg);
}

/* =========================================
   OFFCANVAS
========================================= */

.offcanvas_menu {
  position: fixed;
  inset: 0;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

.offcanvas_menu.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* =========================================
   DARK OVERLAY
========================================= */

.offcanvas_overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.45);

  opacity: 0;
  transition: opacity 0.6s ease;
}

.offcanvas_menu.open .offcanvas_overlay {
  opacity: 1;
}

/* =========================================
   OFFCANVAS INNER
========================================= */

.offcanvas_menu .offcanvas_inner {
  position: absolute;
  inset: 0;

  display: flex;

  background: #fff;

  transform: translateX(100%);
  transition: transform 0.85s cubic-bezier(0.77, 0, 0.18, 1);
}

.offcanvas_menu.open .offcanvas_inner {
  transform: translateX(0);
}

/* =========================================
   LEFT SIDE
========================================= */

.offcanvas_menu .offcanvas_left {
  width: 67%;
  min-height: 100vh;
  background: #f5f5f5;
  position: relative;

  padding: 25px 42px;

  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* =========================================
   OFFCANVAS LOGO
========================================= */

.offcanvas_menu .offcanvas_left .offcanvas_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.offcanvas_menu .offcanvas_logo {
  display: inline-flex;
  width: fit-content;
  width: 150px;
  height: auto;
}

.offcanvas_menu .offcanvas_logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* =========================================
   CLOSE BUTTON
========================================= */

.offcanvas_menu .offcanvas_close {
  /* position: absolute; */
  top: 27px;
  right: 40px;

  display: flex;
  align-items: center;
  gap: 12px;

  border: 0;
  /* background: transparent; */

  color: #000;

  font-size: 15px;
  letter-spacing: 1px;

  cursor: pointer;

  z-index: 20;

  opacity: 0;

  transform: translateY(-10px);

  transition:
    opacity 0.5s ease 0.7s,
    transform 0.5s ease 0.7s;
}

.offcanvas_menu.open .offcanvas_close {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   NAVIGATION
========================================= */

.offcanvas_menu .offcanvas_navigation {
  /* position: absolute; */
  /* top: 160px;
  left: 42px; */

  width: calc(100% - 84px);

  display: flex;
  flex-direction: column;
}

/* =========================================
   NAV ITEM
========================================= */

.offcanvas_menu .offcanvas_item {
  width: fit-content;

  display: flex;
  align-items: center;

  text-decoration: none;

  margin-bottom: 14px;

  opacity: 0;
  transform: translateX(-35px);

  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);

  transition-delay: calc(0.35s + (var(--item-index) * 0.055s));
  border: none;
  background: none;
}

.offcanvas_menu.open .offcanvas_item {
  opacity: 1;
  transform: translateX(0);
}

/* Number */

.offcanvas_menu .menu_number {
  width: 25px;
  color: #777777;
  font-family: Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
  margin-right: 10px;
  transition:
    transform 0.35s ease,
    color 0.35s ease;
}

/* Title */

.offcanvas_menu .menu_title {
  color: #777;

  font-family: Georgia, "Times New Roman", serif;

  font-size: 18px;

  font-weight: 400;

  letter-spacing: 0.3px;

  position: relative;

  transition:
    color 0.35s ease,
    transform 0.35s ease;
}

/* Arrow */

.offcanvas_menu .menu_arrow {
  margin-left: 10px;

  color: #000;

  font-size: 14px;

  opacity: 0;

  transform: translateX(-5px);

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

/* Hover */

.offcanvas_menu .offcanvas_item:hover .menu_title {
  color: #111;
  transform: translateX(7px);
}

.offcanvas_menu .offcanvas_item:hover .menu_number {
  transform: translateX(3px);
  color: #111;
}

.offcanvas_menu .offcanvas_item:hover .menu_arrow,
.offcanvas_submenu .offcanvas_submenu_item:hover .menu_arrow {
  opacity: 1;
  transform: translateX(0);
}

/* =========================================
   SOCIAL
========================================= */

.offcanvas_menu .offcanvas_social {
  /* position: absolute; */
  /* left: 42px; */
  /* bottom: 80px; */

  display: flex;
  align-items: center;
  gap: 14px;

  opacity: 0;
  transform: translateY(20px);

  transition:
    opacity 0.6s ease 0.9s,
    transform 0.6s ease 0.9s;
}

.offcanvas_menu.open .offcanvas_social {
  opacity: 1;
  transform: translateY(0);
}

.offcanvas_menu .offcanvas_social a {
  width: 28px;
  height: 28px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;

  color: #b58b35;

  font-size: 15px;

  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.offcanvas_menu .offcanvas_social a:hover {
  color: #111;
  transform: translateY(-4px);
}

/* =========================================
   RIGHT IMAGE
========================================= */

.offcanvas_menu .offcanvas_image {
  width: 33%;
  min-height: 100vh;

  position: relative;

  overflow: hidden;

  background: #222;

  transform: translateX(80px);

  transition: transform 1s cubic-bezier(0.77, 0, 0.18, 1);

  transition-delay: 0.05s;
}

.offcanvas_menu.open .offcanvas_image {
  transform: translateX(0);
}

/* Image */

.offcanvas_menu .offcanvas_image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;

  transform: scale(1.12);

  transition: transform 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.offcanvas_menu.open .offcanvas_image img {
  transform: scale(1);
}

/* =========================================
   IMAGE OVERLAY
========================================= */

.offcanvas_menu .image_overlay {
  position: absolute;
  inset: 0;

  z-index: 2;

  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.25) 0%,
    transparent 35%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

/* =========================================
   IMAGE CONTENT
========================================= */

.offcanvas_menu .image_content {
  position: absolute;

  left: 40px;
  right: 40px;
  bottom: 55px;

  z-index: 3;

  color: #fff;

  opacity: 0;
  transform: translateY(30px);

  transition:
    opacity 0.7s ease 0.65s,
    transform 0.7s ease 0.65s;
}

.offcanvas_menu.open .image_content {
  opacity: 1;
  transform: translateY(0);
}

.offcanvas_menu .image_content span {
  font-size: 12px;
  letter-spacing: 2px;
  color: #000;
  font-weight: 600;
}

.offcanvas_menu .image_content h3 {
  margin: 12px 0 20px;

  font-family: Georgia, "Times New Roman", serif;

  font-size: clamp(28px, 3vw, 48px);

  line-height: 1.05;

  font-weight: 400;
}

.offcanvas_menu .image_content a {
  color: #fff;

  text-decoration: none;

  font-size: 10px;

  letter-spacing: 1.5px;

  display: inline-flex;

  align-items: center;

  gap: 10px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.6);

  padding-bottom: 7px;

  transition:
    gap 0.3s ease,
    color 0.3s ease;
}

.offcanvas_menu .image_content a:hover {
  color: #d5ad62;
  gap: 16px;
}

.offcanvas_menu .mobile_links .header_link {
  text-decoration: none;
  color: #000;
  background: #ccc;
  width: 130px;
  text-align: center;
  padding: 6px;
  border-radius: 5px;
  cursor: pointer;
  border: none;
}

/* =========================================
   ABOUT BUTTON
========================================= */

.offcanvas_about_btn {
  font-family: inherit;
  text-align: left;
}

/* =========================================
   DROPDOWN ARROW
========================================= */

.menu_dropdown_arrow {
  font-size: 13px;

  transition:
    transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.3s ease;
}

.submenu_open .menu_dropdown_arrow {
  transform: rotate(180deg);
  color: #c79a45;
}

/* =========================================
   ABOUT ACTIVE STATE
========================================= */

.submenu_open > .offcanvas_about_btn .menu_title {
  color: #111;
}

.submenu_open > .offcanvas_about_btn {
  padding-left: 8px;
}

.submenu_open > .offcanvas_about_btn .menu_number {
  color: #c79a45;
}

/* =========================================
   SUBMENU
========================================= */

.offcanvas_submenu {
  display: grid;

  grid-template-columns: 1fr 1fr;

  max-height: 0;
  opacity: 0;
  overflow: hidden;

  margin-left: 38px;

  transform: translateY(-12px);

  pointer-events: none;

  transition:
    max-height 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.35s ease,
    transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   OPEN SUBMENU
========================================= */

.offcanvas_submenu_open {
  max-height: 400px;
  opacity: 1;

  transform: translateY(0);

  pointer-events: auto;

  padding: 4px 0 20px;
}

/* =========================================
   SUBMENU ITEM
========================================= */

.offcanvas_submenu_item {
  position: relative;

  display: flex;
  align-items: center;

  min-height: 48px;

  padding: 5px 20px 5px 0;

  text-decoration: none;

  opacity: 0;
  transform: translateY(-10px);

  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    padding-left 0.3s ease;
}

/* =========================================
   STAGGERED SUBMENU ANIMATION
========================================= */

.offcanvas_submenu_open .offcanvas_submenu_item {
  opacity: 1;
  transform: translateY(0);

  transition-delay: calc(var(--submenu-index) * 0.07s);
}

/* =========================================
   SUBMENU NUMBER
========================================= */

.submenu_number {
  width: 32px;
  flex-shrink: 0;

  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;

  color: #c79a45;
}

/* =========================================
   SUBMENU TITLE
========================================= */

.submenu_title {
  position: relative;

  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.12em;

  color: #777;

  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

/* =========================================
   SUBMENU UNDERLINE
========================================= */

.submenu_title::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -4px;

  width: 0;
  height: 1px;

  background: #000;

  transition: width 0.35s ease;
}

/* =========================================
   SUBMENU ARROW
========================================= */

.submenu_arrow {
  margin-left: auto;

  font-size: 9px;

  color: #aaa;

  opacity: 0;

  transform: translateX(-5px);

  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    color 0.3s ease;
}

/* =========================================
   SUBMENU HOVER
========================================= */

.offcanvas_submenu_item:hover {
  padding-left: 7px;
}

.offcanvas_submenu_item:hover .submenu_title {
  color: #111;
  transform: translateX(3px);
}

.offcanvas_submenu_item:hover .submenu_title::after {
  width: 100%;
}

.offcanvas_submenu_item:hover .submenu_arrow {
  opacity: 1;
  transform: translateX(0);
  color: #c79a45;
}

/* =========================================
   DESKTOP LARGE
========================================= */

@media (min-width: 1400px) {
  .header_inner {
    padding: 0 52px;
  }

  .offcanvas_menu .offcanvas_left {
    padding-left: 42px;
  }

  /* .offcanvas_menu .offcanvas_navigation {
    top: 145px;
  } */

  .offcanvas_menu .menu_title {
    font-size: 19px;
  }
}

/* =========================================
   TABLET
========================================= */

@media (min-width: 768px) and (max-width: 991.98px) {
  .header_inner {
    padding: 0 25px;
  }

  .header_right {
    gap: 25px;
  }

  .header_link {
    display: none;
  }

  .main_header .header_logo {
    width: 100px;
  }

  .offcanvas_menu .offcanvas_logo {
    width: 110px;
  }

  .offcanvas_menu .offcanvas_left {
    width: 60%;
    padding: 25px;
  }

  .offcanvas_menu .offcanvas_image {
    width: 40%;
  }

  .offcanvas_menu .offcanvas_navigation {
    width: calc(100% - 50px);
  }

  .offcanvas_menu .offcanvas_social {
    /* left: 25px; */
  }

  .offcanvas_menu .offcanvas_close {
    right: 25px;
  }

  .offcanvas_menu .menu_title {
    font-size: 16px;
  }
}

/* =========================================
   MOBILE
========================================= */

@media (min-width: 576px) and (max-width: 767px) {
  /* .main_header {
    height: 65px;
  } */

  .main_header .header_inner {
    padding: 0 18px;
  }

  .main_header .header_logo {
    width: 90px;
  }

  .menu_toggle {
    width: 45px;
  }

  /* Mobile menu */

  .offcanvas_menu .offcanvas_inner {
    flex-direction: column;
    overflow-y: auto;
  }

  .offcanvas_menu .offcanvas_left {
    width: 100%;
    min-height: 100vh;

    padding: 22px 20px 90px;
  }

  .offcanvas_menu .offcanvas_logo img {
    width: 145px;
  }

  .offcanvas_menu .offcanvas_close {
    top: 25px;
    right: 20px;

    color: #111;
  }

  .offcanvas_menu .offcanvas_close .close_icon span {
    background: #111;
  }

  .offcanvas_menu .offcanvas_navigation {
    /* position: relative;

    top: auto;
    left: auto; */

    margin-top: 30px;

    width: 100%;
  }

  .offcanvas_menu .offcanvas_item {
    margin-bottom: 17px;
  }

  .offcanvas_menu .menu_title {
    font-size: 15px;
    line-height: 1.3;
  }

  .offcanvas_menu .menu_number {
    font-size: 8px;
    width: 22px;
  }

  .offcanvas_menu .menu_arrow {
    display: none;
  }

  .offcanvas_menu .offcanvas_social {
    /* position: relative;

    left: auto;
    bottom: auto; */

    margin-top: 40px;
  }

  .offcanvas_menu .offcanvas_image {
    display: none;
  }
}

/* =========================================
   VERY SMALL MOBILE
========================================= */

@media (min-width: 0px) and (max-width: 575.98px) {
  .offcanvas_menu .menu_title {
    font-size: 14px;
  }

  .main_header .header_logo,
  .offcanvas_menu .offcanvas_logo {
    width: 85px;
  }

  .main_header {
    height: 65px;
  }

  .main_header .header_inner {
    padding: 0 18px;
  }

  .menu_toggle {
    width: 45px;
  }

  /* Mobile menu */

  .offcanvas_menu .offcanvas_inner {
    flex-direction: column;
    overflow-y: auto;
  }

  .offcanvas_menu .offcanvas_left {
    width: 100%;
    min-height: 100vh;

    padding: 22px 20px 90px;
  }

  .offcanvas_menu .offcanvas_close {
    top: 25px;
    right: 20px;

    color: #111;
  }

  .offcanvas_menu .offcanvas_navigation {
    /* position: relative;
    top: auto;
    left: auto; */
    width: 100%;
    margin-top: 10px;
  }

  .offcanvas_menu .offcanvas_item {
    margin-bottom: 17px;
  }

  .offcanvas_menu .menu_title {
    font-size: 15px;
    line-height: 1.3;
  }

  .offcanvas_menu .menu_number {
    font-size: 8px;
    width: 22px;
  }

  .offcanvas_menu .menu_arrow {
    display: none;
  }

  .offcanvas_menu .offcanvas_social {
    /* position: relative;

    left: auto;
    bottom: auto; */

    margin-top: 20px;
  }

  .offcanvas_menu .offcanvas_image {
    display: none;
  }
}

/* =========================================
   Social Icons
========================================= */

.social-icons {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
}

.social-icons .icon-content {
  margin: 0 10px;
  position: relative;
}

/* Bottom spacing animation */
.social-icons .icon-content::after {
  content: "";
  display: block;
  height: 0;
  transition: height 0.3s ease-in-out;
  pointer-events: none;
}

.social-icons .icon-content:hover::after {
  height: 10px;
}

/* =========================================
   Tooltip
========================================= */

.social-icons .icon-content .tooltip {
  position: absolute;
  bottom: -30px;
  left: 50%;

  transform: translateX(-50%);

  color: #fff;
  padding: 6px 10px;
  border-radius: 5px;

  opacity: 0;
  pointer-events: none;
  visibility: hidden;

  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;

  transition: all 0.3s ease;

  z-index: 10;
}

.social-icons .icon-content:hover .tooltip {
  opacity: 1;
  visibility: visible;
  bottom: -40px;
}

/* =========================================
   Social Icon Button
========================================= */

.social-icons .icon-content a {
  position: relative;
  overflow: hidden;

  display: flex;
  justify-content: center;
  align-items: center;

  width: 50px;
  height: 50px;

  border-radius: 50%;

  color: #4d4d4d;
  background-color: #fff;

  text-decoration: none;

  transition: all 0.3s ease-in-out;

  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.social-icons .icon-content a:hover {
  color: #fff;
  box-shadow: 3px 2px 45px 0 rgba(0, 0, 0, 0.12);

  transform: translateY(-3px);
}

/* =========================================
   SVG
========================================= */

.social-icons .icon-content a svg {
  position: relative;
  z-index: 2;

  width: 30px;
  height: 30px;

  transition: transform 0.3s ease;
}

.social-icons .icon-content a:hover svg {
  transform: scale(1.08);
}

/* =========================================
   Filled Hover Background
========================================= */

.social-icons .icon-content a .filled {
  position: absolute;

  top: auto;
  bottom: 0;
  left: 0;

  width: 100%;
  height: 0;

  border-radius: 50%;

  background-color: #000;

  transition: all 0.3s ease-in-out;

  z-index: 1;
}

.social-icons .icon-content a:hover .filled {
  height: 100%;
}

/* =========================================
   Instagram
========================================= */

.social-icons .icon-content a[data-social="instagram"] .filled,
.social-icons .icon-content a[data-social="instagram"] ~ .tooltip {
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
}

/* =========================================
   LinkedIn
========================================= */

.social-icons .icon-content a[data-social="linkedin"] .filled,
.social-icons .icon-content a[data-social="linkedin"] ~ .tooltip {
  background-color: #0a66c2;
}

/* =========================================
   YouTube
========================================= */

.social-icons .icon-content a[data-social="youtube"] .filled,
.social-icons .icon-content a[data-social="youtube"] ~ .tooltip {
  background-color: #ff0000;
}

/* =========================================
   Responsive
========================================= */

@media (max-width: 576px) {
  .social-icons .icon-content {
    margin: 0 5px;
  }

  .social-icons .icon-content a {
    width: 44px;
    height: 44px;
  }

  .social-icons .icon-content a svg {
    width: 25px;
    height: 25px;
  }

  .social-icons .icon-content .tooltip {
    display: none;
  }
}
