/* ===== AA Self Storage – Navigation styles ===== */

/* Variables used by the nav */
.nav-wrap {
  --green: #1B4D3E;
  --gold: #C9A84C;
  --offwhite: #F9F7F4;
}
.nav-wrap, .nav-wrap *, .nav-wrap *::before, .nav-wrap *::after { box-sizing: border-box; }

/* Language toggle (scoped to the nav so it doesn't touch the rest of the page) */
html.lang-en .nav-wrap .es-text { display: none !important; }
html.lang-es .nav-wrap .en-text { display: none !important; }

.nav-wrap {
  background: var(--green);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  font-family: 'Nunito', sans-serif;
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-wrap .nav-phone,
.nav-wrap .nav-phone:visited {
  color: var(--gold) !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 33px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  justify-content: center;
}
.nav-wrap .nav-link,
.nav-wrap .nav-link:visited,
.nav-wrap .nav-link span {
  color: rgba(249,247,244,0.8) !important;
  text-decoration: none !important;
  font-family: 'Nunito', sans-serif !important;
  font-weight: 700 !important;
  font-size: 33px !important;
  letter-spacing: 0.02em;
  transition: color 0.15s;
}
.nav-wrap .nav-link:hover,
.nav-wrap .nav-link:hover span { color: var(--gold) !important; }

.lang-toggle {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 3px;
  gap: 2px;
}
.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 9px;
  border-radius: 16px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  color: rgba(249,247,244,0.8) !important;
  transition: background 0.15s, color 0.15s;
}
.nav-wrap .lang-btn.active {
  background: rgba(201,168,76,0.35);
  color: var(--offwhite) !important;
}

/* ── WhatsApp Nav Button ── */
.wa-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #25D366;
  color: #fff !important;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  padding: 7px 15px;
  border-radius: 50px;
  white-space: nowrap;
  transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
  box-shadow: 0 2px 8px rgba(37,211,102,.35);
  vertical-align: middle;
}

.wa-nav-btn:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37,211,102,.5);
  color: #fff !important;
  text-decoration: none !important;
}

.wa-nav-btn:active {
  transform: translateY(0);
}

.wa-nav-btn svg {
  width: 18px;
  height: 18px;
  fill: #fff;
  flex-shrink: 0;
}

/* Medium screens: shrink the larger text so the tabs still fit */
@media (max-width: 1300px) {
  .nav-wrap .nav-link,
  .nav-wrap .nav-link:visited,
  .nav-wrap .nav-link span { font-size: 24px !important; }
  .nav-wrap .nav-phone { font-size: 24px; }
}
@media (max-width: 900px) {
  .nav-wrap .nav-link,
  .nav-wrap .nav-link:visited,
  .nav-wrap .nav-link span { font-size: 18px !important; }
  .nav-wrap .nav-phone { font-size: 18px; }
}

/* Mobile */
@media (max-width: 639px) {
  .nav-links { display: none; }
  .nav-phone { display: none; }
}
