/* ===== NAVBAR ===== */
/* ===== FIXED NAVBAR (ALWAYS VISIBLE) ===== */
.site-header {
  position: fixed;   /* 🔴 THIS makes it stay forever */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;

  background: #f5f9ff; /* light clean color */
  border-bottom: 1px solid #e0e6ef;

  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* PREVENT CONTENT HIDING UNDER NAVBAR */
body {
  padding-top: 70px;
}

/* NAV LAYOUT */
.nav-wrap {
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LINKS */
.main-nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  color: #1f2a44;
  font-weight: 500;
  position: relative;
}

/* UNDERLINE ANIMATION */
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #c89c3d;
  transition: 0.3s;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

/* DONATE */
.donate-btn {
  background: linear-gradient(135deg, #c89c3d, #e6c167);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
}

/* DROPDOWN */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 40px;
  left: 0;
  display: none;

  background: white;
  padding: 12px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* ===== MOBILE ===== */
.menu-toggle {
  display: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 26px;
  background: #333;
  margin: 5px 0;
  transition: 0.3s;
}

/* ANIMATION */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  left: -100%;
  top: 0;
  width: 75%;
  height: 100vh;
  background: #f5f9ff;
  padding: 90px 25px;
  transition: 0.3s;
}

.mobile-menu.active {
  left: 0;
}

.mobile-menu li {
  margin: 20px 0;
}

.mobile-menu a {
  text-decoration: none;
  font-size: 18px;
  color: #1f2a44;
}

/* OVERLAY */
.overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* FLOATING DONATE */
.floating-donate {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #c89c3d;
  color: white;
  padding: 12px 18px;
  border-radius: 50px;
  text-decoration: none;
  z-index: 9999;
}

/* MOBILE BREAKPOINT */
@media (max-width: 768px) {
  .main-nav,
  .desktop-only {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}
.dropdown-menu {
  position: absolute;
  top: 110%;
  left: 0;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);

  transition: 0.3s ease;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* ===== MOBILE MENU (PRO LEVEL) ===== */

.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  background: #ffffff;
  z-index: 9999;

  display: flex;
  flex-direction: column;

  transition: 0.35s ease;
}

.mobile-menu.active {
  left: 0;
}

/* HEADER */
.mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.mobile-logo {
  height: 40px;
}

.close-menu {
  font-size: 24px;
  cursor: pointer;
}

/* LINKS */
.mobile-links {
  list-style: none;
  padding: 20px;
}

.mobile-links li {
  margin-bottom: 18px;
}

.mobile-links a {
  text-decoration: none;
  font-size: 18px;
  color: #1f2a44;
  font-weight: 500;
}

/* DONATE BUTTON */
.mobile-donate {
  margin: auto 20px 30px;
  display: block;
  text-align: center;
  background: #c89c3d;
  color: white;
  padding: 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}

/* OVERLAY */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(0,0,0,0.35);
  opacity: 0;
  pointer-events: none;

  transition: 0.3s;
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* MOBILE NAV HIDE DESKTOP */
@media (max-width: 768px) {
  .main-nav,
  .desktop-only {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}