/* ===================================
   HEADER & NAVIGATION
   =================================== */

.site-header {
  background: var(--white);
  border-bottom: 1px solid rgba(10, 14, 41, 0.1);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo/Branding */
.site-branding {
  flex: 0 0 auto;
}

.site-logo-text {
  text-decoration: none;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  transition: color 0.3s ease;
}

.site-logo-text:hover {
  color: var(--brick);
}

.site-branding img {
  max-height: 50px;
  width: auto;
}

/* Main Navigation */
.main-navigation {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 35px;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  color: var(--navy);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s ease;
  display: block;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brick);
  transition: width 0.3s ease;
}

.nav-menu a:hover {
  color: var(--brick);
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item a::after,
.nav-menu .current_page_item a::after {
  width: 100%;
}

.nav-menu .current-menu-item a,
.nav-menu .current_page_item a {
  color: var(--brick);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  flex-direction: column;
  gap: 5px;
}

.hamburger {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--navy);
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Mobile Menu Active State */
.mobile-menu-toggle.active .hamburger:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active .hamburger:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Menu Overlay */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.menu-overlay.active {
  display: block;
  opacity: 1;
}

/* ===================================
   NAVIGATION RESPONSIVE
   =================================== */

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .main-navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    box-shadow: -3px 0 15px rgba(0, 0, 0, 0.1);
    padding: 80px 30px 30px;
    transition: right 0.4s ease;
    overflow-y: auto;
  }

  .main-navigation.active {
    right: 0;
  }

  .nav-menu {
    flex-direction: column;
    gap: 0;
  }

  .nav-menu li {
    border-bottom: 1px solid rgba(10, 14, 41, 0.1);
  }

  .nav-menu a {
    display: block;
    padding: 18px 0;
    font-size: 18px;
  }

  .nav-menu a::after {
    display: none;
  }
}

@media (max-width: 1024px) {
  .nav-menu {
    gap: 25px;
  }

  .nav-menu a {
    font-size: 15px;
  }
}