/* ==========================================================
AZ LONG PAGE NAV – v1.0
Floating button + overlay panel
Desktop: right drawer
Mobil: centered modal
========================================================== */

.az-lpn-hidden {
  display: none !important;
}

/* Floating button */
.az-lpn-fab {
  position: fixed;
  display: none;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #1D3F72, #244C8F);
  color: #ffffff;
  padding: 12px 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,.24);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  z-index: 2147483647;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.az-lpn-fab.is-visible {
  display: inline-flex;
  animation: azLpnFadeIn .4s ease;
}

.az-lpn-fab.is-visible::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 2px solid rgba(29,63,114,.25);
  animation: azLpnPulse 1.6s ease-out 1;
  pointer-events: none;
}

.az-lpn-fab__icon {
  line-height: 1;
}

.az-lpn-fab__text {
  white-space: nowrap;
  font-size: 13px;
}

@media (hover: hover) {
  .az-lpn-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(0,0,0,.28);
  }
}

@keyframes azLpnFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes azLpnPulse {
  0% {
    opacity: .6;
    transform: scale(.95);
  }
  70% {
    opacity: 0;
    transform: scale(1.2);
  }
  100% {
    opacity: 0;
  }
}

/* Desktop */
@media (min-width: 981px) {
  .az-lpn-fab {
    right: 18px;
    left: auto;
    bottom: 22px;
    padding: 13px 18px;
    min-height: 46px;
  }

  .az-lpn-fab__icon {
    font-size: 18px;
  }

  .az-lpn-fab__text {
    display: inline;
    font-size: 13px;
  }
}

/* Mobil */
@media (max-width: 980px) {
  .az-lpn-fab {
    left: 10px;
    right: auto;
    bottom: 120px;
    padding: 11px 14px;
    min-height: 42px;
  }

  .az-lpn-fab__icon {
    font-size: 15px;
  }

  .az-lpn-fab__text {
    display: inline;
    font-size: 13px;
  }
}

/* Overlay */
.az-lpn-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17,24,39,.56);
  display: none;
  z-index: 2147483646;
  pointer-events: auto;
}

.az-lpn-overlay.is-open {
  display: block;
}

/* Panel base */
.az-lpn-panel {
  position: fixed;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
  z-index: 2147483647;
  pointer-events: auto;
}

/* Desktop drawer */
@media (min-width: 981px) {
  .az-lpn-panel {
    top: 0;
    right: 0;
    width: min(92vw, 390px);
    height: 100vh;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .25s ease;
    border-left: 1px solid rgba(29,63,114,.10);
    opacity: 1;
  }

  .az-lpn-panel.is-open {
    transform: translateX(0);
  }
}

/* Mobil centered modal */
@media (max-width: 980px) {
  .az-lpn-panel {
    top: 50%;
    left: 50%;
    width: min(92vw, 420px);
    max-width: 420px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    overflow: hidden;
    transform: translate(-50%, -50%) scale(.96);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  }

  .az-lpn-panel.is-open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Panel header */
.az-lpn-panel-head {
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 2;
  padding: 18px;
  border-bottom: 1px solid rgba(29,63,114,.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.az-lpn-panel-title {
  font-family: "Merriweather", serif;
  font-size: 20px;
  line-height: 1.3;
  color: #1D3F72;
}

.az-lpn-close {
  border: 0;
  background: none;
  color: #1D1D1D;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

/* Panel body */
.az-lpn-panel-body {
  padding: 16px;
  overflow-y: auto;
}

.az-lpn-list {
  display: grid;
  gap: 10px;
}

.az-lpn-list a {
  display: flex;
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  background: #F7F9FC;
  border: 1px solid rgba(29,63,114,.10);
  text-decoration: none;
  color: #1D1D1D;
  font-size: 15px;
  line-height: 1.35;
}

.az-lpn-list a:hover,
.az-lpn-list a:focus {
  color: #1D3F72;
  background: #EEF4FB;
  border-color: rgba(29,63,114,.20);
  outline: none;
}

.az-lpn-list a.is-active {
  background: #1D3F72;
  color: #fff;
  border-color: #1D3F72;
}

body.az-lpn-open {
  overflow: hidden;
}