/* ======================================================
   TTM — HOME (index only) CSS
   Bu dosya SADECE /tr/index.php için.
   Global olanlar app.css’de olmalı.
====================================================== */

/* =========================
   HERO FLOW (Mini “Nasıl Çalışır?”)
========================= */
.hero-flow{
  background: linear-gradient(180deg, rgba(15,23,42,.78) 0%, rgba(15,23,42,.55) 100%);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 24px 70px rgba(2,6,23,.35);
}

.ttm-steps{ position: relative; }

.ttm-steps__wrap{
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(180deg, rgba(15,23,42,.82) 0%, rgba(2,6,23,.62) 100%);
  box-shadow: 0 26px 70px rgba(2,6,23,.45);
  overflow: hidden;
}

.ttm-steps__grid{
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 640px){
  .ttm-steps__grid{ grid-template-columns: repeat(3, 1fr); }
}

/* card */
.ttm-stepcard{
  transition: transform .18s ease, background-color .18s ease;
  position: relative;
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
@media (min-width: 640px){
  .ttm-stepcard{
    border-bottom: 0;
    border-right: 1px solid rgba(255,255,255,.10);
  }
  .ttm-stepcard:last-child{ border-right: 0; }
}
.ttm-stepcard:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.03);
}

/* soft glow */
.ttm-stepcard::before{
  content:"";
  position:absolute;
  inset:-60px -80px -80px -80px;
  background: radial-gradient(circle at 18% 18%,
    rgba(var(--a), .18) 0%,
    rgba(var(--a), .10) 30%,
    rgba(255,255,255,0) 62%
  );
  pointer-events:none;
  opacity:.9;
}

/* top row */
.ttm-stepcard__top{
  position: relative;
  z-index: 1;
  display:flex;
  gap: 12px;
  align-items:flex-start;
}

/* icon */
.ttm-stepcard__ic{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  color: #fff;
  background: rgba(var(--a), .16);
  border: 1px solid rgba(var(--a), .28);
  box-shadow: 0 14px 30px rgba(0,0,0,.22);
}
.ttm-stepcard__ic svg{ width: 22px; height: 22px; }

/* header line */
.ttm-stepcard__kicker{
  display:flex;
  flex-wrap: wrap;
  align-items:center;
  gap: 8px;
}
.ttm-stepcard__num{
  font-size: 11px;
  font-weight: 900;
  color: rgba(255,255,255,.92);
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
}
.ttm-stepcard__pill{
  font-size: 11px;
  font-weight: 800;
  color: rgba(255,255,255,.92);
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(var(--a), .14);
  border: 1px solid rgba(var(--a), .26);
}

/* text */
.ttm-stepcard__title{
  margin-top: 8px;
  font-size: 16px;
  font-weight: 900;
  color: rgba(255,255,255,.96);
  line-height: 1.15;
}
.ttm-stepcard__desc{
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255,255,255,.78);
  max-width: 34ch;
}

/* bottom actions */
.ttm-stepcard__bottom{
  position: relative;
  z-index: 1;
  margin-top: 12px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
}
.ttm-stepcard__link{
  font-size: 12px;
  font-weight: 800;
  color: rgba(255,255,255,.92);
  padding: 8px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
}
.ttm-stepcard__link:hover{ background: rgba(255,255,255,.12); }

.ttm-stepcard__btn{
  font-size: 12px;
  font-weight: 900;
  color: #0f172a;
  padding: 9px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.25);
}
.ttm-stepcard__btn:hover{ background: #fff; }

.ttm-stepcard__btn--ghost{
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
}

/* desktop connector */
.ttm-stepcard__connector{ display:none; }
@media (min-width: 640px){
  .ttm-stepcard__connector{
    display:block;
    position:absolute;
    top: 50%;
    right: -18px;
    transform: translateY(-50%);
    width: 36px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255,255,255,.14), rgba(255,255,255,.30), rgba(255,255,255,.14));
    opacity: .9;
  }
  .ttm-stepcard:last-child .ttm-stepcard__connector{ display:none; }

  .ttm-stepcard__connector::after{
    content:"";
    position:absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 9999px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 10px 25px rgba(0,0,0,.25);
    animation: ttmFlowDot 2.6s ease-in-out infinite;
  }
  @keyframes ttmFlowDot{
    0%   { left: -10px; opacity: 0; }
    10%  { opacity: 1; }
    50%  { left: calc(50% - 5px); opacity: 1; }
    90%  { opacity: 1; }
    100% { left: calc(100% + 10px); opacity: 0; }
  }
  .ttm-stepcard__connector--delay::after{ animation-delay: .35s; }
}

