/* ---------------------- HEADER BASE ---------------------- */
header {
  display: flex;
  justify-content: center;
  padding: 10px;
  background: linear-gradient(90deg, #997346, #f2c987);
  position: relative;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* logo + nav left */
  width: 95%;
  max-width: 1300px;
  background: #99744616;
  border-radius: 50px;
  padding: 5px 30px;
  gap: 50px; /* space between logo, nav, and CTA */
  margin: 0 auto;
  position: relative;

  z-index: 5;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px; /* space between image and text */
  color: #072638;
}

.logo img {
  height: 60px;
  width: auto;
}

/* Nav Links (Desktop) */
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  justify-content: left;
  margin-left: -15px;
}
.nav-links a {
  text-decoration: none;
  color: #072638;
  font-size: 18px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: #07202e;
  background: #0726383a;
}

/* CTA Button (Desktop) */
.cta {
  margin-left: auto; /* push CTA to the far right */
}

.cta-btn {
  background: linear-gradient(90deg, #997346, #f2c987);
  color: #072638;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: linear-gradient(90deg, #f2c987, #997346);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ---------------------- MOBILE / DRAWER ---------------------- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  cursor: pointer;
  margin-left: auto;
  z-index: 9999;
}

.hamburger span {
  display: block;
  height: 3px;
  background: #072638;
  border-radius: 2px;
  transition: 0.3s ease;
}

@media (max-width: 768px) {
  /* Hide desktop CTA button */
  .cta {
    display: none;
  }

  /* Drawer nav */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100%;
    background: #fef8ee;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 20px;
    gap: 20px;
    transition: right 0.3s ease;
    box-shadow: -2px 0 8px rgba(0,0,0,0.1);
    margin-left: 0; 
    z-index: 9998;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    font-size: 18px;
    color: #072638;
    text-decoration: none;
    padding: 10px 0;
    margin-left: 0;
  }

  /* Show hamburger */
  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}
