/* ============================================================
   BELLIS PILATES STUDIO — style.css
   ============================================================ */

/* appVersion = "v.2026.04.08.05"; */
/* ── Variables ── */
:root {
  --purple:       #892090;
  --purple-dark:  #6a1870;
  --purple-light: #b44ec0;
  --rose:         #C13070;
  --blush:        #F5D5E8;
  --light-blush:  #FDF2F8;
  --cream:        #FAF7F4;
  --dark:         #1C1A1B;
  --text:         #38333A;
  --muted:        #7A7480;
  --white:        #FFFFFF;
  --nav-h:        76px;
  --radius:       16px;
  --radius-sm:    10px;
  --shadow:       0 4px 32px rgba(137,32,144,0.10);
  --shadow-sm:    0 2px 12px rgba(28,26,27,0.08);
  --transition:   0.3s ease;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Typography ── */
h1, h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--dark);
}
h3 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  line-height: 1.3;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.1rem; }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: clamp(64px, 10vw, 120px);
}

.section-blush  { background: var(--light-blush); }
.section-cream  { background: var(--cream); }
.section-purple { background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 60%, var(--purple-light) 100%); }

/* two-column grid */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.grid-2.reverse { direction: rtl; }
.grid-2.reverse > * { direction: ltr; }

/* Section header (centered) */
.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.section-lead {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.05rem;
}
.section-lead.light { color: rgba(255,255,255,0.75); }

.eyebrow {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 12px;
}
.eyebrow.light { color: rgba(255,255,255,0.7); }

h2.light { color: var(--white); }

/* ── Buttons ── */
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--rose);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 16px 36px;
  border-radius: 50px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 8px 24px rgba(193,48,112,0.35);
  letter-spacing: 0.01em;
}
.btn-hero:hover {
  background: #a8265d;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(193,48,112,0.45);
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  background: var(--purple);
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 32px;
  border-radius: 50px;
  transition: background var(--transition), transform var(--transition);
  margin-top: 8px;
}
.btn-contact:hover {
  background: var(--purple-dark);
  transform: translateY(-2px);
}

.btn-pricing {
  display: block;
  text-align: center;
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white);
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 50px;
  transition: background var(--transition), border-color var(--transition);
  margin-top: auto;
}
.btn-pricing:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.8);
}
.btn-pricing.featured-btn {
  background: var(--white);
  color: var(--purple);
  border-color: var(--white);
}
.btn-pricing.featured-btn:hover {
  background: var(--light-blush);
}

/* ── NAVIGATION ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}
/* always white — shadow appears on scroll */
#navbar {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
#navbar.scrolled {
  box-shadow: 0 1px 24px rgba(28,26,27,0.08);
}

.nav-container {
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-logo {
  flex-shrink: 0;
}
.nav-logo img {
  height: 50px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 36px);
  margin-left: auto;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark);
  transition: color var(--transition);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--purple); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
}
.lang-sep {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1;
}

.lang-btn {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding: 4px 2px;
  transition: color var(--transition);
}
.lang-btn.active,
.lang-btn:hover {
  color: var(--purple);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
#hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(28,10,32,0.78) 0%,
    rgba(0,0,0,0.4) 50%,
    rgba(28,10,32,0.15) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  width: 100%;
  margin-inline: auto;
  padding-inline: 24px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blush);
  margin-bottom: 16px;
  opacity: 0.9;
}

.hero-content h1 {
  color: var(--white);
  max-width: 720px;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-sub {
  color: rgba(255,255,255,0.88);
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.8), transparent);
  margin-inline: auto;
  animation: scrollDown 2s ease infinite;
}
@keyframes scrollDown {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── ABOUT STUDIO ── */
.about-image-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  transition: transform 0.6s ease;
}
.about-image-wrap:hover img { transform: scale(1.03); }
.image-accent-dot {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blush) 0%, transparent 70%);
  pointer-events: none;
}

.about-text { display: flex; flex-direction: column; gap: 20px; }
.about-text h2 { margin-bottom: 4px; }

.about-text p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}
.feature-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blush);
  position: relative;
  margin-top: 1px;
}
.feature-check::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 5px;
  height: 9px;
  border-right: 2px solid var(--purple);
  border-bottom: 2px solid var(--purple);
  margin-top: -1px;
}

/* ── BENEFITS ── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  color: var(--purple);
  flex-shrink: 0;
}
.benefit-icon svg { width: 100%; height: 100%; }

.benefit-card h3 {
  font-size: 1rem;
  color: var(--dark);
}
.benefit-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* ── WHO IS IT FOR ── */
.komu-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.komu-text p {
  color: var(--muted);
  line-height: 1.8;
}

.komu-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}
.komu-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
}
.komu-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--rose));
  margin-top: 6px;
}
.komu-list strong { color: var(--dark); font-weight: 600; }

.komu-images {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 16px;
}
.komu-img-main {
  border-radius: var(--radius);
  overflow: hidden;
}
.komu-img-main img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.komu-img-main:hover img { transform: scale(1.04); }

