/* =========================================================
   Tesla Teknoloji - Marka Özel Stilleri & Bootstrap Eki
   ========================================================= */

:root {
  --navy: #17324D;          /* Koyu lacivert ana arka plan */
  --navy-dark: #102539;     /* Daha koyua lacivert (footer derinlik) */
  --navy-soft: #E7ECF1;     /* Logoyla uyumlu yumuşak açık lacivert-gri */
  --orange: #F05A22;        /* Turuncu vurgu / buton */
  --orange-dark: #d44a16;   /* Turuncu hover */
  --blue: #2E9BD6;          /* İkincil açık mavi vurgu */
  --offwhite: #F4F1EC;      /* Açık kırık beyaz bölüm arka planı */
  --text-dark: #2B3640;     /* Koyu gri metin */
  --text-muted: #5C6873;    /* İkincil metin */
  --line: #d9dde2;          /* İnce ayraç çizgileri */
  --white: #ffffff;

  --radius: 10px;
  --shadow-card: 0 10px 28px rgba(23, 50, 77, 0.10);
  --shadow-hover: 0 18px 40px rgba(23, 50, 77, 0.18);
}

/* Base Düzenlemeleri */
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  color: var(--text-dark);
  background: var(--offwhite);
  -webkit-font-smoothing: antialiased;
}

/* =========================================================
   ORİJİNAL TASARIM TİPOGRAFİ DENGESİ (Yazı Boyut Sabitleyicileri)
   ========================================================= */
h1, .hero-content h1 {
  font-size: 2.5rem !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
}

h2, .section-head-row h2, .about-text h2, .values-text h2, .cta-text h2 {
  font-size: 2rem !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
}

h3 {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
}

/* Marka Küçük Üst Başlıkları */
.eyebrow,
.hero-eyebrow {
  font-size: .8rem !important;
  letter-spacing: .18em !important;
  font-weight: 700 !important;
  text-transform: uppercase;
}
.eyebrow { color: var(--orange) !important; }
.hero-eyebrow { color: #e7c4b4 !important; }

.hero-desc {
  color: #f1f5f9 !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
}

/* Buton Özelleştirmeleri */
.btn {
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 14px 30px;
  border-radius: 6px;
  transition: all .25s ease;
}
.btn-primary {
  background-color: var(--orange) !important;
  border-color: var(--orange) !important;
  color: var(--white) !important;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--orange-dark) !important;
  border-color: var(--orange-dark) !important;
  transform: translateY(-2px);
}
.btn-light {
  background-color: var(--white) !important;
  border-color: var(--white) !important;
  color: var(--navy) !important;
}
.btn-light:hover,
.btn-light:focus {
  background-color: var(--navy) !important;
  border-color: var(--navy) !important;
  color: var(--white) !important;
  transform: translateY(-2px);
}

/* =========================================================
   KOYU ÜST BÖLÜM & NAVBAR (Bootstrap Entegrasyonu)
   ========================================================= */
.top-section {
  background: var(--navy);
  padding-bottom: 130px;
}
.site-header {
  padding: 14px 0;
}
.logo img {
  width: 220px;
  height: auto;
  transform: translateY(2px);
}

/* Bootstrap Menü Linkleri */
.site-header .nav-link {
  color: #d7dde4 !important;
  font-size: .95rem;
  font-weight: 600;
  padding: 6px 0 !important;
  position: relative;
  transition: color .2s ease;
}
.site-header .nav-link:hover,
.site-header .nav-link.active {
  color: var(--orange) !important;
}
@media (min-width: 992px) {
  .site-header .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -4px;
    height: 2px;
    background: var(--orange);
  }
}

.lang-switch a {
  color: #8a97a4;
  font-size: .9rem;
  font-weight: 600;
  transition: color .2s ease;
}
.lang-switch a:hover,
.lang-switch a.active { color: var(--orange); }

/* Bootstrap Uyumlu Hamburgere Özel Çizgiler */
.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: all .3s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobil Menü İç Yapı Düzenleme */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--navy-dark);
    padding: 24px;
    border-radius: var(--radius);
    margin-top: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  }
  .site-header .nav-link {
    padding: 10px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.05);
  }
  .lang-switch { margin-top: 15px; }
}

/* ---------- Hero Katman Ayarları ---------- */
.hero-media {
  position: relative;
  margin-bottom: -180px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,37,57,.55) 0%, rgba(16,37,57,.35) 45%, rgba(16,37,57,.65) 100%);
  z-index: 2;
  pointer-events: none;
}
.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 8%;
  color: var(--white);
  z-index: 3;
}