/* =========================
   Toast (index only)
========================= */
.v-toast{
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 9999;
  width: min(680px, calc(100vw - 24px));
  border-radius: 18px;
  border: 1px solid rgba(16,185,129,.35);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 60px rgba(2,6,23,.22);
  padding: 14px 14px;
}
.v-toast__row{ display:flex; gap: 12px; align-items:flex-start; }
.v-toast__icon{
  flex: 0 0 auto;
  width: 36px; height: 36px;
  border-radius: 9999px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(16,185,129,.15);
  border: 1px solid rgba(16,185,129,.25);
}
.v-toast__title{
  font-weight: 800;
  color: #064e3b;
  font-size: 14px;
  line-height: 1.2;
}
.v-toast__text{
  margin-top: 2px;
  color: #065f46;
  font-size: 13px;
  line-height: 1.35;
}
.v-toast__actions{
  margin-top: 10px;
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
}
.v-toast__btn{
  border-radius: 14px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(15,23,42,.14);
  background: #fff;
}
.v-toast__btn--primary{
  border-color: rgba(15,23,42,.15);
  background: #0f172a;
  color: #fff;
}
@keyframes vPop{
  0% { opacity: 0; transform: translateX(-50%) translateY(14px) scale(.98); }
  100% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}
.v-toast{ animation: vPop .18s ease-out both; }

/* =========================
   Instagram embed (index only)
========================= */
.ig-card{
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  background:#fff;
  overflow:hidden;
}
.ig-card.ig-sm{
  transform: scale(.86);
  transform-origin: top left;
  width: 116%;
}
.ig-card .instagram-media{
  height: 640px !important;
  overflow: hidden !important;
  margin: 0 !important;
  width: 100% !important;
}
.ig-card iframe{
  height: 640px !important;
  width: 100% !important;
}
@media (max-width: 1024px){
  .ig-card.ig-sm{ transform: scale(.92); width: 109%; }
  .ig-card .instagram-media{ height: 680px !important; }
  .ig-card iframe{ height: 680px !important; }
}
@media (max-width: 640px){
  .ig-card.ig-sm{ transform: none !important; width: 100% !important; }
  .ig-card .instagram-media{
    height: auto !important;
    overflow: visible !important;
    min-height: 520px !important;
  }
  .ig-card iframe{
    height: auto !important;
    width: 100% !important;
    min-height: 520px !important;
  }
  .ig-card{ min-height: 520px; }
}

/* mobile thumb cards */
.ig-mcard{
  border:1px solid #e5e7eb;
  border-radius: 16px;
  overflow:hidden;
  background:#fff;
}
.ig-mimg{
  width:100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display:block;
}
.ig-mcap{
  padding:10px 12px;
  font-size:12px;
  color:#334155;
  font-weight:600;
  line-height:1.2;
}

/* =========================
   Stats strip (index only)
========================= */
#statsStrip.reveal.is-visible .stat-item{
  opacity: 1;
  transform: translateX(0);
}

#statsStrip.reveal.is-visible .stat-item:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(2,6,23,.08);
  background: rgba(255,255,255,.72);
}

#statsStrip.is-visible .stat-item{
  opacity: 1;
  transform: translateX(0);
}
#statsStrip.is-visible .stat-item:nth-child(1){ transition-delay: .05s; }
#statsStrip.is-visible .stat-item:nth-child(2){ transition-delay: .15s; }
#statsStrip.is-visible .stat-item:nth-child(3){ transition-delay: .25s; }

#statsStrip .rounded-3xl{ position: relative; }
#statsStrip .rounded-3xl::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:4px;
  background: linear-gradient(90deg,
    rgba(99,102,241,.95),
    rgba(59,130,246,.95),
    rgba(16,185,129,.95)
  );
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}
#statsStrip .stat-item::before{
  content:"";
  position:absolute;
  inset:-40px -70px -70px -70px;
  background: radial-gradient(circle at 18% 30%,
    rgba(var(--a), .16) 0%,
    rgba(var(--a), .10) 28%,
    rgba(255,255,255,0) 62%
  );
  pointer-events:none;
}
#statsStrip.is-visible .stat-item:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(2,6,23,.08);
  background: rgba(255,255,255,.72);
}
#statsStrip .stat-icon{
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex: 0 0 auto;
  background: rgba(var(--a), .10);
  border: 1px solid rgba(var(--a), .22);
  color: rgb(var(--a));
  box-shadow: 0 10px 28px rgba(2,6,23,.08);
}
#statsStrip .stat-icon svg{ width: 22px; height: 22px; }

#statsStrip .stat-value{ display:flex; align-items:baseline; gap: 8px; }
#statsStrip .stat-num{
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #0f172a;
  -webkit-text-fill-color: #0f172a;
  position: relative;
  padding-right: 26px;
  text-shadow: 0 10px 22px rgba(var(--a), .10);
}
#statsStrip .stat-num::after{
  content:"+";
  position:absolute;
  right: 0;
  bottom: 2px;
  font-size: 12px;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 9999px;
  background: rgba(var(--a), .14);
  border: 1px solid rgba(var(--a), .24);
  color: rgb(var(--a));
}
@media (max-width: 640px){
  #statsStrip .stat-icon{ width: 42px; height: 42px; border-radius: 15px; }
  #statsStrip .stat-num{ font-size: 30px; }
}

/* (index page image modal description) */
#imgModalDesc{
  max-width: 60ch;
  line-height: 1.35;
}

/* =========================
   Participants preview hover (index only)
========================= */
.pp-card{
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}
.pp-overlay{
  position: absolute;
  inset: 0;
  display:flex;
  align-items:center;
  justify-content:stretch;
  padding: 12px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events:none;
}
.pp-card:hover .pp-overlay{
  opacity: 1;
  transform: translateY(0);
}
.pp-overlay::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg,
    rgba(2,6,23,.58) 0%,
    rgba(2,6,23,.70) 55%,
    rgba(2,6,23,.82) 100%);
  backdrop-filter: blur(2px);
}
.pp-meta{ position: relative; z-index: 1; width: 100%; }
.pp-name{
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .01em;
  max-width: 22ch;
  margin: 0 auto;
  color: rgba(255,255,255,.96);
}
.pp-pill{
  display:inline-flex;
  align-items:center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  color: rgba(255,255,255,.92);
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  white-space: nowrap;
}
.pp-pill[data-t="agency"]{ background: rgba(59,130,246,.18); border-color: rgba(59,130,246,.35); }
.pp-pill[data-t="hotel"]{ background: rgba(168,85,247,.18); border-color: rgba(168,85,247,.35); }
.pp-pill[data-t="transport"]{ background: rgba(16,185,129,.18); border-color: rgba(16,185,129,.35); }
.pp-pill[data-t="boat"]{ background: rgba(99,102,241,.18); border-color: rgba(99,102,241,.35); }
.pp-pill[data-t="activity"]{ background: rgba(245,158,11,.18); border-color: rgba(245,158,11,.35); }
.pp-pill[data-t="event_supplier"]{ background: rgba(244,63,94,.18); border-color: rgba(244,63,94,.35); }
.pp-pill[data-t="foreign_agency"]{ background: rgba(148,163,184,.18); border-color: rgba(148,163,184,.35); }

.pp-card img{ transition: transform .22s ease, filter .22s ease; }
.pp-card:hover img{ transform: scale(1.03); filter: saturate(1.05); }
@media (hover:none){ .pp-overlay{ display:none; } }

.pp-topline{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap: 6px;
  text-align:center;
}
.pp-badges{
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:center;
  gap: 6px;
  flex-wrap: nowrap;
}
.pp-city, .pp-pill{
  font-size: 10.5px;
  padding: 3px 9px;
}
.pp-city{
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  font-size: 11px;
  font-weight: 900;
  color: rgba(255,255,255,.92);
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
}
.pp-pill{ line-height: 1; }
.pp-city{ line-height: 1; }

/* =========================
   Audience photo hover (index only)
========================= */
.aud-card{ position: relative; overflow: hidden; }
.aud-card img{ transition: transform .22s ease, filter .22s ease; }
.aud-card:hover img{ transform: scale(1.03); filter: saturate(1.05); }

.aud-overlay{
  position:absolute;
  inset:0;
  opacity:0;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events:none;
  display:flex;
  align-items:flex-end;
  padding: 14px;
}
.aud-card:hover .aud-overlay{ opacity:1; transform: translateY(0); }

