/* ==========================================================================
   FC FASHION CLUB — custom styles (on top of Tailwind utilities)
   Editorial fashion-club identity: aubergine-ink + raspberry-crimson +
   champagne-gold, Fraunces serif display, Manrope body.
   ========================================================================== */

:root {
  --ink: #1b1620;
  --paper: #f6f3ed;
  --crimson: #c9184a;
  --crimson-dark: #a81140;
  --gold: #b8a369;
}

html { scroll-behavior: smooth; }
html.no-scroll, body.no-scroll { overflow: hidden; }
body {
  font-family: 'Manrope', sans-serif;
  background-color: var(--paper);
}
.font-display { font-family: 'Fraunces', serif; font-optical-sizing: auto; }

/* ---------- Focus visibility ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--crimson);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #d8cfc0; border-radius: 999px; }

/* ---------- Editorial ink hero ---------- */
.editorial-bg {
  position: relative;
  background-color: var(--ink);
  isolation: isolate;
  overflow: hidden;
}
.editorial-bg::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -1;
  background:
    radial-gradient(40% 45% at 15% 20%, rgba(201, 24, 74, 0.35), transparent 60%),
    radial-gradient(35% 40% at 88% 10%, rgba(184, 163, 105, 0.22), transparent 60%),
    radial-gradient(45% 55% at 75% 90%, rgba(201, 24, 74, 0.22), transparent 60%),
    var(--ink);
  filter: blur(50px);
}
.editorial-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}

/* ---------- Duotone photo treatment ---------- */
.duotone-club { position: relative; }
.duotone-club img {
  filter: grayscale(1) contrast(1.1);
  mix-blend-mode: luminosity;
  opacity: 0.6;
}
.duotone-club::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(201, 24, 74, 0.7), rgba(27, 22, 32, 0.94));
  mix-blend-mode: multiply;
}
.duotone-club::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--ink) 0%, transparent 55%);
}

/* ---------- Glass (on ink backgrounds) ---------- */
.glass-club {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(184, 163, 105, 0.25);
}

/* ---------- Gradient text ---------- */
.text-gradient-club {
  background: linear-gradient(100deg, #f29fb3, var(--gold) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Signature: Club Access Card ----------
   Services & pricing are shown as a laminated membership-style card
   rather than a generic price list — reinforces the "Club" identity.
------------------------------------------------------------------ */
.access-card {
  position: relative;
  background: linear-gradient(155deg, #ffffff 0%, #faf7f0 100%);
  border-radius: 18px;
  border: 1px solid rgba(184, 163, 105, 0.3);
  box-shadow: 0 1px 2px rgba(27,22,32,0.04);
}
.access-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, var(--gold), #e4d6ae 50%, var(--gold));
}
.club-emblem {
  width: 34px; height: 34px;
  border-radius: 999px;
  border: 1.5px solid var(--gold);
  display: grid;
  place-items: center;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: #8a7a45;
  background: #faf7f0;
  flex-shrink: 0;
}
.club-microtext {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8a7a45;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  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); }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger.is-visible > *:nth-child(n+6) { transition-delay: 0.4s; }

/* ---------- Loading screen ---------- */
#loading-screen {
  position: fixed; inset: 0; z-index: 100;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#loading-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-mark {
  width: 52px; height: 52px;
  border-radius: 999px;
  border: 3px solid rgba(184, 163, 105, 0.2);
  border-top-color: var(--crimson);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Nav ---------- */
#site-nav { transition: background-color 0.35s ease, box-shadow 0.35s ease, border-color .35s ease; }
#site-nav.scrolled { box-shadow: 0 10px 30px -15px rgba(27, 22, 32, 0.2); }

/* ---------- Buttons ---------- */
.btn-club {
  background: var(--crimson);
  box-shadow: 0 10px 25px -8px rgba(201, 24, 74, 0.45);
}
.btn-club:hover { background: var(--crimson-dark); transform: translateY(-1px); }
.btn-outline-club {
  border: 1.5px solid var(--gold);
  color: #8a7a45;
}
.btn-outline-club:hover { background: rgba(184, 163, 105, 0.08); }
.btn-press:active { transform: scale(0.97); }

/* ---------- Cards ---------- */
.card-hover { transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color .4s ease; }
.card-hover:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -20px rgba(27, 22, 32, 0.18); }

/* ---------- Counters ---------- */
.counter { font-variant-numeric: tabular-nums; }

/* ---------- Masonry gallery ---------- */
.masonry { column-count: 1; column-gap: 1rem; }
@media (min-width: 640px) { .masonry { column-count: 2; } }
@media (min-width: 1024px) { .masonry { column-count: 3; } }
.masonry > * { break-inside: avoid; margin-bottom: 1rem; }

/* ---------- Lightbox ---------- */
#lightbox {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(16, 12, 21, 0.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
#lightbox.active { opacity: 1; visibility: visible; }
#lightbox img { transition: transform 0.35s ease; }

/* ---------- FAQ accordion ---------- */
.faq-item[open] > summary .faq-chevron { transform: rotate(180deg); }
.faq-item summary { list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-panel { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item[open] .faq-panel { max-height: 300px; }

/* ---------- Floating action buttons ---------- */
.fab { transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease; }
.fab:hover { transform: translateY(-3px) scale(1.05); }

/* ---------- Toast ---------- */
#toast-root {
  position: fixed; top: 1rem; right: 1rem; left: 1rem; z-index: 95;
  display: flex; flex-direction: column; gap: 0.5rem;
  pointer-events: none;
}
@media (min-width: 640px) { #toast-root { left: auto; width: 360px; } }

/* ---------- Sticky mobile booking bar spacing ---------- */
body.has-mobile-bar { padding-bottom: 76px; }
@media (min-width: 768px) { body.has-mobile-bar { padding-bottom: 0; } }

/* ---------- Utility ---------- */
.section-eyebrow { letter-spacing: 0.16em; }
