/*
 Theme Name: Hello Biz Child
 Theme URI: https://example.com/
 Description: Child theme for Hello Biz
 Author: Your Name
 Template: hello-biz
 Version: 1.0
*/

/* === Base Header Styles === */
header {
  background-color: #2a2a2ab0 !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 999 !important;
  border-bottom: none !important;
  padding: 5px 2rem !important;

  @media (min-width: 840px) {
    padding-right: 70px !important;
    padding-left: 70px !important;
  }

  @media (max-width: 840px) {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
  }
}

.header-inner {
  width: 100% !important;
  max-width: 100% !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0 !important;
  padding-bottom: 0 !important;

  @media (max-width: 540px) {
    padding-top: 0 !important;
  }
}

.site-header {
  border-bottom: 1px solid #eee;
}

/* === Logo === */
.site-logo img {
  max-height: 80px !important;
  width: auto;
}

/* === Desktop Navigation === */
.site-navigation ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.site-navigation a {
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  color: white !important;
  font-size: 20px;
}

.site-navigation a:hover {
  color: #0073e6;
}

/* === Hamburger Button (hidden on desktop) === */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.menu-toggle:hover {
  background: none !important;
  background-color: transparent !important;
}

.menu-toggle:active {
  background: none !important;
  background-color: transparent !important;
}

.menu-toggle:focus {
  background: none !important;
  background-color: transparent !important;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--e-global-color-primary);
  border-radius: 2px;
  transition: 0.3s;
}

/* === Responsive === */
@media (max-width: 768px) {
  /* Hide default nav and use overlay menu */
  .site-navigation {
    z-index: 999;
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: #293951;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    transition: right 0.3s ease-in-out;
  }

  .site-navigation.active {
    right: 0;
  }

  .site-navigation ul {
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 150px;
  }

  .site-navigation a {
    color: #f0f0f0 !important;
    font-size: 1.2rem;
  }

  /* Show hamburger */
  .menu-toggle {
    display: flex;
  }

  .open-hamburger-icon {
    display: block;
  }

  .close-hamburger-icon {
    display: none;
  }

  /* Hamburger -> X animation */
  .menu-toggle.active {
    position: fixed;
    top: 30px;
    right: 44px;
    z-index: 2000;

    .close-hamburger-icon {
      display: block;
    }

    .open-hamburger-icon {
      display: none;
    }
  }
}

/* Footer styles */

.site-footer {
  background: #2a2a2a;
  color: #d1d1d1;
  padding: 4rem 2rem;
  font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column {
  flex: 1 1 22%;
  min-width: 250px;
}

.footer-column h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #e9e9e9;
}

.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-logo img {
  max-height: 60px;
  width: auto;
}

.footer-contact a {
  color: #0073e6;
  text-decoration: none;
  font-weight: 500;
}

.footer-contact a:hover {
  text-decoration: underline;
  color: #007eff;
}

/* Responsive layout */
@media (max-width: 1024px) {
  .footer-column {
    flex: 1 1 45%;
  }
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-column {
    width: 100%;
  }
}

/* End of footer, header */

/* For main contents */

.max-height-test-column {
  flex: 1;
}

.max-height-test-column > div:first-child {
  height: 100% !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  & > div:first-child {
    order: 2 !important;
    margin-top: 10px !important;
  }
}

.hero-headline {
  h5 {
    @media (max-width: 830px) {
      line-height: 1.5 !important;
    }
  }

  @media (max-width: 540px) {
    margin-top: 40px !important;
  }
}

.quality-icons-section-columns {
  padding-right: 0 !important;
  padding-left: 0 !important;

  @media (max-width: 900px) {
    flex-direction: column !important;
  }
}

.my-work-categories-imgs-wrapper {
  /* Seems like 768 is the mobile break for this elementor theme */
  @media (max-width: 768px) {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

#partner-swiper {
  img {
    height: 112px !important;
    width: auto !important;
  }
}

.swiper-slide {
  align-self: center !important;
}

.munkaim-swiper > div:first-child {
  max-height: 800px;
  align-items: center;
  display: flex;

  @media (min-width: 1000px) {
    max-height: 1000px;
  }
}
