/* Fresh standalone navbar styles */
.pc-topbar {
  background: #f5f0e6;
  border-bottom: 1px solid #e1d7c4;
  color: #3f3321;
}

.pc-topbar-inner {
  max-width: 1240px;
  margin: 0 auto;
  min-height: 84px;
  padding: 0.7rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.9rem;
}

.pc-topbar-contact,
.pc-topbar-social {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.pc-topbar-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 110px;
}

.pc-topbar-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.pc-topbar-logo {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #d8c08f;
  background: #fff;
}

.pc-topbar-brand strong {
  font-size: 1.1rem;
  color: #2f2413;
}

.pc-topbar-brand span {
  font-size: 1.05rem;
  color: #6a5430;
}

.pc-topbar a {
  color: #574116;
  text-decoration: none;
  font-weight: 600;
}

.pc-topbar a:hover {
  color: #2f5f96;
}

.pc-donate-btn {
  background: #b5883d;
  color: #fff7e6 !important;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

.pc-donate-btn:hover {
  background: #956f30;
  color: #ffffff !important;
}

.pc-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(18, 33, 64, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(210, 181, 121, 0.4);
}

.pc-nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.55rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.pc-brand {
  color: #f5e7c2;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  white-space: nowrap;
}

.pc-nav {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  flex-wrap: wrap;
}

.pc-nav > a,
.pc-item > a {
  color: #f8f1df;
  text-decoration: none;
  padding: 0.48rem 0.74rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
  transition: background-color 0.22s ease, color 0.22s ease, transform 0.18s ease;
}

.pc-nav > a:hover,
.pc-item > a:hover {
  background: rgba(212, 181, 119, 0.2);
  color: #fff6dc;
  transform: translateY(-1px);
}

.pc-item {
  position: relative;
  padding-bottom: 0.2rem; /* prevent hover gap before dropdown */
}

.pc-item > a::after {
  content: " ▾";
  font-size: 0.7rem;
}

.pc-dropdown {
  position: absolute;
  left: 0;
  top: calc(100% - 0.05rem);
  min-width: 250px;
  background: #1a2f57;
  border: 1px solid rgba(212, 181, 119, 0.45);
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(3, 12, 30, 0.35);
  padding: 0.4rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1200;
}

.pc-dropdown a {
  color: #fff4d8;
  text-decoration: none;
  display: block;
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
  font-size: 0.88rem;
}

.pc-dropdown a:hover {
  background: rgba(212, 181, 119, 0.18);
  color: #fff;
}

.pc-item:hover .pc-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.pc-item:focus-within .pc-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.pc-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(212, 181, 119, 0.45);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #f8f1df;
  cursor: pointer;
  flex-shrink: 0;
}

.pc-nav-toggle-line {
  display: block;
  width: 1.2rem;
  height: 2px;
  margin: 0.18rem 0;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.pc-nav-wrap.is-nav-open .pc-nav-toggle-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.pc-nav-wrap.is-nav-open .pc-nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.pc-nav-wrap.is-nav-open .pc-nav-toggle-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.pc-nav-toggle:focus-visible {
  outline: 2px solid #f5e7c2;
  outline-offset: 2px;
}

@media (max-width: 992px) {
  .pc-topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    min-height: 0;
    padding: 0.8rem 1rem;
  }

  .pc-topbar-brand {
    align-self: center;
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  .pc-topbar-brand-text {
    align-items: center;
  }

  .pc-nav-toggle {
    display: inline-flex;
    flex-direction: column;
  }

  .pc-nav-inner {
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .pc-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding-top: 0.35rem;
  }

  .pc-nav-wrap.is-nav-open .pc-nav {
    display: flex;
  }

  .pc-nav > a,
  .pc-item > a {
    width: 100%;
    border-radius: 10px;
  }

  .pc-item {
    width: 100%;
    padding-bottom: 0;
  }

  .pc-dropdown {
    position: static;
    display: none;
    margin-top: 0.15rem;
    width: 100%;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: none;
    box-shadow: none;
    border: 0;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.2rem 0.35rem 0.35rem;
  }

  .pc-item.is-submenu-open .pc-dropdown {
    display: block;
  }

  .pc-item:hover .pc-dropdown,
  .pc-item:focus-within .pc-dropdown {
    display: none;
  }

  .pc-item.is-submenu-open:hover .pc-dropdown,
  .pc-item.is-submenu-open:focus-within .pc-dropdown {
    display: block;
  }
}



