/* ==========================================================================
   styles.css (SADELEŞTİRİLMİŞ GLOBAL STİLLER VE KESİN STICKY ÇÖZÜMÜ)
   ========================================================================== */
:root {
  --color-red: #d7182a;
  --color-red-dark: #a51320;
  --color-blue: #1a3a8a;
  --color-blue-dark: #0d234d;
  --color-black: #101114;
  --color-white: #ffffff;
  --color-sand: #f7f3ee;
  --color-gray: #ececec;
  --color-text: #1d1d1f;
  --shadow-soft: 0 18px 38px rgba(16, 17, 20, 0.08);
  --radius: 18px;
}

* { box-sizing: border-box; }

/* Sticky (Sabitleme) özelliğinin bozulmasını engelleyen hayati ayar */
html, body {
  scroll-behavior: smooth;
  overflow-x: clip !important; 
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--color-white);
  color: var(--color-text);
  line-height: 1.7;
}

a { text-decoration: none; }
img { max-width: 100%; display: block; }

/* ==========================================================================
   YAPI VE BOŞLUKLAR
   ========================================================================== */
.container {
  width: min(1360px, calc(100% - 48px)); 
  margin: 0 auto;
}

.narrow { max-width: 820px; }
.section-space { padding: 96px 0; }
.section-heading { max-width: 720px; }

