.kotaki-header {
  background: linear-gradient(to bottom, #e6e6e6, #cfcfcf);
  /* box-shadow: 0 2px 6px rgba(0,0,0,0.1); */
  padding: 0 180px;

  position: sticky;
  top: 0;
  z-index: 9999; /* ensure it stays above content */
}

/* Flex container */
.kotaki-flex {
  display: flex;
  align-items: center;
  flex-wrap: wrap; /* allows second row */
}

/* Logo */
.logo-img {
  height: 50px;
}

/* Menu */
.kotaki-menu {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;   /* ONE LINE on desktop */
  gap: 24px;
  margin: 0 auto;
}

/* Button */
.join-btn {
  background: #f4b400;
  color: #000;
  padding: 10px 22px;
  border-radius: 25px;
  text-decoration: none;
  white-space: nowrap;
}

/* ===== RESPONSIVE BEHAVIOR ===== */

/* Tablet */
@media (max-width: 1200px) {
  .kotaki-header {
    padding: 0 80px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .kotaki-header {
    padding: 0 20px;
  }

  /* Move menu to second row */
  .kotaki-menu {
    order: 3;              /* push menu below */
    width: 100%;
    justify-content: center;
    margin-top: 10px;
    flex-wrap: wrap;
  }

  /* Keep button on right */
  .join-btn {
    order: 2;
  }

  .navbar-brand {
    order: 1;
  }
}