/* =========================================================
   Irem Peker Pilates
   Renkler : #F2F0EB (bej) �� #EEECE7 (koyu bej) �� #FFFFFF
   Baslik  : Cormorant Garamond
   Metin   : Avenir Next Arabic
   ========================================================= */

/* Avenir Next Arabic dosyalarini assets/fonts klasorune atarsaniz
   otomatik olarak kullanilir. Yoksa sistem alternatifine duser. */
@font-face {
  font-family: 'Avenir Next Arabic';
  src: url('../fonts/AvenirNextArabic-Regular.woff2') format('woff2'),
       url('../fonts/AvenirNextArabic-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir Next Arabic';
  src: url('../fonts/AvenirNextArabic-Medium.woff2') format('woff2'),
       url('../fonts/AvenirNextArabic-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --beige: #F2F0EB;
  --beige-dark: #EEECE7;
  --white: #FFFFFF;
  --ink: #2B2926;
  --ink-soft: #6B665F;
  --line: #DCD8D0;

  --display: 'Cormorant Garamond', 'Times New Roman', serif;
  --body: 'Avenir Next Arabic', 'Avenir Next', 'Avenir', 'Segoe UI', Helvetica, Arial, sans-serif;

  --maxw: 1240px;
  --gutter: 32px;
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

h1, h2, h3, h4, .display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: .02em;
  line-height: 1.15;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.text-block { max-width: 62ch; color: var(--ink-soft); }

/* ---------------- Butonlar ---------------- */

.btn {
  display: inline-block;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 42px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}
.btn:hover, .btn:focus-visible { background: var(--ink); color: var(--beige); }

.btn-solid { background: var(--ink); color: var(--beige); }
.btn-solid:hover, .btn-solid:focus-visible { background: transparent; color: var(--ink); }

.btn-sm { padding: 10px 28px; font-size: .95rem; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ---------------- Header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--beige);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { max-height: 54px; width: auto; }
.logo-text {
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.site-nav { display: flex; align-items: center; gap: 34px; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: .18em;
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover, .site-nav a.is-active { border-bottom-color: var(--ink); }

.header-social { display: flex; align-items: center; gap: 14px; }
.header-social a { color: #B9AE9C; transition: color .25s ease; }
.header-social a:hover { color: var(--ink); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 1px; background: var(--ink); }

/* ---------------- Bolumler ---------------- */

.section { padding: 96px 0; }
.section-beige { background: var(--beige); }
.section-beige-dark { background: var(--beige-dark); }
.section-white { background: var(--white); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.split-media img {
  width: 100%;
  height: 100%;
  max-height: 620px;
  object-fit: cover;
  border-radius: 4px;
}

.kicker {
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: .28em;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

/* Hero */

.hero {
  position: relative;
  background: var(--beige);
  display: flex;
  align-items: center;
  min-height: clamp(580px, 88vh, 920px);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.08) 100%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-top: 90px; padding-bottom: 90px; }
.hero-copy { max-width: 620px; color: #fff; }
.hero-title { margin-bottom: .35em; color: #fff; }
.hero-text { color: rgba(255,255,255,.9); max-width: 46ch; }
.hero-actions { margin-top: 34px; }

@media (max-width: 720px) {
  .hero { min-height: clamp(520px, 78vh, 680px); }
  .hero::after { background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.6) 100%); }
  .hero-inner { padding-top: 64px; padding-bottom: 64px; }
}

/* Quote */

.quote { background: var(--beige); padding: 0 0 96px; }
.quote-inner {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 46px 0;
  text-align: center;
}
.quote blockquote {
  margin: 0 auto;
  max-width: 70ch;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.45;
}

/* Hizmet kutulari */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.card {
  display: block;
  text-decoration: none;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
}
.card-media { aspect-ratio: 4 / 3; background: var(--beige-dark); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 22px 26px 28px; text-align: center; }
.card-title {
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: .1em;
  margin: 0;
}
.card-text {
  margin: 10px auto 0;
  max-width: 34ch;
  color: var(--ink-soft);
  font-size: .93rem;
  line-height: 1.65;
}
a.card { transition: transform .3s ease; }
a.card:hover { transform: translateY(-4px); }

/* ---------------- Iletisim ---------------- */

.contact { background: var(--white); }
.contact .split { align-items: flex-start; gap: 64px; }
.contact-media img { width: 100%; height: clamp(400px, 46vw, 640px); object-fit: cover; }

.contact-social { display: flex; gap: 16px; margin: 4px 0 30px; }
.contact-social a { color: #B9AE9C; }
.contact-social a:hover { color: var(--ink); }

.form-row { margin-bottom: 18px; }

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 15px 18px;
}
.form-row select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232B2926' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 12px;
  padding-right: 44px;
}
.form-row textarea { min-height: 130px; resize: vertical; }
.form-row input::placeholder, .form-row textarea::placeholder { color: #A8A29A; }

.form-note { font-size: .9rem; color: var(--ink-soft); }

.contact-newsletter {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  width: 100%;
  margin: 2px 0 24px;
  color: var(--ink-soft);
  font-size: .9rem;
  line-height: 1.5;
  cursor: pointer;
}
.contact-newsletter input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--ink);
}
.contact-newsletter span { display: block; flex: 1; }
.contact-form-actions {
  display: block;
  width: 100%;
  clear: both;
}
.contact-form-actions .btn { display: inline-block; }

.alert {
  padding: 14px 18px;
  border-radius: 6px;
  margin-bottom: 22px;
  font-size: .95rem;
}
.alert-ok { background: #EDF3ED; border: 1px solid #C6D8C6; }
.alert-error { background: #F8EDEA; border: 1px solid #E0C3BA; }

.contact-success-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: contact-success-in .25s ease both;
}
.contact-success-modal.is-closing { animation: contact-success-out .22s ease both; }
.contact-success-backdrop { position: absolute; inset: 0; background: rgba(43, 41, 38, .62); }
.contact-success-dialog {
  position: relative;
  width: 100%;
  max-width: 500px;
  padding: 46px 40px 40px;
  border-radius: var(--radius);
  background: var(--beige);
  box-shadow: 0 28px 80px rgba(43, 41, 38, .28);
  text-align: center;
}
.contact-success-dialog h3 { font-size: clamp(1.7rem, 4vw, 2.2rem); margin: 10px 0 12px; }
.contact-success-dialog p { color: var(--ink-soft); margin-bottom: 14px; }
.contact-success-note { font-style: italic; font-size: .92rem; opacity: .85; }
.contact-success-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 24px;
  padding: 9px 18px;
  border: 1px solid rgba(43, 41, 38, .22);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: .9rem;
  letter-spacing: .01em;
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease;
}
.contact-success-wa:hover { border-color: rgba(43, 41, 38, .5); color: var(--ink); }
.contact-success-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid #9EAD96;
  border-radius: 50%;
  color: #52634B;
  font-size: 1.5rem;
}
.contact-success-close {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 1.7rem;
  cursor: pointer;
}
body.contact-success-locked { overflow: hidden; }
@keyframes contact-success-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes contact-success-out { from { opacity: 1; } to { opacity: 0; } }

@media (max-width: 560px) {
  .contact-success-dialog { padding: 40px 24px 32px; }
}

/* ---------------- Sabit WhatsApp butonu ---------------- */

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 250;
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(43, 41, 38, .16);
  border-radius: 50%;
  background: var(--beige);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(43, 41, 38, .14);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.wa-float svg { width: 22px; height: 22px; }
.wa-float:hover {
  transform: translateY(-2px);
  border-color: rgba(43, 41, 38, .4);
  box-shadow: 0 12px 30px rgba(43, 41, 38, .2);
}

@media (max-width: 560px) {
  .wa-float { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

/* ---------------- Footer ---------------- */

.site-footer {
  background: var(--beige);
  padding: 56px 0;
  text-align: center;
}
.site-footer p { margin: 0 0 6px; font-size: .95rem; }
.site-footer .footer-copy { font-family: var(--display); font-size: 1.05rem; letter-spacing: .04em; }
.site-footer a { text-decoration: underline; text-underline-offset: 4px; }

/* ---------------- Ic sayfalar ---------------- */

.page-head { background: var(--beige); padding: 80px 0 56px; }
.page-head .subtitle {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: .2em;
  color: var(--ink-soft);
  margin: 0;
}
.page-intro { background: var(--beige); padding-bottom: 24px; }
.page-intro .text-block { max-width: 78ch; }

/* Private 1:1 kartlari */

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.service-card .service-media { aspect-ratio: 4 / 3; background: var(--beige-dark); }
.service-card .service-media img { width: 100%; height: 100%; object-fit: cover; }
.service-card .service-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
.service-card h3 { margin: 0; }
.service-card p { color: var(--ink-soft); font-size: .97rem; }
.service-card .btn { align-self: flex-start; margin-top: auto; }

/* Group classes programi */

.schedule {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 36px;
}
.schedule h3 { text-align: center; margin-bottom: 22px; }
.schedule-day { margin-bottom: 22px; }
.schedule-day:last-child { margin-bottom: 0; }
.schedule-day h4 {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: .18em;
  margin: 0 0 8px;
}
.schedule-day ul { list-style: none; margin: 0; padding: 0; }
.schedule-day li {
  display: flex;
  gap: 14px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  font-size: .96rem;
  color: var(--ink-soft);
}
.schedule-day li:last-child { border-bottom: 0; }
.schedule-time { min-width: 62px; color: var(--ink); }

/* Corporate */

.panel {
  background: var(--beige-dark);
  border-radius: var(--radius);
  padding: 56px;
}
.panel .btn { margin-top: 26px; }

/* About sayfasi */

.about-hero {
  position: relative;
  min-height: clamp(560px, 86vh, 900px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--beige-dark) center/cover no-repeat;
  text-align: center;
}
@media (max-width: 720px) {
  .about-hero { min-height: clamp(460px, 70vh, 620px); }
}
.about-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(43, 41, 38, .28);
}
.about-hero h1 {
  position: relative;
  z-index: 1;
  color: var(--white);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  letter-spacing: .1em;
}

/* Blog */

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.blog-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); text-decoration: none; }
.blog-card .blog-media { aspect-ratio: 3 / 2; background: var(--beige-dark); }
.blog-card .blog-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card .blog-body { padding: 22px 24px 26px; }
.blog-date { font-size: .85rem; color: var(--ink-soft); }
.blog-body h3 { margin: 6px 0 8px; }
.article { max-width: 72ch; margin: 0 auto; }
.article img { margin: 26px 0; border-radius: 6px; }

.legal { max-width: 76ch; margin: 0 auto; }

.empty-note { color: var(--ink-soft); font-style: italic; }

/* ---------------- Mobil ---------------- */

@media (max-width: 980px) {
  .section { padding: 68px 0; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .cards, .service-cards, .blog-grid { grid-template-columns: 1fr; gap: 28px; }
  .panel { padding: 34px; }

  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 24px var(--gutter) 30px;
    background: var(--beige);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 16px; }
  .site-header { position: relative; }
}

@media (max-width: 560px) {
  :root { --gutter: 20px; }
  .btn { padding: 12px 30px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}


/* ---------------- Bulten penceresi ---------------- */

.nl-popup {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .3s ease;
}
.nl-popup.is-open { opacity: 1; }
.nl-popup[hidden] { display: none; }

.nl-backdrop { position: absolute; inset: 0; background: rgba(43, 41, 38, .55); }

body.nl-locked { overflow: hidden; }

.nl-dialog {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--beige);
  border-radius: var(--radius);
  padding: 44px 40px 38px;
  text-align: center;
  box-shadow: 0 30px 70px -30px rgba(43, 41, 38, .7);
  transform: translateY(14px);
  transition: transform .3s ease;
}
.nl-popup.is-open .nl-dialog { transform: none; }

.nl-close {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-soft);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}
.nl-close:hover { color: var(--ink); }

.nl-title { margin: 0 0 12px; font-size: clamp(1.6rem, 4vw, 2.1rem); }
.nl-text { color: var(--ink-soft); font-size: .95rem; margin-bottom: 24px; }

.nl-row { margin-bottom: 14px; }
.nl-row input {
  width: 100%;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 16px;
}
.nl-row input::placeholder { color: #A8A29A; }

.nl-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  font-size: .85rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 4px 0 22px;
  cursor: pointer;
}
.nl-consent input { flex: none; width: 17px; height: 17px; margin-top: 2px; accent-color: var(--ink); }

.nl-submit { width: 100%; }
.nl-submit[disabled] { opacity: .55; cursor: default; }

.nl-message { margin: 14px 0 0; font-size: .9rem; min-height: 1.2em; }
.nl-message.is-ok { color: #3B5236; }
.nl-message.is-error { color: #8A3626; }

@media (max-width: 560px) {
  .nl-dialog { padding: 38px 24px 30px; }
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------------- Blog yazisi ic tipografi ---------------- */

.article h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 1.6em 0 .5em; }
.article h3 { font-size: clamp(1.25rem, 1.9vw, 1.5rem); margin: 1.5em 0 .4em; }
.article h4 { font-family: var(--body); font-size: 1.05rem; font-weight: 500; margin: 1.4em 0 .4em; }
.article h2:first-child, .article h3:first-child { margin-top: 0; }

.article strong, .article b { font-weight: 700; color: var(--ink); }
.article em, .article i { font-style: italic; }
.article u { text-decoration: underline; text-underline-offset: 3px; }

.article ul, .article ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.article li { margin-bottom: .5em; }
.article li:last-child { margin-bottom: 0; }

.article blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 22px;
  border-left: 2px solid var(--line);
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--ink);
}
.article blockquote p:last-child { margin-bottom: 0; }

.article a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.article a:hover { color: var(--ink-soft); }

.article hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
