/*
 * Site tema CSS'i (tema1/tema2 ortak çekirdek + tema2 araç ekranı)
 * Bootstrap 5 üzerine cila: navbar, footer, sayfa başlığı, iletişim, 404, form.
 */

:root {
    --primary: #0d6efd;
    --primary-hover: #0a58ca;
    --dark: #0f172a;
    --light: #f8f9fa;
    --text-main: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --surface-tint: #f8faff;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    height: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    /* Kısa sayfalarda footer altta kalsın; sayfa sonunda beyaz boşluk oluşmasın */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body > .footer {
    margin-top: auto;
}

/* ─── Navbar ─────────────────────────────────────────── */
.navbar {
    padding: 0.85rem 0;
    background-color: rgba(255, 255, 255, 0.88) !important;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 1px 12px rgba(15, 23, 42, 0.04);
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--primary) !important;
}

.nav-link {
    font-weight: 500;
    color: #44506a !important;
    padding: 0.5rem 1.1rem !important;
    border-radius: 0.6rem;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--primary) !important;
    background: rgba(13, 110, 253, 0.06);
}

.nav-link.active {
    color: var(--primary) !important;
}

.dropdown-menu {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0.75rem;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
    padding: 0.4rem;
}

.dropdown-item {
    border-radius: 0.5rem;
    padding: 0.45rem 0.8rem;
}

.dropdown-item:hover {
    background: rgba(13, 110, 253, 0.07);
    color: var(--primary);
}

/* ─── Hero (tema1 kurumsal anasayfa) ─────────────────── */
.hero-section {
    padding: 110px 0;
    background:
        radial-gradient(620px 320px at 12% 0%, rgba(13, 110, 253, 0.08), transparent 60%),
        radial-gradient(700px 360px at 88% 15%, rgba(99, 102, 241, 0.07), transparent 60%),
        linear-gradient(180deg, var(--surface-tint) 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* ─── Kartlar ────────────────────────────────────────── */
.card {
    transition: var(--transition);
    border: 1px solid transparent;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08) !important;
    border-color: rgba(13, 110, 253, 0.12);
}

.card .fs-1 i {
    transition: var(--transition);
}

.card:hover .fs-1 i {
    transform: scale(1.1) rotate(5deg);
    color: var(--primary-hover);
}

/* ─── Sayfa başlığı (breadcrumb'lı iç sayfalar) ──────── */
.page-head {
    padding: 3rem 0 2.25rem;
    background: linear-gradient(180deg, var(--surface-tint), #ffffff);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.page-head h1 {
    font-size: clamp(1.6rem, 3.2vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.breadcrumb {
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ─── Formlar ────────────────────────────────────────── */
.form-control {
    border-color: var(--border-color);
    border-radius: 0.65rem;
}

.form-control:focus {
    border-color: rgba(13, 110, 253, 0.45);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.08);
}

.form-label {
    color: #334155;
}

/* ─── İletişim sayfası ───────────────────────────────── */
.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.14), rgba(13, 110, 253, 0.05));
    color: var(--primary);
    font-size: 1.05rem;
}

.contact-line h5 {
    font-size: 1rem;
}

.contact-form-card {
    border: 1px solid rgba(15, 23, 42, 0.05) !important;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.09) !important;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* ─── CMS sayfa içeriği ──────────────────────────────── */
.cms-page-body img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

.cms-page-body h1, .cms-page-body h2, .cms-page-body h3 {
    letter-spacing: -0.01em;
}

/* ─── 404 ────────────────────────────────────────────── */
.error-section {
    padding: 5.5rem 0;
    min-height: 55vh;
}

.error-code {
    font-size: clamp(5rem, 14vw, 8rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .error-code {
        background: linear-gradient(135deg, var(--primary), #6610f2);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }
}

/* ─── Footer ─────────────────────────────────────────── */
.footer {
    background:
        radial-gradient(700px 280px at 85% 0%, rgba(13, 110, 253, 0.08), transparent 60%),
        var(--dark);
    color: #94a3b8;
    padding: 64px 0 0;
}

.footer h5 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer .navbar-brand,
.footer .navbar-brand:hover {
    transform: none;
}

.footer-desc {
    max-width: 340px;
    line-height: 1.7;
}

.text-center .footer-desc {
    margin-left: auto;
    margin-right: auto;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin-bottom: 0.9rem;
}

.footer-contact i {
    color: var(--primary);
    margin-top: 0.28rem;
    width: 1rem;
    text-align: center;
}

.footer-contact a,
.footer-contact a:hover {
    transform: none;
}

.footer-bottom {
    margin-top: 48px;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background-color: rgba(0, 0, 0, 0.25);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.text-center .social-links {
    justify-content: center;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-links a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px) !important;
}

/* ─── Butonlar ───────────────────────────────────────── */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.28);
}

.btn-outline-primary {
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.18);
}

.btn-lg {
    padding: 0.8rem 2.5rem;
}

.rounded-pill {
    border-radius: 50px !important;
}

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 80px 0;
        text-align: center;
    }
    .hero-section .d-flex {
        justify-content: center;
    }
    .footer {
        padding-top: 48px;
    }
    .footer-bottom {
        margin-top: 36px;
    }
    .navbar .navbar-collapse {
        background: #ffffff;
        border-radius: 0.75rem;
        padding: 0.75rem;
        margin-top: 0.5rem;
        box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    }
}