.inner-page {
  background: linear-gradient(180deg, #fff 0%, #f8f8f8 100%);
}

/* ==========================================================================
   TİPOGRAFİ
   ========================================================================== */
.eyebrow {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(215, 24, 42, 0.12);
  color: var(--color-red);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.eyebrow--dark {
  background: rgba(26, 58, 138, 0.1);
  color: var(--color-blue);
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  font-size: clamp(2.5rem, 4vw, 4.25rem);
  line-height: 1.1;
  margin-bottom: 18px;
  color: var(--color-black);
}

h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.4rem;
  line-height: 1.43;
  margin-bottom: 12px;
}

p {
  font-size: 1.12rem; 
  color: rgba(16, 17, 20, 0.8);
  line-height: 1.8;
}

.page-title {
  text-align: center;
  margin-bottom: 48px;
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  color: var(--color-black);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   BUTONLAR
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn--primary {
  background: linear-gradient(143deg, var(--color-red), var(--color-red-dark));
  color: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.btn--primary:hover { transform: translateY(-1px); }

.btn--secondary {
  background: transparent;
  color: var(--color-blue);
  border: 1px solid rgba(26, 58, 138, 0.25);
}

.btn-nav-quote {
  background-color: var(--color-red) !important;
  color: #ffffff !important; /* YAZI KESİN BEYAZ */
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-nav-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(215, 24, 42, 0.3);
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
#header {
  position: sticky !important;
  top: 0 !important;
  width: 100%;
  z-index: 9999 !important;
}

#navbar {
  position: sticky !important;
  top: 52px !important;
  width: 100%;
  z-index: 9998 !important;
  box-shadow: 0 10px 30px rgba(16, 17, 20, 0.08);
}

.topbar {
  background: var(--color-blue-dark);
  color: var(--color-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: center !important; /* HEADER ORTALANDI */
  gap: 20px;
  min-height: 52px;
  font-size: 0.9rem;
}

.topbar__info {
  display: flex;
  align-items: center;
  justify-content: center !important; /* HEADER ORTALANDI */
  gap: 18px;
  flex-wrap: wrap;
  width: 100%;
}

.topbar__info span { opacity: 0.9; }

.navbar {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--color-black);
  letter-spacing: 0.02em;
}

.logo-img {
  height: 95px !important;
  width: auto !important;
  max-width: 100% !important;
  display: block !important;
  object-fit: contain !important;
}

.navmenu {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 20px !important;
  flex: 1 !important; /* Menünün tüm boşluğu kaplamasını sağlar */
  justify-content: flex-end !important; /* Elemanları sağa yaslar */
}

.navmenu a {
  white-space: nowrap !important;
  font-size: 1.05rem !important; /* Yazılar daha büyük ve okunaklı */
  font-weight: 600 !important;
  letter-spacing: 0.2px !important;
  color: #1e293b !important;
  transition: color 0.2s ease !important;
}
.navmenu a:hover, .navmenu a.is-active {
  color: #dc2626 !important;
}

.navmenu a:hover,
.navmenu a.is-active {
  color: var(--color-red);
}

.menu-toggle {
  display: none; 
}

/* ==========================================================================
   ORTAK BİLEŞENLER
   ========================================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.about__grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}

.about__panel {
  display: grid;
  gap: 18px;
}

.feature-card,
.contact-card,
.mini-card {
  background: #fff;
  border: 1px solid rgba(16, 17, 20, 0.06);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 0 10px 30px rgba(16, 17, 20, 0.04);
}

.mini-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(143deg, rgba(215, 24, 42, 0.1), rgba(26, 58, 138, 0.12));
  color: var(--color-red);
  font-weight: 800;
  margin-bottom: 18px;
}

.contact-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-card li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(16, 17, 20, 0.08);
}

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-banner { padding-top: 0; }

.cta-banner__inner {
  background: linear-gradient(143deg, var(--color-blue), var(--color-blue-dark));
  border-radius: 28px;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--color-white);
}

.cta-banner__inner h2,
.cta-banner__inner .eyebrow {
  color: var(--color-white);
}

/* ==========================================================================
   FOOTER (LACİVERT/MAVİ TASARIM)
   ========================================================================== */
.site-footer {
  background-color: #0d1627; 
  color: #cbd5e1; 
  padding: 60px 0 30px 0;
  border-top: 4px solid var(--color-red); 
}

/* Logo Beyazlatma Filtresi */
.logo-beyaz {
  filter: brightness(0) invert(1); 
  width: 100%;
  max-width: 240px; 
  margin-bottom: 15px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr; 
  gap: 40px;
  align-items: start;
}

/* Başlıklar */
.footer__grid h3 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.footer__brand p,
.footer__links a,
.footer__contact li {
  color: #94a3b8;
}

.footer__links,
.footer__contact {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__links li,
.footer__contact li { 
  margin-bottom: 14px; 
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Linkler ve Yanlarındaki Kırmızı Üçgen */
.footer__links a {
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

/* Kırmızı Üçgen İkonu */
.footer__links a::before {
  content: "";
  display: inline-block;
  width: 0; 
  height: 0; 
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid var(--color-red); 
  margin-right: 10px;
  transition: transform 0.3s ease;
}

/* Üzerine gelince linkin sağa kayması ve parlaması */
.footer__links a:hover { 
  color: #ffffff; 
  transform: translateX(5px); 
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08); 
  padding-top: 30px;
  margin-top: 50px;
  text-align: center;
  font-size: 0.85rem;
  color: #ffffff; /* Yazı rengi bembeyaz yapıldı */
}

/* ==========================================================================
   GOOGLE TRANSLATE ÜST ÇUBUĞUNU VE BOŞLUĞU KESİN GİZLEME
   ========================================================================== */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0px !important;
  width: 0px !important;
}

body {
  top: 0px !important;
  position: static !important;
}

/* ==========================================================================
   GOOGLE TRANSLATE ÜST ÇUBUĞUNU KESİN OLARAK YOK ETME
   ========================================================================== */
body > .skiptranslate,
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
iframe.skiptranslate,
#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body, html {
  top: 0px !important;
  margin-top: 0px !important;
  position: static !important;
}

/* Google Translate select kutusunu display:none yapmadan ekran dışına gizle (Anında çeviri için şarttır) */
#google_translate_element {
  position: fixed !important;
  top: -9999px !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.goog-text-highlight {
  background: none !important;
  box-shadow: none !important;
}

/* ==========================================================================
   YENİ NAVBAR DİZİLİMİ (SOL - ORTA - SAĞ)
   ========================================================================== */
.navbar__inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important; 
}

.logo {
  flex-shrink: 0 !important;
}

.navmenu {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important; /* MENÜ TAM ORTAYA HİZALANDI */
  flex-wrap: nowrap !important;
  gap: 20px !important;
  flex: 1 !important; 
  margin: 0 20px !important;
}

.nav-right {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important; /* BUTONLAR EN SAĞA YASLANDI */
  gap: 12px !important;
  flex-shrink: 0 !important;
}

.desktop-quote {
  display: inline-flex !important;
}
.mobile-quote {
  display: none !important;
}

.navmenu a {
  white-space: nowrap !important; 
  font-size: 0.95rem !important;
}

/* Ekran daraldığında hafif küçülme */
@media (max-width: 1250px) {
  .navmenu {
    gap: 12px !important;
  }
  .navmenu a {
    font-size: 0.92rem !important;
  }
}

/* ==========================================================================
   SADECE DİL KUTUCUĞU İÇİN TASARIM
   ========================================================================== */
.language-selector {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  margin-left: 5px;
}

.lang-btn {
  background: #ffffff !important;
  color: #1e293b !important;
  border: 1.5px solid #dbeafe !important;
  border-radius: 999px !important;
  padding: 6px 14px !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  height: 42px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.2s ease !important;
  outline: none !important;
}

.lang-btn:hover,
.language-selector.is-open .lang-btn {
  border-color: #38bdf8 !important;
  background: #f8fafc !important;
}

.lang-globe-icon { font-size: 1.05rem !important; line-height: 1 !important; }
#current-lang-text { font-size: 0.92rem !important; font-weight: 700 !important; color: #1e293b !important; }
.lang-arrow { font-size: 0.75rem !important; color: #64748b !important; transition: transform 0.2s ease !important; }
.language-selector.is-open .lang-arrow, .language-selector:hover .lang-arrow { transform: rotate(180deg) !important; }

/* Açılır Menü */
.lang-dropdown {
  display: none !important;
  position: absolute !important;
  right: 0 !important;
  top: 100% !important;
  margin-top: 5px !important;
  background: #ffffff !important;
  min-width: 155px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
  padding: 6px !important;
  z-index: 999999 !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.lang-dropdown::before { content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
@media (hover: hover) and (pointer: fine) {
  .language-selector:hover .lang-dropdown { display: flex !important; }
}
.language-selector.is-open .lang-dropdown { display: flex !important; }

.lang-opt {
  background: transparent !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 9px 12px !important;
  text-align: left !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: #334155 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  transition: all 0.15s ease !important;
}

.lang-opt:hover { background: #f1f5f9 !important; color: #dc2626 !important; }

/* ==========================================================================
   MOBİL UYUMLULUK VE DUYARLI TASARIM (MAX-WIDTH: 900PX)
   ========================================================================== */
@media (max-width: 900px) {
  
  #header {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    width: 100%;
    z-index: 9999;
  }
  
  #navbar {
    position: fixed !important;
    top: 44px !important;
    left: 0;
    width: 100%;
    z-index: 9998;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  }

  main, .page-shell {
    padding-top: 108px !important;
  }
  
  .about__grid,
  .contact-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-banner__inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .topbar__inner {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    min-height: 44px !important;
    padding: 3px 8px !important;
    height: auto !important;
  }

  .topbar__info {
    display: grid !important;
    grid-template-columns: auto auto !important;
    justify-content: center !important;
    align-items: center !important;
    column-gap: 12px !important;
    row-gap: 6px !important;
    font-size: 11.5px !important;
    line-height: 1.2 !important;
  }

  .topbar__info span {
    white-space: nowrap !important;
  }

  .topbar__info span:first-child {
    grid-column: 1 / -1;
    text-align: center;
  }
  
  /* Mobilde Logo Biraz Daha Büyük */
  .logo-img {
    height: 50px !important; 
    width: auto !important;
    max-width: 150px !important;
    display: block !important;
    object-fit: contain !important;
  }

  .navbar__inner {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important; /* Asla alt satıra düşmesin */
    justify-content: space-between !important;
    align-items: center !important;
    min-height: 60px !important;
    padding: 5px 16px !important;
  }

  .nav-right {
    gap: 8px !important;
  }
  
  .desktop-quote {
    display: none !important; /* Masaüstü butonu mobilde gizle */
  }
  
  .mobile-quote {
    display: flex !important; /* Açılır menüdeki butonu göster */
    width: 90%;
    margin-top: 15px;
  }

  .language-selector {
    margin: 0 !important; /* Dil seçici toggle'ın yanına tam oturur */
    width: auto !important;
  }
  
  .lang-btn {
    width: auto !important;
    padding: 4px 10px !important; /* Küçültüldü */
    font-size: 0.85rem !important; /* Yazı boyutu küçültüldü */
    height: 36px !important; /* Yükseklik azaltıldı */
  }
  .lang-globe-icon { font-size: 0.95rem !important; }
  #current-lang-text { font-size: 0.85rem !important; }
  
  .lang-dropdown {
    right: 0 !important;
    position: absolute !important;
    width: 155px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
  }

  .menu-toggle {
    display: block !important;
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: var(--color-black);
  }

  .navmenu {
    width: auto;
    display: none !important; 
    flex-direction: column !important;
    align-items: center !important; 
    text-align: center !important;  
    gap: 18px !important;
    padding: 24px 0 24px 0 !important;
    border-top: 1px solid rgba(0,0,0,0.08);
    margin-top: 12px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  }

  .navmenu.is-open {
    display: flex !important;
  }

  .site-footer {
    text-align: center !important;
    padding: 48px 0 24px !important;
  }

  .site-footer > .container {
    width: calc(100% - 32px) !important;
  }

  .footer__grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: start !important;
    text-align: center !important;
    column-gap: 12px !important;
    row-gap: 28px !important;
  }

  .footer__brand,
  .footer__grid > div:nth-child(4) {
    grid-column: 1 / -1;
  }

  .footer__brand .logo {
    justify-content: center;
  }

  .footer__brand .logo-img {
    width: min(150px, 100%) !important;
    height: auto !important;
    max-width: 150px !important;
    margin: 0 auto 15px !important;
  }

  .footer__brand p {
    max-width: 36ch;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.8;
  }

  .footer__grid h3 {
    justify-content: center;
    margin-bottom: 16px;
  }

  .footer__links,
  .footer__contact {
    padding: 0 !important;
    list-style: none !important;
  }

  .footer__links li,
  .footer__contact li {
    margin-bottom: 12px;
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .footer__links li {
    text-align: center;
  }

  .footer__links a {
    justify-content: center;
  }

  .footer__contact li {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }
}

/* Mobildeki Açılır Menü İçindeki Teklif Alın Butonu Yazı Rengi Garantisi */
@media (max-width: 900px) {
  .navmenu .btn-nav-quote, .mobile-quote {
    color: #ffffff !important;
    background-color: var(--color-red) !important;
  }
}

/* ==========================================================================
   TÜM SİTE GENELİNDE GIF VE ANİMASYON TİTREMESİNİ (FLICKERING) ÖNLEYEN KOD
   ========================================================================== */
img[src$=".gif"],
.hover-gif,
.fade-in-up {
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  perspective: 1000px;
  will-change: transform;
  -webkit-font-smoothing: antialiased;
}