/* 3.14 Pilates — public site.
   Palette sampled from assets/studio-interior.jpg: blush plaster walls, honey wood,
   cream reformer frames, dusty-rose upholstery. Action pink from the app's own tokens
   (apps/mobile/src/theme/tokens.ts): #D5567E filled, #BE3A62 on light.
   Structural motif: the arch, taken from the niche in the studio's own wall. */

@font-face { font-family: 'Poppins'; src: url('/fonts/Poppins-Regular.ttf') format('truetype');
             font-weight: 400; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/fonts/Poppins-Medium.ttf') format('truetype');
             font-weight: 500; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/fonts/Poppins-SemiBold.ttf') format('truetype');
             font-weight: 600; font-display: swap; }

:root {
  --plaster:   #F7E6E0;   /* wall, lit */
  --plaster-d: #EBD0C8;   /* wall, shadowed */
  --cream:     #FDF8F5;   /* reformer frame */
  --wood:      #C89B6E;   /* floor */
  --rose:      #D98C97;   /* upholstery */
  --logo:      #DB9AAE;   /* the logo's own tint — decorative only, never behind text */
  --pink:      #D5567E;   /* filled actions */
  --pink-ink:  #BE3A62;   /* pink text on light */
  --plum:      #6E1F3C;
  --ink:       #3A2028;   /* warm dark, never pure black */
  --ink-soft:  #7A6169;
  --line:      #EFDFDA;
  --paper:     #FFFCFB;

  --display: 'Fraunces', 'Iowan Old Style', Palatino, Georgia, serif;
  --body: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --arch: 46% 46% 10px 10px / 30% 30% 10px 10px;   /* hero: genis, yayvan kemer */
  --arch-tall: 50% 50% 10px 10px / 34% 34% 10px 10px; /* dar kartlar icin */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 1rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--pink-ink); }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(64rem, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(42rem, 100% - 2.5rem); margin-inline: auto; }

/* ---------- hero: the studio's own arch, used as a portal ---------- */
.hero { position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero::before {                     /* raking light, echoing the window in the photo */
  content: ''; position: absolute; inset: -20% -10% auto -10%; height: 70%;
  background: linear-gradient(168deg, var(--plaster) 0%, rgba(247,230,224,0) 72%);
  transform: rotate(-3deg); z-index: 0;
}
.hero-inner { position: relative; z-index: 1; display: grid; gap: clamp(2rem, 5vw, 3.5rem);
  /* Tek sutun `auto` olsaydi max-content'e (sarilmamis en uzun cumle) gore buyur ve
     dokumani viewport'tan genis yapardi; minmax(0,1fr) sutunu kapsayiciya sabitler. */
  grid-template-columns: minmax(0, 1fr);
  justify-items: center; text-align: center; }
/* grid cocuklari varsayilan min-width:auto tasiyor; icerigin intrinsic genisligi
   (max-width: 46ch) dar ekranda sutunu viewport disina itiyordu. */
.hero-inner > * { min-width: 0; max-width: 100%; }
.brandmark { width: clamp(150px, 22vw, 215px); height: auto; }
.hero-lede { font-family: var(--display); font-style: italic; font-weight: 300;
  font-size: clamp(1.6rem, 4.6vw, 2.9rem); line-height: 1.22; letter-spacing: -0.015em;
  color: var(--plum); margin: 0 auto; max-width: min(17ch, 100%); text-wrap: balance; }
.hero-sub { margin: .6rem auto 0; color: var(--ink-soft); max-width: min(46ch, 100%); }

.arch-frame {
  width: min(100%, 46rem); aspect-ratio: 4 / 3; border-radius: var(--arch);
  overflow: hidden; position: relative;
  box-shadow: 0 28px 70px -30px rgba(110,31,60,.42), 0 2px 0 rgba(255,255,255,.7) inset;
}
.arch-frame img { width: 100%; height: 100%; object-fit: cover; }

.cta {
  display: inline-flex; align-items: center; gap: .6rem; background: var(--pink); color: #fff;
  text-decoration: none; padding: .9rem 1.9rem; border-radius: 999px;
  font-weight: 600; letter-spacing: .01em;
  box-shadow: 0 12px 26px -12px rgba(213,86,126,.75);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.cta:hover, .cta:focus-visible { background: var(--pink-ink); transform: translateY(-2px);
  box-shadow: 0 18px 32px -14px rgba(190,58,98,.8); }
.cta svg { width: 1.05em; height: 1.05em; }

/* ---------- sections ---------- */
section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.eyebrow { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--pink-ink); font-weight: 600; margin: 0 0 .7rem; }
h2 { font-family: var(--display); font-style: italic; font-weight: 300;
  font-size: clamp(1.5rem, 3.4vw, 2.15rem); line-height: 1.25; margin: 0 0 1rem;
  color: var(--plum); letter-spacing: -0.01em; text-wrap: balance; }
h3 { font-size: 1.02rem; font-weight: 600; margin: 0 0 .3rem; letter-spacing: -0.005em; }
p { margin: 0 0 1rem; color: var(--ink-soft); max-width: min(60ch, 100%); }

.lessons { background: linear-gradient(180deg, var(--paper) 0%, var(--plaster) 42%, var(--paper) 100%); }
.lesson-grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin-top: 2.25rem; }
.lesson { text-align: center; }
.lesson-arch { border-radius: var(--arch-tall); overflow: hidden; aspect-ratio: 33 / 39;
  box-shadow: 0 18px 40px -24px rgba(110,31,60,.4); margin-bottom: 1.1rem; background: var(--plaster-d); }
