/* ZAL PARKING — public header + footer (no global body reset; pairs with parking-form.css) */

/* ============================================================
   TOP UTILITY BAR (dark navy thin strip)
============================================================ */
.zal-top-bar {
  background: #01334e;
  color: #fff;
}
.zal-top-bar__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 9px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.zal-top-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: opacity .2s;
}
.zal-top-bar__item:hover { opacity: .8; }
.zal-top-bar__item svg {
  width: 16px;
  height: 16px;
  fill: #e17e29;
  flex-shrink: 0;
}

/* ============================================================
   MAIN NAVBAR (white)
============================================================ */
.zal-navbar {
  background: #fff;
  box-shadow: 0 2px 12px rgba(1, 51, 78, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.zal-navbar__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.zal-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform .15s;
}
.zal-logo:hover { transform: translateY(-1px); }

.zal-logo__image {
  display: block;
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.zal-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.zal-nav__link {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #01334e;
  text-decoration: none;
  padding: 6px 2px;
  position: relative;
  transition: color .2s;
  white-space: nowrap;
}
.zal-nav__link:hover { color: #e17e29; }
.zal-nav__link.is-active { color: #e17e29; }
.zal-nav__link.is-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: #e17e29;
  border-radius: 999px;
}

.zal-nav__link--has-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.zal-nav__arrow {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform .2s;
}
.zal-nav__dropdown { position: relative; }
.zal-nav__dropdown:has(.zal-nav__menu.is-open) .zal-nav__arrow,
.zal-nav__dropdown .is-open ~ .zal-nav__arrow {
  transform: rotate(180deg);
}

.zal-nav__menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px) scale(.96);
  min-width: 180px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(1, 51, 78, 0.18);
  border: 1px solid rgba(1, 51, 78, 0.06);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all .2s cubic-bezier(.2, .9, .3, 1.2);
  z-index: 200;
}
.zal-nav__menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}
.zal-nav__menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #fff;
  border-top: 1px solid rgba(1, 51, 78, 0.06);
  border-left: 1px solid rgba(1, 51, 78, 0.06);
}
.zal-nav__menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: #01334e;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: background .15s, color .15s, transform .15s;
}
.zal-nav__menu a:hover {
  background: #fff8f3;
  color: #e17e29;
  transform: translateX(2px);
}

.zal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Logged-in: avatar (navy + orange ring) + Reserve — public pages do not load dashboard.css */
.profile-avatar.profile-avatar--zal-public {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid #e17e29;
  background: #01334e;
  box-shadow: 0 2px 10px rgba(1, 51, 78, 0.22);
  box-sizing: border-box;
}
.profile-avatar.profile-avatar--zal-public .profile-avatar__initials {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  letter-spacing: 0.04em;
  line-height: 1;
}
.profile-avatar.profile-avatar--zal-public .profile-avatar__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.zal-profile-trigger {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border-radius: 50%;
  transition: transform 0.15s, box-shadow 0.2s;
}
.zal-profile-trigger:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(1, 51, 78, 0.18);
}
.zal-profile-trigger--navbar-mobile {
  display: none;
}
.zal-profile-trigger--desktop {
  display: inline-flex;
}
.zal-mobile-account {
  padding: 12px 14px 14px;
  margin: -4px -8px 8px;
  border-radius: 12px;
  background: linear-gradient(135deg, #01334e 0%, #024a6d 100%);
  border: 1px solid rgba(225, 126, 41, 0.35);
}
.zal-mobile-account__main {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}
.zal-mobile-account__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.zal-mobile-account__name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
}
.zal-mobile-account__email {
  font-size: 12px;
  opacity: 0.88;
  word-break: break-word;
}
.zal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 26px;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, color .2s, transform .15s, box-shadow .2s;
  cursor: pointer;
  border: 2px solid transparent;
}
.zal-btn--primary {
  background: #01334e;
  color: #fff;
  box-shadow: 0 4px 14px rgba(1, 51, 78, 0.35);
}
.zal-btn--primary:hover {
  background: #011f30;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(1, 51, 78, 0.45);
}
.zal-btn--ghost {
  background: #fff;
  color: #01334e;
  border-color: #01334e;
}
.zal-btn--ghost:hover {
  background: #01334e;
  color: #fff;
  transform: translateY(-1px);
}

