/* =====================================================
   TERAPİ İSTANBUL — site.css
   ===================================================== */

:root {
  --color-bg:      #F5F0EB;
  --color-navy:    #1C2B3A;
  --color-sage:    #4A6741;
  --color-terra:   #8B6F4E;
  --color-sand:    #C4A882;
  --color-white:   #FFFFFF;
  --color-text:    #3A3A3A;
  --color-muted:   #7A7A7A;
}

/* Typography */
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--color-text);
  background-color: var(--color-bg);
  font-size: 1rem;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, .ti-brand, .ti-display-heading, .ti-section-heading, .ti-page-heading {
  font-family: 'Playfair Display', serif;
  color: var(--color-navy);
}

/* Headings */
.ti-display-heading  { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; line-height: 1.15; }
.ti-section-heading  { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; }
.ti-page-heading     { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; }
.ti-cta-heading      { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 600; color: var(--color-white); font-family: 'Playfair Display', serif; }

/* Brand */
.ti-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--color-navy);
  text-decoration: none;
  letter-spacing: -0.02em;
}

/* ---- Navbar ---- */
.ti-navbar {
  background: rgba(245, 240, 235, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-sand);
  padding: 0.75rem 0;
}
.ti-navbar .nav-link {
  color: var(--color-navy);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.ti-navbar .nav-link:hover,
.ti-navbar .nav-link.active {
  color: var(--color-sand);
  border-bottom-color: var(--color-sand);
}

/* ---- Buttons ---- */
.ti-btn-navy {
  background-color: var(--color-navy);
  color: var(--color-white) !important;
  border: 2px solid var(--color-navy);
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.55rem 1.4rem;
  transition: background .2s, color .2s;
  text-decoration: none;
}
.ti-btn-navy:hover {
  background-color: var(--color-sage);
  border-color: var(--color-sage);
  color: var(--color-white) !important;
}
.ti-btn-outline {
  background: transparent;
  color: var(--color-navy) !important;
  border: 2px solid var(--color-navy);
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.55rem 1.4rem;
  transition: background .2s, color .2s;
  text-decoration: none;
}
.ti-btn-outline:hover {
  background-color: var(--color-navy);
  color: var(--color-white) !important;
}
.ti-btn-whatsapp {
  background-color: #25D366;
  color: var(--color-white) !important;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  padding: 0.7rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: opacity .2s;
}
.ti-btn-whatsapp:hover { opacity: .9; }

/* ---- Links ---- */
.ti-link-arrow { color: var(--color-sand); font-weight: 600; text-decoration: none; }
.ti-link-arrow:hover { color: var(--color-navy); }
.ti-footer-link { color: var(--color-text); text-decoration: none; transition: color .2s; }
.ti-footer-link:hover { color: var(--color-sand); }

/* ---- Badges ---- */
.ti-badge-category { background-color: var(--color-sand); color: var(--color-navy); font-weight: 500; }
.ti-badge-navy     { background-color: var(--color-navy); color: var(--color-white); }
.ti-badge-terra    { background-color: var(--color-terra); color: var(--color-white); }
.ti-badge-sage     { background-color: var(--color-sage); color: var(--color-white); }

/* ── HERO FULLSCREEN ───────────────────────────────────────── */
.ti-hero-fs {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.ti-hero-slides {
  position: absolute;
  inset: 0;
}
.ti-hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
  animation: tiKenBurns 22s ease-in-out infinite alternate;
}
.ti-hero-img.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .ti-hero-img { animation: none; transition: none; }
}
@keyframes tiKenBurns {
  from { transform: scale(1);    }
  to   { transform: scale(1.08); }
}
.ti-hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(28,43,58,.72) 0%,
    rgba(28,43,58,.40) 50%,
    rgba(28,43,58,.08) 100%
  );
}
.ti-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 9rem 0 7rem;
  text-shadow: 0 1px 12px rgba(28,43,58,.45);
}
.ti-hero-eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--color-sand);
  margin-bottom: 1.25rem;
  animation: tiFadeUp .8s .1s both;
}
.ti-hero-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.9rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: tiFadeUp .9s .25s both;
}
.ti-hero-lead {
  font-size: clamp(.95rem, 1.4vw, 1.1rem);
  color: rgba(255,255,255,.80);
  max-width: 500px;
  line-height: 1.8;
  animation: tiFadeUp .9s .4s both;
}
.ti-hbtn-primary {
  display: inline-block;
  padding: .85rem 1.9rem;
  background: var(--color-sand);
  color: var(--color-navy) !important;
  font-weight: 600;
  font-size: .875rem;
  letter-spacing: .04em;
  text-decoration: none;
  transition: background .25s, transform .2s;
  animation: tiFadeUp .9s .55s both;
}
.ti-hbtn-primary:hover { background: var(--color-terra); color: #fff !important; transform: translateY(-2px); }
.ti-hbtn-ghost {
  display: inline-block;
  padding: .85rem 1.9rem;
  border: 1.5px solid rgba(255,255,255,.55);
  color: rgba(255,255,255,.9) !important;
  font-weight: 500;
  font-size: .875rem;
  letter-spacing: .04em;
  text-decoration: none;
  transition: border-color .25s, background .25s, transform .2s;
  animation: tiFadeUp .9s .65s both;
}
.ti-hbtn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); transform: translateY(-2px); }
@keyframes tiFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0);    }
}
.ti-hero-divider {
  width: 48px;
  height: 2px;
  background: var(--color-sage);
  margin: 1.75rem 0;
  animation: tiFadeUp .8s .35s both;
}
.ti-scroll-cue {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  animation: tiFadeUp 1s 1s both;
  transition: color .2s;
}
.ti-scroll-cue:hover { color: rgba(255,255,255,.95); }
.ti-scroll-cue i {
  font-size: 1rem;
  animation: tiBounce 2s 2s ease-in-out infinite;
}
@keyframes tiBounce {
  0%,100% { transform: translateY(0);  }
  50%     { transform: translateY(7px); }
}

