/* ============================================================
   NAVBAR
   Fluid scaling from 375px to 2560px
============================================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: clamp(12px, 1.4vw, 20px) clamp(16px, 2.2vw, 32px);
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.nav-pill {
  border-radius: var(--pill);
  padding: clamp(8px, 0.7vw, 10px) clamp(12px, 1.1vw, 16px) clamp(8px, 0.7vw, 10px) clamp(16px, 1.9vw, 28px);
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.1vw, 16px);
}

.nav-links {
  display: flex;
  gap: clamp(16px, 2.2vw, 32px);
  list-style: none;
}

.nav-links a {
  font-family: 'Outfit', sans-serif;
  font-weight: 200;
  font-size: clamp(10px, 0.84vw, 12px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: #fff;
}

.nav-divider {
  width: 1px;
  height: clamp(12px, 1.1vw, 16px);
  background: rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

.nav-alert-wrap {
  position: relative;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.92);
  overflow: hidden;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  width: auto;
  display: flex;
  align-items: center;
}

.nav-alert-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: none;
  color: #1A1A18;
  border: none;
  border-radius: var(--pill);
  padding: 8px clamp(10px, 1vw, 14px);
  line-height: 1;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: clamp(10px, 0.8vw, 11px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity 0.2s ease, max-width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 200px;
  overflow: hidden;
}

.nav-alert-wrap.open .nav-alert-btn {
  max-width: 0;
  opacity: 0;
  padding: 0;
}

.nav-alert-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.nav-alert-bell {
  font-size: clamp(10px, 0.84vw, 12px);
  line-height: 1;
}

.nav-alert-text {
  line-height: 1;
}

.nav-alert-form {
  display: flex;
  align-items: center;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease 0.1s;
}

.nav-alert-wrap.open .nav-alert-form {
  max-width: 240px;
  opacity: 1;
}

.nav-alert-input {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: none;
  outline: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 200;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #1A1A18;
  padding: 8px 12px;
  line-height: 1;
  width: clamp(120px, 11vw, 160px);
}

.nav-alert-input::placeholder {
  color: rgba(26, 26, 24, 0.4);
}

.nav-alert-submit {
  appearance: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: #1A1A18;
  padding: 4px 10px 4px 0;
  line-height: 1;
  transition: opacity 0.2s ease;
}

.nav-alert-submit:hover {
  opacity: 0.6;
}

/* ============================================================
   RESPONSIVE — PHONE (max-width: 600px)
============================================================ */
@media (max-width: 600px) {
  .navbar {
    padding: 10px 12px;
  }

  .nav-pill {
    padding: 8px 12px 8px 16px;
    gap: 10px;
  }

  .nav-links {
    gap: 14px;
  }

  .nav-links a {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .nav-alert-text {
    display: none;
  }

  .nav-alert-btn {
    padding: 8px 10px;
    font-size: 10px;
    line-height: 1;
  }

  .nav-alert-wrap.open .nav-alert-form {
    max-width: 180px;
  }

  .nav-alert-input {
    width: 110px;
    font-size: 11px;
    padding: 8px 10px;
    line-height: 1;
  }
}

/* ============================================================
   RESPONSIVE — TABLET (601px - 768px)
============================================================ */
@media (min-width: 601px) and (max-width: 768px) {
  .navbar {
    padding: 14px 16px;
  }

  .nav-pill {
    padding: 9px 14px 9px 20px;
    gap: 12px;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-alert-text {
    display: none;
  }

  .nav-alert-btn {
    padding: 8px 12px;
    line-height: 1;
  }

  .nav-alert-input {
    width: 130px;
    padding: 8px 10px;
    line-height: 1;
  }
}

/* ============================================================
   RESPONSIVE — SMALL LAPTOP (769px - 1024px)
============================================================ */
@media (min-width: 769px) and (max-width: 1024px) {
  .nav-pill {
    padding: 9px 14px 9px 22px;
    gap: 14px;
  }

  .nav-links {
    gap: 24px;
  }
}
