/* =====================================================================
   LIQUID GLASS NAVBAR  (from 21st.dev "Liquid Glass Navbar" by
   guglielmogiannattasio.it)
   Seen in the demo: a light-tone glass bar on a pale blue background
   (#DCEBF5, very close to Morning Mist), five items each with an icon,
   a label and its own icon effect (glow, spin, plane, drop, wave), one
   item active by default, sound off.
   How it moves (reconstructed, source file not pasted): a glossy glass
   "bubble" sits under the active item and slides to whichever item you
   point at, stretching slightly as it travels like a drop of liquid, then
   settles back on the current page when you move away. Each icon plays
   its own small effect on hover.
   Socialique version: Home (glow), Services (spin), Work (lift, like the
   demo's plane), About (wave), Contact (drop). Sound is left out.
   Best on a Mist background or over the aurora, where the glass shows.

   Up to 1024px the site's Menu button shows these links as a plain
   list instead (the bubble switches off there).
   ===================================================================== */

.slq-liquid-nav {
  display: inline-flex; padding: 6px; border-radius: var(--slq-radius-pill);
  background: rgba(255, 255, 255, 0.42);
  -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(1, 23, 51, 0.05),
    0 12px 32px -14px rgba(1, 23, 51, 0.30);
}
.slq-liquid-nav__list { position: relative; display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }

/* The liquid bubble (positioned by liquid-nav.js) */
.slq-liquid-nav__blob {
  position: absolute; top: 0; bottom: 0; left: 0; width: 0; z-index: 0;
  border-radius: var(--slq-radius-pill); opacity: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(224, 237, 253, 0.9));
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -3px 8px rgba(38, 74, 121, 0.12),
    0 6px 14px -6px rgba(1, 23, 51, 0.30);
  transition:
    transform 550ms var(--slq-ease-spring),
    width 550ms var(--slq-ease-spring),
    scale 260ms var(--slq-ease-out),
    opacity 200ms var(--slq-ease-out);
}
.slq-liquid-nav.is-moving .slq-liquid-nav__blob { scale: 1.06 0.88; } /* the "liquid" stretch while travelling */

.slq-liquid-nav__link {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 8px; padding: 10px 18px; min-height: 44px; box-sizing: border-box;
  border-radius: var(--slq-radius-pill); text-decoration: none;
  font: 500 0.9375rem/1 var(--slq-font-body); color: var(--slq-muted);
  transition: color var(--slq-base) var(--slq-ease-out);
}
.slq-liquid-nav__link svg { width: 18px; height: 18px; flex: none; }
.slq-liquid-nav__link:hover,
.slq-liquid-nav__link[aria-current="page"] { color: var(--slq-navy); }
.slq-liquid-nav__link[aria-current="page"] svg { color: var(--slq-harbour); }
.slq-liquid-nav__link:focus-visible { outline: 2px solid var(--slq-harbour); outline-offset: 2px; }
/* Without JavaScript the current page still gets its bubble */
.slq-liquid-nav:not(.is-ready) .slq-liquid-nav__link[aria-current="page"] { background: rgba(255, 255, 255, 0.95); box-shadow: inset 0 -3px 8px rgba(38, 74, 121, 0.12); }

/* ---- Icon effects, played once each time you point at an item ---- */
@media (hover: hover) {
  .slq-liquid-nav__link[data-fx="glow"]:hover svg { animation: slq-fx-glow 700ms var(--slq-ease-out); }
  .slq-liquid-nav__link[data-fx="spin"]:hover svg { animation: slq-fx-spin 700ms var(--slq-ease-spring); }
  .slq-liquid-nav__link[data-fx="lift"]:hover svg { animation: slq-fx-lift 650ms var(--slq-ease-out); }
  .slq-liquid-nav__link[data-fx="wave"]:hover svg { animation: slq-fx-wave 700ms ease-in-out; transform-origin: 50% 80%; }
  .slq-liquid-nav__link[data-fx="drop"]:hover svg { animation: slq-fx-drop 600ms var(--slq-ease-out); }
}
@keyframes slq-fx-glow { 0% { filter: none; } 40% { filter: drop-shadow(0 0 6px rgba(126, 160, 203, 0.95)); color: var(--slq-harbour); } 100% { filter: none; } }
@keyframes slq-fx-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes slq-fx-lift { 0% { transform: none; } 45% { transform: translate(3px, -4px) rotate(-10deg); } 100% { transform: none; } }
@keyframes slq-fx-wave { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-14deg); } 40% { transform: rotate(10deg); } 60% { transform: rotate(-6deg); } 80% { transform: rotate(3deg); } }
@keyframes slq-fx-drop { 0% { transform: translateY(-5px); } 55% { transform: translateY(2px) scaleY(0.9); } 100% { transform: none; } }

/* ---- Up to 1024px: plain list inside the Menu button's panel ---- */
@media (max-width: 1024px) {
  .slq-liquid-nav { display: block; padding: 0; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 0; }
  .slq-liquid-nav__list { flex-direction: column; gap: 0; }
  .slq-liquid-nav__blob { display: none; }
  .slq-liquid-nav__link { border-radius: 0; padding: 14px 4px; border-bottom: 1px solid var(--slq-line); }
  .slq-liquid-nav:not(.is-ready) .slq-liquid-nav__link[aria-current="page"],
  .slq-liquid-nav__link[aria-current="page"] { background: none; box-shadow: none; font-weight: 700; }
}