.aud-overlay::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg,
    rgba(2,6,23,.05) 0%,
    rgba(2,6,23,.55) 55%,
    rgba(2,6,23,.82) 100%);
  backdrop-filter: blur(2px);
}
.aud-meta{ position:relative; z-index:1; width:100%; }

.aud-kicker{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.aud-title{
  font-size: 13px;
  font-weight: 900;
  color: rgba(255,255,255,.96);
  line-height: 1.15;
}
.aud-pill{
  font-size: 11px;
  font-weight: 900;
  color: rgba(255,255,255,.92);
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  white-space: nowrap;
}
.aud-desc{
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(255,255,255,.80);
  max-width: 44ch;
}
@media (hover:none){ .aud-overlay{ display:none; } }

/* HOW bölümünde hizalama düzeltmeleri */
#how .how-steps > div{
  /* Step kartlarının yüksekliği eşitlensin */
  min-height: 92px;               /* gerekirse 96-104 yaparsın */
  display: flex;
  align-items: flex-start;
}

/* Step içindeki numara sütunu sabit dursun */
#how .how-steps > div > span{
  flex: 0 0 auto;
}

/* Chip satırı: aynı hizada ve daha düzenli */
#how .how-chips{
  min-height: 44px;               /* wrap olsa bile alanı sabitler */
  align-content: flex-start;
}

/* Chip'leri daha kompakt ve aynı boyda */
#how .how-chips > span{
  line-height: 1;
  padding: 8px 12px;
  border-radius: 999px;
  white-space: nowrap;            /* tek satırda kalsın */
}

/* Eğer mobilde taşma olursa sadece mobilde nowrap kapat */
@media (max-width: 420px){
  #how .how-chips > span{ white-space: normal; }
}


/* HOW step hover overlay (JS'siz) */
#how .how-step{
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

#how .how-step:hover{
  transform: translateY(-1px);
  border-color: rgba(15,23,42,.16);
  box-shadow: 0 18px 45px rgba(2,6,23,.12);
}

/* açıklamayı normalde gösterme: hover'da overlay göstereceğiz */
#how .how-step .how-desc{
  position: relative;
  z-index: 1;
}

/* overlay katmanı */
#how .how-step::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,23,42,.92), rgba(15,23,42,.78));
  opacity: 0;
  transform: translateY(-18px);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
}

/* overlay yazı: açıklamayı overlay gibi göster */
#how .how-step:hover::after{
  opacity: 1;
  transform: translateY(0);
}

/* açıklama yazısını overlay moduna geçir */
#how .how-step .how-desc{
  transition: color .18s ease, transform .18s ease, opacity .18s ease;
}

#how .how-step:hover .how-desc{
  position: absolute;
  left: 64px;           /* numara alanını geç */
  right: 16px;
  bottom: 14px;
  color: rgba(255,255,255,.92) !important;
  transform: translateY(0);
  opacity: 1;
  z-index: 3;
}

/* hover sırasında başlığı biraz öne çıkaralım */
#how .how-step:hover .text-slate-900{
  color: #fff !important;
  position: relative;
  z-index: 3;
}

/* numara da öne gelsin */
#how .how-step:hover > span{
  background: rgba(16,185,129,.95) !important;
  color: #0f172a !important;
  position: relative;
  z-index: 3;
}

/* mobilde hover yok: overlay kapalı, normal kalsın */
@media (hover: none){
  #how .how-step::after{ display:none; }
  #how .how-step:hover .how-desc{ position: static; color: inherit !important; }
  #how .how-step:hover .text-slate-900{ color: inherit !important; }
  #how .how-step:hover > span{ background: #0f172a !important; color:#fff !important; }
}


/* Countdown premium mikro etkileşim */
#how .cd-box, .cd-box { transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.cd-box:hover{
  transform: translateY(-1px);
  border-color: rgba(16,185,129,.25);
  box-shadow: 0 18px 45px rgba(2,6,23,.10);
}
.cd-num{
  letter-spacing: -0.02em;
}

/* Etkinlik Özeti - highlight kartları premium hover */
.sum-card{ transition: transform .16s ease, box-shadow .16s ease; }
.sum-card:hover{
  transform: translateY(-1px);
  box-shadow: 0 22px 60px rgba(2,6,23,.14);
}
.sum-card:hover .sum-icon{
  box-shadow: 0 18px 45px rgba(2,6,23,.22);
}

@media (min-width: 1024px){
  .hero-summary{ padding-bottom: 14px !important; } /* 18 -> 14 gibi düşürür */
}

