/* ==========================================================================
   Pinkies Beauty Bar — shared brand stylesheet
   Palette pulled from live logo pixels (TikTok/Instagram, Aug 2026):
     blush  #F6D9E6   rose  #C35B80   sampled directly from logo art
   ========================================================================== */

:root {
  --cream:      #FBF3EE;
  --cream-dim:  #F5E9E1;
  --blush:      #F7DCE9;
  --blush-soft: #FCEEF4;
  --rose:       #C35B80;
  --rose-deep:  #A34868;
  --burgundy:   #5C2340;
  --burgundy-dk:#3D1830;
  --ink:        #2A1620;
  --gold:       #C9A36A;
  --gold-soft:  #E4CFA0;

  --shadow-color: 336 45% 25%;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--cream);
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.font-display {
  font-family: 'Fraunces', serif;
  font-optical-sizing: auto;
}

.font-script {
  font-family: 'Beau Rivage', cursive;
}

/* Layered, color-tinted shadows (never flat shadow-md) */
.shadow-soft {
  box-shadow:
    0 1px 2px hsl(var(--shadow-color) / 0.06),
    0 8px 16px -4px hsl(var(--shadow-color) / 0.12),
    0 20px 40px -12px hsl(var(--shadow-color) / 0.18);
}
.shadow-lift {
  box-shadow:
    0 2px 4px hsl(var(--shadow-color) / 0.10),
    0 16px 28px -8px hsl(var(--shadow-color) / 0.22),
    0 32px 56px -16px hsl(var(--shadow-color) / 0.28);
}
.shadow-tight {
  box-shadow:
    0 1px 2px hsl(var(--shadow-color) / 0.08),
    0 4px 8px -2px hsl(var(--shadow-color) / 0.10);
}

/* Grain texture overlay for depth on hero / dark surfaces */
.grain {
  position: relative;
  isolation: isolate;
}
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Signature element: pinned Polaroid card, echoes the bow/ribbon in the
   real logo and how the salon actually shares work — a mood-board pin. */
.polaroid {
  background: #fff;
  padding: 0.6rem 0.6rem 2.4rem;
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.polaroid:hover {
  transform: translateY(-6px) rotate(0deg) !important;
}
.polaroid::before {
  content: "";
  position: absolute;
  top: -0.85rem;
  left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  width: 2.75rem;
  height: 1.1rem;
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
  border-radius: 1px;
  opacity: 0.88;
  box-shadow: 0 2px 6px hsl(var(--shadow-color) / 0.25);
}

.ribbon-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.ribbon-divider::before,
.ribbon-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  opacity: 0.4;
}

/* Focus-visible states — every interactive element */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--rose-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Buttons */
.btn-primary {
  background: var(--rose);
  color: #fff;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, box-shadow 0.25s ease;
}
.btn-primary:hover {
  background: var(--rose-deep);
  transform: translateY(-2px);
}
.btn-primary:active {
  transform: translateY(0);
  background: var(--burgundy);
}

.btn-ghost {
  background: transparent;
  color: var(--burgundy);
  border: 1.5px solid currentColor;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, color 0.25s ease;
}
.btn-ghost:hover {
  background: var(--burgundy);
  color: #fff;
  transform: translateY(-2px);
}
.btn-ghost:active {
  transform: translateY(0);
}

/* Nav link underline */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .polaroid, .btn-primary, .btn-ghost, .nav-link::after { transition: none !important; }
}

/* Marquee for social proof strip */
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Custom range/step indicator numerals for the booking flow —
   this content genuinely is a sequence, so numbering is warranted */
.step-num {
  font-family: 'Fraunces', serif;
  font-optical-sizing: auto;
}
