@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&display=swap');

:root {
  --psh-ink: #0f2b47;
  --psh-line: rgba(20, 50, 80, 0.2);
  --psh-glass: rgba(247, 251, 255, 0.8);
  --psh-card: rgba(255, 255, 255, 0.96);
  --psh-brand-a: #0a2c4c;
  --psh-brand-b: #22598d;
  --psh-accent-a: #ff9f34;
  --psh-accent-b: #f27f16;
}

#masthead,
#masthead * {
  font-family: 'Manrope', 'Segoe UI', sans-serif;
}

#masthead {
  position: sticky;
  top: 0;
  z-index: 9999;
  isolation: isolate;
}

#masthead::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(236, 245, 255, 0.58), rgba(236, 245, 255, 0));
  pointer-events: none;
  z-index: -1;
}

#masthead .ast-header-button-1,
#masthead .site-branding:empty {
  display: none !important;
}

#masthead .ast-primary-header-bar {
  background: var(--psh-glass) !important;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--psh-line) !important;
  box-shadow: 0 12px 30px rgba(13, 35, 59, 0.08);
}

#masthead .main-header-bar {
  padding: 0 !important;
}

#masthead .ast-primary-header-bar .ast-container {
  max-width: 1320px;
  padding: 10px 18px;
}

#masthead .ast-builder-menu-1,
#masthead .main-header-bar-navigation,
#masthead .main-navigation.ast-inline-flex {
  width: 100%;
}

#masthead .main-header-menu {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 4px;
  margin: 0;
  padding: 6px;
  border: 1px solid rgba(18, 63, 102, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
  overflow-x: auto;
  scrollbar-width: none;
}

#masthead .main-header-menu::-webkit-scrollbar {
  display: none;
}

#masthead .main-header-menu > .menu-item {
  margin: 0;
  line-height: 1;
}

#masthead .main-header-menu > .menu-item > .menu-link {
  color: var(--psh-ink);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  border-radius: 10px;
  padding: 10px 12px;
  white-space: nowrap;
  transition: transform 0.18s ease, color 0.18s ease, background 0.18s ease;
}

#masthead .main-header-menu > .menu-item:hover > .menu-link,
#masthead .main-header-menu > .menu-item > .menu-link:focus-visible {
  color: #0b3760;
  background: rgba(17, 65, 108, 0.08);
  transform: translateY(-1px);
}

#masthead .main-header-menu > .menu-item.current-menu-item > .menu-link,
#masthead .main-header-menu > .menu-item.current_page_item > .menu-link {
  color: #0a3c67;
  background: rgba(17, 66, 112, 0.14);
}

#masthead .main-header-menu > .menu-item:first-child {
  margin-right: auto;
}

#masthead .main-header-menu > .menu-item:first-child > .menu-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  background: linear-gradient(125deg, var(--psh-brand-a), var(--psh-brand-b));
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 10px 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(13, 45, 76, 0.22);
}

#masthead .main-header-menu > .menu-item:first-child > .menu-link::before {
  content: 'PS';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.6rem;
  line-height: 1;
}

#masthead .main-header-menu > .menu-item:first-child > .menu-link:hover {
  color: #fff;
  background: linear-gradient(125deg, #0b3358, #2a68a3);
}

#masthead .main-header-menu > .menu-item:last-child > .menu-link {
  color: #fff;
  background: linear-gradient(130deg, var(--psh-accent-a), var(--psh-accent-b));
  border-radius: 999px;
  padding: 10px 15px;
  box-shadow: 0 10px 20px rgba(242, 127, 22, 0.3);
}

#masthead .main-header-menu > .menu-item:last-child > .menu-link:hover {
  color: #fff;
  background: linear-gradient(130deg, #ffad4d, #fb8d28);
}

@media (min-width: 922px) {
  #masthead #ast-desktop-header .site-header-primary-section-left {
    display: none;
  }

  #masthead #ast-desktop-header .site-header-primary-section-right {
    width: 100%;
  }
}

@media (min-width: 922px) and (max-width: 1200px) {
  #masthead .main-header-menu > .menu-item > .menu-link {
    font-size: 0.84rem;
    padding: 9px 9px;
  }
}

#masthead .ast-primary-header-bar .ast-builder-layout-element[data-section='section-header-mobile-trigger'] .menu-toggle {
  border: 1px solid rgba(17, 65, 108, 0.2);
  background: rgba(255, 255, 255, 0.9) !important;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 10px 20px rgba(13, 44, 74, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#masthead .ast-primary-header-bar .ast-builder-layout-element[data-section='section-header-mobile-trigger'] .menu-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(13, 44, 74, 0.18);
}

#masthead .ast-mobile-header-wrap .ast-primary-header-bar .mobile-menu-toggle-icon .ast-mobile-svg {
  fill: #0f3c67 !important;
}