/* ── SCROLL ANIMATIONS ────────────────────────────────────── */
[data-anim] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .75s ease, transform .75s ease;
}
[data-anim].ti-in {
  opacity: 1;
  transform: none;
}
[data-anim][data-delay="1"] { transition-delay: .10s; }
[data-anim][data-delay="2"] { transition-delay: .20s; }
[data-anim][data-delay="3"] { transition-delay: .30s; }
[data-anim][data-delay="4"] { transition-delay: .40s; }
[data-anim][data-delay="5"] { transition-delay: .50s; }
[data-anim][data-delay="6"] { transition-delay: .60s; }

/* ---- Hero (legacy, keep for safety) ---- */
.ti-hero { background-color: var(--color-bg); min-height: 80vh; display: flex; align-items: center; }

/* ---- Cards ---- */
.ti-service-card {
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(28,43,58,.06);
  transition: box-shadow .25s, transform .25s;
}
.ti-service-card:hover { box-shadow: 0 6px 24px rgba(28,43,58,.12); transform: translateY(-2px); }
.ti-service-icon    { font-size: 1.75rem; color: var(--color-sand); line-height: 1; }
.ti-service-icon-lg { font-size: 2rem; color: var(--color-sand); line-height: 1; width: 48px; text-align: center; padding-top: 3px; }
.ti-service-icon-xl { font-size: 3.5rem; color: var(--color-sand); line-height: 1; }

.ti-expert-card {
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(28,43,58,.06);
  transition: box-shadow .25s;
}
.ti-expert-card:hover { box-shadow: 0 6px 24px rgba(28,43,58,.12); }
.ti-expert-avatar { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; border: 3px solid var(--color-sand); }
.ti-expert-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ti-expert-avatar-sm { width: 60px; height: 60px; border-radius: 50%; overflow: hidden; border: 2px solid var(--color-sand); }
.ti-expert-avatar-sm img { width: 100%; height: 100%; object-fit: cover; }
.ti-expert-portrait { border-radius: 16px; overflow: hidden; box-shadow: 0 8px 32px rgba(28,43,58,.12); }
.ti-expert-portrait img { width: 100%; object-fit: cover; }

