/* ═══════════════════════════════════════════════════════
   Elizabeth's Beauty Salon — Custom Styles
   ═══════════════════════════════════════════════════════ */

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ── Navbar ── */
#navbar {
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
#navbar.scrolled {
  background: rgba(9, 17, 66, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ── Geometric shapes ── */
.geo-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.geo-circle--1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(230, 190, 42, 0.08) 0%, transparent 70%);
  top: -100px; right: -100px;
}
.geo-circle--2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(52, 97, 255, 0.1) 0%, transparent 70%);
  bottom: 10%; left: 5%;
}
.geo-circle--3 {
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(230, 190, 42, 0.12) 0%, transparent 70%);
  top: 40%; right: 15%;
}
.geo-circle--4 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(230, 190, 42, 0.06) 0%, transparent 70%);
  bottom: -100px; right: -100px;
}
.geo-circle--5 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(52, 97, 255, 0.08) 0%, transparent 70%);
  top: 10%; left: -80px;
}

.geo-diamond {
  position: absolute;
  width: 80px; height: 80px;
  background: rgba(230, 190, 42, 0.1);
  transform: rotate(45deg);
  pointer-events: none;
}
.geo-diamond--1 { top: 25%; left: 8%; }
.geo-diamond--2 {
  bottom: 15%; right: 10%;
  width: 60px; height: 60px;
  background: rgba(230, 190, 42, 0.07);
}

.geo-triangle {
  position: absolute;
  width: 0; height: 0;
  border-style: solid;
  pointer-events: none;
}
.geo-triangle--1 {
  top: 20%; right: 5%;
  border-width: 0 30px 52px 30px;
  border-color: transparent transparent rgba(230, 190, 42, 0.1) transparent;
}
.geo-triangle--2 {
  bottom: 20%; left: 5%;
  border-width: 52px 30px 0 30px;
  border-color: rgba(52, 97, 255, 0.1) transparent transparent transparent;
}

.geo-square {
  position: absolute;
  width: 100px; height: 100px;
  background: rgba(230, 190, 42, 0.06);
  pointer-events: none;
}
.geo-square--1 {
  top: 15%; right: 3%;
  transform: rotate(15deg);
}

.geo-stripe {
  position: absolute;
  width: 4px;
  background: linear-gradient(to bottom, transparent, rgba(230, 190, 42, 0.15), transparent);
  pointer-events: none;
}
.geo-stripe--1 { height: 200px; top: 10%; left: 3%; transform: rotate(20deg); }
.geo-stripe--2 { height: 150px; bottom: 15%; right: 8%; transform: rotate(-15deg); }

/* ── Floating stat cards ── */
.floating-card {
  animation: float 4s ease-in-out infinite;
}
.floating-card.card--2 {
  animation-delay: -2s;
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

/* ── Reveal animations (below-fold progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal[data-revealed="false"] {
    opacity: 0;
    transform: translateY(30px);
  }
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #091142; }
::-webkit-scrollbar-thumb { background: #1d40f5; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #3461ff; }

/* ── Selection ── */
::selection { background: rgba(230, 190, 42, 0.3); color: #fff; }

/* ── Mobile menu animation ── */
#mobile-menu {
  animation: slideDown 0.3s ease forwards;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Utility ── */
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: #e6be2a;
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }
