/* Find Your Flair — custom styles (Tailwind handles layout/spacing) */

:root {
  --color-primary: #FF4FA3;   /* pink */
  --color-secondary: #2ED6D0; /* teal */
  --color-accent: #FFD84D;    /* yellow */
  --color-background: #000000e0;
  --color-surface: #F9FAFB;
  --color-text: #FFFFFF;
  --color-border: #ffffffe1;
  --offset: 7px;
}

html { scroll-padding-top: 5rem; }
body { font-size: 1.0625rem; line-height: 1.6; }

/* Site-wide background: stays put while the solid sections scroll over it.
   (A fixed pseudo-element works on iOS, unlike background-attachment: fixed.)
   It scrolls slower than the page for a parallax effect. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: #000 url("../images/rad-bg-dark.webp") repeat-y;
  background-size: max(100%, 700px) auto;
  /* --bg-y is set by a small script for the parallax effect */
  background-position: center var(--bg-y, 0px);
}
::selection { background: var(--color-primary); color: #000; }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: .6rem 1rem; border-radius: .6rem;
  background: var(--color-accent); color: #000; font-weight: 800;
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: .4rem;
}

/* ---------- Header ---------- */
.site-header { background: #000; border-bottom: 1px solid var(--color-border); }
.nav-links { scrollbar-width: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
  display: block; white-space: nowrap;
  padding: .45rem .9rem; border-radius: 999px;
  background: #000;
  border: 2px solid rgba(255, 255, 255, .35);
  transition: background-color .15s, color .15s, border-color .15s;
}
.nav-links a:hover { background: var(--color-secondary); border-color: var(--color-secondary); color: #000; }

/* ---------- Hero ---------- */
.hero-intro {
  padding: .6rem 1.1rem;
  border-radius: 1rem;
  background: #000;
  border: 3px solid var(--color-border);
}
.hero-logo {
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .3));
  animation: pop-in .7s cubic-bezier(.34, 1.56, .64, 1) both;
}
@keyframes pop-in {
  from { opacity: 0; transform: scale(.7) rotate(-6deg); }
  to   { opacity: 1; transform: scale(1) rotate(0); }
}
.tagline {
  display: inline-block;
  padding: .35rem 1.25rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: #000;
  transform: rotate(-2deg);
}

/* ---------- Sections ---------- */
.section {
  background: var(--color-background);
  max-width: 80rem;
  margin: 0 clamp(.75rem, 3vw, 2rem) clamp(2.5rem, 7vw, 8rem);
  padding-block: clamp(3.5rem, 8vw, 6rem);
  border-radius: clamp(1.25rem, 3vw, 2rem);
  border: 3px solid var(--color-border);
}