/* ── Expert Photo Grid ─────────────────────────────────── */
.ti-experts-hero {
  background: var(--color-navy);
  padding: 5rem 0 3.5rem;
}
.ti-experts-hero-inner {
  text-align: center;
}
.ti-experts-hero .ti-page-heading {
  color: var(--color-white);
}
.ti-section-tag {
  display: block;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .75rem;
  font-weight: 600;
  color: var(--color-sand);
  margin-bottom: .6rem;
}
.ti-experts-hero-sub {
  color: rgba(255,255,255,.65);
  font-size: 1rem;
  max-width: 520px;
  margin: .75rem auto 0;
}
.ti-experts-divider {
  width: 40px;
  height: 2px;
  background: var(--color-sand);
  margin: 1.75rem auto 0;
}

.ti-experts-grid-section {
  background: var(--color-bg);
  padding: 0;
}
.ti-experts-row {
  border-left: 1px solid rgba(28,43,58,.06);
}

.ti-expert-grid-item {
  border-right: 1px solid rgba(28,43,58,.06);
  border-bottom: 1px solid rgba(28,43,58,.06);
}

.ti-expert-photo-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #C9BFAF;
  text-decoration: none;
}
.ti-expert-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .5s ease;
  display: block;
}
.ti-expert-grid-item:hover .ti-expert-photo-wrap img {
  transform: scale(1.04);
}
.ti-expert-hover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(28,43,58,.93) 0%,
    rgba(28,43,58,.55) 55%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity .35s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 1.25rem 1.25rem;
}
.ti-expert-grid-item:hover .ti-expert-hover-overlay {
  opacity: 1;
}
.ti-expert-hover-bio {
  color: rgba(255,255,255,.82);
  font-size: .78rem;
  line-height: 1.55;
  margin-bottom: .9rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ti-expert-hover-btn {
  display: inline-block;
  padding: .38rem 1rem;
  border: 1px solid rgba(196,168,130,.65);
  color: var(--color-sand);
  font-size: .73rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
  align-self: flex-start;
}
.ti-expert-hover-btn:hover {
  background: var(--color-sand);
  color: var(--color-navy);
  border-color: var(--color-sand);
}

.ti-expert-info {
  padding: 1rem 1rem .85rem;
  background: var(--color-white);
}
.ti-expert-info-name {
  font-size: .95rem;
  font-weight: 600;
  color: var(--color-navy);
  margin: 0 0 .25rem;
  line-height: 1.3;
}
.ti-expert-info-title {
  font-size: .75rem;
  color: var(--color-sand);
  margin: 0;
  line-height: 1.4;
}

.ti-experts-cta {
  background: var(--color-navy);
  padding: 5rem 0;
}
.ti-experts-cta-inner {
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
}
.ti-experts-cta-inner h2 {
  font-family: 'Playfair Display', serif;
  color: var(--color-white);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: .75rem;
}
.ti-experts-cta-inner p {
  color: rgba(255,255,255,.65);
  margin-bottom: 1.75rem;
}
.ti-btn-sand {
  background: var(--color-sand);
  color: var(--color-navy);
  border: none;
  padding: .7rem 2rem;
  font-weight: 600;
  font-size: .875rem;
  letter-spacing: .04em;
  border-radius: 0;
  transition: background .25s, transform .2s;
}
.ti-btn-sand:hover {
  background: var(--color-terra);
  color: var(--color-white);
  transform: translateY(-1px);
}

.ti-session-card {
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(28,43,58,.06);
}
.ti-session-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-sand);
  line-height: 1;
}

