/* ═══════════════════════════════════════════
   Face It Skin Spa & Lash Lounge — Custom Styles
   ═══════════════════════════════════════════ */

/* ── Base ── */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
}

/* ── Hero Orbs ── */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-orb--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.25), transparent 70%);
  top: -200px;
  right: -100px;
  animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(168, 85, 168, 0.3), transparent 70%);
  bottom: -100px;
  left: -50px;
  animation: orbFloat 10s ease-in-out infinite reverse;
}

.hero-orb--3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(244, 194, 112, 0.2), transparent 70%);
  top: 40%;
  left: 30%;
  animation: orbFloat 12s ease-in-out infinite;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ── Floating Cards ── */
.floating-card {
  animation: floatCard 4s ease-in-out infinite;
}

.card-top-left {
  animation-delay: 0s;
}

.card-mid-right {
  animation-delay: 1.3s;
}

.card-bottom-left {
  animation-delay: 2.6s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

/* ── Scroll Reveal ── */
.scroll-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal:not(.revealed) {
  opacity: 0;
  transform: translateY(32px);
}

/* ── Header scroll state ── */
#site-header.scrolled {
  background: rgba(250, 245, 251, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 20px rgba(111, 45, 110, 0.08);
}

/* ── Mobile menu ── */
#mobile-menu {
  animation: slideDown 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-link {
  display: block;
  transition: color 0.2s ease;
}

.mobile-link:hover {
  color: #a855a8;
}

/* ── Custom select arrow ── */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a855a8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .scroll-reveal:not(.revealed) {
    opacity: 1;
    transform: none;
  }
}

/* ── Utility: focus visible ── */
*:focus-visible {
  outline: 2px solid #a855a8;
  outline-offset: 2px;
  border-radius: 4px;
}
