.site-header {
  background: #fff;
  padding: 10px 10px;
  border-bottom: 1px solid #eee;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo img {
  height: 40px;
}

/* Navigation */
.main-navigation {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: roboto;
  font-size: 15px;
}

.main-navigation .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 25px;
}

.main-navigation .menu li a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-navigation .menu li a:hover {
  color: #0056d2;
}

/* Download Button */
.download-btn {
  padding: 8px 16px;
  border: 1px solid #0056d2;
  border-radius: 20px;
  color: #0056d2;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease, color 0.3s ease;
}

.download-btn:hover {
  background: #0056d2;
  color: #fff;
}

/* Hamburger icon (hidden by default) */
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* Normal header styles remain the same */

/* ✅ Hide desktop nav on small screens */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .hamburger {
    display: block;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: #222;
    z-index: 1001;
  }
  
  body{
      margin: 0px !important;
  }
}

/* ✅ Fullscreen Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;

  /* Background image */
/*  background: url("/wp-content/themes/Tfare-theme/images/alhaja.png") center center/cover no-repeat; */

  /* Initially hidden */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
  z-index: 2000;

  display: flex;
  justify-content: center;
  align-items: center;
}

/* Show menu */
.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

/* ✅ Semi-transparent white overlay */
.mobile-menu .menu-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.85); /* white with 85% opacity */
  backdrop-filter: blur(4px); /* slight blur for a premium feel */
  z-index: 1;
}

/* Close button */
.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
  color: #222;
  z-index: 3;
}

/* Menu links (centered) */
.mobile-menu-links {
  position: relative;
  z-index: 2; /* above the overlay */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.mobile-menu-links ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.mobile-menu-links ul li {
  margin-bottom: 20px;
}

.mobile-menu-links ul li a {
  text-decoration: none;
  color: #222;
  font-size: 26px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.mobile-menu-links ul li a:hover {
  color: #0056d2;
}

.mobile-menu-links .download-btn {
  margin-top: 20px;
  padding: 12px 20px;
  font-size: 18px;
  border-radius: 25px;
}

/* Smaller screens */
@media (max-width: 500px) {
  .mobile-menu-links ul li a {
    font-size: 22px;
  }
}
