/* ================= HEADER ================= */
.site-header {
  position: fixed;      /* stays on top when scrolling */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background-color: #5883C8; /* solid red banner */
  padding: 0.5rem 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  display: flex;
  justify-content: center;
}


/* Flex container for logo + nav */
.container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
}

/* Logo */
.logo img {
  max-height: 205px;
  display: block;
}

/* Desktop nav */
.nav {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  color: #ffffff;  /* white text */
  font-weight: bold;
}

.nav a {
  color: #ffffff;  /* white text */
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.nav a:hover,
.nav a:focus {
  color: #ffcc00;  /* highlight on hover */
}

.nav a.cta {
    background-color: #FE4640;
    color: #FFFFFF;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
}


/* Highlight current page in nav */
.nav a.active {
  color: #fe4c40;               /* brand highlight color */
  font-weight: 700;             /* bold text */
  border-bottom: 2px solid #ffffff; /* underline */
  padding-bottom: 2px;
}

/* Optional: active CTA styles */
.nav a.active.cta {
  background-color: #ff0000;    /* override CTA background */
  color: #ffffff;
}




/* Mobile nav toggle */
.nav-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #ffffff;
}

/* ================= MOBILE NAV ================= */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  nav {
    overflow: hidden;
    max-height: 0;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #5883C8; /* same solid banner */
    z-index: 1001;
    transition: max-height 0.3s ease;
  }

  nav.open {
    max-height: 500px;
  }

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

  .nav a {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }

  .nav a.cta {
    margin: 1rem;
    text-align: center;
  }
}