/* =========================================================
   BÖLÜMLER GENEL & KARTLAR
   ========================================================= */
.solutions {
  background: var(--offwhite);
  padding: 140px 0 90px;
}
.section-rule {
  height: 1px;
  background: var(--navy);
  opacity: .35;
}

/* Çözüm Kartları */
.solution-card {
  position: relative;
  background: var(--offwhite);
  border: 1px solid rgba(23, 50, 77, .25);
  border-radius: var(--radius);
  padding: 50px 24px 28px;
  margin-top: 34px;
  transition: all .3s ease;
}
.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--orange);
}
.solution-icon {
  position: absolute;
  top: -34px; left: 0; right: 0;
  width: 68px; height: 68px;
  background: var(--offwhite);
  border: 1px solid rgba(23, 50, 77, .25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: all .3s ease;
}
.solution-icon svg { width: 38px; height: 38px; }
.solution-card:hover .solution-icon {
  color: var(--orange);
  border-color: var(--orange);
}
.solution-card p {
  font-size: .9rem !important;
  line-height: 1.5 !important;
  color: var(--text-muted) !important;
  max-width: 100% !important;
}
.card-link {
  font-size: .85rem;
  color: var(--navy);
  transition: all .2s ease;
}
.card-link:hover { color: var(--orange); gap: 12px !important; }

/* Hakkımızda, Değerlerimiz, CTA Bölümleri */
.about, .values, .cta {
  padding: 80px 0 !important;
}
.about { background: var(--navy-soft); }
.values { background: var(--offwhite); }
.cta { background: var(--navy-soft); }

.values-list dt {
  font-size: .92rem;
  letter-spacing: .08em;
  color: var(--navy);
}

/* Dekoratif Çerçeveler */
.framed { position: relative; border-radius: var(--radius); }
.framed img {
  border-radius: var(--radius);
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-card);
  object-fit: cover;
  width: 100%;
  height: auto;
  max-height: 400px;
}
.framed::before {
  content: ""; position: absolute; border: 1px solid var(--navy); border-radius: var(--radius); z-index: 1;
}
.framed-offset::before { inset: 22px -22px -22px 22px; }
.framed-offset-left::before { inset: 22px 22px -22px -22px; }

/* =========================================================
   FOOTER DÜZENİ
   ========================================================= */