@media (max-width: 921px) {
  #masthead::before {
    display: none;
  }

  #masthead .ast-primary-header-bar,
  #masthead .ast-mobile-header-wrap .ast-primary-header-bar {
    background: rgba(247, 251, 255, 0.9) !important;
    border-bottom: 1px solid rgba(16, 45, 75, 0.14) !important;
    box-shadow: 0 10px 24px rgba(13, 35, 59, 0.1);
  }

  #masthead .ast-mobile-header-wrap .ast-primary-header-bar,
  #masthead .ast-mobile-header-wrap .site-primary-header-wrap {
    min-height: 72px;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  #masthead .ast-mobile-header-wrap .site-header-primary-section-left::before {
    content: 'Paris Photo Shot';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(125deg, var(--psh-brand-a), var(--psh-brand-b));
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 800;
    font-size: 0.67rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(13, 45, 76, 0.2);
  }

  #masthead .ast-mobile-header-content {
    position: fixed;
    top: 82px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-height: none;
    overflow: auto;
    background: linear-gradient(180deg, #f8fcff, #ffffff) !important;
    border: 1px solid rgba(19, 58, 93, 0.18);
    border-radius: 24px;
    box-shadow: 0 30px 55px rgba(9, 28, 47, 0.24);
    padding: 12px !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.985);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

  .ast-main-header-nav-open #masthead .ast-mobile-header-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  #masthead .ast-mobile-header-content .main-header-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    border: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    overflow: visible;
  }

  #masthead .ast-mobile-header-content .main-header-menu > .menu-item {
    width: 100%;
  }

  #masthead .ast-mobile-header-content .main-header-menu > .menu-item > .menu-link {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: flex-start;
    border: 1px solid #d4e0eb;
    background: #fff;
    color: var(--psh-ink);
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 0.94rem;
    font-weight: 700;
    box-shadow: 0 7px 14px rgba(13, 44, 74, 0.08);
  }

  #masthead .ast-mobile-header-content .main-header-menu > .menu-item > .menu-link::after {
    content: '+';
    margin-left: auto;
    color: #6b84a0;
    font-weight: 700;
  }

  #masthead .ast-mobile-header-content .main-header-menu > .menu-item.current-menu-item > .menu-link,
  #masthead .ast-mobile-header-content .main-header-menu > .menu-item.current_page_item > .menu-link {
    color: #0a3c67;
    border-color: rgba(17, 66, 112, 0.3);
    background: rgba(226, 239, 251, 0.62);
  }

  #masthead .ast-mobile-header-content .main-header-menu > .menu-item:first-child > .menu-link {
    justify-content: center;
    color: #fff;
    background: linear-gradient(125deg, var(--psh-brand-a), var(--psh-brand-b));
    border-color: transparent;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.74rem;
  }

  #masthead .ast-mobile-header-content .main-header-menu > .menu-item:first-child > .menu-link::after {
    display: none;
  }

  #masthead .ast-mobile-header-content .main-header-menu > .menu-item:last-child > .menu-link {
    justify-content: center;
    color: #fff;
    background: linear-gradient(130deg, var(--psh-accent-a), var(--psh-accent-b));
    border-color: transparent;
    box-shadow: 0 11px 20px rgba(242, 127, 22, 0.28);
  }

  #masthead .ast-mobile-header-content .main-header-menu > .menu-item:last-child > .menu-link::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  #masthead .main-header-menu > .menu-item > .menu-link,
  #masthead .ast-primary-header-bar .ast-builder-layout-element[data-section='section-header-mobile-trigger'] .menu-toggle,
  #masthead .ast-mobile-header-content {
    transition: none;
  }
}

.psh-app-nav {
  display: none;
}

@media (max-width: 921px) {
  body.psh-app-nav-ready {
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }

  .psh-app-nav {
    display: block;
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 10010;
    pointer-events: none;
  }

  .psh-app-nav__list {
    margin: 0;
    padding: 6px;
    list-style: none;
    display: flex;
    align-items: stretch;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    border-radius: 18px;
    border: 1px solid rgba(19, 58, 93, 0.16);
    background: rgba(248, 252, 255, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 34px rgba(11, 33, 56, 0.18);
    pointer-events: auto;
  }

  .psh-app-nav__list::-webkit-scrollbar {
    display: none;
  }

  .psh-app-nav__item {
    min-width: 74px;
    flex: 0 0 auto;
  }

  .psh-app-nav__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 70px;
    padding: 8px 9px;
    border-radius: 13px;
    text-decoration: none;
    color: #3f5d79;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  }

  .psh-app-nav__icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.56rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #1c4b77;
    background: linear-gradient(135deg, #dceeff, #f0f8ff);
    border: 1px solid rgba(33, 85, 130, 0.25);
    box-shadow: 0 5px 10px rgba(15, 50, 84, 0.12);
  }

  .psh-app-nav__label {
    font-size: 0.63rem;
    line-height: 1.15;
    font-weight: 700;
    text-align: center;
    max-width: 74px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .psh-app-nav__link.is-active {
    color: #073a65;
    background: rgba(197, 225, 251, 0.65);
    box-shadow: inset 0 0 0 1px rgba(22, 77, 122, 0.18);
  }

  .psh-app-nav__link.is-active .psh-app-nav__icon {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(140deg, #0d3a63, #29689f);
  }

  .psh-app-nav__link:active {
    transform: translateY(1px);
  }
}

body.psx-theme-dark #masthead::before {
  background: linear-gradient(180deg, rgba(8, 18, 29, 0.72), rgba(8, 18, 29, 0));
}

body.psx-theme-dark #masthead .ast-primary-header-bar {
  background: rgba(9, 18, 30, 0.84) !important;
  border-bottom: 1px solid rgba(95, 133, 170, 0.28) !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34);
}

