@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
  --color-black: #0e0e12;
  --color-charcoal: #18181f;
  --color-gold: #cba36e;
  --color-gold-hover: #b89158;
  --color-gold-light: #f6ecdc;
  --color-cashmere: #fbf9f6;
  --color-sand: #f4eee7;
  --color-rose-silk: #e8d0cb;
}

body {
  font-family: 'Manrope', 'Plus Jakarta Sans', system-ui, sans-serif;
  /* lang="bg" would switch Manrope to Bulgarian cursive-style glyph forms; keep the standard Cyrillic shapes */
  font-feature-settings: "locl" 0;
  -webkit-font-feature-settings: "locl" 0;
  color: #26262b;
  background-color: #faf8f5;
  scroll-behavior: smooth;
}

.font-serif-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-feature-settings: "locl" 0;
  -webkit-font-feature-settings: "locl" 0;
  font-variant-east-asian: normal;
}

.font-script {
  font-family: 'Alex Brush', cursive;
}

/* Glassmorphism & High-end Navigation */
.glass-nav {
  background: rgba(253, 251, 249, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(203, 163, 110, 0.15);
}

.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(220, 205, 190, 0.45);
}

.card-elevated {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(215, 200, 185, 0.5);
}

.card-elevated:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 45px -12px rgba(35, 25, 20, 0.08);
  border-color: rgba(203, 163, 110, 0.6);
}

/* Boutique Ambient Aura */
.ribbon-gradient-bg {
  background: 
    radial-gradient(circle at 15% 15%, rgba(246, 236, 220, 0.9) 0%, rgba(250, 248, 245, 0) 55%),
    radial-gradient(circle at 85% 75%, rgba(232, 208, 203, 0.45) 0%, rgba(250, 248, 245, 0) 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.7) 0%, rgba(250, 248, 245, 0) 70%);
}

