/* Ana sayfa (index.php) modern görünüm katmanı: theme.min.css'in üstüne biner, form/JS id ve sınıflarına dokunmaz. */
:root {
  --tt-primary: #766df4;
  --tt-primary-2: #4fa3f7;
  --tt-ink: #1e2a3b;
  --tt-muted: #6c7a8c;
  --tt-line: #e8eaf3;
  --tt-soft: #f4f3ff;
  --tt-radius: 20px;
  --tt-ease: cubic-bezier(.2, .7, .2, 1);
}

body { -webkit-font-smoothing: antialiased; color: var(--tt-ink); }
h1, h2, .h1, .h2 { letter-spacing: -.02em; font-weight: 800; }
h3, h4, .h5, .h6 { letter-spacing: -.01em; }
a, .btn { transition: all .2s var(--tt-ease); }
:focus-visible { outline: 3px solid rgba(118, 109, 244, .45); outline-offset: 2px; }

/* Header: buzlu cam, kaydırınca gölge */
.cs-header.navbar-sticky { position: sticky; top: 0; z-index: 1030; }
/* eski slider ve market butonları dar ekranda birkaç piksel taşıyor; clip sticky header'ı bozmaz */
.cs-page-wrapper { overflow-x: clip; }
.tt-account-link { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 .6rem; margin: 0 .5rem; border-radius: 10px; color: var(--tt-ink); font-weight: 600; font-size: .9rem; }
.tt-account-link:hover { background: var(--tt-soft); color: var(--tt-primary); text-decoration: none; }
.tt-account-link i { font-size: 1.1rem; }
@media (min-width: 992px) { .cs-header .navbar-nav .nav-link { font-size: .95rem; padding-left: .8rem; padding-right: .8rem; } .cs-header .navbar-nav .nav-item.active .nav-link { color: var(--tt-primary); } }
.cs-header.navbar-sticky { background: rgba(255, 255, 255, .82) !important; -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); transition: box-shadow .25s ease; }
.cs-header.tt-scrolled { box-shadow: 0 6px 24px -12px rgba(30, 42, 59, .25); }
/* backdrop-filter sabit konumlu mobil menüyü header içine hapsediyor: mobilde düz beyaz */
@media (max-width: 991.98px) { .cs-header.navbar-sticky { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff !important; } }
.cs-header .navbar-nav .nav-link { font-weight: 600; position: relative; }
@media (min-width: 992px) {
  .cs-header .navbar-nav .nav-link::after { content: ''; position: absolute; left: 1rem; right: 1rem; bottom: .35rem; height: 2px; border-radius: 2px; background: var(--tt-primary); transform: scaleX(0); transition: transform .25s var(--tt-ease); }
  .cs-header .navbar-nav .nav-link:hover::after { transform: scaleX(1); }
}

/* Blog ve landing header'ındaki dil butonu (inc/public-layout.php) */
.tt-lang-switch { align-items: center; font-weight: 700; font-size: .85rem; color: var(--tt-muted); padding: .35rem .7rem; border-radius: 8px; }
.tt-lang-switch:hover { background: var(--tt-soft); color: var(--tt-ink); text-decoration: none; }

/* Butonlar */
.btn { border-radius: 12px; font-weight: 600; }
.btn-primary { background-image: linear-gradient(135deg, var(--tt-primary), #8f87ff); border: 0; box-shadow: 0 10px 24px -12px rgba(118, 109, 244, .8); }
.btn-primary:hover, .btn-primary:focus { transform: translateY(-1px); box-shadow: 0 16px 30px -12px rgba(118, 109, 244, .9); }
.btn-primary:active { transform: translateY(0); }

/* Hero */
.tt-hero { position: relative; }
.tt-hero::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(100deg, rgba(14, 16, 40, .25) 0%, rgba(14, 16, 40, .35) 45%, rgba(14, 16, 40, .7) 100%); }
.tt-hero > .container { position: relative; z-index: 2; }
@media (min-width: 768px) { .tt-hero { padding-top: 4.5rem !important; padding-bottom: 4.5rem !important; } }
.tt-search-card { border-radius: 24px !important; background: #fff !important; box-shadow: 0 30px 70px -25px rgba(10, 12, 40, .55) !important; border: 1px solid rgba(255, 255, 255, .6); }
.tt-search-card h1 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); }