.lesson-arch img { width: 100%; height: 100%; object-fit: cover; }
.lesson p { margin: 0 auto; font-size: .93rem; max-width: min(26ch, 100%); }

.feature-list { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid;
  grid-template-columns: minmax(0, 1fr); gap: .9rem; }
.feature-list li { display: flex; gap: .85rem; align-items: flex-start; color: var(--ink-soft); }
.feature-list svg { flex: none; width: 1.35rem; height: 1.35rem; color: var(--pink-ink); margin-top: .18rem; }
.feature-list b { color: var(--ink); font-weight: 600; }

.contact-card { background: var(--cream); border: 1px solid var(--line); border-radius: 18px;
  padding: clamp(1.4rem, 3vw, 2rem); }
dl.contact { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .7rem 1.5rem; margin: 0; }
dl.contact dd { overflow-wrap: break-word; }
dl.contact dt { color: var(--ink-soft); font-size: .87rem; }
dl.contact dd { margin: 0; font-weight: 500; }
dl.contact a { text-decoration: none; }
dl.contact a:hover { text-decoration: underline; }

/* ---------- legal / inner pages ---------- */
.page-head { background: linear-gradient(170deg, var(--plaster) 0%, var(--paper) 100%);
  padding: clamp(2rem, 5vw, 3.25rem) 0 clamp(1.5rem, 4vw, 2.5rem); }
.page-head .brandmark { width: 118px; }
.back { display: inline-block; margin: 1.75rem 0 .5rem; font-size: .9rem; text-decoration: none; }
.doc h2 { margin-top: 0; }
.doc h3 { margin-top: 2rem; color: var(--plum); font-family: var(--display);
  font-style: italic; font-weight: 400; font-size: 1.22rem; }
.doc .lead { color: var(--ink); font-size: 1.06rem; }

footer { background: var(--plum); color: #F7E2E9; padding: clamp(2.5rem, 5vw, 3.5rem) 0 2.5rem; margin-top: clamp(3rem, 6vw, 5rem); }
footer a { color: #F7E2E9; text-decoration: none; opacity: .88; }
footer a:hover { opacity: 1; text-decoration: underline; }
.foot-links { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; padding: 0; margin: 0 0 1.5rem; list-style: none; font-size: .92rem; }
.foot-note { margin: 0; font-size: .84rem; opacity: .72; color: #F7E2E9; }

/* ---------- one orchestrated entrance ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); animation: rise .55s cubic-bezier(.22,.7,.3,1) both; }
  .arch-frame.reveal { transform: translateY(22px) scale(.985); animation-name: riseArch; }
  .d1 { animation-delay: .04s } .d2 { animation-delay: .1s } .d3 { animation-delay: .17s } .d4 { animation-delay: .25s }
  @keyframes rise { to { opacity: 1; transform: none } }
  @keyframes riseArch { to { opacity: 1; transform: none } }
}

/* Uygulama mağazalara çıkana kadar: buton görünümü korunur ama tıklanmaz.
   Kaydolan birinin ödeme alamayan, dersi olmayan bir uygulamaya düşmesindense
   ne zaman geleceğini okuması yeğdir. */
.cta--soon { cursor: default; opacity: .72; pointer-events: none; }
.cta--soon svg { display: none; }