.gold-gradient-text {
  background: linear-gradient(135deg, #a37944 0%, #d4af37 45%, #926937 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-gradient-bg {
  background: linear-gradient(135deg, #cba36e 0%, #dfbf8f 50%, #cba36e 100%);
}

/* Shimmer Tag Effect */
.badge-gold {
  background: linear-gradient(135deg, #fbf4ea 0%, #f6e6d1 100%);
  border: 1px solid rgba(203, 163, 110, 0.35);
  color: #8c642e;
}

/* FAQ Accordion */
.faq-item {
  transition: all 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 280px;
  opacity: 1;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Sticky Mobile Quick-Action Dock */
.sticky-mobile-dock {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(203, 163, 110, 0.25);
  box-shadow: 0 -8px 25px -5px rgba(0, 0, 0, 0.08);
}

/* Schedule tabs */
.tab-btn.active {
  background-color: #0e0e12;
  color: #ffffff;
  border-color: #0e0e12;
  box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.2);
}

/* Modal styling */
.modal-backdrop {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  transform: scale(0.95) translateY(12px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.show .modal-content {
  transform: scale(1) translateY(0);
}

/* Floating Live Social Proof Notification */
.social-proof-toast {
  position: fixed;
  bottom: 88px;
  left: 24px;
  z-index: 45;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.social-proof-toast.hidden-toast {
  opacity: 0;
  transform: translateY(24px) scale(0.95);
  pointer-events: none;
}

@media (max-width: 768px) {
  .social-proof-toast {
    bottom: 74px;
    left: 12px;
    right: 12px;
  }
}

/* Lightbox Modal */
#gallery-lightbox {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#gallery-lightbox.active {
  opacity: 1 !important;
  pointer-events: auto !important;
  display: flex !important;
}

.lightbox-content {
  transform: scale(0.94) translateY(16px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

#gallery-lightbox.active .lightbox-content {
  transform: scale(1) translateY(0);
}


/* =========================================================
   v4 — Visual refresh & scroll motion
   ========================================================= */

:root {
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-curtain: cubic-bezier(0.77, 0, 0.18, 1);
}

html { overflow-x: hidden; }
body { overflow-x: clip; }

/* ---- Scroll progress ---- */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, #99733d, #cba36e 40%, #f6ecdc 70%, #cba36e);
  box-shadow: 0 0 12px rgba(203, 163, 110, 0.6);
}

/* ---- Navigation shrink ---- */
.glass-nav .nav-inner { transition: height 0.4s var(--ease-out); }
.glass-nav.scrolled { box-shadow: 0 10px 30px -18px rgba(14, 14, 18, 0.35); background: rgba(253, 251, 249, 0.97); }
.glass-nav.scrolled .nav-inner { height: 4.25rem; }

/* ---- Hero ---- */

.hero-gold {
  background: linear-gradient(100deg, #8c642e 0%, #cba36e 35%, #d4af37 55%, #99733d 80%, #b98d4f 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: gold-sheen 7s ease-in-out infinite;
  padding-right: 0.08em;
}
@keyframes gold-sheen { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
/* Split words inside gradient text must keep the gradient on themselves */
.hero-gold .w-i {
  background: linear-gradient(100deg, #8c642e 0%, #cba36e 35%, #d4af37 55%, #99733d 80%, #b98d4f 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: gold-sheen 7s ease-in-out infinite;
}






/* Button shine sweep */
.btn-shine { position: relative; overflow: hidden; isolation: isolate; }
.btn-shine::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.9s var(--ease-out);
}
.btn-shine:hover::before { transform: translateX(120%); }

/* ---- Program cards ---- */
.program-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #f3ece4; }
.program-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, rgba(255, 255, 255, 0.35));
}
.program-media-zoom { position: absolute; inset: 0; transition: transform 1.2s var(--ease-out); }
.program-media-zoom img { width: 100%; height: 100%; object-fit: cover; }
.group:hover .program-media-zoom { transform: scale(1.07); }

/* ---- About collage ---- */
.about-collage { position: relative; padding: 0 16% 10% 0; }
.about-main { position: relative; margin: 0; border-radius: 2rem; overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: 0 40px 70px -35px rgba(35, 25, 20, 0.45); }
.about-main img { width: 100%; height: 100%; object-fit: cover; object-position: 25% 50%; }
.about-small {
  position: absolute; right: 0; bottom: 0; width: 38%; margin: 0;
  border-radius: 999px 999px 1.5rem 1.5rem; overflow: hidden; aspect-ratio: 2 / 3;
  border: 6px solid #fbf9f7; box-shadow: 0 30px 60px -25px rgba(35, 25, 20, 0.5);
}
.about-small > div, .about-small img { width: 100%; height: 100%; }
.about-small img { object-fit: cover; }

/* ---- Gallery teaser ---- */
.gallery-teaser { position: relative; background: #141418; }
.gallery-teaser-strip { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); opacity: 0.32; }
.gallery-teaser-strip img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.6); transition: filter 0.8s, transform 1.2s var(--ease-out); }
.gallery-teaser:hover .gallery-teaser-strip img { filter: grayscale(0); transform: scale(1.05); }
.gallery-teaser::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(14, 14, 18, 0.92) 0%, rgba(14, 14, 18, 0.7) 55%, rgba(14, 14, 18, 0.5));
}
.gallery-teaser > .relative { z-index: 1; }

/* ---- Schedule filter pop ---- */
.schedule-card.pop, .gallery-card.pop { animation: pop-in 0.55s var(--ease-out) both; }
@keyframes pop-in { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }

/* ---- Back to top ---- */
.to-top {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 44; width: 3.25rem; height: 3.25rem;
  display: none; align-items: center; justify-content: center; border-radius: 50%;
  background: #0e0e12; color: #cba36e; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.5);
  opacity: 0; transform: translateY(16px) scale(0.9); pointer-events: none;
  transition: opacity 0.4s, transform 0.5s var(--ease-out), background 0.3s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: #22222a; }
.to-top .to-top-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top circle { fill: none; stroke-width: 2; }
.to-top .ring-bg { stroke: rgba(203, 163, 110, 0.18); }
.to-top .ring-fg { stroke: #cba36e; stroke-linecap: round; stroke-dasharray: 138.2; stroke-dashoffset: 138.2; }
@media (min-width: 768px) { .to-top { display: flex; } }

/* ---- Scroll reveal ---- */
html.js [data-reveal] {
  opacity: 0; transform: translate3d(0, 42px, 0);
  transition: opacity 0.6s var(--ease-out), transform 0.8s var(--ease-out), clip-path 1s var(--ease-curtain);
  transition-delay: var(--d, 0s);
}
html.js [data-reveal="left"] { transform: translate3d(-56px, 0, 0); }
html.js [data-reveal="right"] { transform: translate3d(56px, 0, 0); }
html.js [data-reveal="zoom"] { transform: scale(0.88); }
html.js [data-reveal="fade"] { transform: none; }
html.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0 round 2rem); }
html.js [data-reveal="clip"] img { transform: scale(1.18); transition: transform 1.4s var(--ease-out); transition-delay: var(--d, 0s); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
html.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round 0); }
html.js [data-reveal="clip"].is-in img { transform: none; }