/*Loader*/
.loader_rolling {width: 10px; height: 10px; border-radius: 50%; display: block; margin:15px auto; position: relative; color: #FFF; left: -100px; box-sizing: border-box; animation: shadowRolling 2s linear infinite; }
@keyframes shadowRolling {
  0% {box-shadow: 0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0); }
  12% {box-shadow: 100px 0 white, 0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0); }
  25% {box-shadow: 110px 0 white, 100px 0 white, 0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0); }
  36% {box-shadow: 120px 0 white, 110px 0 white, 100px 0 white, 0px 0 rgba(255, 255, 255, 0); }
  50% {box-shadow: 130px 0 white, 120px 0 white, 110px 0 white, 100px 0 white; }
  62% {box-shadow: 200px 0 rgba(255, 255, 255, 0), 130px 0 white, 120px 0 white, 110px 0 white; }
  75% {box-shadow: 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0), 130px 0 white, 120px 0 white; }
  87% {box-shadow: 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0), 130px 0 white; }
  100% {box-shadow: 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0); }
}
.form_loader{z-index: 10000; position: fixed; height: 100vh; width: 100vw; top: 0; left: 0; background: #020306a6; justify-content: center; align-items: center; align-content: center; flex-wrap: wrap; display: none; font-size: 1rem;}
.loadet_text{color: #fff;}
/*Loader*/
/* ═══════════════════════════════════════════════════════════
   ARAÇ EKRANI (tema2 anasayfa) — rozetler ve açılır araç panelleri
   ═══════════════════════════════════════════════════════════ */

.tools-hero {
  padding: 5.5rem 0 3rem;
  text-align: center;
  background:
    radial-gradient(620px 320px at 12% 0%, rgba(13, 110, 253, 0.09), transparent 60%),
    radial-gradient(700px 360px at 88% 12%, rgba(99, 102, 241, 0.08), transparent 60%),
    linear-gradient(180deg, var(--surface-tint) 0%, #ffffff 100%);
}

.tools-hero__title {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  color: var(--dark);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .tools-hero__title {
    background: linear-gradient(135deg, var(--dark) 35%, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.tools-hero__lead {
  color: var(--text-secondary);
  font-size: 1.08rem;
  max-width: 560px;
  margin: 0 auto 2.75rem;
}

/* Rozet ızgarası: yeni araç eklendikçe kendiliğinden sarar */
.tool-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.tool-badge {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 270px;
  padding: 1rem 1.35rem;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.tool-badge:hover:not(.is-soon) {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 12px 28px rgba(13, 110, 253, .12);
}

.tool-badge.is-open {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 110, 253, .13);
}

.tool-badge__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(13, 110, 253, .16), rgba(13, 110, 253, .07));
  color: var(--primary);
  font-size: 1.15rem;
  transition: transform .15s ease;
}

.tool-badge:hover:not(.is-soon) .tool-badge__icon {
  transform: scale(1.06);
}

.tool-badge__text { display: flex; flex-direction: column; line-height: 1.25; }
.tool-badge__label { font-weight: 700; }
.tool-badge__desc { font-size: .82rem; color: var(--text-secondary); }

.tool-badge__tag {
  margin-left: auto;
  padding: .2rem .6rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--text-secondary);
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* "Yakında" rozetleri tıklanabilir görünmez */
.tool-badge.is-soon { cursor: default; opacity: .6; }
.tool-badge.is-soon .tool-badge__icon { background: #f1f5f9; color: #9ca3af; }

/* Araç panelleri */
.tool-panel { padding: 0 0 4rem; }

.tool-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.25rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 1.15rem;
  background: #fff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .08);
}

.tool-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.tool-card__title { font-size: 1.35rem; font-weight: 700; margin: 0; }
.tool-card__title i { color: var(--primary); margin-right: .4rem; }

.tool-card__close {
  border: 0;
  background: none;
  color: #9ca3af;
  font-size: 1.15rem;
  cursor: pointer;
  line-height: 1;
}
.tool-card__close:hover { color: #374151; }

/* Giriş satırı: dar ekranda alt alta */
.tool-form-row { display: flex; gap: .75rem; }
.tool-form-row .form-control { flex: 1 1 auto; }
.tool-form-row .btn { flex: 0 0 auto; padding-inline: 2rem; border-radius: .6rem; }

@media (max-width: 575.98px) {
  .tool-form-row { flex-direction: column; }
  .tool-badge { min-width: 100%; }
}

.tool-note {
  margin: 1rem 0 0;
  font-size: .85rem;
  color: var(--text-secondary);
}
.tool-note i { margin-right: .35rem; }

.tool-result {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

/* Özellik şeridi (anasayfa, rozetlerin altı) */
.tool-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 0 4.5rem;
}

.tool-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 1rem;
  background: var(--surface-tint);
  text-align: left;
}

.tool-feature__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 12px;
  background: rgba(13, 110, 253, 0.1);
  color: var(--primary);
  font-size: 0.95rem;
}

.tool-feature strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.tool-feature span {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.45;
}
