/* KC Cinemax - Public site navigation (mobile overlay menu) */

/* --- Mobile hamburger button --- */
.kc-menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.kc-menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #e8ebf5;
  border-radius: 2px;
  transition: background .15s ease;
}
.kc-menu-toggle:hover {
  border-color: rgba(255, 179, 64, .5);
  background: rgba(255, 179, 64, .06);
}
.kc-menu-toggle:hover span { background: #ffb340; }

/* --- Full-screen overlay --- */
.kc-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 1080;
  background: #0a0a0d;
  color: #e8ebf5;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.25rem 1.25rem;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform .3s ease, visibility .3s ease;
  overflow-y: auto;
}
.kc-menu-overlay.open {
  transform: translateY(0);
  visibility: visible;
}

.kc-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-top: .25rem;
}
.kc-menu-head .kc-brand {
  display: inline-flex; align-items: center; gap: .5rem;
  text-decoration: none;
}

.kc-menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  color: #e8ebf5;
  font-size: 1.1rem;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.kc-menu-close:hover {
  border-color: rgba(255, 179, 64, .5);
  background: rgba(255, 179, 64, .08);
  color: #ffb340;
}

/* --- Big links --- */
.kc-menu-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.35rem;
  padding: 0 .25rem;
}

.kc-menu-link {
  display: flex;
  align-items: center;
  gap: .9rem;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: #e8ebf5;
  text-decoration: none;
  padding: .25rem 0;
  transition: color .15s ease, transform .15s ease;
}
.kc-menu-link i {
  font-size: 1.55rem;
  color: #6b7288;
  transition: color .15s ease;
}
.kc-menu-link:hover,
.kc-menu-link.active {
  color: #ffb340;
  transform: translateX(4px);
}
.kc-menu-link:hover i,
.kc-menu-link.active i { color: #ffb340; }

/* --- Footer strip --- */
.kc-menu-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .05);
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #5a6076;
}
.kc-menu-foot a {
  color: inherit;
  text-decoration: none;
  transition: color .15s ease;
}
.kc-menu-foot a:hover { color: #9aa2b8; }

/* --- Desktop: hide the overlay entirely --- */
@media (min-width: 992px) {
  .kc-menu-toggle  { display: none !important; }
  .kc-menu-overlay { display: none !important; }
}

/* --- Small phones: tighten type a touch --- */
@media (max-width: 400px) {
  .kc-menu-link { font-size: 1.5rem; gap: .75rem; }
  .kc-menu-link i { font-size: 1.35rem; }
}