@media (min-width: 640px) {
  .section { 
    margin: 0 clamp(.75rem, 3vw, 2rem) clamp(2.5rem, 7vw, 5rem);
    margin-inline: auto;
    border: 7px solid var(--color-border);
  }
}
.section-title {
  font-family: "Lilita One", Impact, system-ui, sans-serif;
  font-size: clamp(2.4rem, 6vw, 3.75rem);
  line-height: 1;
  letter-spacing: .01em;
}
.prose-flair p + p { margin-top: 1rem; }
.prose-flair strong { color: var(--color-accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .8rem 1.4rem; border-radius: 999px;
  font-weight: 800;
  border: 3px solid transparent;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translate(-2px, -2px); }
.btn-teal { background: var(--color-secondary); color: #000; box-shadow: 4px 4px 0 var(--color-primary); }
.btn-teal:hover { box-shadow: 6px 6px 0 var(--color-primary); }
.btn-pink { background: var(--color-primary); color: #000; box-shadow: 4px 4px 0 var(--color-secondary); overflow-wrap: anywhere; }
.btn-pink:hover { box-shadow: 6px 6px 0 var(--color-secondary); }
.btn-outline { border-color: #fff; color: #fff; background: #000; }
.btn-outline:hover { background: #fff; color: #000; }

/* ---------- Offset "sticker" card (teal top-left, pink bottom-right) ---------- */
.card {
  background: #fff;
  border-radius: 1.25rem;
  box-shadow:
    calc(var(--offset) * -1) calc(var(--offset) * -1) 0 var(--color-secondary),
    var(--offset) var(--offset) 0 var(--color-primary);
}
.kind-pill,
.day-pill {
  display: inline-block;
  padding: .15rem .8rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: #000;
  font-weight: 800;
  font-size: .9rem;
}
.location {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .location { flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (min-width: 768px) and (max-width: 1100px) {
  /* two-column page layout leaves this card narrow: stack it again */
  .location { flex-direction: column; align-items: stretch; }
  .location .btn { align-self: flex-start; }
}
.map-link {
  display: inline-flex; align-items: center; gap: .5rem;
  color: #000; font-weight: 800;
  text-decoration: underline; text-decoration-color: var(--color-primary);
  text-decoration-thickness: 3px; text-underline-offset: 4px;
}
.map-link:hover { text-decoration-color: var(--color-secondary); }

/* ---------- Hours ---------- */
.hours th, .hours td { padding: .45rem 0; text-align: left; vertical-align: middle; }
.hours th { width: 9rem; font-weight: inherit; }
.hours td { font-weight: 700; font-size: 1.1rem; }
.hours tr.is-closed td { color: rgba(255, 255, 255, .5); font-weight: 400; }
.hours tr.is-closed .day-pill { background: rgba(255, 216, 77, .35); }
.hours tr.is-today .day-pill { background: var(--color-secondary); }
.today-tag {
  margin-left: .6rem; padding: .05rem .55rem; border-radius: 999px;
  background: var(--color-primary); color: #000;
  font-size: .75rem; font-weight: 800; vertical-align: middle;
}
.today-tag[hidden] { display: none; }

/* ---------- Price "button pins" ---------- */
.pin {
  --pin: var(--color-secondary);
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: clamp(9.5rem, 38vw, 12rem);
  aspect-ratio: 1;
  border-radius: 50%;
  color: #000;
  text-align: center;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.7) 0 8%, rgba(255,255,255,0) 30%),
    radial-gradient(circle at 50% 50%, var(--pin) 0 62%, color-mix(in srgb, var(--pin) 70%, #000) 70%);
  box-shadow:
    inset 0 -8px 16px rgba(0,0,0,.25),
    0 0 0 5px #fff,
    0 14px 30px rgba(0,0,0,.6);
}
.pin-teal { --pin: var(--color-secondary); transform: rotate(-6deg); }
.pin-pink { --pin: var(--color-primary);   transform: rotate(4deg); }
.pin-sun  { --pin: var(--color-accent);    transform: rotate(-3deg); }
.pin-deal { width: clamp(11rem, 44vw, 14.5rem); }
.pin-price {
  font-family: "Lilita One", Impact, system-ui, sans-serif;
  font-size: clamp(2.6rem, 11vw, 3.6rem);
  line-height: 1;
}
.pin-deal .pin-price { font-size: clamp(2.2rem, 9vw, 3.2rem); }
.pin-label { font-weight: 800; line-height: 1.15; }

/* ---------- How it works ---------- */
.steps { counter-reset: step; }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 3.75rem;
  min-height: 2.75rem;
  display: flex; align-items: center;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--color-accent); color: #000;
  font-family: "Lilita One", Impact, system-ui, sans-serif; font-size: 1.4rem;
}
.steps strong {
  display: inline-block; padding: 0 .5rem; border-radius: 999px;
  background: var(--color-accent); color: #000;
}

.mini-pin, .mini-sticker { display: inline-block; width: 2.25rem; height: 2.25rem; border-radius: 50%; }
.mini-pin {
  background: radial-gradient(circle at 32% 28%, #fff 0 8%, transparent 30%), var(--color-secondary);
  box-shadow: inset 0 -4px 8px rgba(0,0,0,.25);
}
.mini-sticker {
  background: var(--color-primary);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--color-primary);
}

.order-example { border-collapse: separate; border-spacing: 0; border: 2px solid #000; border-radius: .8rem; overflow: hidden; }
.order-example th { background: #e5e5e5; font-weight: 800; font-size: .9rem; }
.order-example th, .order-example td { padding: .5rem .75rem; border-bottom: 2px solid #000; }
.order-example td { color: #0369a1; font-weight: 700; font-size: 1.1rem; }
.order-example tr:last-child td { border-bottom: 0; }
.order-example th + th, .order-example td + td { border-left: 2px solid #000; }

.products-img { border-radius: 1.5rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-background); border-top: 1px solid var(--color-border);} 
.social-link {
  display: grid; place-items: center;
  width: 3rem; height: 3rem; border-radius: 50%;
  background: #fff; color: #000; font-size: 1.25rem;
  transition: background-color .15s, transform .15s;
}
.social-link:hover { background: var(--color-secondary); transform: translateY(-2px); }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