/* ---- Blog ---- */
.ti-blog-card { background: var(--color-white); border-radius: 12px; box-shadow: 0 2px 12px rgba(28,43,58,.06); overflow: hidden; transition: box-shadow .25s; }
.ti-blog-card:hover { box-shadow: 0 6px 24px rgba(28,43,58,.12); }
.ti-blog-card-img { height: 200px; object-fit: cover; width: 100%; }
.ti-blog-card-img-placeholder { height: 200px; background: linear-gradient(135deg, var(--color-sand), var(--color-bg)); }
.ti-card-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; line-height: 1.4; }
.ti-blog-cover { max-height: 480px; object-fit: cover; width: 100%; }
.ti-prose { font-size: 1.0625rem; line-height: 1.8; }
.ti-prose h2, .ti-prose h3 { font-family: 'Playfair Display', serif; color: var(--color-navy); margin-top: 2rem; margin-bottom: 1rem; }
.ti-prose p { margin-bottom: 1.25rem; }
.ti-prose ul, .ti-prose ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }

/* ---- Video ---- */
.ti-video-card { background: var(--color-white); border-radius: 12px; padding: 1rem; box-shadow: 0 2px 12px rgba(28,43,58,.06); }
.ti-video-thumb { border-radius: 8px; overflow: hidden; }
.ti-video-thumb img { aspect-ratio: 16/9; object-fit: cover; }

/* ---- Channel Box ---- */
.ti-channel-box { background: var(--color-white); border-radius: 12px; border: 2px solid var(--color-sand); }

/* ---- Tabs ---- */
.ti-tabs { border-bottom: 2px solid var(--color-sand); }
.ti-tabs .nav-link { color: var(--color-muted); border: none; border-bottom: 2px solid transparent; background: none; font-weight: 500; padding: .5rem 1.25rem; margin-bottom: -2px; border-radius: 0; }
.ti-tabs .nav-link:hover { color: var(--color-navy); }
.ti-tabs .nav-link.active { color: var(--color-navy); border-bottom-color: var(--color-sage); font-weight: 600; }

/* ---- Contact ---- */
.ti-input { border: 1.5px solid var(--color-sand); border-radius: 8px; padding: .65rem .9rem; font-size: .9375rem; background: var(--color-white); }
.ti-input:focus { border-color: var(--color-sage); box-shadow: 0 0 0 3px rgba(74,103,65,.12); outline: none; }
.ti-contact-info { background: var(--color-white); border-radius: 12px; box-shadow: 0 2px 12px rgba(28,43,58,.06); }
.ti-map-container iframe { border-radius: 12px; }

/* ---- Info Box ---- */
.ti-info-box { background: var(--color-white); border-radius: 12px; border-left: 4px solid var(--color-sage); box-shadow: 0 2px 12px rgba(28,43,58,.06); }

/* ---- CTA Banner ---- */
.ti-cta-banner { background-color: var(--color-sand); }

/* ---- Footer ---- */
.ti-footer { background-color: var(--color-navy); color: var(--color-white); }
.ti-footer .text-muted { color: rgba(255,255,255,.6) !important; }
.ti-footer .ti-brand { color: var(--color-white); }
.ti-footer .ti-footer-link { color: rgba(255,255,255,.75); }
.ti-footer .ti-footer-link:hover { color: var(--color-sand); }
.ti-footer { margin-top: 3rem; padding: 3rem 0 1.25rem; }
.ti-footer-logo { height: 40px; width: auto; display: block; }
.ti-footer h6 { margin-bottom: .75rem !important; }
.ti-footer-hr { margin: 2rem 0 1rem; border-color: rgba(255,255,255,.15); opacity: 1; }
.ti-footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem;
  font-size: .8rem; color: rgba(255,255,255,.5);
}
@media (max-width: 575.98px) {
  .ti-footer { margin-top: 0; padding: 2rem 0 1rem; }
  .ti-footer .row { --bs-gutter-y: 1.25rem; }
  .ti-footer-logo { height: 32px; }
  .ti-footer ul li, .ti-footer address p { margin-bottom: .15rem !important; }
  .ti-footer-hr { margin: 1.25rem 0 .75rem; }
  .ti-footer-bottom { justify-content: center; text-align: center; font-size: .75rem; }
}
.ti-footer hr { border-color: rgba(255,255,255,.15) !important; }
.ti-social-icon { color: rgba(255,255,255,.7); transition: color .2s; }
.ti-social-icon:hover { color: var(--color-sand); }