body.psx-theme-dark #masthead .main-header-menu {
  border-color: rgba(107, 143, 177, 0.28);
  background: rgba(17, 30, 45, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.psx-theme-dark #masthead .main-header-menu > .menu-item > .menu-link {
  color: #d7e9fb;
}

body.psx-theme-dark #masthead .main-header-menu > .menu-item:hover > .menu-link,
body.psx-theme-dark #masthead .main-header-menu > .menu-item > .menu-link:focus-visible,
body.psx-theme-dark #masthead .main-header-menu > .menu-item.current-menu-item > .menu-link,
body.psx-theme-dark #masthead .main-header-menu > .menu-item.current_page_item > .menu-link {
  color: #eef7ff;
  background: rgba(80, 123, 164, 0.24);
}

@media (max-width: 921px) {
  body.psx-theme-dark #masthead .ast-primary-header-bar,
  body.psx-theme-dark #masthead .ast-mobile-header-wrap .ast-primary-header-bar {
    background: rgba(10, 20, 32, 0.9) !important;
    border-bottom: 1px solid rgba(92, 130, 165, 0.34) !important;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
  }

  body.psx-theme-dark #masthead .ast-mobile-header-wrap .site-header-primary-section-left::before {
    box-shadow: 0 10px 20px rgba(2, 9, 17, 0.52);
  }

  body.psx-theme-dark #masthead .ast-primary-header-bar .ast-builder-layout-element[data-section='section-header-mobile-trigger'] .menu-toggle {
    border-color: rgba(120, 157, 189, 0.34);
    background: rgba(23, 37, 54, 0.9) !important;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
  }

  body.psx-theme-dark #masthead .ast-mobile-header-wrap .ast-primary-header-bar .mobile-menu-toggle-icon .ast-mobile-svg {
    fill: #d7e9fb !important;
  }

  body.psx-theme-dark #masthead .ast-mobile-header-content {
    background: linear-gradient(180deg, #121f2e, #0d1825) !important;
    border-color: rgba(107, 142, 174, 0.32);
    box-shadow: 0 30px 55px rgba(0, 0, 0, 0.46);
  }

  body.psx-theme-dark #masthead .ast-mobile-header-content .main-header-menu > .menu-item > .menu-link {
    border-color: #31485f;
    background: #18283a;
    color: #d6e8fa;
    box-shadow: 0 9px 16px rgba(0, 0, 0, 0.25);
  }

  body.psx-theme-dark #masthead .ast-mobile-header-content .main-header-menu > .menu-item > .menu-link::after {
    color: #8daecc;
  }

  body.psx-theme-dark #masthead .ast-mobile-header-content .main-header-menu > .menu-item.current-menu-item > .menu-link,
  body.psx-theme-dark #masthead .ast-mobile-header-content .main-header-menu > .menu-item.current_page_item > .menu-link {
    border-color: #4f759b;
    background: #20354b;
    color: #eff7ff;
  }

  body.psx-theme-dark .psh-app-nav__list {
    border-color: rgba(99, 136, 170, 0.34);
    background: rgba(12, 21, 32, 0.92);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.45);
  }

  body.psx-theme-dark .psh-app-nav__link {
    color: #bad1e6;
  }

  body.psx-theme-dark .psh-app-nav__icon {
    color: #d5e9fd;
    border-color: rgba(111, 150, 185, 0.38);
    background: linear-gradient(135deg, #1c2f44, #294760);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.24);
  }

  body.psx-theme-dark .psh-app-nav__link.is-active {
    color: #eff7ff;
    background: rgba(52, 89, 123, 0.5);
    box-shadow: inset 0 0 0 1px rgba(112, 150, 185, 0.42);
  }

  body.psx-theme-dark .psh-app-nav__link.is-active .psh-app-nav__icon {
    background: linear-gradient(140deg, #2c5c88, #3d8eb7);
  }
}
