/* ==========================================================================
   Mimo Addis Massage — "Violet Club" theme
   Dark mode with violet/pink gradients, Space Grotesk + Syne type.
   Pure static CSS — no build step, hosts anywhere.
   ========================================================================== */

:root {
  --dark: '#0B0B0E';
  --charcoal: '#16141C';
  --violet: '#7C3AED';
  --pink: '#EC4899';
  --cream: '#F5F0EB';
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  background-color: var(--dark);
  color: var(--cream);
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
}

::selection {
  background: var(--violet);
  color: var(--cream);
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--charcoal); }
::-webkit-scrollbar-thumb { background: rgba(124, 58, 237, 0.4); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: rgba(124, 58, 237, 0.65); }

/* ---- Typography helpers ---- */
.font-display {
  font-family: 'Syne', sans-serif;
}

/* ---- Buttons ---- */
.btn-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.9rem 1.9rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--violet), var(--pink));
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 12px 28px -8px rgba(124, 58, 237, 0.55);
}
.btn-glow:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -8px rgba(236, 72, 153, 0.45);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.9rem;
  border-radius: 9999px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.btn-outline:hover {
  background: white;
  color: var(--dark);
  transform: translateY(-2px);
}

/* ---- Nav link underline sweep ---- */
.nav-link {
  position: relative;
  color: white;
  transition: color 0.2s ease;
  padding: 0.25rem 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(.22,1,.36,1);
}
.nav-link:hover { color: var(--pink); }
.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Header gets a frosted pill on scroll */
#siteHeader {
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
#siteHeader.is-scrolled {
  background: rgba(11, 11, 14, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ---- Form fields ---- */
.field {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1.1rem;
  border-radius: 1rem;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: var(--charcoal);
  color: white;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  color-scheme: dark;
}
.field::placeholder { color: rgba(255, 255, 255, 0.5); }
.field:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15);
}
select.field {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='white' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.75rem;
  background-color: var(--charcoal) !important;
  color: white !important;
}
.field option { color: white; background: var(--charcoal); }
select.field option { background-color: #0B0B0E !important; color: #F5F0EB !important; }

/* ---- Marquee ---- */
.marquee-track {
  animation: marquee 28s linear infinite;
  width: max-content;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---- Rotating badge ---- */
.animate-spin-slow {
  animation: spin 18s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---- Image placeholders (swap with real <img> when assets arrive) ---- */
.img-placeholder {
  background-color: var(--charcoal);
  border: 1.5px dashed rgba(236, 72, 153, 0.5);
}

/* ---- Scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(.22,1,.36,1), transform 0.8s cubic-bezier(.22,1,.36,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Focus visibility ---- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2.5px solid var(--violet);
  outline-offset: 3px;
}

/* ---- Testimonial snap carousel scrollbar ---- */
.snap-x { scrollbar-width: none; -ms-overflow-style: none; }
.snap-x::-webkit-scrollbar { display: none; }

/* ---- Service / therapist card hover polish ---- */
#servicesGrid article,
#therapistsGrid article {
  transition: transform 0.35s cubic-bezier(.22,1,.36,1), box-shadow 0.35s ease, border-color 0.35s ease;
}
#servicesGrid article:hover,
#therapistsGrid article:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -18px rgba(124, 58, 237, 0.3);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .animate-spin-slow { animation: none; }
  html { scroll-behavior: auto; }
}

@media (pointer: coarse) {
  a, button, input, select, textarea { min-height: 48px; }
}
