/* Header Styles */
.site-header {
  background: #1D3557;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: relative;
  top: 0;
  z-index: 1000;
}

.site-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  gap: 2rem;
}

/* Logo Branding */
.site-branding {
  flex-shrink: 0;
}

.logo-link {
  text-decoration: none;
  display: block;
  line-height: 0;
}

.site-logo {
  height: 70px;
  width: auto;
  display: block;
  transition: opacity 0.2s ease;
}

.logo-link:hover .site-logo {
  opacity: 0.8;
}

/* Navigation Menu */
.primary-menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
  align-items: center;
}

.primary-menu li {
  margin: 0;
}

.primary-menu a {
  color: #F1FAEE;
  font-weight: 400;
  font-size: 0.9375rem;
  transition: opacity 0.2s ease;
  text-decoration: none;
  padding: 0.5rem 0;
}

.primary-menu a:hover {
  opacity: 0.6;
}

.primary-menu li.current-menu-item a,
.primary-menu li.current_page_item a {
  font-weight: 500;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background: #457B9D;
  border: none;
  cursor: pointer;
  padding: 0.6rem;
  width: 40px;
  height: 30px;
  border-radius: 4px;
  margin-left: auto;
  transition: background 0.3s ease;
}

.mobile-menu-toggle:hover {
  background: #2e392e;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.is-active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.is-active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: #f7f6f4;
  padding: 2.5rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.mobile-menu.is-open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-close {
  align-self: flex-start;
  background: #457B9D;
  border: none;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  font-size: 1.5rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
}

.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-menu-list li {
  margin: 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
}

.mobile-menu-list li:last-child {
  border-bottom: none;
}

.mobile-menu-list a {
  display: block;
  padding: 1rem 0;
  color: #1a1a1a;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-menu-list a:hover {
  color: #3f4b3f;
}

.mobile-menu-list li.current-menu-item a,
.mobile-menu-list li.current_page_item a {
  font-weight: 500;
}

body.menu-open {
  overflow: hidden;
}

/* Desktop View */
@media (min-width: 1024px) {
  .site-navigation {
    padding: 1.5rem 0;
  }

  .site-logo {
    height: 60px;
  }

  .primary-menu {
    display: flex;
  }
  
  .mobile-menu-toggle {
    display: none;
  }
  
  .mobile-menu {
    display: none !important;
  }
}

/* Tablet View */
@media (min-width: 768px) and (max-width: 1023px) {
  .site-logo {
    height: 55px;
  }
}

/* Mobile View */
@media (max-width: 767px) {
  .site-navigation {
    padding: 1rem 0;
  }

  .site-logo {
    height: 45px;
  }

  .mobile-menu {
    padding: 1.75rem;
  }
}

