/* Polyana Travel · Responsive Header + White Edge Background v14
   Loaded after the original app.css and neon header v10; no global stylesheet overwritten. */

/* The uploaded panoramic WebP from v13 is unchanged. Whiten the center only.
   At 1780px viewport: roughly 200px unmodified on each side. */
body {
  --pt-edge-strip: clamp(52px, 11.2vw, 200px);
  --pt-edge-fade: clamp(14px, 1.7vw, 26px);
  background-color: #fff !important;
  background-image:
    linear-gradient(to right,
      transparent 0,
      transparent var(--pt-edge-strip),
      #fff calc(var(--pt-edge-strip) + var(--pt-edge-fade)),
      #fff calc(100% - var(--pt-edge-strip) - var(--pt-edge-fade)),
      transparent calc(100% - var(--pt-edge-strip)),
      transparent 100%),
    url('/assets/site-bg-polyana-v13.webp') !important;
  background-size: 100% 100%, cover !important;
  background-position: center center, center top !important;
  background-repeat: no-repeat, no-repeat !important;
  background-attachment: fixed, fixed !important;
}
body::before, body::after { display:none !important; content:none !important; }

/* Brand and neon controls across all screen sizes */
.site-header.pt-neon-header,
.site-header.pt-neon-header.home-overlay-header {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  z-index: 101 !important;
}
.site-header.pt-neon-header:not(.home-overlay-header) {
  position: relative !important;
}
.site-header.pt-neon-header.home-overlay-header {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
}
.site-header.pt-neon-header .pt-mobile-menu-toggle { display: none; }
.site-header.pt-neon-header .pt-mobile-menu-utilities { display: none; }
.site-header.pt-neon-header .login-pill img,
.site-header.pt-neon-header.home-overlay-header .login-pill img {
  max-width: 35px;
  max-height: 35px;
}

