/* --- Layout: Header --- */
.l-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s var(--easing-standard), background-color 0.3s ease;
}
.l-header.is-hidden {
  transform: translateY(-100%);
}

.c-logo {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
}

.c-logo span {
  color: var(--primary-blue);
  font-size: 1.5rem;
}

.c-logo:hover {
  opacity: 0.8;
  transform: scale(1.02);
}

.l-global-nav ul {
  display: flex;
  gap: 30px;
}

.l-global-nav a {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #555;
  position: relative;
  padding: 5px 0;
}

.l-global-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--easing-standard);
}

.l-global-nav a:hover {
  color: var(--primary-blue);
  opacity: 1;
}
.l-global-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Menu Button (Hamburger) */
.c-menu-btn {
  display: none;
  position: fixed;
  top: 25px;
  right: 20px;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 1002;
}

.c-menu-btn span {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #333;
  transition: all 0.4s var(--easing-standard);
}

.c-menu-btn span:nth-child(1) {
  top: 0;
}
.c-menu-btn span:nth-child(2) {
  top: 9px;
}
.c-menu-btn span:nth-child(3) {
  bottom: 0;
}

.c-menu-btn.is-active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
  background-color: var(--primary-blue);
}
.c-menu-btn.is-active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}
.c-menu-btn.is-active span:nth-child(3) {
  transform: rotate(-45deg);
  bottom: 9px;
  background-color: var(--primary-blue);
}

/* Header Responsive */
@media (max-width: 900px) {
  .l-header {
    padding: 0 20px;
  }
  .c-menu-btn {
    display: block;
  }
  .l-global-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.5s var(--easing-standard);
    z-index: 1000;
  }
  .l-global-nav.is-active {
    transform: translateX(0);
  }
  .l-global-nav ul {
    flex-direction: column;
    gap: 25px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.2s;
  }
  .l-global-nav.is-active ul {
    opacity: 1;
    transform: translateY(0);
  }
  .l-global-nav a {
    font-size: 1.3rem;
    display: block;
    padding: 10px;
  }
}