.site-footer {
  background: var(--navy);
  color: #c7cfd8;
  padding: 42px 0 24px;
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 22px;
}
.footer-rule {
  display: inline-block;
  width: 90px;
  height: 1px;
  background: rgba(255,255,255,.25);
  flex-shrink: 0;
}
.footer-info {
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-col h4 {
  font-size: .8rem;
  letter-spacing: .1em;
  color: var(--orange);
}
.footer-col p { font-size: .92rem; color: #c7cfd8; }
.footer-col a:hover { color: var(--white) !important; }
.footer-copy { color: #8a97a4; }

/* =========================================================
   MODAL ÖZEL İNCE AYARLAR
   ========================================================= */
.modal-close {
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  background: var(--offwhite) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2317324D'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") no-repeat center/12px;
  border-radius: 50%;
  border: 0;
  opacity: 0.7;
  transition: all .2s ease;
}
.modal-close:hover { opacity: 1; background-color: var(--orange); filter: invert(1); }

.form-control:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(240, 90, 34, .15) !important;
}
.form-success {
  background: rgba(46, 155, 214, .12);
  border-left: 3px solid var(--blue);
  border-radius: 4px;
  color: var(--navy);
  font-size: .92rem;
}

/* Responsive Taşma Dengesi */
@media (max-width: 767.98px) {
  .top-section { padding-bottom: 90px; }
  .hero-media { margin-bottom: -120px; }
  .hero-media img { height: 420px !important; }
  .solutions { padding: 150px 0 70px; }
  .framed-offset::before { inset: 12px -12px -12px 12px; }
  .framed-offset-left::before { inset: 12px 12px -12px -12px; }
}

/* =========================================================
   AOS (Animate On Scroll) & REVEAL SYSTEM
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: 1.1s;
  transition-timing-function: cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
}
[data-aos].aos-animate { opacity: 1; transform: translate(0, 0) scale(1) rotate(0); }
[data-aos="fade-up"]    { transform: translateY(48px); }
[data-aos="fade-right"] { transform: translateX(-56px); }
[data-aos="fade-left"]  { transform: translateX(56px); }
[data-aos="zoom-in"]    { transform: scale(.88); }
[data-aos="zoom-in-up"] { transform: translateY(48px) scale(.92); }
[data-aos="flip-left"]  { transform: perspective(1000px) rotateY(14deg) translateX(40px); transform-origin: right center; }
[data-aos="flip-right"] { transform: perspective(1000px) rotateY(-14deg) translateX(-40px); transform-origin: left center; }

@media (prefers-reduced-motion: reduce) {
  .reveal, [data-aos] { opacity: 1 !important; transform: none !important; transition: none !important; }
}
/* =========================================================
   SERVICES SAYFASI - İÇERİK BLOK STİLLERİ (Bootstrap ile çözülemeyen)
   ========================================================= */
.svc-intro-text {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.svc-section p { color: var(--text-muted); line-height: 1.7; }

.svc-sub-group {
  margin-top: 28px;
}
.svc-sub-group h3 { color: var(--navy); margin-bottom: 10px; }

.svc-process {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.svc-process h3 { color: var(--navy); margin-bottom: 14px; }

.svc-list li {
  position: relative;
  padding-left: 26px;
  font-size: .92rem;
  color: var(--text-dark);
  line-height: 1.5;
}
.svc-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.svc-closing {
  margin-top: 28px;
  padding: 18px 20px;
  background: var(--navy-soft);
  border-left: 3px solid var(--orange);
  border-radius: 4px;
  font-size: .95rem;
  color: var(--navy);
}

.svc-process-section { background: var(--offwhite); }

.svc-step {
  text-align: center;
  padding: 0 8px;
}
.svc-step-num {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 8px;
}
.svc-step h3 { color: var(--navy); margin-bottom: 8px; }
.svc-step p { color: var(--text-muted); font-size: .9rem; line-height: 1.5; }
/* Hizmetler sayfasında hero sonrası boşluk */
.svc-intro {
  padding-top: 100px !important;
}
/* =========================================================
   BİZ KİMİZ SAYFASI - BOOTSTRAP UYUMU
   ========================================================= */

/* ---------- İç sayfa hero ---------- */
.top-section--inner { padding-bottom: 80px; }
.hero--inner .hero-media { margin-bottom: -80px; }
.hero--inner .hero-media img { height: 380px; object-fit: cover; }

/* ---------- İlk içerik bölümü üst boşluğu (hero taşması) ---------- */
.pt-hero-inner { padding-top: 110px; }

/* ---------- Genel bölüm stilleri ---------- */
.abt-section { padding: 80px 0; }
.abt-bg-soft { background: var(--navy-soft); }

/* ---------- Bölüm giriş metni ---------- */
.section-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 72ch;
}

/* ---------- Hizmet kartları (2 sütun) ---------- */
.service-block {
  background: var(--white);
  border: 1px solid rgba(23, 50, 77, .15);
  border-radius: var(--radius);
  padding: 32px;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.service-block:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--orange);
}
.service-block h3 { color: var(--navy); margin-bottom: 14px; }
.service-block p {
  color: var(--text-muted);
  font-size: .92rem !important;
  line-height: 1.7 !important;
}

/* ---------- Bizi Farklı Kılan kartları ---------- */
.diff-card {
  background: var(--white);
  border: 1px solid rgba(23, 50, 77, .15);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.diff-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--orange);
}
.diff-card h3 { color: var(--navy); margin-bottom: 10px; }
.diff-card p {
  color: var(--text-muted);
  font-size: .9rem !important;
  line-height: 1.6 !important;
  margin: 0;
}

/* ---------- Değerlerimiz (solution-card icon boşluğu) ---------- */
.values-cards-grid { padding-top: 42px; }

/* ---------- section-rule sabit genişlik varyantı ---------- */
.section-rule--fixed { width: 80px; flex-shrink: 0; }

/* ---------- Bootstrap modal genişlik ---------- */
.modal-about { max-width: 560px; }

/* ---------- Mobil uyarlamalar ---------- */
@media (max-width: 767.98px) {
  .top-section--inner { padding-bottom: 50px; }
  .hero--inner .hero-media { margin-bottom: -50px; }
  .hero--inner .hero-media img { height: 300px; }
  .pt-hero-inner { padding-top: 80px; }
  .abt-section { padding: 60px 0; }
}
.svc-section .framed img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

@media (max-width: 991.98px) {
  .svc-section .framed img {
    height: auto;
  }
}
.svc-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
  row-gap: 14px;
  margin: 0;
  padding: 0;
}

.svc-list-grid li {
  position: relative;
  padding-left: 28px;
  margin: 0;
  line-height: 1.55;
}