/* Switch to a true hamburger menu before the desktop header becomes cramped. */
@media (max-width: 1120px) {
  .site-header.pt-neon-header,
  .site-header.pt-neon-header.home-overlay-header {
    padding: 10px 12px 0 !important;
    background: transparent !important;
  }
  .site-header.pt-neon-header .header-row,
  .site-header.pt-neon-header.home-overlay-header .header-row {
    position: relative;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start;
    gap: 10px !important;
    width: 100% !important;
    max-width: none;
    min-height: 76px !important;
    height: 76px !important;
    padding: 0 18px !important;
    margin: 0 auto !important;
    border: 1px solid rgba(171, 181, 213, .47);
    border-radius: 22px;
    background: linear-gradient(100deg,rgba(10,19,36,.95),rgba(26,20,38,.93)) !important;
    box-shadow: 0 8px 24px rgba(9, 13, 28, .25);
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .site-header.pt-neon-header .brand,
  .site-header.pt-neon-header.home-overlay-header .brand {
    display: flex;
    flex: 1 1 auto !important;
    min-width: 0;
    margin: 0 auto 0 0 !important;
    gap: 0 !important;
  }
  .site-header.pt-neon-header .brand-logo-icon,
  .site-header.pt-neon-header.home-overlay-header .brand-logo-icon {
    width: 78px !important;
    height: 57px !important;
    flex: 0 0 78px !important;
  }
  .site-header.pt-neon-header .pt-brand-divider {
    display: block !important;
    height: 43px !important;
    margin: 0 13px 0 5px !important;
  }
  .site-header.pt-neon-header .brand-copy,
  .site-header.pt-neon-header.home-overlay-header .brand-copy {
    display: block;
    min-width: 0 !important;
  }
  .site-header.pt-neon-header .brand-copy strong { font-size: 21px !important; }
  .site-header.pt-neon-header .brand-copy small { display: block !important; font-size: 11px !important; }
  .site-header.pt-neon-header .account-links,
  .site-header.pt-neon-header.home-overlay-header .account-links {
    order: 2 !important;
    flex: 0 0 auto !important;
    padding: 0 !important;
    gap: 0 !important;
    margin: 0;
  }
  .site-header.pt-neon-header .account-links::before { display:none !important; }
  .site-header.pt-neon-header .account-links .header-utility-link { display:none !important; }
  .site-header.pt-neon-header .login-pill,
  .site-header.pt-neon-header.home-overlay-header .login-pill {
    display: inline-flex !important;
    min-width: 46px !important;
    width: 46px !important;
    height: 46px !important;
    padding: 0 !important;
    border: 1.5px solid #fa365f !important;
    border-radius: 14px !important;
    background: rgba(19,24,40,.75) !important;
    color: #fff !important;
    box-shadow: inset 0 0 8px rgba(246,35,76,.12),0 0 9px rgba(238,38,75,.23) !important;
  }
  .site-header.pt-neon-header .login-pill img,
  .site-header.pt-neon-header.home-overlay-header .login-pill img {
    width: 21px !important;
    height: 21px !important;
    min-width: 0 !important;
    flex: 0 0 21px !important;
    max-width: 21px !important;
    max-height: 21px !important;
    object-fit: contain;
  }
  .site-header.pt-neon-header .login-pill span { display: none !important; }
  .site-header.pt-neon-header .pt-mobile-menu-toggle {
    order: 3;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px !important;
    width: 46px !important;
    height: 46px !important;
    margin: 0;
    padding: 0;
    border: 1.5px solid rgba(250, 54, 95, .80);
    border-radius: 14px;
    background: rgba(24, 24, 44, .86);
    color: #fff;
    cursor: pointer;
    box-shadow: inset 0 0 9px rgba(237, 37, 77, .13), 0 0 9px rgba(233, 39, 80, .17);
    -webkit-tap-highlight-color: transparent;
  }
  .site-header.pt-neon-header .pt-mobile-menu-toggle:focus-visible { outline: 2px solid #ff7591; outline-offset: 3px; }
  .pt-mobile-menu-toggle-lines { width: 22px; display: grid; gap: 5px; }
  .pt-mobile-menu-toggle-lines i {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 10px;
    background: #f7f6ff;
    transition: transform .18s ease, opacity .18s ease;
  }
  .site-header.pt-neon-header .pt-mobile-menu-toggle[aria-expanded="true"] .pt-mobile-menu-toggle-lines i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.pt-neon-header .pt-mobile-menu-toggle[aria-expanded="true"] .pt-mobile-menu-toggle-lines i:nth-child(2) { opacity: 0; }
  .site-header.pt-neon-header .pt-mobile-menu-toggle[aria-expanded="true"] .pt-mobile-menu-toggle-lines i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Override the old fixed bottom mobile dock (including !important in v10). */
  .site-header.pt-neon-header .nav,
  .site-header.pt-neon-header.home-overlay-header .nav {
    position: absolute !important;
    inset: auto 0 auto 0 !important;
    top: calc(100% + 9px) !important;
    bottom: auto !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 102 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    justify-content: stretch !important;
    align-content: start;
    align-items: stretch;
    column-gap: 10px !important;
    row-gap: 9px !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: min(72vh, 640px);
    overflow-y: auto;
    margin: 0 !important;
    padding: 15px !important;
    border: 1px solid rgba(184,187,222,.36) !important;
    border-radius: 20px !important;
    background: linear-gradient(130deg, rgba(10,18,35,.99), rgba(25,20,39,.99)) !important;
    box-shadow: 0 16px 35px rgba(8,10,22,.38), 0 0 15px rgba(231,49,85,.08) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }
  .site-header.pt-neon-header.pt-menu-open .nav,
  .site-header.pt-neon-header.pt-menu-open.home-overlay-header .nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .site-header.pt-neon-header .nav-item,
  .site-header.pt-neon-header.home-overlay-header .nav-item {
    display: flex !important;
    align-items: center;
    justify-content: flex-start !important;
    flex-direction: row !important;
    gap: 12px !important;
    min-width: 0;
    min-height: 55px;
    margin: 0;
    padding: 8px 10px !important;
    border: 1px solid rgba(183,190,218,.13);
    border-radius: 12px;
    background: rgba(255,255,255,.045);
    color: #f8f8ff !important;
    font: 600 14px/1.25 system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    text-decoration: none;
    text-shadow: none !important;
  }
  .site-header.pt-neon-header .nav-item:hover,
  .site-header.pt-neon-header .nav-item:focus-visible {
    color: #fff !important;
    background: rgba(232, 43, 77, .12);
    border-color: rgba(255, 84, 115, .44);
    transform: none;
  }
  .site-header.pt-neon-header .nav-item img,
  .site-header.pt-neon-header.home-overlay-header .nav-item img {
    display: block !important;
    flex: 0 0 29px !important;
    width: 29px !important;
    height: 29px !important;
    object-fit: contain;
  }
  .site-header.pt-neon-header .nav-item span,
  .site-header.pt-neon-header.home-overlay-header .nav-item span {
    display: inline !important;
    color: inherit !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    white-space: normal !important;
  }
  .site-header.pt-neon-header .pt-mobile-menu-utilities {
    grid-column: 1 / -1;
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 0 0;
    border-top: 1px solid rgba(192,195,218,.2);
  }
  .site-header.pt-neon-header .pt-mobile-menu-utilities a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 39px;
    padding: 6px 11px;
    border: 1px solid rgba(251,69,102,.28);
    border-radius: 10px;
    color: #f9f7fc;
    font-size: 13px;
    text-decoration: none;
    background: rgba(255,255,255,.04);
  }
  .site-header.pt-neon-header .pt-mobile-menu-utilities img { width: 23px; height: 23px; object-fit: contain; }
}

@media (max-width: 720px) {
  body { padding-bottom: 0 !important; background-attachment: scroll, scroll !important; }
  .site-header.pt-neon-header .header-row,
  .site-header.pt-neon-header.home-overlay-header .header-row {
    min-height: 66px !important;
    height: 66px !important;
    gap: 8px !important;
    padding: 0 12px !important;
    border-radius: 18px;
  }
  .site-header.pt-neon-header .brand-logo-icon,
  .site-header.pt-neon-header.home-overlay-header .brand-logo-icon {
    width: 54px !important;
    height: 46px !important;
    flex: 0 0 54px !important;
  }
  .site-header.pt-neon-header .pt-brand-divider { height: 35px !important; margin: 0 10px 0 2px !important; }
  .site-header.pt-neon-header .brand-copy strong { font-size: clamp(15px,4.4vw,20px) !important; }
  .site-header.pt-neon-header .brand-copy small { display: none !important; }
  .site-header.pt-neon-header .login-pill,
  .site-header.pt-neon-header.home-overlay-header .login-pill {
    flex: 0 0 38px !important;
    min-width: 38px !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 12px !important;
  }
  .site-header.pt-neon-header .login-pill img,
  .site-header.pt-neon-header.home-overlay-header .login-pill img {
    flex: 0 0 19px !important;
    width: 19px !important;
    height: 19px !important;
    max-width: 19px !important;
    max-height: 19px !important;
  }
  .site-header.pt-neon-header .pt-mobile-menu-toggle {
    flex: 0 0 39px !important;
    width: 39px !important;
    height: 39px !important;
    border-radius: 12px;
  }
  .site-header.pt-neon-header .nav,
  .site-header.pt-neon-header.home-overlay-header .nav { padding: 11px !important; gap: 7px !important; }
  .site-header.pt-neon-header .nav-item,
  .site-header.pt-neon-header.home-overlay-header .nav-item { gap: 8px !important; min-height: 52px; font-size: 12px !important; }
  .site-header.pt-neon-header .nav-item img,
  .site-header.pt-neon-header.home-overlay-header .nav-item img { width: 25px !important; height: 25px !important; flex-basis: 25px !important; }
  .site-header.pt-neon-header .nav-item span,
  .site-header.pt-neon-header.home-overlay-header .nav-item span { font-size: 12px !important; }

  /* Original old mobile hero was hard-coded forest green; match the navy/red brand. */
  .home-hero,
  .home-hero .hero-stage { background: #0e1727 !important; }
  .home-hero .hero-shade {
    background: linear-gradient(180deg,
      #0d1729 0%, #0d1729 43%,
      rgba(13,23,41,.97) 56%,rgba(13,23,41,.76) 68%,
      rgba(13,23,41,.16) 87%,transparent 100%) !important;
  }
}

@media (max-width: 365px) {
  .site-header.pt-neon-header,.site-header.pt-neon-header.home-overlay-header { padding: 7px 7px 0 !important; }
  .site-header.pt-neon-header .header-row,.site-header.pt-neon-header.home-overlay-header .header-row { padding: 0 9px !important; gap: 6px !important; }
  .site-header.pt-neon-header .brand-logo-icon,.site-header.pt-neon-header.home-overlay-header .brand-logo-icon { flex-basis: 44px !important; width: 44px !important; }
  .site-header.pt-neon-header .pt-brand-divider { margin-right: 7px !important; }
  .site-header.pt-neon-header .brand-copy strong { font-size: 14px !important; }
  .site-header.pt-neon-header .login-pill,.site-header.pt-neon-header.home-overlay-header .login-pill { flex-basis: 35px !important; width: 35px !important; height: 35px !important; }
  .site-header.pt-neon-header .login-pill img,.site-header.pt-neon-header.home-overlay-header .login-pill img { flex-basis: 18px !important; width: 18px !important; height: 18px !important; }
  .site-header.pt-neon-header .pt-mobile-menu-toggle { flex-basis: 36px !important; width: 36px !important; height: 36px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header.pt-neon-header .nav,.site-header.pt-neon-header .pt-mobile-menu-toggle-lines i { transition: none !important; }
}