/* ---- Pagination ---- */
.ti-page-link { color: var(--color-navy); border: 1.5px solid var(--color-sand); border-radius: 6px !important; }
.page-item.active .ti-page-link { background: var(--color-navy); color: var(--color-white); border-color: var(--color-navy); }

/* ---- Header logo & mobile menu ---- */
.ti-header-logo { height: 38px; width: auto; display: block; }
.ti-offcanvas { background: var(--color-bg); max-width: 320px; }
.ti-offcanvas .offcanvas-header { border-bottom: 1px solid rgba(196,168,130,.5); padding: 1rem 1.25rem; }
.ti-offcanvas .offcanvas-body { padding: .5rem 1.25rem 1.5rem; }
.ti-offcanvas-nav .nav-link {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--color-navy);
  padding: .85rem 0;
  border-bottom: 1px solid rgba(196,168,130,.35);
}
.ti-offcanvas-nav .nav-link.active,
.ti-offcanvas-nav .nav-link:hover { color: var(--color-terra); }
.ti-offcanvas-contact { display: flex; flex-direction: column; gap: .5rem; font-size: .875rem; color: var(--color-muted); }
.ti-offcanvas-contact a { color: var(--color-navy); text-decoration: none; font-weight: 500; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .ti-hero { min-height: auto; }
}

@media (max-width: 991.98px) {
  .ti-header-logo { height: 32px; }
  .ti-navbar { padding: .5rem 0; }
}

@media (max-width: 575.98px) {
  /* Hero: mobil tarayıcı çubuğuna uyumlu yükseklik, metin alta yakın ve okunur */
  .ti-hero-fs { min-height: calc(100svh - 58px); align-items: flex-end; }
  .ti-hero-veil {
    background: linear-gradient(
      to top,
      rgba(28,43,58,.85) 0%,
      rgba(28,43,58,.55) 45%,
      rgba(28,43,58,.15) 100%
    );
  }
  .ti-hero-content { padding: 6rem 0 5.5rem; }
  .ti-hero-eyebrow { margin-bottom: .9rem; }
  .ti-hero-h1 { font-size: 2.1rem; margin-bottom: 0; }
  .ti-hero-divider { margin: 1.25rem 0; }
  .ti-hero-lead { font-size: .95rem; line-height: 1.7; color: rgba(255,255,255,.88); }
  .ti-hero-content .d-flex.gap-3 { flex-direction: column; gap: .75rem !important; }
  .ti-hbtn-primary, .ti-hbtn-ghost { display: block; text-align: center; }
  .ti-scroll-cue { bottom: 1.25rem; }
  .ti-scroll-cue span { display: none; }

  /* Bölümler: daha sıkı dikey boşluk */
  main > section.py-5 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
  main > section.py-5 > .container.py-4 { padding-top: .5rem !important; padding-bottom: .5rem !important; }
  main .mb-5[data-anim] { margin-bottom: 1.75rem !important; }

  /* Hizmet kartları: ikon başlığın yanında, daha kompakt */
  .ti-service-card { padding: 1.25rem !important; display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; }
  .ti-service-card .ti-service-icon { grid-row: span 3; margin-bottom: 0 !important; font-size: 1.6rem; padding-top: .15rem; }
  .ti-service-card h5 { font-size: 1.1rem; }
  .ti-service-card p { margin-bottom: .5rem !important; }

  /* Uzman detay: portre ekranı kaplamasın */
  .ti-expert-portrait { max-width: 300px; margin: 0 auto; }
  .ti-expert-portrait img { aspect-ratio: 4 / 5; object-position: top center; }

  /* Kaydırma animasyonu: daha kısa mesafe, boş ekran görünmesin */
  [data-anim] { transform: translateY(16px); transition-duration: .5s; }

}
