.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 3000;

  background: linear-gradient(180deg, #1e6fb8, #165a9a);
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
}

.header-hidden {
  display: none;
}
body {
  padding-top: 85px; 
}

.site-header-container {
  max-width: 1320px;
  margin: auto;
  padding: 25px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Brand */
.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-logo {
  height: 42px;
}
.site-brand-name {
  font-size: 22px;
  font-weight: 700;
  color: #82c620;
   text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}

/* Smooth transition */
.site-header {
  transition: transform 0.35s ease;
}

/* Hide header when mobile menu is open */
body.menu-open .site-header {
  transform: translateY(-100%);
}

/* NAVIGATION */
.site-navigation {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.nav-link {
  position: relative;
  font-size: 18px;
  font-weight: 600;
  color: #e6f1fb;
  text-decoration: none;
  padding-bottom: 6px;
  white-space: nowrap;
}

.nav-link:hover {
  color: #ffffff;
}

/* underline */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: #82c620;
  border-radius: 6px;
  transition: width 0.35s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-contact-button {
  padding: 10px 22px;
  border-radius: 14px;
  border: 2px solid #82c620;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
background: rgba(255,255,255,0.08);
  transition: 0.3s;
}

.header-contact-button:hover {
  background: linear-gradient(135deg, #279cff, #82c620);
  color: #ffffff;
}

.header-cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 12px 16px;
  border-radius: 14px;
  border: 2px solid #82c620;
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  transition: 0.3s;
}

.header-cart i {
  font-size: 20px;
}

/* CART COUNT BADGE */
.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;

  min-width: 20px;
  height: 20px;
  padding: 0 6px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #82c620;
  color: #0d355f;
  font-size: 12px;
  font-weight: 700;

  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.35);

  /* Hide by default */
  opacity: 0;
  transform: scale(0);
  transition: 0.25s ease;
}
.cart-badge.show {
  opacity: 1;
  transform: scale(1);
}
.header-cart:hover {
  background: linear-gradient(135deg, #279cff, #82c620);
  border-color: #82c620;
}
.mobile-cart {
  margin-top: 10px;
  padding: 10px;
  border-radius: 10px;
  border: 2px solid #82c620;
  text-align: center;
}
.mobile-cart i {
  font-size: 18px;
  margin-right: 6px;
}

/* Hamburger */
.menu-toggle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: none;
  background: rgba(39,156,255,0.2);
  color: #82c620;
  font-size: 22px;
  cursor: pointer;
}

/* ================= MOBILE POPUP MENU ================= */

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background: linear-gradient(180deg, #124a86, #0d355f);
  box-shadow: -10px 0 30px rgba(0,0,0,0.6);
  transition: right 0.35s ease, opacity 0.35s ease;
  opacity: 0;
  z-index: 2000;
  padding: 24px;
}

.mobile-menu.active {
  right: 0;
  opacity:1;
}

/* Menu header */
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-size: 18px;
padding: 20px 1px ;
}

.menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  padding: 6px 18px;
}

/* Navigation */
.mobile-navigation {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-navigation a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
}

.mobile-navigation a:hover {
  color: #82c620;
}

/* Contact inside menu */
.mobile-contact {
  margin-top: 16px;
  padding: 10px;
  border-radius: 10px;
  border: 2px solid #82c620;
  text-align: center;
  margin-right: 14px;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.35); 
  backdrop-filter: blur(8px);      
  -webkit-backdrop-filter: blur(8px); 
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease;
  z-index: 1500; 
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

body.menu-open {
  overflow: hidden;
}

/* ================= RESPONSIVE ================= */

@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }
}

/* Hide contact button only on small screens */
@media (max-width: 1024px) {
  .header-contact-button {
    display: none;
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .site-navigation {
    display: none;
  }

  /* Hide ONLY header cart, not mobile menu cart */
  .site-header .header-cart {
    display: none;
  }

  /* Force mobile cart to show */
  .mobile-menu .header-cart {
    display: flex;
  }
}

