/* Transparent Header Styles */


.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    padding: 20px 0;    
  }
  
.header-inner{
     display: flex;
     flex-wrap: wrap;
     align-items: center;
}

.main-navigation{
    margin-left: auto;
}

.header-nav{
     display: flex;
     flex-wrap: wrap;
     column-gap: 35px;
     position: relative;
}

.header-nav a{
  color: #fff;
  font-size: 18px;
  line-height: 24px;
   font-family: 'Helvetica';
   transition: none;
}

.header-nav li{
     list-style: none;
}

.header-nav .sub-menu{
  opacity: 0;
  visibility: hidden;
  height: 0;
  padding: 20px;
  position: absolute;
  opacity: 1;
  display: block;
  background-color: #fff;
  -webkit-border-radius: 20px;
  border-radius: 20px;

}

.header-nav .sub-menu li+li{
  margin-top: 10px;
}

.header-nav .sub-menu a{
     color: #000;
}

.header-nav li:hover  .sub-menu{
opacity: 1;
  visibility: visible;
  height: auto;
}

.header-nav  li.menu-item-has-children>a{
       padding-right: 19px;
    position: relative;
}

.header-nav  li.menu-item-has-children>a::after{
         content: "";
    width: 13px;
    height: 8px;
    position: absolute;
    right: 0px;
    top: 8px;
    background-image: url(../images/nav-arrow-white.svg);
    background-repeat: no-repeat;
}

.language-switcher{
 font-family: "Noto Kufi Arabic", sans-serif;
 margin-left: 20px;
 color: #fff;
 cursor: pointer;
}

.cta-button{
     margin-left: 30px;
     display: flex;
     flex-wrap: wrap;
     align-items: center;
}

.search-main{
   width: 44px;
   height: 44px;
   -webkit-border-radius: 100%;
   border-radius: 100%;
   background-color: #fff;
   display: flex;
   align-items: center;
   justify-content: center;
    cursor: pointer;
}

.site-header.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  transition: all 0.3s, box-shadow 0.3s;
}
body.fixed-header-active {
  padding-top: 90px; /* Adjust to your header height */
}

.site-header.fixed-header .header-nav a{
  color: #000;
}

.site-header.fixed-header .site-logo img{
  filter: brightness(0) saturate(100%) invert(0%) sepia(40%) saturate(7500%) hue-rotate(58deg) brightness(95%) contrast(100%);
}

.site-header.fixed-header .header-nav  li.menu-item-has-children>a::after{
      background-image: url(../images/nav-arrow.svg);
}

.site-header.fixed-header .search-main{
     background-color: #000;
}

.site-header.fixed-header .search-main img{
filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%) hue-rotate(317deg) brightness(108%) contrast(101%);
}

.site-header.fixed-header .language-switcher{
     color: #000;
}

/* Mobile Toggle Styles - Base styles only, responsive styles in responsive.css */
.mobile-toggle {
  display: none;
}

/* Search Overlay Styles */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-container {
  width: 100%;
  max-width: 800px;
  padding: 0 20px;
}

.search-bar-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.search-form {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  padding: 0 20px;
  transition: all 0.3s ease;
}

.search-form:focus-within {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.15);
}

.search-field {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  padding: 20px 0;
  font-size: 24px;
  color: #fff;
  font-family: var(--font-body);
}

.search-field::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.search-submit {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.search-submit:hover {
  transform: scale(1.1);
}

.search-submit img {
  width: 24px;
  height: 24px;
  filter: brightness(0) saturate(100%) invert(100%);
}

.search-close {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.search-close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: rotate(90deg);
}

.search-close span {
  position: absolute;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}

.search-close span:first-child {
  transform: rotate(45deg);
}

.search-close span:last-child {
  transform: rotate(-45deg);
}

/* Prevent body scroll when search is active */
body.search-active {
  overflow: hidden;
}

/* Responsive Styles for Search Overlay */
@media (max-width: 768px) {
  .search-container {
    padding: 0 15px;
  }

  .search-bar-wrapper {
    gap: 15px;
  }

  .search-field {
    font-size: 20px;
    padding: 15px 0;
  }

  .search-close {
    width: 45px;
    height: 45px;
  }

  .search-close span {
    width: 18px;
  }
}

@media (max-width: 480px) {
  .search-container {
    padding: 0 10px;
  }

  .search-bar-wrapper {
    gap: 10px;
  }

  .search-field {
    font-size: 18px;
    padding: 12px 0;
  }

  .search-form {
    padding: 0 15px;
  }

  .search-close {
    width: 40px;
    height: 40px;
  }

  .search-close span {
    width: 16px;
  }

  .search-submit img {
    width: 20px;
    height: 20px;
  }
}

