/* Shared dark-purple styles — linked from all subpages */

/* Dark-purple nav → white on scroll */
.nav {
  background: #1A1225;
  backdrop-filter: none;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}
.nav.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo img {
  filter: brightness(10);
  transition: filter 0.4s ease;
}
.nav.scrolled .nav-logo img { filter: brightness(1); }
.nav-links a { color: rgba(255,255,255,0.78); }
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #C9A8DD; }
.nav.scrolled .nav-links a { color: var(--text-muted); }
.nav.scrolled .nav-links a:hover { color: var(--accent); }
.nav.scrolled .nav-links a.active { color: var(--accent); }
.hamburger span { background: #fff; }
.nav.scrolled .hamburger span { background: var(--text); }
.nav-links.show {
  background: #1A1225;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav.scrolled .nav-links.show {
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--border);
}

/* More breathing room under the always-visible dark nav */
.page-header {
  padding-top: 11rem;
}

/* Shared dark-purple sections */

.section-dark {
  background: #1A1225;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: "";
  position: absolute;
  top: -40%; right: -20%;
  width: 60%; height: 120%;
  background: radial-gradient(ellipse, rgba(194,123,127,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.section-dark::after {
  content: "";
  position: absolute;
  bottom: -40%; left: -20%;
  width: 60%; height: 120%;
  background: radial-gradient(ellipse, rgba(123,79,138,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.section-dark .container { position: relative; z-index: 1; }
.section-dark .section-title { color: #fff; }
.section-dark .section-subtitle { color: rgba(255,255,255,0.7); }
.section-dark .section-label { color: #C9A8DD; }

.cta-dark {
  background: #1A1225;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-dark::before {
  content: "";
  position: absolute;
  top: -30%; right: -15%;
  width: 50%; height: 130%;
  background: radial-gradient(ellipse, rgba(194,123,127,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.cta-dark::after {
  content: "";
  position: absolute;
  bottom: -30%; left: -15%;
  width: 50%; height: 130%;
  background: radial-gradient(ellipse, rgba(123,79,138,0.22) 0%, transparent 60%);
  pointer-events: none;
}
.cta-dark .container { position: relative; z-index: 1; }
.cta-dark h2 { color: #fff; }
.cta-dark p { color: rgba(255,255,255,0.78); }
.cta-dark .section-label { color: #C9A8DD; }
.cta-dark .cta-secondary {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  color: #fff;
  backdrop-filter: blur(8px);
}
.cta-dark .cta-secondary:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}