.zal-hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, #01334e, #001e30);
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 10px;
  flex-shrink: 0;
  transition: transform .15s;
}
.zal-hamburger:hover { transform: translateY(-1px); }
.zal-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
  transition: transform .25s, opacity .25s;
}
.zal-hamburger.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.zal-hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.zal-hamburger.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.zal-mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 20px;
  background: #fff;
  border-top: 1px solid rgba(1, 51, 78, 0.08);
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.zal-mobile-nav.is-open {
  display: flex;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}

.zal-mobile-link {
  padding: 12px 14px;
  border-radius: 10px;
  color: #01334e;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  transition: background .2s, color .2s;
  border: none;
  background: transparent;
  text-align: left;
  width: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.zal-mobile-link:hover { background: #fff8f3; color: #e17e29; }
.zal-mobile-link.is-active { background: linear-gradient(135deg, #01334e, #001e30); color: #fff; }
.zal-mobile-link svg {
  width: 16px; height: 16px; fill: currentColor;
  transition: transform .25s;
}
.zal-mobile-link--toggle.is-open svg { transform: rotate(180deg); }

.zal-mobile-resources__menu {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding-left: 14px;
  margin-top: 4px;
}
.zal-mobile-resources__menu.is-open { display: flex; }
.zal-mobile-resources__menu a {
  padding: 9px 14px;
  border-radius: 8px;
  color: #6b7280;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background .15s, color .15s;
}
.zal-mobile-resources__menu a:hover {
  background: #fff8f3;
  color: #e17e29;
}

.zal-mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px dashed rgba(1, 51, 78, 0.10);
}
.zal-mobile-actions .zal-btn {
  width: 100%;
  padding: 12px 18px;
}

.zal-mobile-contacts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(1, 51, 78, 0.10);
}
.zal-mobile-contacts a {
  padding: 6px 4px;
  color: #6b7280;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.zal-mobile-contacts a:hover { color: #e17e29; }

@media (max-width: 1024px) {
  .zal-nav { gap: 22px; }
  .zal-nav__link { font-size: 14px; }
  .zal-btn { padding: 10px 20px; font-size: 13px; }
  .zal-actions { gap: 8px; }
}

@media (max-width: 900px) {
  .zal-nav { display: none; }
  .zal-actions { display: none; }
  .zal-hamburger { display: flex; }
  .zal-profile-trigger--navbar-mobile {
    display: inline-flex;
    margin-left: auto;
    margin-right: 4px;
  }
  .zal-profile-trigger--desktop {
    display: none;
  }

  .zal-logo__image { height: 42px; max-width: 190px; }
}

@media (max-width: 720px) {
  .zal-top-bar__inner { padding: 8px 16px; gap: 16px; }
  .zal-top-bar__item { font-size: 12px; }
  .zal-top-bar__item svg { width: 14px; height: 14px; }

  .zal-navbar__inner { padding: 12px 16px; }
}

@media (max-width: 520px) {
  .zal-top-bar__item:nth-child(2) { display: none; }
  .zal-top-bar__inner { justify-content: center; }

  .zal-logo__image { height: 36px; max-width: 160px; }
}

@media (max-width: 380px) {
  .zal-logo__image { height: 32px; max-width: 140px; }
  .zal-hamburger { width: 38px; height: 38px; }
}

/* ============================================================
   FOOTER — single navy #01334e, no separate brand panel
============================================================ */
.zal-footer {
  background: #01334e;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.zal-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 32px;
  display: grid;
  grid-template-columns: 1.15fr 1.05fr 1.1fr 1.1fr;
  gap: 36px;
  align-items: start;
  color: #fff;
}

.zal-footer__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Brand column — same background as rest of footer (no extra box) */
.zal-footer__col--brand {
  background: transparent;
  padding: 0;
  border-radius: 0;
  border: none;
  color: #fff;
}
.zal-footer__col--brand .zal-footer__tagline {
  color: rgba(255, 255, 255, 0.95);
}
.zal-footer__col--brand .zal-footer__logo {
  color: #fff;
}
.zal-footer__col--brand .zal-footer__social {
  margin-top: 8px;
}
.zal-footer__col--brand .zal-footer__social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.zal-footer__col--brand .zal-footer__social a:hover {
  background: #e17e29;
  color: #fff;
  border-color: #e17e29;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.zal-footer__logo {
  display: inline-block;
  text-decoration: none;
  width: fit-content;
}
.zal-footer__logo img {
  display: block;
  height: 56px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.zal-footer__tagline {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.95);
  font-family: 'Poppins', sans-serif;
}

.zal-footer__social {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.zal-footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #fff8f3;
  color: #01334e;
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: background .2s, color .2s, transform .15s, box-shadow .2s;
}
.zal-footer__social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.zal-footer__social a:hover {
  background: #e17e29;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(225, 126, 41, 0.35);
}

.zal-footer__contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.zal-footer__contact-list li,
.zal-footer__contact-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-weight: 600;
  transition: color .2s;
}
.zal-footer__contact-list a:hover { color: #ffd4a8; }

.zal-footer__contact-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(100, 180, 230, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.zal-footer__contact-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.zal-footer__col--map {
  min-width: 0;
}

.zal-footer__map {
  margin-top: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.22);
  height: 100%;
  min-height: 200px;
}
.zal-footer__map iframe {
  display: block;
  width: 100%;
  min-height: 200px;
}

.zal-footer__heading {
  margin: 0 0 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.zal-footer__newsletter-desc {
  margin: 0 0 4px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
}
.zal-footer__newsletter-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.zal-footer .req { color: #ffb86b; }

.zal-footer__newsletter-row {
  display: flex;
  gap: 0;
  background: rgba(255, 255, 255, 0.96);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.zal-footer__newsletter-row:focus-within {
  border-color: #e17e29;
  box-shadow: 0 0 0 4px rgba(225, 126, 41, 0.35);
}
.zal-footer__newsletter-row input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #001e30;
  background: transparent;
  min-width: 0;
}
.zal-footer__newsletter-row input::placeholder {
  color: #6b7280;
}
.zal-footer__newsletter-row button {
  border: none;
  background: #e17e29;
  color: #fff;
  padding: 12px 22px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}
.zal-footer__newsletter-row button:hover {
  background: #c4641a;
}
.zal-footer__newsletter-row button:active {
  transform: scale(.97);
}

.zal-footer__newsletter-status {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-top: 8px;
  min-height: 16px;
  color: rgba(255, 255, 255, 0.75);
}
.zal-footer__newsletter-status--success {
  color: #a7f3d0;
}

.zal-footer__bottom {
  /* Slightly lighter than main footer #01334e — soft separation */
  background: #0d4d6c;
  color: #fff;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.zal-footer__bottom-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.zal-footer__copyright {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.92;
}
.zal-footer__legal {
  display: flex;
  align-items: center;
  gap: 12px;
}
.zal-footer__legal a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  opacity: 0.92;
  transition: color .2s, opacity .2s;
}
.zal-footer__legal a:hover {
  color: #e17e29;
  opacity: 1;
}
.zal-footer__sep {
  opacity: 0.4;
}

.zal-footer__scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e17e29;
  color: #fff;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(225, 126, 41, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s, visibility .25s, transform .25s, background .2s;
  z-index: 999;
}
.zal-footer__scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.zal-footer__scroll-top:hover {
  background: #c4641a;
  transform: translateY(-2px);
}
.zal-footer__scroll-top svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

@media (max-width: 1100px) {
  .zal-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .zal-footer__col--map,
  .zal-footer__col--newsletter {
    grid-column: 1 / -1;
  }

  .zal-footer__map iframe {
    min-height: 220px;
    height: 220px;
  }
}

@media (max-width: 720px) {
  .zal-footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 20px;
  }

  /* Hide newsletter block on small screens */
  .zal-footer__col--newsletter {
    display: none !important;
  }

  /* Copyright strip: one row, compact type */
  .zal-footer__bottom-inner {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 14px;
    text-align: left;
  }

  .zal-footer__copyright {
    width: auto;
    flex: 1;
    min-width: 0;
    font-size: 11px;
    line-height: 1.25;
    text-align: left;
  }

  .zal-footer__legal {
    width: auto;
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    justify-content: flex-end;
  }

  .zal-footer__legal a {
    font-size: 10px;
    white-space: nowrap;
  }

  .zal-footer__sep {
    display: inline;
    font-size: 10px;
  }

  .zal-footer__map iframe { height: 200px; }

  .zal-footer__scroll-top {
    right: 16px;
    bottom: 16px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  /* Bottom strip stays one row; slightly tighter on very small phones */
  .zal-footer__bottom-inner {
    padding: 8px 10px;
    gap: 6px;
  }

  .zal-footer__copyright {
    font-size: 10px;
  }

  .zal-footer__legal a {
    font-size: 9px;
  }

  .zal-footer__legal {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 4px;
  }

  .zal-footer__sep {
    display: inline;
  }
}