/* Yolculuk tipi sekmeleri: segment kontrol */
.tt-search-card .tour-nav { background: var(--tt-soft); border-radius: 14px; padding: 4px; border: 0; flex-wrap: nowrap; gap: 4px; }
.tt-search-card .tour-nav .nav-item { margin: 0; }
.tt-search-card .tour-nav .nav-link { border: 0 !important; border-radius: 10px !important; margin: 0 !important; padding: .55rem .25rem; font-weight: 600; font-size: .9rem; color: var(--tt-muted); background: transparent; white-space: nowrap; }
.tt-search-card .tour-nav .nav-link:hover { color: var(--tt-ink); }
.tt-search-card .tour-nav .nav-link.active { background: #fff !important; color: var(--tt-primary) !important; box-shadow: 0 4px 12px -4px rgba(30, 42, 59, .2); }
@media (max-width: 575.98px) { .tt-search-card .tour-nav { flex-wrap: wrap; } .tt-search-card .tour-nav .nav-item { flex: 1 1 45%; } .tt-search-card .tour-nav .nav-link { font-size: .82rem; white-space: normal; } }

/* Form alanları */
.tt-search-card label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--tt-muted); }
.tt-search-card .form-control, .tt-search-card .custom-select { border-radius: 12px; border-color: var(--tt-line); min-height: 46px; }
.tt-search-card .form-control:focus, .tt-search-card .custom-select:focus { border-color: var(--tt-primary); box-shadow: 0 0 0 4px rgba(118, 109, 244, .15); }
.tt-search-card .btn-primary { min-height: 48px; font-size: 1rem; }

/* Hero sağ taraf: başlık ve güven rozetleri */
.tt-hero-copy { color: #fff; }
.tt-hero-copy .tt-chip { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .85rem; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: .8rem; font-weight: 700; letter-spacing: .02em; }
.tt-hero-copy h2 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.9rem); line-height: 1.12; margin: 1rem 0 .9rem; text-shadow: 0 2px 20px rgba(0, 0, 0, .25); }
.tt-hero-copy p { color: rgba(255, 255, 255, .88); font-size: 1.05rem; max-width: 440px; }
.tt-trust { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; max-width: 470px; }
.tt-trust li { display: flex; align-items: center; gap: .6rem; padding: .7rem .85rem; border-radius: 14px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: .88rem; font-weight: 600; color: #fff; }
.tt-trust i { flex: 0 0 30px; height: 30px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--tt-primary); font-size: .85rem; }
@media (max-width: 991.98px) {
  .tt-hero-copy { margin-top: 1.5rem; text-align: center; }
  .tt-hero-copy h2, .tt-hero-copy p, .tt-hero-copy .tt-chip { display: none; }
  .tt-trust { margin: 0 auto; max-width: none; }
}
@media (max-width: 399.98px) { .tt-trust { grid-template-columns: 1fr; } }

/* Bölüm başlıklarının altında vurgu çizgisi */
section h2.text-center::after { content: ''; display: block; width: 48px; height: 4px; border-radius: 4px; margin: .9rem auto 0; background: linear-gradient(90deg, var(--tt-primary), var(--tt-primary-2)); }
section h2.text-light.text-center::after { background: rgba(255, 255, 255, .7); }

/* Üst slider */
.services-top-slider-element img { border-radius: 0; }

/* Hizmet kartları */
.tt-services .tns-slider { display: flex; }
.tt-services .tns-item { display: flex; }
.tt-services .tns-ovh { padding: 8px 4px 28px; }
.tt-service-card { flex: 1; padding: 2rem 1.5rem; border-radius: var(--tt-radius); background: #fff; border: 1px solid var(--tt-line); transition: transform .3s var(--tt-ease), box-shadow .3s var(--tt-ease); }
.tt-service-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -24px rgba(30, 42, 59, .35); }
.tt-services .display-1 { display: inline-flex; align-items: center; justify-content: center; width: 84px; height: 84px; border-radius: 24px; background: var(--tt-soft); font-size: 2.3rem; margin-bottom: 1rem; }
.tt-services .h5 { font-weight: 700; }
.tt-services .text-muted { line-height: 1.65; font-size: .95rem; }

/* Neden TakeTaxi: ikonlar cam daire içinde */
#aboutus-section .why-icon i { display: inline-flex; align-items: center; justify-content: center; width: 96px; height: 96px; border-radius: 28px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); font-size: 2.6rem; transition: transform .3s var(--tt-ease), background .3s; }
#aboutus-section .col-lg-3:hover .why-icon i { transform: translateY(-4px) rotate(-3deg); background: rgba(255, 255, 255, .22); }
#aboutus-section .why-content p { opacity: .9; line-height: 1.65; }

/* SSS */
#faq-accordion .card { border-radius: 16px !important; border: 1px solid var(--tt-line) !important; box-shadow: none !important; margin-bottom: .75rem; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
#faq-accordion .card:hover { border-color: #d6d3ff !important; }
#faq-accordion .card:has(.collapse.show) { border-color: var(--tt-primary) !important; box-shadow: 0 16px 36px -24px rgba(118, 109, 244, .6) !important; }
#faq-accordion .card-body { color: var(--tt-muted); line-height: 1.7; }