.svc-list-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.svc-side-note {
  margin-top: 46px;
  padding: 26px 28px;
  background: var(--navy-soft);
  border-left: 4px solid var(--orange);
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(23, 50, 77, .08);
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.7;
}

.svc-side-note strong {
  color: var(--navy);
}

@media (max-width: 767.98px) {
  .svc-list-grid {
    grid-template-columns: 1fr;
    row-gap: 12px;
  }

  .svc-side-note {
    margin-top: 28px;
    padding: 22px;
  }
}
.svc-process-lists .svc-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.svc-process-lists .svc-list li {
  position: relative;
  padding-left: 30px;
  margin: 0;
  line-height: 1.55;
}

.svc-process-lists .svc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}
/* About sayfası hero sonrası ilk bölüm boşluğu */
.about-first-section {
  padding-top: 85px;
}
/* =========================================================
   MARKALARIMIZ SAYFASI
   ========================================================= */

.brands-section,
.brands-grid-section {
  background: var(--offwhite);
}

.brands-intro-text {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 72ch;
}

/* ---------- Logo kartları ---------- */
.brand-card {
  background: var(--white);
  border: 1px solid rgba(23, 50, 77, .15);
  border-radius: var(--radius);
  padding: 28px 24px;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}

.brand-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(23, 50, 77, .35);
  transform: translateY(-3px);
}

.brand-card img {
  max-width: 150px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.brand-card h3 {
  font-size: .8rem !important;
  font-weight: 600 !important;
  color: var(--text-muted) !important;
  text-align: center;
  margin: 0;
  letter-spacing: .04em;
}

/* ---------- Çalışma yaklaşımı bölümü ---------- */
.brands-approach {
  background: var(--navy-soft);
}

.brands-approach p {
  color: var(--text-muted);
  line-height: 1.75;
}
/* =========================================================
   İLETİŞİM SAYFASI
   ========================================================= */

.contact-section {
  background: var(--offwhite);
}

.contact-intro-text {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 72ch;
}

/* ---------- Form kartı ---------- */
.contact-form-card {
  background: var(--white);
  border: 1px solid rgba(23, 50, 77, .15);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

/* ---------- İletişim bilgileri kartı ---------- */
.contact-info-card {
  background: var(--white);
  border: 1px solid rgba(23, 50, 77, .15);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.contact-info-heading {
  color: var(--navy);
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.contact-info-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.contact-info-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-info-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
}

.contact-info-value {
  font-size: .92rem;
  color: var(--text-dark);
  line-height: 1.6;
}

.contact-info-value a {
  color: var(--navy);
  text-decoration: none;
  transition: color .2s ease;
}

.contact-info-value a:hover {
  color: var(--orange);
}

/* ---------- Süreç bölümü ---------- */
.contact-process {
  background: var(--navy-soft);
}

.contact-step-card {
  background: var(--white);
  border: 1px solid rgba(23, 50, 77, .15);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow .25s ease, border-color .25s ease;
}

.contact-step-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--orange);
}

.contact-step-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 14px;
}

.contact-step-card h3 {
  color: var(--navy);
  margin-bottom: 12px;
}

.contact-step-card p {
  color: var(--text-muted);
  font-size: .92rem !important;
  line-height: 1.7 !important;
  margin: 0;
}
/* İç sayfalarda hero sonrası ilk bölüm boşluğu */
.inner-first-section {
  padding-top: 85px !important;
}

@media (min-width: 320px) and (max-width: 991px) {
.text-nowrap {
    white-space: normal!important;
}
.hero-content.position-absolute.inset-0.d-flex.flex-column.align-items-center.justify-content-center.text-center.px-4 {
    display: none !important;
}

}
/* Markalar sayfası logo özel ayarları */
.brand-card img.brand-logo-wide {
  width: 210px !important;
  max-width: 210px !important;
  max-height: 82px !important;
  transform: scale(1.35);
}
/* About sayfası - Bizi Farklı Kılan kart animasyonu */
.diff-card-animate {
  opacity: 0;
  transform: translateY(42px);
  animation: diffCardFadeUp 1.1s ease forwards;
}

.diff-card-animate:nth-of-type(1) {
  animation-delay: .05s;
}

.diff-card-animate:nth-of-type(2) {
  animation-delay: .18s;
}

.diff-card-animate:nth-of-type(3) {
  animation-delay: .31s;
}

.diff-card-animate:nth-of-type(4) {
  animation-delay: .44s;
}

@keyframes diffCardFadeUp {
  from {
    opacity: 0;
    transform: translateY(42px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}