/* Word-by-word heading reveal */
.w-o { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.06em 0.04em 0.12em; margin: -0.06em -0.04em -0.12em; }
.w-i { display: inline-block; }
html.js [data-split] .w-i { transform: translate3d(0, 110%, 0) rotate(2deg); transition: transform 0.8s var(--ease-out); transition-delay: var(--d, 0s); }
html.js [data-split].is-in .w-i { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal], html.js [data-reveal] img, html.js [data-split] .w-i {
    opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important;
  }
  .hero-gold, .hero-in, .hero-logo img { animation: none !important; }
  .hero-in { opacity: 1 !important; }
}

/* Closed FAQ answers must not keep their padding (left an empty gap under every question) */
.faq-answer { transition: max-height 0.45s var(--ease-out), opacity 0.3s ease, padding 0.45s var(--ease-out); }
.faq-item:not(.active) .faq-answer { padding-top: 0 !important; padding-bottom: 0 !important; border-top-color: transparent !important; }

/* Mobile brand: keep the wordmark on one line inside the bar */
.brand-name, .brand-sub { white-space: nowrap; }
@media (max-width: 480px) {
  .brand-name { font-size: 1.05rem; letter-spacing: 0.02em; }
  .brand-sub { font-size: 8px; letter-spacing: 0.2em; }
}
@media (max-width: 359px) { .brand-sub { display: none; } }

/* Mobile quick dock was never pinned to the viewport */
.sticky-mobile-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 46; display: flex; }
@media (min-width: 768px) { .sticky-mobile-dock { display: none; } }
@media (max-width: 400px) {
  .glass-nav .nav-inner > a:first-child { gap: 0.6rem; }
  .glass-nav .nav-inner > a:first-child > div:first-child { width: 2.6rem; height: 2.6rem; }
}

/* ---- Hero entrance: pure CSS, visible at first paint, no JS needed ---- */
.hero-in { opacity: 0; animation: hero-rise 0.8s var(--ease-out) both; animation-delay: calc(0.1s + var(--i, 0) * 0.1s); }
@keyframes hero-rise { from { opacity: 0; transform: translate3d(0, 26px, 0); } to { opacity: 1; transform: none; } }