.komu-img-secondary {
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.komu-img-secondary img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.6s ease;
}
.komu-img-secondary:hover img { transform: scale(1.04); }

/* ── PRICING ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--white);
  transition: background var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}
.pricing-card:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-4px);
}
.pricing-card.featured {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.45);
  transform: scale(1.04);
}
.pricing-card.featured:hover { transform: scale(1.04) translateY(-4px); }

.pricing-badge {
  position: absolute;
  top: 0; right: 0;
  background: var(--rose);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 0 var(--radius) 0 var(--radius-sm);
}

.pricing-icon-wrap {
  width: 40px;
  height: 40px;
  color: rgba(255,255,255,0.7);
}
.pricing-icon-wrap svg { width: 100%; height: 100%; }

.pricing-card h3 {
  font-size: 1.15rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  color: var(--white);
}

.price-block {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-block: 4px;
}
.price-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
}
.price-currency {
  font-size: 1.2rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}

.price-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  flex-grow: 1;
  line-height: 1.6;
}

/* ── GALLERY ── */
.section-gallery { overflow: hidden; }

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 340px;
}

.gallery-item {
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.07); }

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--light-blush);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  margin-top: 2px;
}
.contact-icon svg { width: 20px; height: 20px; }

.contact-item strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.contact-item p {
  font-size: 1rem;
  color: var(--dark);
  line-height: 1.6;
}
.contact-item p a {
  color: var(--purple);
  font-weight: 600;
  transition: color var(--transition);
}
.contact-item p a:hover { color: var(--rose); }
.contact-item small {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 2px;
}

.map-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--purple);
  transition: color var(--transition);
}
.map-link:hover { color: var(--rose); }

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 400px;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ── FOOTER ── */
footer {
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 60%, var(--purple-light) 100%);
  color: rgba(255,255,255,0.7);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 40px;
  flex-wrap: wrap;
}

.footer-logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-info p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
}
.footer-info a {
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
}
.footer-info a:hover { color: var(--white); }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
}
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-block: 20px;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-content .hero-eyebrow { animation: fadeUp 0.7s ease 0.1s both; }
.hero-content h1            { animation: fadeUp 0.7s ease 0.25s both; }
.hero-content .hero-sub     { animation: fadeUp 0.7s ease 0.4s both; }
.hero-content .btn-hero     { animation: fadeUp 0.7s ease 0.55s both; }

/* Scroll-reveal: applied via JS */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */

/* Tablet */
@media (max-width: 900px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid  { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-4px); }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 260px;
  }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map  { height: 320px; }
}

/* Mobile */
@media (max-width: 700px) {
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
    box-shadow: 0 8px 32px rgba(28,26,27,0.12);
    transform: translateY(-110%);
    visibility: hidden;
    transition: transform var(--transition), visibility var(--transition);
    z-index: 999;
  }
  .nav-links.open {
    transform: translateY(0);
    visibility: visible;
  }
  .nav-links a {
    color: var(--dark) !important;
    display: block;
    padding: 14px 28px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(28,26,27,0.06);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a:hover { color: var(--purple) !important; background: var(--light-blush); }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .grid-2.reverse { direction: ltr; }
  .komu-images { order: -1; }

  .about-image-wrap img { aspect-ratio: 3/2; }
  .feature-list { grid-template-columns: 1fr; }

  .benefits-grid { grid-template-columns: 1fr; }

  .komu-img-secondary { display: none; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-item.tall { grid-row: span 1; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .footer-links { text-align: left; }

  .hero-scroll-hint { display: none; }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }
}

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  width: calc(100% - 48px);
  max-width: 860px;
  background: var(--white);
  border: 1px solid var(--blush);
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(137,32,144,0.14);
  padding: 20px 24px;
  animation: cookieSlideUp 0.4s ease both;
}
.cookie-banner[hidden] { display: none; }

@keyframes cookieSlideUp {
  from { opacity: 0; transform: translateX(-50%) translateY(16px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.cookie-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cookie-text strong {
  font-size: 0.9rem;
  color: var(--dark);
}
.cookie-text p:last-of-type {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.55;
}
.cookie-policy-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--purple);
  transition: color var(--transition);
  align-self: flex-start;
}
.cookie-policy-link:hover { color: var(--rose); }

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-actions button {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 50px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
#cookie-decline {
  background: transparent;
  border: 1.5px solid var(--blush);
  color: var(--muted);
}
#cookie-decline:hover {
  border-color: var(--muted);
  color: var(--dark);
}
#cookie-accept {
  background: var(--purple);
  border: 1.5px solid var(--purple);
  color: var(--white);
}
#cookie-accept:hover {
  background: var(--purple-dark);
  border-color: var(--purple-dark);
}

@media (max-width: 600px) {
  .cookie-banner {
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 16px 16px;
  }
  .cookie-inner { gap: 14px; }
  .cookie-actions { width: 100%; }
  .cookie-actions button { flex: 1; text-align: center; }
}
