/* ═══════════════════════════════════════
   NURA — Shared Styles
   Edit this file to update across all pages
═══════════════════════════════════════ */

/* ── REVEAL-ON-SCROLL ── */
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .75s cubic-bezier(.16,1,.3,1), transform .75s cubic-bezier(.16,1,.3,1);
}
.on { opacity: 1 !important; transform: none !important; }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
.d4 { transition-delay: .4s; }
.d5 { transition-delay: .5s; }
.d6 { transition-delay: .6s; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px,4vw,52px);
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Logo */
.nav-logo { text-decoration: none; display: flex; align-items: center; gap: 7px; }
.nav-logo img { height: 24px; width: auto; display: inline-block; vertical-align: middle; position: relative; bottom: 3px; }
.nav-wordmark { font-family: 'Galada', cursive; font-size: 24px; color: #4A42CC; line-height: 1; }

/* Desktop links */
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 600; color: #6E6E73; transition: color .2s; white-space: nowrap; }
.nav-links a:hover { color: #4A42CC; }
.nav-links a.nav-active { color: #1D1D1F; }

/* CTA button (desktop + mobile) */
.nav-cta {
  background: #4A42CC; color: #fff !important;
  text-decoration: none; border-radius: 980px;
  padding: 8px 20px; font-size: 13px; font-weight: 700;
  transition: opacity .2s; white-space: nowrap;
}
.nav-cta:hover { opacity: .85 !important; }

/* ── HAMBURGER BUTTON — hidden on desktop ── */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 8px; margin: -8px;
  z-index: 202; flex-shrink: 0;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: #1D1D1F; border-radius: 2px;
  transition: transform .3s cubic-bezier(.16,1,.3,1), opacity .2s;
  transform-origin: center;
}
nav.menu-open .nav-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.menu-open .nav-hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
nav.menu-open .nav-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE DROPDOWN MENU ── */
.nav-mobile-menu {
  position: fixed;
  top: 60px; left: 0; right: 0;
  background: rgba(255,255,255,.98);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.08);
  padding: 20px clamp(20px,6vw,52px) 28px;
  display: flex; flex-direction: column; gap: 0;
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .25s cubic-bezier(.16,1,.3,1), transform .25s cubic-bezier(.16,1,.3,1);
}
nav.menu-open .nav-mobile-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-mobile-menu a {
  text-decoration: none; font-size: 17px; font-weight: 600;
  color: #424245;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: color .15s;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}
.nav-mobile-menu a:last-child { border-bottom: none; }
.nav-mobile-menu a:hover { color: #4A42CC; }
.nav-mobile-menu a.nav-active { color: #1D1D1F; }
.nav-mobile-cta {
  margin-top: 12px;
  background: #4A42CC; color: #fff !important;
  border-radius: 14px; text-align: center;
  padding: 16px !important; border-bottom: none !important;
  font-size: 15px;
}

/* ── FOOTER ── */
footer {
  padding: 28px clamp(24px,6vw,100px);
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(0,0,0,.08); flex-wrap: wrap; gap: 14px;
  background: #FFFFFF;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}
.footer-logo { text-decoration: none; display: flex; align-items: center; gap: 7px; }
.footer-logo img { height: 22px; width: auto; display: inline-block; vertical-align: middle; position: relative; bottom: 2px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: #6E6E73; text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: #4A42CC; }
.footer-links a.nav-active { color: #1D1D1F; font-weight: 600; }
.footer-copy { font-size: 12px; color: #AEAEB2; }

/* ── HOME PAGE: nav hidden until scroll ── */
nav.nav-hidden {
  opacity: 0;
  pointer-events: none;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  transition: opacity .4s ease, background .3s ease, box-shadow .3s ease;
}
nav.nav-scrolled {
  opacity: 1;
  pointer-events: auto;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
  transition: opacity .4s ease, background .3s ease, box-shadow .3s ease;
}

/* ── MOBILE LAYOUT ── */
@media (max-width: 700px) {
  .nav-hamburger { display: flex; }
  .nav-links { display: none; }
  .nav-cta { display: none; }

  footer { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