header nav { position: relative; }
.nav-ink {
  position: absolute; left: 0; bottom: -7px; height: 2px; width: 0; border-radius: 2px; opacity: 0; pointer-events: none;
  background: linear-gradient(90deg, #cba36e, #e9cfa5);
  transition: transform 0.45s var(--ease-out), width 0.45s var(--ease-out), opacity 0.3s;
}

/* Live schedule & Interactive Cards */
/* Live schedule & Interactive Cards */
.schedule-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 18px -4px rgba(0, 0, 0, 0.04);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}
.schedule-card::before {
  content: "";
  position: absolute;
  top: 12px; left: 0; bottom: 12px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: transparent;
  transition: background-color 0.25s ease;
}
.schedule-card[data-category="kids"]::before { background: #f43f5e; }
.schedule-card[data-category="gym18"]::before { background: #d97706; }
.schedule-card[data-category="pilates"]::before { background: #0d9488; }
.schedule-card[data-category="yoga"]::before { background: #4f46e5; }

.schedule-card:hover {
  transform: translateY(-4px);
  border-color: rgba(203, 163, 110, 0.45);
  box-shadow: 0 16px 32px -10px rgba(28, 25, 23, 0.09), 0 0 0 1px rgba(203, 163, 110, 0.25);
}
.schedule-card:hover .schedule-cta-btn {
  color: #cba36e;
  transform: translateX(3px);
}
.schedule-cta-btn {
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.schedule-card.is-next {
  border-color: rgba(203, 163, 110, 0.85) !important;
  box-shadow: 0 20px 40px -18px rgba(203, 163, 110, 0.45);
}
.next-badge {
  position: absolute;
  top: -12px;
  right: 18px;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1c1917;
  background: #fdf2d9;
  border: 1.5px solid #cba36e;
  box-shadow: 0 4px 12px rgba(184, 143, 88, 0.25);
  z-index: 20;
  white-space: nowrap;
}
.schedule-card.is-live .next-badge {
  background: #ecfdf5;
  border-color: #10b981;
  color: #065f46;
}
.schedule-card.is-live .next-badge::before {
  content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #059669; margin-right: 6px; vertical-align: 1px;
  animation: live-dot 1.4s ease-in-out infinite;
}
@keyframes live-dot { 50% { opacity: 0.3; } }
.schedule-next-line { margin-top: 0.9rem; font-size: 13px; color: #52525b; }
.schedule-next-line strong { color: #0e0e12; font-weight: 600; }
.schedule-next-line span { color: #946c31; }

/* Booking modal slot chips */
.modal-slots { margin-top: -0.25rem; }
.modal-slots[hidden] { display: none; }
.modal-slots-label { font-size: 11px; color: #71717a; margin-bottom: 0.4rem; }
.slot-chip {
  display: inline-block; margin: 0 0.35rem 0.35rem 0; padding: 0.35rem 0.7rem; border-radius: 999px;
  font-size: 11px; font-weight: 500; color: #3f3f46; background: #fff; border: 1px solid #e4e4e7;
  transition: all 0.2s;
}
.slot-chip:hover { border-color: #cba36e; }
.slot-chip.is-on { background: #0e0e12; color: #fff; border-color: #0e0e12; }

/* Lightbox arrows + counter */
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 15; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2); transition: background 0.2s, transform 0.2s;
}
.lightbox-nav:hover { background: #cba36e; color: #0e0e12; }
.lightbox-nav-prev { left: 0.75rem; }
.lightbox-nav-next { right: 0.75rem; }
#gallery-lightbox.single .lightbox-nav { display: none; }
.lightbox-counter { display: inline-block; margin-left: 0.6rem; font-size: 11px; color: #a1a1aa; letter-spacing: 0.08em; vertical-align: middle; }

/* ---- Hero logo (v4.5) ---- */
.hero-logo { position: relative; width: 190px; isolation: isolate; }
@media (min-width: 640px) { .hero-logo { width: 260px; } }
@media (min-width: 1024px) { .hero-logo { width: 300px; } }
.hero-logo::before {
  content: ""; position: absolute; inset: -28%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(246, 236, 220, 0.55) 45%, rgba(246, 236, 220, 0) 72%);
}
.hero-logo img {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 14px 26px rgba(35, 25, 20, 0.16));
  animation: logo-breathe 7s ease-in-out infinite;
}
@keyframes logo-breathe { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ---- Class Finder Panels Animation ---- */
.finder-panel.active {
  animation: finder-fade 0.35s var(--ease-out) both;
}
@keyframes finder-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Image Download & Drag Protection ---- */
img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.gallery-compartment img,
#gallery-lightbox img,
.program-media img,
.about-collage img,
.gallery-teaser-strip img {
  pointer-events: none;
}
