/* Mobile navigation — PavDev */

.pav-mobile-nav-host {
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    backdrop-filter 0.25s ease;
}

.pav-mobile-menu-toggle {
  display: none;
}

.pav-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9998;

  visibility: hidden;
  opacity: 0;
  pointer-events: none;

  transition:
    opacity 0.25s ease,
    visibility 0s linear 0.25s;
}

.pav-mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;

  transition:
    opacity 0.25s ease,
    visibility 0s linear 0s;
}

.pav-mobile-menu__backdrop {
  position: absolute;
  inset: 0;

  background: rgba(2, 2, 8, 0.74);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.pav-mobile-menu__panel {
  position: absolute;
  top: 88px;
  right: 14px;
  left: 14px;

  max-height: calc(100svh - 104px);
  padding: 28px;
  overflow-y: auto;

  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;

  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(79, 224, 228, 0.12),
      transparent 270px
    ),
    rgba(5, 5, 13, 0.97);

  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);

  transform: translateY(-16px) scale(0.98);
  opacity: 0;

  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.22s ease;
}

.pav-mobile-menu.is-open .pav-mobile-menu__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.pav-mobile-menu__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;

  margin: 0 0 20px;

  color: #4fe0e4;

  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.pav-mobile-menu__eyebrow::before {
  content: "";

  width: 7px;
  height: 7px;

  border-radius: 50%;
  background: #4fe0e4;

  box-shadow:
    0 0 0 5px rgba(79, 224, 228, 0.09),
    0 0 16px rgba(79, 224, 228, 0.6);
}

.pav-mobile-menu__links {
  display: grid;
  gap: 4px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.pav-mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  width: 100%;
  min-height: 62px;
  padding: 0 5px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.07);

  color: rgba(255, 255, 255, 0.88);

  font-family: "Outfit", "Inter", sans-serif;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;

  transition:
    color 0.2s ease,
    padding-left 0.2s ease;
}

.pav-mobile-menu__link:hover,
.pav-mobile-menu__link:focus-visible {
  padding-left: 8px;
  color: #4fe0e4;
}

.pav-mobile-menu__link-number {
  color: rgba(255, 255, 255, 0.3);

  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;

  transition: color 0.2s ease;
}

.pav-mobile-menu__link:hover .pav-mobile-menu__link-number {
  color: #4fe0e4;
}

.pav-mobile-menu__link-arrow {
  color: #4fe0e4;
  font-size: 18px;

  transition: transform 0.2s ease;
}

.pav-mobile-menu__link:hover .pav-mobile-menu__link-arrow {
  transform: translateX(4px);
}

.pav-mobile-menu__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  width: 100%;
  min-height: 52px;
  margin-top: 26px;
  padding: 0 22px;

  border-radius: 999px;

  background: #4fe0e4;
  color: #05050d;

  box-shadow: 0 14px 36px rgba(79, 224, 228, 0.14);

  font-family: "Outfit", "Inter", sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;

  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.pav-mobile-menu__cta:hover {
  transform: translateY(-2px);
  background: #79eaed;

  box-shadow: 0 18px 42px rgba(79, 224, 228, 0.22);
}

.pav-mobile-menu__cta-arrow {
  font-size: 19px;
  transition: transform 0.2s ease;
}

.pav-mobile-menu__cta:hover .pav-mobile-menu__cta-arrow {
  transform: translateX(4px);
}

body.pav-mobile-menu-open {
  overflow: hidden;
}

#services,
#about,
#my-projects,
#contact {
  scroll-margin-top: 90px;
}

@media (max-width: 767px) {
  .pav-mobile-nav-host {
    z-index: 10001 !important;
  }

  .pav-mobile-nav-host.pav-mobile-nav-open {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
    background: rgba(5, 5, 13, 0.92) !important;

    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
  }

  .pav-mobile-menu-toggle {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;

    width: 42px;
    height: 42px;
    padding: 0;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.045);
    color: #f7f8fb;

    cursor: pointer;

    transition:
      border-color 0.2s ease,
      background-color 0.2s ease,
      transform 0.2s ease;
  }

  .pav-mobile-menu-toggle:hover {
    border-color: rgba(79, 224, 228, 0.45);
    background: rgba(79, 224, 228, 0.08);
  }

  .pav-mobile-menu-toggle:active {
    transform: scale(0.96);
  }

  .pav-mobile-menu-toggle span {
    display: block;

    width: 17px;
    height: 1.5px;

    border-radius: 999px;
    background: currentColor;

    transform-origin: center;

    transition:
      transform 0.25s ease,
      opacity 0.2s ease,
      background-color 0.2s ease;
  }

  .pav-mobile-menu-toggle.is-open {
    border-color: rgba(79, 224, 228, 0.4);
    background: rgba(79, 224, 228, 0.1);
    color: #4fe0e4;
  }

  .pav-mobile-menu-toggle.is-open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  .pav-mobile-menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .pav-mobile-menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }
}

@media (min-width: 768px) {
  .pav-mobile-menu {
    display: none !important;
  }
}

@media (max-width: 390px) {
  .pav-mobile-menu__panel {
    padding: 23px 21px;
    border-radius: 24px;
  }

  .pav-mobile-menu__link {
    min-height: 58px;
    font-size: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pav-mobile-menu,
  .pav-mobile-menu__panel,
  .pav-mobile-menu-toggle,
  .pav-mobile-menu-toggle span,
  .pav-mobile-menu__link,
  .pav-mobile-menu__link-arrow,
  .pav-mobile-menu__cta,
  .pav-mobile-menu__cta-arrow {
    transition: none !important;
  }
}

/* Απόκρυψη του επάνω ενημερωτικού banner */
#root div[class*="bg-primary/10"][class*="border-primary/20"] {
  display: none !important;
}

/* Άμεση εμφάνιση της αρχικής σελίδας στα κινητά */
@media (max-width: 767px) {
  /* Απενεργοποίηση των καθυστερημένων hero animations */
  #hero > div:nth-child(2) > * {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    transition: none !important;
  }

  /* Άμεση εμφάνιση navigation */
  #root nav {
    opacity: 1 !important;
    transform: none !important;
  }

  /* Απενεργοποίηση των βαριών κινούμενων blur */
  #hero > div:first-child > div:nth-child(1),
  #hero > div:first-child > div:nth-child(2) {
    animation: none !important;
    mix-blend-mode: normal !important;
    filter: blur(60px) !important;
    opacity: 0.55 !important;
  }
}

/* Compact free website demo call-to-action */
.pavdev-free-demo-cta {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 9997;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: linear-gradient(135deg, #4fe0e4, #8ff3f5);
  color: #05050d;
  box-shadow:
    0 7px 18px rgba(0, 0, 0, 0.32),
    0 0 12px rgba(79, 224, 228, 0.12);
  font-family: "Outfit", "Inter", sans-serif;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.pavdev-free-demo-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.42),
    0 0 24px rgba(79, 224, 228, 0.22);
}

.pavdev-free-demo-cta:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: 4px;
}

.pavdev-free-demo-cta__spark {
  display: none;
}

.pavdev-free-demo-cta__arrow {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.pavdev-free-demo-cta:hover .pavdev-free-demo-cta__arrow {
  transform: translateX(3px);
}

@media (max-width: 640px) {
  .pavdev-free-demo-cta {
    right: 8px;
    bottom: 8px;
    left: auto;
    min-height: 30px;
    padding: 0 9px;
    font-size: 9.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pavdev-free-demo-cta,
  .pavdev-free-demo-cta__arrow {
    transition: none;
  }
}