/* Özellik listeleri (ikon + metin) */
section .media > i.fal { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 16px; background: var(--tt-soft); color: var(--tt-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 1.35rem; }
section .media .media-body h3 { font-weight: 700; }

/* Şehir ve partner kartları */
.cs-carousel .card.card-hover { border-radius: var(--tt-radius); overflow: hidden; border: 1px solid var(--tt-line) !important; box-shadow: none !important; transition: transform .3s var(--tt-ease), box-shadow .3s var(--tt-ease); }
.cs-carousel .card.card-hover:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -24px rgba(30, 42, 59, .35) !important; }
.cs-carousel .card-img-top img { transition: transform .5s var(--tt-ease); }
.cs-carousel .card.card-hover:hover .card-img-top img { transform: scale(1.05); }
.cs-carousel-progress .progress { height: 4px; border-radius: 4px; }
.tt-city-cta { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 700; color: var(--tt-primary); margin-top: -.6rem; }
.cs-carousel .card.card-hover:hover .tt-city-cta i { transform: translateX(3px); }
.tt-city-cta i { transition: transform .2s; }

/* Bülten */
#newsletter-form .form-control { border-radius: 14px 0 0 14px; min-height: 52px; border: 0; padding-left: 1.1rem; }
#newsletter-form .btn { border-radius: 0 14px 14px 0; min-width: 60px; }

/* Footer */
.tt-footer { position: relative; flex-shrink: 0; background: radial-gradient(1200px 400px at 85% -10%, rgba(118, 109, 244, .28), transparent 60%), linear-gradient(180deg, #171a33 0%, #10122a 100%); color: rgba(255, 255, 255, .68); padding: 0; font-size: .95rem; overflow: hidden; }
.tt-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .25), transparent); }
.tt-footer-main { padding: 72px 0 56px; }
.tt-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.tt-footer a:hover { color: #fff; text-decoration: none; }
.tt-footer-brand { display: inline-flex; align-items: center; gap: .75rem; font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; color: #fff !important; }
.tt-footer-brand img { border-radius: 12px; box-shadow: 0 8px 24px -8px rgba(255, 196, 0, .45); }
.tt-footer-lead { margin: 1.1rem 0 1.5rem; max-width: 340px; line-height: 1.7; }
.tt-footer-social { display: flex; gap: .6rem; margin-bottom: 1.5rem; }
.tt-footer-social a { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); font-size: 1rem; transition: all .2s var(--tt-ease); }
.tt-footer-social a:hover { background: var(--tt-primary); border-color: var(--tt-primary); transform: translateY(-2px); }
.tt-footer-apps { display: flex; flex-wrap: wrap; gap: .6rem; }
.tt-footer-apps a { display: inline-flex; align-items: center; gap: .6rem; padding: .5rem .9rem; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: #fff !important; font-weight: 700; font-size: .9rem; line-height: 1.1; transition: all .2s var(--tt-ease); }
.tt-footer-apps a:hover { background: rgba(255, 255, 255, .14); transform: translateY(-2px); }
.tt-footer-apps i { font-size: 1.35rem; }
.tt-footer-apps small { display: block; font-size: .65rem; font-weight: 500; opacity: .7; }
.tt-footer-title { color: #fff; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1.25rem; }
.tt-footer-links, .tt-footer-contact { list-style: none; padding: 0; margin: 0; }
.tt-footer-links li { margin-bottom: .7rem; }
.tt-footer-links a { position: relative; transition: color .2s, padding .2s; }
.tt-footer-links a:hover { padding-left: 6px; }
.tt-footer-cities li { display: flex; align-items: center; gap: .5rem; }
.tt-footer-soon { font-size: .85rem; color: rgba(255, 255, 255, .45); display: block !important; }
.tt-footer-soon span { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; margin-left: .3rem; }
.tt-footer-badge { font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: .15rem .5rem; border-radius: 999px; background: rgba(66, 214, 151, .15); color: #42d697; }
.tt-footer-contact li { display: flex; gap: .8rem; margin-bottom: 1rem; line-height: 1.55; }
.tt-footer-contact i { flex: 0 0 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(118, 109, 244, .18); color: #b3adff; font-size: .85rem; }
.tt-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; font-size: .85rem; }
.tt-footer-bottom .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.tt-footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.tt-footer-lang { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .75rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); }
@media (max-width: 767.98px) {
  .tt-footer-main { padding: 56px 0 32px; }
  .tt-footer-bottom .container { flex-direction: column-reverse; text-align: center; }
  .tt-footer-legal { justify-content: center; }
  /* sabit AI butonu ve çerez bandı alt satırı kapatmasın */
  .tt-footer-bottom { padding-bottom: 96px; }
}

/* Kaydırınca beliren bölümler (yalnızca JS çalışırsa sınıf eklenir) */
.tt-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--tt-ease), transform .7s var(--tt-ease); }
.tt-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .tt-reveal { opacity: 1; transform: none; }
}
