/* Support section wrapper spacing */
.support-section {
  margin: clamp(48px, 8vw, 72px) 0;
}

:root {
  --header-bg: rgb(23, 23, 23);
  --header-fg: rgb(255, 255, 255);
  --brand-fg-muted: rgba(255, 255, 255, 0.7);
  --cta-bg: rgb(43, 0, 171);
  --cta-fg: #ffffff;
  --surface: #0f0f10;
  --header-height: 76px;
  /* varsayılan; JS ile güncellenecek */
  --header-link-hover: rgb(177, 177, 177);
}

* {
  box-sizing: border-box;
}

html,
body {
  padding: 0;
  margin: 0;
  font-family: 'Questrial', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #111;
  overflow-x: hidden;
  /* yatay taşmayı engelle */
}

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

/* Header */
.site-header {
  background: rgba(23, 23, 23, 0.81);
  color: var(--header-fg);
  -webkit-backdrop-filter: saturate(180%) blur(28px);
  backdrop-filter: saturate(180%) blur(32px);
  position: fixed;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  left: 0;
  right: 0;
}

/* iOS Safari fallback: backdrop-filter desteklenmiyorsa opaklığı artır */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header {
    background: rgba(23, 23, 23, 0.92);
  }
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  /* logo | nav */
  gap: 24px;
  align-items: center;
  padding: 7px 0;
}

/* Header yan boşlukları biraz azalt */
.site-header .container {
  width: min(1370px, 98%);
}

.brand {
  text-decoration: none;
  color: inherit;
}

/* Yeni logo kapsayıcısı */
.header-logo-container {
  display: flex;
  /* İçindeki öğeleri yan yana hizala */
  align-items: center;
  /* Dikeyde ortala */
  gap: 10px;
  /* Metin ve görsel logo arasındaki boşluk */
}

/* Metin tabanlı logo */
.text-logo {
  display: flex;
  flex-direction: column;
  /* Kelimeleri alt alta sırala */
  font-weight: 700;
  font-size: clamp(12px, 2.5vw, 20px);
  /* Boyutunu ayarla */
  line-height: 1.1;
  color: var(--header-fg);
}

.text-logo .tagline {
  font-size: clamp(10px, 1.5vw, 14px);
  /* Daha küçük font */
  font-weight: 400;
  opacity: 0.8;
  margin-top: 4px;
  /* Tagline'ın üstündeki boşluk */
  white-space: nowrap;
  /* Bu kelimelerin tek satırda kalmasını sağla */
}

/* Görsel logo */
.site-logo-image {
  height: 70px;
  /* Logonun yüksekliğini ayarla */
  width: auto;
  /* Genişliği orantılı olarak ayarla */
  display: block;
  /* Resim yükleme optimizasyonları */
  will-change: transform;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  /* Resim kalitesi için */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  /* Logo boyutu optimizasyonu */
  width: auto;
  height: 50px;
  max-width: none;
}



.main-nav ul,
.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 28px;
  align-items: center;
}

.main-nav a,
.mobile-nav a {
  color: var(--header-fg);
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(14px, 1.4vw, 15px);
  opacity: 0.95;
  transition: color 360ms ease, opacity 360ms ease;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

/* Masaüstünde menüyü sağa hizala */
.main-nav {
  justify-self: end;
}

.main-nav a:hover,
.mobile-nav a:hover {
  color: var(--header-link-hover);
  opacity: 1;
}

/* Dropdown menü stilleri */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--header-bg);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
  max-height: 0;
  min-width: 200px;
  z-index: 1001;
}

.dropdown.open .dropdown-content {
  opacity: 1;
  transform: translateY(0);
  max-height: 400px;
  pointer-events: auto;
  /* İçerik yüksekliğine göre ayarlanmalı */
  transition: opacity 0.3s ease-out, transform 0.3s ease-out, max-height 0.3s ease-out;
}

.dropdown .submenu.open .dropdown-content {
  opacity: 1;
  transform: translateY(0);
  max-height: 500px; /* Yüksekliği artırdık */
  pointer-events: auto;
  transition: opacity 0.3s ease-out, transform 0.3s ease-out, max-height 0.3s ease-out;
}

.dropdown-content a {
  color: var(--header-link);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: color 0.3s ease-out;
}

.dropdown-content a:hover {
  color: var(--header-link-hover);
}

.dropdown-arrow {
  margin-left: 8px;
  transition: transform 0.3s ease;
  font-size: 10px;
  display: inline-block;
  vertical-align: middle;
}

.dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown .submenu.open .dropdown-content {
  opacity: 1;
  transform: translateY(0);
  max-height: 500px; /* Yüksekliği artırdık */
  pointer-events: auto;
  transition: opacity 0.3s ease-out, transform 0.3s ease-out, max-height 0.3s ease-out;
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  transform: translateY(0);
  max-height: 400px;
  pointer-events: auto;
  transition: opacity 0.3s ease-out, transform 0.3s ease-out, max-height 0.3s ease-out;
}

/* Submenu (iç dropdown) stilleri */
.dropdown .submenu {
  position: relative;
}

.dropdown .submenu.open .dropdown-content {
  opacity: 1;
  transform: translateY(0);
  max-height: 600px; /* 400px'ten 600px'e çıkardık */
  pointer-events: auto;
  transition: opacity 0.3s ease-out, transform 0.3s ease-out, max-height 0.3s ease-out;
}

.dropdown .submenu .dropdown-content {
  top: 0;
  left: 100%;
  margin-left: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  position: absolute;
  z-index: 1002;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
  max-height: 0;
  min-width: 280px;
}

.dropdown .submenu.open .dropdown-content {
  opacity: 1;
  transform: translateY(0);
  max-height: 400px;
  pointer-events: auto;
  transition: opacity 0.3s ease-out, transform 0.3s ease-out, max-height 0.3s ease-out;
}

.dropdown .submenu > a .dropdown-arrow {
  transform: rotate(-90deg);
}

.dropdown .submenu:hover > a .dropdown-arrow {
  transform: rotate(-90deg);
}

/* Yurtdışı Diploma Denkliği menüsü için özel pozisyon ayarı */
.main-nav .dropdown:nth-child(3) .submenu .dropdown-content {
  /* Sağdan taşmayı önlemek için pozisyonu ayarla */
  left: auto;
  right: 0;
  margin-left: 0;
  margin-right: 8px;
}

/* Mobil menü için özel dropdown stilleri */
@media (max-width: 1024px) {
  .main-nav .dropdown {
    display: none;
    /* Masaüstü dropdown'ı mobil görünümde gizle */
  }

  .mobile-nav .dropdown {
    position: static;
    /* Mobil menüde statik konum */
    display: block;
    width: 100%;
  }

  .mobile-nav .dropdown-content {
    position: static;
    /* Mobil menüde statik konum */
    box-shadow: none;
    border-top: none;
    background-color: transparent;
    transition: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    max-height: 0;
    overflow: hidden;
    width: 100%;
  }

  .mobile-nav .dropdown.open .dropdown-content {
    max-height: 400px;
    /* İçerik yüksekliğine göre ayarlanmalı */
    transition: max-height 0.3s ease-out;
  }

  .mobile-nav .dropdown-content a {
    padding-left: 32px;
    /* İçeriği biraz sağa kaydır */
    width: 100%;
    display: block;
  }

  .mobile-nav .dropdown > a {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
  }
  
  .mobile-nav .dropdown > a .dropdown-arrow {
    margin-left: 8px;
    flex-shrink: 0;
  }

  .mobile-nav .dropdown-arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
    font-size: 10px;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
  }

  .mobile-nav .dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
  }
  
  /* Mobil için submenu stilleri */
  .mobile-nav .dropdown .submenu .dropdown-content {
    position: static;
    left: 0;
    margin-left: 0;
    box-shadow: none;
    background-color: transparent;
  }
  
  .mobile-nav .dropdown .submenu .dropdown-content a {
    padding-left: 48px;
  }
  
  /* Mobil menüde submenu açıkken stil */
  .mobile-nav .dropdown .submenu.open .dropdown-content {
    max-height: 200px;
    transition: max-height 0.3s ease-out;
  }
}

/* Language Selector Styles */
.language-selector {
  position: relative;
  display: inline-block;
}

.language-toggle {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: var(--header-fg);
  text-decoration: none;
  font-weight: 600;
  font-size: 25px;
  transition: background-color 0.3s ease;
}

.language-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

.language-dropdown {
  min-width: 120px;
  right: 0;
  left: auto;
}

.language-option {
  padding: 10px 15px;
  display: block;
  color: var(--header-fg);
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.language-option:hover,
.language-option.active {
  background-color: rgba(255, 255, 255, 0.1);
}

.language-option.active {
  font-weight: 700;
}

/* Mobile Language Selector */
@media (max-width: 1024px) {
  .language-selector {
    width: 100%;
  }
  
  .language-toggle {
    justify-content: space-between;
    width: 100%;
  }
  
  .language-dropdown {
    position: static;
    box-shadow: none;
    background-color: transparent;
    width: 100%;
  }
  
  .language-option {
    padding: 12px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

/* Header CTA Button */
.header-cta {
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.7);
  padding: 16px 12px;
  text-decoration: none;
  font-weight: 400 !important;
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px !important;
  transition: 260ms ease !important;
}

.mobile-cta {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}


.header-cta:hover {
  background: var(--cta-bg);
  border-color: var(--cta-bg);
  color: white !important;
  opacity: 1;
}

.cta {
  background: var(--cta-bg);
  color: var(--cta-fg);
}

.cta-button {
  padding: 12px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--header-fg);
  border-radius: 1px;
  transition: all 0.3s ease;
}

/* Hamburger menü açıkken X şekli */
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-nav {
  display: block;
  background: rgba(23, 23, 23, 0.867);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(16px);
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  z-index: 999;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-12px);
  transition: max-height 420ms ease, opacity 360ms cubic-bezier(0.22, 1, 0.36, 1), transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.mobile-nav.open {
  max-height: 70vh;
  opacity: 1;
  transform: translateY(0);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: auto;
}

.mobile-nav ul {
  flex-direction: column;
  padding: 12px 4%;
  gap: 16px;
}

.mobile-cta {
  margin-top: 6px;
}

/* Hero */
.hero-stack {
  position: relative;
  padding-top: var(--header-height);
  overflow: hidden;
}

/* Arka plan video */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  /* Video kalitesi için ek optimizasyonlar */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  /* Video kalitesi için ek optimizasyonlar */
  will-change: transform;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  /* Video oynatma için ek ayarlar */
  -webkit-playsinline: true;
  /* Video görünürlüğü için */
  opacity: 1;
  visibility: visible;
  /* Controls'u gizle */
  -webkit-appearance: none;
  appearance: none;
  /* Video kalitesi için ek ayarlar */
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  /* Video kalitesi için ek CSS özellikleri */
  -webkit-perspective: 1000;
  perspective: 1000;
}

.hero-image-mobile {
  display: none;
  /* Varsayılan olarak gizli */
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

/* Video controls'u gizle */
.hero-video::-webkit-media-controls {
  display: none !important;
}

.hero-video::-webkit-media-controls-panel {
  display: none !important;
}

.hero-video::-webkit-media-controls-play-button {
  display: none !important;
}

.hero-video::-webkit-media-controls-start-playback-button {
  display: none !important;
}

/* Video yüklenirken smooth transition */
.hero-video:not([src]) {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero-video[src] {
  opacity: 1;
}

/* Video container optimizasyonu */
.hero-stack {
  position: relative;
  overflow: hidden;
}

/* Mobilde video oynatma optimizasyonu */
@media (max-width: 767px) {
  .hero-video {
    display: none;
  }

  .hero-image-mobile {
    display: block;
    /* Mobilde fotoğrafı göster */
    object-position: center;
    height: 100%;
    /* Fotoğrafı ortala ve biraz yukarı kaydır */
  }

  .hero-stack {
    /* Mobilde video container'ı optimize et */
    overflow: hidden;
    background: url("./images/mobilePhoto.webp");
    /* Video'nun taşmasını engelle */
  }

  /* Mobilde why-us layout'unda feature'ları alt alta yap */
  .why-layout {
    grid-template-columns: 1fr;
    /* Tek sütun yap */
    grid-template-rows: auto auto auto auto;
    /* 4 satır yap */
    gap: 20px;
    /* Feature'lar arası boşluk */
    min-height: auto;
    /* Yükseklik otomatik */
  }

  /* Mobilde why-title'ı üstte yap */
  .why-title {
    grid-area: 1 / 1 / 2 / 2;
    margin-bottom: 20px;
  }

  /* Mobilde feature'ları sırayla alt alta yap */
  .f-tr {
    grid-area: 2 / 1 / 3 / 2;
    /* İkinci satır */
  }

  .f-bl {
    grid-area: 3 / 1 / 4 / 2;
    /* Üçüncü satır */
  }

  .f-br {
    grid-area: 4 / 1 / 5 / 2;
    /* Dördüncü satır */
  }

  /* Mobilde çizgileri gizle */
  .why-layout::before,
  .why-layout::after {
    display: none;
  }

  /* Mobilde yazı boyutlarını küçült */
  .section-title {
    font-size: clamp(24px, 4vw, 32px);
    margin: 0 0 20px;
  }

  .section-subtitle {
    font-size: clamp(13px, 1.8vw, 16px);
    margin: 0 0 20px;
  }

  /* Mobilde countries section yazılarını daha büyük yap */
  .countries .section-title {
    font-size: clamp(28px, 5vw, 36px);
    /* Countries başlığını daha büyük yap */
  }

  .countries .section-subtitle {
    font-size: clamp(15px, 2.2vw, 18px);
    /* Countries alt yazısını daha büyük yap */
  }

  .blog-texts {
    font-size: 14px;
    line-height: 1.6;
  }

  .fbi-lead {
    font-size: 14px;
    line-height: 1.6;
  }

  .hero-title {
    font-size: clamp(36px, 7vw, 52px);
    /* Mobilde biraz daha büyük */
  }

  .hero-subtitle {
    font-size: clamp(14px, 2.2vw, 18px);
    /* Mobilde biraz daha büyük */
  }

  .country-card span {
    font-size: 18px;
  }

  .welcome-title {
    font-size: clamp(22px, 4.5vw, 30px);
    /* Mobilde biraz daha büyük */
  }

  .welcome-text {
    font-size: 15px;
    line-height: 1.5;
    /* Mobilde biraz daha büyük */
  }

  .testimonials-subtitle {
    font-size: 14px;
  }

  .testimonial-quote {
    font-size: 14px;
    line-height: 1.5;
  }

  .feature h3 {
    font-size: 18px;
  }

  .feature p {
    font-size: 14px;
    line-height: 1.5;
  }
}

/* Tablet ve küçük ekranlarda video optimizasyonu */
@media (max-width: 1024px) {
  .hero-video {
    /* Orta boyut ekranlarda kalite dengesi - minimal zoom */
    object-position: center 80%;
    /* Video'nun üst kısmını neredeyse hiç gösterme, çok az zoom */
    transform: scale(1.02);
    /* Çok minimal zoom, neredeyse hiç zoom yapma */
  }

  /* Header'a tablet için boşluk */
  .header-inner {
    padding: 10px 24px;
    gap: 24px;
  }

  .site-header .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  /* Header'a üstten ve alttan boşluk */
  .site-header {
    padding: 8px 0;
  }

  /* Tablet boyutlarında yazıları orta seviyede tut */
  .section-title {
    font-size: clamp(26px, 4.5vw, 42px);
  }

  .section-subtitle {
    font-size: clamp(14px, 1.9vw, 17px);
  }

  /* Tablet'te countries section yazılarını daha büyük yap */
  .countries .section-title {
    font-size: clamp(30px, 5.5vw, 44px);
    /* Countries başlığını daha büyük yap */
  }

  .countries .section-subtitle {
    font-size: clamp(16px, 2.3vw, 19px);
    /* Countries alt yazısını daha büyük yap */
  }

  .blog-texts {
    font-size: 15px;
    line-height: 1.6;
  }

  .fbi-lead {
    font-size: 15px;
    line-height: 1.6;
  }

  .hero-title {
    font-size: clamp(36px, 6.5vw, 72px);
  }

  .hero-subtitle {
    font-size: clamp(13px, 2.2vw, 20px);
  }

  .welcome-title {
    font-size: clamp(22px, 4.2vw, 32px);
  }

  .welcome-text {
    font-size: 15px;
    line-height: 1.5;
  }

  .testimonials-subtitle {
    font-size: 15px;
  }

  .testimonial-quote {
    font-size: 15px;
    line-height: 1.5;
  }

  .feature h3 {
    font-size: 19px;
  }

  .feature p {
    font-size: 15px;
    line-height: 1.5;
  }
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15));
  z-index: 1;
  pointer-events: none;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: grid;
  align-items: end;
  color: #fff;
  padding-top: var(--header-height);
}

/* Video üstünde görünmeleri için */
.hero,
.hero-extended {
  z-index: 2;
}

@supports (height: 100dvh) {
  .hero {
    min-height: calc(100dvh - var(--header-height));
  }
}


.hero-content {
  position: relative;
  padding: 96px 0 72px;
}

.hero-title {
  font-size: clamp(40px, 7vw, 96px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 16px;
}

.hero-subtitle {
  display: inline-block;
  padding-left: 3px;
  font-size: clamp(14px, 2.4vw, 22px);
  margin: 0 0 28px;
}

.secondary-cta {
  display: inline-block;
  color: #ffffff;
  background: transparent;
  padding: 20px 20px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-weight: 400;
  letter-spacing: 0.2px;
  transition: background-color 260ms ease, color 260ms ease,
    border-color 260ms ease, box-shadow 260ms ease, transform 80ms ease;
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.6);
  backdrop-filter: saturate(120%) blur(5px);
  margin-left: 10px;
}

.secondary-cta:hover,
.secondary-cta:focus-visible {
  background: var(--cta-bg);
  color: #ffffff;
  border-color: var(--cta-bg);
  box-shadow: 0 12px 34px -16px rgba(90, 54, 255, 0.65);
}

.secondary-cta:active {
  transform: translateY(1px);
}

/* Açık zeminli içerik alanlarında butonu outline göster; hover'da dolsun */
.blog-content-section .secondary-cta {
  background: transparent;
  color: #c9c9c9;
  font-weight: 700;
  border-color: rgba(0, 0, 0, 0.6);
  box-shadow: 0 8px 24px -16px rgba(0, 0, 0, 0.2);
}

.yabanci-dil-sayfa .secondary-cta {
  color: #0f0f10
}

.blog-content-section .secondary-cta:hover,
.blog-content-section .secondary-cta:focus-visible {
  background: var(--cta-bg);
  color: #ffffff;
  border-color: var(--cta-bg);
  box-shadow: 0 14px 38px -16px rgba(90, 54, 255, 0.45);
}

.blog-content-section .secondary-cta:active {
  transform: translateY(1px);
}

/* Hero devamı */
.hero-extended {
  position: relative;
  min-height: 60vh;
  /* aşağı doğru uzatılmış görünüm */
  display: grid;
  align-items: center;
  padding: 48px 0 72px;
  color: #fff;
}

.welcome-wrap {
  position: relative;
}

.people-photo {
  /* Sadece yatayda büyüsün: genişlik artar, yükseklik sınırlı kalır */
  width: min(900px, 80%);
  height: clamp(300px, 26vh, 300px);
  object-fit: cover;
  display: block;
  margin-left: 0;
  margin-right: auto;
  /* sola yasla */
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.65);
}

.welcome-panel {
  z-index: 1;
  margin: 0 auto;
  text-align: center;
}

.welcome-title-brand {
  font-size: 4.8rem;
}

.welcome-title {
  font-size: 3.2rem;
  font-weight: 600;
  margin: 0 0 16px;
}

.welcome-text {
  font-size: 1.0rem;
  margin: 0;
  opacity: 0.95;
}

/* Responsive */
@media (max-width: 767px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    /* logo | boşluk | hamburger */
    padding: 12px 20px;
    gap: 20px;
  }

  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    grid-column: 3;
    justify-self: end;
  }

  .brand {
    grid-column: 1;
    justify-self: start;
  }

  /* Header container'a ek boşluk */
  .site-header .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Header'a üstten ve alttan boşluk */
  .site-header {
    padding: 8px 0;
  }
}


/* Alt bölüm: tam genişlik görsel */
.full-bleed-image {
  position: relative;
  width: 100%;
  min-height: 88vh;
  /* daha uzun yükseklik */
  background: url("./images/building.webp") center/cover no-repeat;
  background-position: center center;
  color: #fff;
  display: grid;
  align-items: center;
}

.fbi-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.625), rgba(0, 0, 0, 0.718));
}

.fbi-content {
  position: relative;
  padding: clamp(24px, 4vw, 48px) 0;
}

.fbi-title {
  font-size: clamp(28px, 4.8vw, 54px);
  font-weight: 700;
  margin: 0 0 22px;
}

.fbi-content p {
  max-width: 1000px;
  font-size: clamp(18px, 2.1vw, 22px);
  line-height: 1.7;
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.92);
}

.fbi-lead {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  margin-bottom: clamp(26px, 5.5vw, 50px);
  text-align: justify;
  text-justify: inter-word;
  /* başlık altına, paragraf ile diğer metinler arasında boşluk */
}

/* Ülkeler bölümü */
.countries {
  position: relative;
  padding: clamp(36px, 6vw, 72px) 0 clamp(24px, 5vw, 56px);
  min-height: 120vh;
  /* daha uzun bir alan */
  color: #fff;
}

.countries-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.6)),
    radial-gradient(1200px 600px at 50% -200px, rgba(255, 255, 255, 0.05), transparent 60%),
    radial-gradient(1200px 600px at 50% 100%, rgba(255, 255, 255, 0.04), transparent 60%),
    url('./images/countriesBackground.webp') center/cover no-repeat;
  background-position:
    center center,
    center center,
    center center,
    center center;
}

.countries-header {
  position: relative;
  text-align: center;
  margin-bottom: clamp(20px, 5vw, 40px);
}

.section-title {
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 500;
  margin: 0 0 30px;
}

.section-subtitle {
  max-width: 900px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(14px, 2vw, 18px);
}

.countries-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 2vw, 20px);
}

.country-card {
  position: relative;
  display: block;
  aspect-ratio: 5 / 8;
  /* daha uzun dikey oran */
  background: #000 center/cover no-repeat;
  overflow: hidden;
  box-shadow: 0 20px 60px -28px rgba(0, 0, 0, 0.7);
  transition: 220ms ease;
}

/* Ülke kartı arkaplan görselleri (HTML'de inline yerine CSS'ten) */
.country-card.country-germany {
  background-image: url('./images/germany.webp');
}

.country-card.country-england {
  background-image: url('./images/england.webp');
}

.country-card.country-hungary {
  background-image: url('./images/hungary.webp');
}

.country-card.country-czechia {
  background-image: url('./images/czechia.webp');
}

.country-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.15));
  transition: 220ms ease;
}

.country-card span {
  position: absolute;
  left: 16px;
  bottom: 32px;
  font-weight: 800;
  font-size: clamp(16px, 2.6vw, 32px);
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.country-card:hover::after {
  opacity: 0.25;
}

.country-card:hover {
  transform: translateY(-10px);
}

@media (max-width: 1100px) {
  .countries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .countries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .country-card span {
    font-size: 18px;
  }

  /* Çok küçük ekranlarda yazıları daha da küçült */
  .section-title {
    font-size: 22px;
    margin: 0 0 16px;
  }

  .section-subtitle {
    font-size: 12px;
    margin: 0 0 16px;
  }

  .blog-texts {
    font-size: 13px;
    line-height: 1.5;
  }

  .fbi-lead {
    font-size: 13px;
    line-height: 1.5;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 11px;
  }

  .welcome-title {
    font-size: 18px;
  }

  .welcome-text {
    font-size: 13px;
    line-height: 1.4;
  }

  .testimonials-subtitle {
    font-size: 13px;
  }

  .testimonial-quote {
    font-size: 13px;
    line-height: 1.4;
  }

  .feature h3 {
    font-size: 16px;
  }

  .feature p {
    font-size: 13px;
    line-height: 1.4;
  }
}

/* Neden Biz */
.why-us {
  background: #fafafa;
  color: #131313;
  padding: clamp(40px, 6vw, 90px) 0;
}

.why-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* ekranı ortadan ikiye böl (yatayda) */
  grid-template-rows: 1fr 1fr;
  /* dikeyde de ikiye böl → toplam 4 parça */
  min-height: 90vh;
  gap: 0;
  /* çizgilerle ayrım için boşluk yok */
  align-items: start;
}

/* Ortadan bölen çizgiler */
.why-layout::before,
.why-layout::after {
  content: "";
  position: absolute;
  background: rgba(0, 0, 0, 0.12);
  pointer-events: none;
}

.why-layout::before {
  /* dikey çizgi */
  width: 1px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-0.5px);
}

.why-layout::after {
  /* yatay çizgi */
  height: 1px;
  width: 100%;
  top: 50%;
  left: 0;
  transform: translateY(-0.5px);
}

.why-title {
  grid-area: 1 / 1 / 2 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 4vw, 48px);
}

.why-title h2 {
  font-size: clamp(24px, 6vw, 52px);
  font-weight: 600;
  margin: 0 120px 0 0;
}

.f-tr {
  grid-area: 1 / 2 / 2 / 3;
  padding: clamp(20px, 4vw, 48px);
}

.f-bl {
  grid-area: 2 / 1 / 3 / 2;
  padding: clamp(20px, 4vw, 48px);
}

.f-br {
  grid-area: 2 / 2 / 3 / 3;
  padding: clamp(20px, 4vw, 48px);
}

.feature h3 {
  margin: 0 0 18px;
  font-weight: 400;
  font-size: clamp(18px, 2.6vw, 28px);
}

.feature p {
  margin: 0;
  line-height: 1.7;
  font-size: clamp(14px, 2.1vw, 18px);
  color: #333;
}

.feature-icon {
  width: 72px;
  height: 72px;
  border: 2px solid #111;
  position: relative;
  margin-bottom: 38px;
}

.feature-icon::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 28px;
  height: 28px;
  background: #5a36ff;
}

@media (max-width: 1000px) {
  .why-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: unset;
  }

  .why-layout::before,
  .why-layout::after {
    display: none;
  }

  .why-title {
    order: -1;
    grid-area: auto;
    justify-content: flex-start;
  }

  .why-features {
    grid-area: auto;
    grid-template-rows: none;
    grid-template-columns: 1fr;
    gap: clamp(20px, 4vw, 48px);
    padding: 0;
  }
}

/* Testimonials */
.testimonials {
  background: #ffffff;
  color: #111;
  padding: clamp(50px, 8vw, 100px) 0;
}

.testimonials-header {
  text-align: center;
  margin-bottom: clamp(18px, 4vw, 32px);
}

.testimonials .section-title {
  font-weight: 800;
}

.testimonials-subtitle {
  color: #666;
  margin: 0 auto;
  max-width: 760px;
}

.marquee {
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 20px 0 25px -20px rgba(255, 255, 255, 0.6),
    /* Sol beyaz gölge */
    inset -20px 0 25px -20px rgba(255, 255, 255, 0.6);
  /* Sağ beyaz gölge */
}

.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 120px;
  /* fade genişliği */
  height: 100%;
  pointer-events: none;
  /* tıklamaları engellemez */
  z-index: 2;
}

/* Sol taraf */
.marquee::before {
  left: 0;
  background: linear-gradient(to right, white, transparent);
}

/* Sağ taraf */
.marquee::after {
  right: 0;
  background: linear-gradient(to left, white, transparent);
}

.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
}

.marquee-group {
  display: inline-flex;
  gap: 24px;
  padding: 8px 0;
  animation: marquee-scroll 40s linear infinite;
}

.marquee:hover .marquee-group {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

.testimonial-card {
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  width: 360px;
  min-height: 210px;
  padding: 20px 20px 18px;
}

.testimonial-card .rating {
  color: #fbbf24;
  margin-bottom: 10px;
}

.testimonial-card .rating i {
  margin-right: 2px;
}

.testimonial-quote {
  margin: 0 0 16px;
  color: #333;
  line-height: 1.6;
}

.author-meta h4 {
  margin: 0 0 4px;
  font-weight: 600;
}

.author-meta span {
  color: #777;
  font-size: 14px;
}

@media (max-width: 640px) {
  .testimonial-card {
    width: 82vw;
  }
}

/* Quote */
.quote {
  position: relative;
  min-height: 88vh;
  background: url('./images/bussinesMan.webp') center/cover no-repeat;
  display: grid;
  align-items: center;
  color: #fff;
}

.quote-overlay {
  position: absolute;
  inset: 0;
  background: rgba(42, 42, 42, 0.8);
}

.quote-inner {
  position: relative;
  text-align: center;
}

.quote blockquote {
  margin: 0;
}

.quote blockquote p {
  font-size: clamp(24px, 4.5vw, 64px);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 18px;
}

.quote blockquote footer {
  font-size: clamp(14px, 2vw, 20px);
  opacity: 0.9;
}

/* Footer */
.site-footer {
  background: var(--header-bg);
  color: #f3f3f3;
  padding: clamp(40px, 6vw, 80px) 0;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 6vw, 80px);
  align-items: start;
  position: relative;
}

/* Footer ortasındaki dikey çizgi */
.footer-grid::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-0.5px);
}

.footer-brand {
  margin-bottom: 24px;
}

.footer-logo {
  font-weight: 700;
  font-size: clamp(18px, 3vw, 32px);
  line-height: 1.1;
}

.footer-tag {
  margin-top: 8px;
  margin-bottom: 70px;
  opacity: 0.8;
  font-size: 14px;
}

.footer-hero {
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 200;
  margin: 24px 0;
}

.footer-cta {
  display: inline-block;
  border: 1px solid #fff;
  padding: 12px 18px;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
}

.footer-right {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 32px);
  justify-items: start;
}

.footer-col h4 {
  margin: 0 0 10px;
  font-weight: 600;
}

.footer-col p {
  margin: 0 0 8px;
}

.footer-col a {
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
}

.footer-col a:hover {
  opacity: 1;
}

.go-top {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
}

.go-top::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  border-left: 2px solid #fff;
  border-top: 2px solid #fff;
  transform: translate(-50%, -30%) rotate(45deg);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-right {
    grid-template-columns: 1fr;
  }

  .footer-grid::after {
    display: none;
  }
}

/* Hakkımızda Sayfası Stilleri */
.about-hero {
  position: relative;
  min-height: 60vh;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('./images/aboutPeople.webp') center/cover no-repeat;
  display: grid;
  align-items: center;
  color: #fff;
  padding-top: var(--header-height);
}

.about-hero-content {
  text-align: center;
  padding: clamp(40px, 8vw, 80px) 0;
}

.about-hero-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  margin: 0 0 16px;
}

.about-hero-subtitle {
  font-size: clamp(18px, 2.5vw, 24px);
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* About Content */
.about-content {
  padding: clamp(60px, 8vw, 120px) 0;
  background: #fafafa;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: stretch;
  /* iki kolon aynı yükseklikte olsun */
}

.about-text h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 200;
  margin: 0 0 54px;
  color: #111;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.about-text p {
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.7;
  margin: 0 0 20px;
  color: #333;
  text-align: justify;
  hyphens: auto;
}

.about-image img {
  width: 100%;
  height: auto;
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}


/* Stats Section */
.stats-section {
  padding: clamp(60px, 8vw, 120px) 0;
  background: var(--header-bg);
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 4vw, 48px);
  text-align: center;
}

.stat-item {
  padding: clamp(20px, 3vw, 32px);
}

.stat-number {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--cta-bg);
}

.stat-label {
  font-size: clamp(14px, 2vw, 18px);
  opacity: 0.9;
}

/* Active Navigation Link */
.main-nav a,
.mobile-nav a {
  position: relative;
}

.main-nav a.active,
.mobile-nav a.active {
  color: inherit;
  /* tuş rengi değişmesin */
  opacity: 1;
}

.main-nav a.active::after,
.mobile-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--cta-bg);
  border-radius: 2px;
}

/* Responsive */
@media (max-width: 1000px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .mv-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* === About Full-bleed override === */
.about-content {
  padding: 0;
  background: transparent;
}

.about-content>.container {
  width: 100%;
  margin: 0;
}

.about-grid {
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 90vh;
  align-items: stretch;
  /* eşit yükseklik */
}

.about-text {
  background: rgb(82, 82, 82);
  color: #ffffff;
  padding: clamp(32px, 5vw, 72px);
  display: grid;
  align-content: center;
  height: 113%;
}

.about-text h2 {
  color: #ffffff;
}

.about-text p {
  color: rgba(255, 255, 255, 0.92);
}

.about-image {
  min-height: 70vh;
  height: 113%;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  aspect-ratio: auto;
}

.about-content .about-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 182px 0 0;
  margin-top: 32px;
  width: 100%;
}

@media (max-width: 1000px) {
  .about-grid {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .about-image {
    min-height: 40vh;
  }

  .about-content .about-cta {
    padding: 0;
    margin-bottom: 64px;
  }
}

/* Core Values */
.core-values {
  padding: clamp(60px, 8vw, 120px) 0;
  background: #fff;
}

.mobile-nav ul {
  flex-direction: column;
  padding: 12px 4%;
  gap: 16px;
  width: 100%;
}

.mobile-nav li {
  width: 100%;
}

.mobile-nav a {
  width: 100%;
  display: flex;
  align-items: center;
}


.values-header {
  text-align: center;
  margin-bottom: clamp(24px, 5vw, 48px);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  /* tam genişlik: konteyner kısıtını aş (scrollbar genişliğini hesaba katan dvw) */
  width: 100dvw;
  margin-left: calc(50% - 50dvw);
  margin-right: calc(50% - 50dvw);
}

.value-card {
  background: transparent;
  border-radius: 0;
  padding: clamp(36px, 4.2vw, 64px);
  text-align: left;
  border-left: 1px solid rgba(0, 0, 0, 0.12);
  min-height: clamp(240px, 28vw, 360px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.value-card:first-child {
  border-left: none;
}

.value-card h3 {
  margin: 14px 0 8px;
  font-weight: 500;
  font-size: clamp(18px, 1.8vw, 22px);
  letter-spacing: 0.2px;
}

.value-card p {
  margin: 0;
  color: #555;
  line-height: 1.75;
  font-size: clamp(14px, 1.6vw, 14px);
}

.value-icon {
  width: 64px;
  height: 64px;
  border: 2px solid #111;
  position: relative;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon i {
  font-size: 28px;
  color: rgb(43, 0, 171);
}

@media (max-width: 1100px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-card {
    border-left: none;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
  }

  .value-card:nth-child(-n+2) {
    border-top: none;
  }
}

@media (max-width: 640px) {
  .values-grid {
    grid-template-columns: 1fr;
  }

  .value-card {
    border-top: 1px solid rgba(0, 0, 0, 0.12);
  }

  .value-card:first-child {
    border-top: none;
  }
}

/* Contact */
.contact-hero {
  padding: 0;
  padding-top: var(--header-height);
}

.contact-wrap {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 120vh;
  align-items: stretch;
}

.contact-text {
  background: rgb(82, 82, 82);
  color: #fff;
  display: grid;
  align-content: start;
  padding: clamp(32px, 5vw, 72px);
  height: 100%;
  padding-top: clamp(48px, 8vw, 96px);
  padding-left: clamp(64px, 10vw, 120px);
}

.contact-text h1 {
  font-size: clamp(32px, 6vw, 72px);
  font-weight: 500;
  margin: 0 0 32px;
}

.contact-line {
  width: 140px;
  height: 2px;
  background: rgba(255, 255, 255, 0.5);
  margin: 40px 0 40px;
}

.contact-text p {
  font-size: clamp(16px, 2vw, 20px);
  margin: 0 0 24px;
  opacity: 0.95;
}

.contact-info {
  margin-top: 80px;
}

.contact-item {
  margin-bottom: 48px;
}

.contact-item h3 {
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 500;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.9);
}

.contact-item p {
  font-size: clamp(14px, 1.8vw, 18px);
  margin: 8px 0;
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-item i {
  width: 16px;
  color: rgba(255, 255, 255, 0.7);
}

.contact-image {
  min-height: 120vh;
  height: 100%;
  background: url('./images/contact.webp') center/cover no-repeat;
}

/* Maps Section */
.maps-section {
  padding: clamp(80px, 10vw, 120px) 0;
  background: #f8f9fa;
}

.maps-header {
  text-align: center;
  margin-bottom: 48px;
}

.maps-header h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: #111;
  margin: 0;
}

.maps-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: start;
}

.map-item {
  text-align: center;
}

.map-item h3 {
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 600;
  color: #333;
  margin: 0 0 24px;
}

.map-embed {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.map-embed iframe {
  display: block;
}

.map-divider {
  width: 2px;
  height: 320px;
  background: linear-gradient(to bottom, transparent, #ddd, transparent);
  margin: 0 48px;
  align-self: center;
}

.maps-section .contact-left-phone-number-container {
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 1000px) {
  .maps-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .map-divider {
    display: none;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .contact-image {
    min-height: 50vh;
  }
}

/* Blog Sayfası Stilleri */
.blog-hero {
  padding: clamp(80px, 15vw, 120px) 0;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url('./images/blog.webp') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding-top: calc(var(--header-height) + clamp(80px, 15vw, 120px));
}

.blog-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.blog-hero-content h1 {
  font-size: clamp(38px, 8vw, 64px);
  font-weight: 700;
  margin: 0;
  line-height: 1.1;
  margin-left: 20px;
}

.blog-hero-content p {
  font-size: clamp(16px, 3vw, 20px);
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Blog Header with Logo and Vertical Line */
.blog-header-with-logo {
  display: flex;
  /* Logo, çizgi ve h1'i yan yana getir */
  align-items: center;
  /* Dikeyde ortala */
  justify-content: center;
  /* Yatayda ortala */
  gap: 20px;
  /* Elemanlar arasındaki boşluk */
  margin-bottom: 24px;
  /* Altındaki paragrafla boşluk */
}

.blog-logo {
  height: 90px;
  /* Logonun yüksekliği */
  width: auto;
  /* Orantılı genişlik */
}

.vertical-line {
  width: 2px;
  /* Çizginin kalınlığı */
  height: 60px;
  /* Çizginin yüksekliği (logonun ve yazının yüksekliğine göre ayarlanabilir) */
  background-color: #fff;
  /* Çizginin rengi */
  opacity: 0.7;
  /* Çizginin opaklığı */
}

.blog-posts {
  padding: clamp(80px, 10vw, 120px) 0;
  background: #fff;
}


.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: clamp(32px, 4vw, 48px);
}

.blog-post {
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.post-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-post:hover .post-image img {
  transform: scale(1.05);
}

.post-content {
  padding: clamp(24px, 4vw, 32px);
}

.post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 14px;
}

.post-category {
  background: var(--cta-bg);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 500;
}

.post-date {
  color: #666;
}

.post-title {
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 600;
  margin: 0 0 16px;
  color: #111;
  line-height: 1.3;
}

.post-excerpt {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin: 0 0 24px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cta-bg);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: #4a2fd8;
}

.read-more i {
  transition: transform 0.3s ease;
}

.read-more:hover i {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .posts-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .post-image {
    height: 200px;
  }
}

.featured-post-container {
  width: 100%;
  margin-bottom: 48px;
  min-height: 400px;
  display: flex;
  gap: 30px;
  /* İki post arasında boşluk bırakır */
}

.special-blog-post {
  position: relative;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fffbea;
  /* hafif sarımsı iç arka plan */
  overflow: hidden;
  /* border taşmasın */
  border-radius: 0;
  min-height: auto;
  display: flex;
  flex-direction: column;
  /* Görsel ve içeriği yatayda hizala */
  align-items: center;
  /* Dikeyde ortala */
  flex: 1;
  /* Esneklik özelliği ekler */
}

/* Mobilde featured post'ları alt alta yap */
@media (max-width: 768px) {
  .featured-post-container {
    flex-direction: column;
    gap: 20px;
  }
  
  .special-blog-post {
    flex: none;
    width: 100%;
  }
}

.special-blog-post .post-content {
  flex: 1;
}

.special-blog-post .post-image {
  height: 450px;
  min-height: auto;
}

/* Animasyonlu Border */
.special-blog-post::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid transparent;
  border-radius: 0;
  background: linear-gradient(90deg, #d4af37, #8a2be2, #2575fc, #d4af37);
  background-size: 400% 400%;
  z-index: 0;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 2px;
  /* border kalınlığı */
}


/* İçeriği border üstüne taşıyalım */
.special-blog-post>* {
  position: relative;
  z-index: 1;
}

.special-blog-post::before {
  display: none;
}

.special-blog-post .special-content-banner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(55, 55, 55, 0.447);
  backdrop-filter: blur(10px);
  color: white;
  padding: 10px 0;
  font-size: 0.8em;
  font-family: 'Questrial', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 2;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.special-blog-post::before {
  display: none;
}

.special-blog-post .special-content-banner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(55, 55, 55, 0.447);
  backdrop-filter: blur(10px);
  color: white;
  padding: 10px 0;
  font-size: 0.8em;
  font-family: 'Questrial', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 2;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* Blog Search Section */
.blog-search-section {
  padding: 35px 0 0;
  background: #fff;
}

.blog-search-container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 20px;
}

.blog-search-form {
  position: relative;
  display: flex;
  align-items: center;
}

.blog-search-input {
  width: 100%;
  padding: 18px 20px;
  padding-right: 60px;
  border: 2px solid rgb(120, 120, 120);
  font-size: 16px;
  font-family: 'Questrial', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.blog-search-input:focus {
  outline: none;
  border-color: var(--cta-bg);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(90, 54, 255, 0.1);
}

.blog-search-button {
  position: absolute;
  right: 8px;
  background-color: transparent;
  color: rgb(64, 64, 64);
  border: none;
  border-radius: 50px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.blog-search-button:hover {
  background: #3a2bd8;
  transform: scale(1.05);
  color: white;
}

.blog-search-button i {
  font-size: 18px;
}

@media (max-width: 768px) {
  .blog-search-container {
    padding: 0 15px;
  }
  
  .blog-search-input {
    padding: 14px 18px;
    padding-right: 55px;
    font-size: 15px;
  }
  
  .blog-search-button {
    width: 40px;
    height: 40px;
  }
  
  .blog-search-button i {
    font-size: 16px;
  }
}

/* FAQ Section */
.faq-section {
  padding: clamp(80px, 10vw, 120px) 0;
  background: #fff;
}

.faq-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 48px;
}

.faq-titles h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  margin: 0 0 8px;
  color: #111;
  text-align: center;
}

.faq-titles h3 {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 500;
  margin: 0;
  color: #333;
  text-align: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid #eee;
  padding: 32px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: #111;
}

.faq-toggle {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  padding: 8px;
  transition: color 0.3s ease;
}

.faq-toggle:hover {
  color: #333;
}

.faq-answer {
  margin-top: 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
  opacity: 0;
}

.faq-item.expanded .faq-answer {
  max-height: 300px;
  opacity: 1;
  margin-top: 24px;
}

.faq-answer p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin: 0 0 20px;
}

.faq-share {
  display: flex;
  gap: 16px;
}

.faq-share a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.faq-share a:hover {
  color: var(--cta-bg);
}

@media (max-width: 1000px) {
  .faq-header {
    flex-direction: column;
    gap: 16px;
  }
}


/* Blog Detail Page Styles */
.blog-detail-hero {
  padding: clamp(60px, 10vw, 90px) 0;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
  /* Arka plan dinamik olabilir */
  color: #fff;
  text-align: center;
  padding-top: calc(var(--header-height) + clamp(60px, 10vw, 90px));
}

.blog-detail-meta {
  font-size: 16px;
  margin-bottom: 16px;
  opacity: 0.8;
}

.blog-detail-meta .blog-category {
  background: var(--cta-bg);
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 500;
  margin-right: 12px;
}

.blog-detail-meta .blog-date {
  color: rgba(255, 255, 255, 0.7);
}

.blog-detail-title {
  font-size: clamp(36px, 7vw, 64px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 20px;
}

.blog-detail-author {
  font-size: 18px;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.8);
}

.blog-content-section {
  padding: clamp(60px, 8vw, 100px) 0;
  background: #fff;
}

/* Hero sonrası ilk içerik için daha sıkı üst boşluk varyantı */
.blog-content-section.compact {
  padding-top: clamp(24px, 4vw, 40px);
}

.content-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(40px, 5vw, 60px);
}

.main-content {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

.main-content h3 {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 600;
  margin: 48px 0 24px;
  color: #111;
}

.main-content h4 {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 600;
  margin: 40px 0 20px;
  color: #111;
}

.main-content p {
  margin-bottom: 20px;
  font-size: 22px;
  line-height: 1.6;
}

.main-content ul,
.main-content ol {
  margin: 32px 0;
  padding-left: 20px;
}

.main-content li {
  margin-bottom: 12px;
  line-height: 1.6;
  font-size: 18px;
}

/* Support block (Almanya sayfası) */
.support-block {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(20px, 4vw, 40px);
  align-items: center;
  margin: 48px 0 40px;
}

.support-text p {
  margin: 0 0 16px;
}

.support-text .secondary-cta {
  color: #0f0f10;
}

.support-media img {
  width: 100%;
  height: 100%;
  max-height: 600px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

@media (max-width: 900px) {
  .support-block {
    grid-template-columns: 1fr;
  }

  .support-media img {
    max-height: 60vh;
  }
}

/* Closing CTA */
.closing-cta {
  position: relative;
  min-height: 60vh;
  display: grid;
  align-items: center;
  color: #fff;
}

.closing-cta-bg {
  position: absolute;
  inset: 0;
  background: center/cover no-repeat;
}

.closing-cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.closing-cta-content {
  position: relative;
  text-align: left;
  padding: clamp(40px, 8vw, 100px) 0;
}

.closing-cta-content h2 {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  margin: 0 0 16px;
}

.closing-cta-content p {
  font-size: clamp(16px, 2.5vw, 22px);
  max-width: 900px;
  margin: 0 0 24px;
}

.content-image {
  display: block;
  margin: 0 auto 40px;
}

.blog-share-sidebar {
  background: #f8f9fa;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: calc(var(--header-height) + 20px);
}

.blog-share-sidebar h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 24px;
  color: #111;
}

.blog-share-sidebar a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #555;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  transition: color 0.3s ease;
}

.blog-share-sidebar a:last-child {
  border-bottom: none;
}

.blog-share-sidebar a i {
  font-size: 20px;
  color: var(--cta-bg);
}

.blog-share-sidebar a:hover {
  color: var(--cta-bg);
}

@media (max-width: 1000px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .blog-share-sidebar {
    position: static;
    margin-top: 40px;
  }
}

/* Blog detail – alt görsel */
.content-image-bottom {
  display: block;
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  margin: 32px auto 0;
}

@media (max-width: 640px) {
  .content-image-bottom {
    aspect-ratio: 4 / 3;
  }
}

/* Blog detail – üstteki görsel */
.content-image {
  display: block;
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  margin: 0 auto 32px;
}

@media (max-width: 640px) {
  .content-image {
    aspect-ratio: 4 / 3;
  }
}

/* Blog yazıların sağ sol hizalama */

.blog-texts {
  text-align: justify;
  text-justify: inter-word;
}

#blogDetailContent p,
li {
  text-align: justify;
  text-justify: inter-word;
}

/* Resim yükleme optimizasyonları */
.site-logo-image {
  /* Logo için hızlı yükleme */
  will-change: transform;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  /* Resim kalitesi için */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  /* Logo boyutu optimizasyonu */
  width: auto;
  height: 50px;
  max-width: none;
}

/* Tüm resimler için genel optimizasyonlar */
img {
  /* Resim yükleme performansı */
  will-change: transform;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  /* Resim kalitesi */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  /* Smooth loading */
  transition: opacity 0.3s ease;
  /* Responsive boyutlandırma */
  max-width: 100%;
  height: auto;
}

/* Resim yüklenirken smooth transition */
img[loading] {
  opacity: 0;
}

img[loading="eager"] {
  opacity: 1;
}

/* Lazy loaded images için fade-in effect */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.5s ease;
}

img[loading="lazy"].loaded {
  opacity: 1;
}


/* Resim container optimizasyonları */
.header-logo-container {
  /* Logo container performansı */
  will-change: transform;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

/* Resim yükleme placeholder */
img::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

@media (max-width: 640px) {
  .header-inner {
    padding: 0 16px;
    gap: 16px;
  }

  /* Header container'a ek boşluk */
  .site-header .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Çok küçük ekranlarda yazıları daha da küçült */
  .main-content h3 {
    font-size: 22px;
    margin: 36px 0 18px;
  }

  .main-content h4 {
    font-size: 20px;
    margin: 30px 0 16px;
  }

  .main-content p {
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 18px;
  }

  .main-content li {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 11px;
  }

  .main-content ul,
  .main-content ol {
    margin: 26px 0;
    padding-left: 17px;
  }

  .blog-content-section {
    padding: 45px 0;
  }

  .blog-content-section.compact {
    padding-top: 25px;
  }

  .content-grid {
    gap: 35px;
  }

  .support-block {
    gap: 22px;
    margin: 36px 0 28px;
  }

  .support-text p {
    font-size: 17px;
    line-height: 1.6;
    margin: 0 0 13px;
  }
}

@media (max-width: 1024px) {
  .main-content h3 {
    font-size: clamp(22px, 3vw, 28px);
    margin: 40px 0 20px;
  }

  .main-content h4 {
    font-size: clamp(19px, 2.5vw, 24px);
    margin: 32px 0 18px;
  }

  .main-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 18px;
  }

  .main-content li {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 11px;
  }

  .main-content ul,
  .main-content ol {
    margin: 28px 0;
    padding-left: 18px;
  }

  .blog-content-section {
    padding: clamp(50px, 6vw, 80px) 0;
  }

  .blog-content-section.compact {
    padding-top: clamp(20px, 3vw, 30px);
  }

  .content-grid {
    gap: clamp(35px, 4vw, 50px);
  }

  .support-block {
    gap: clamp(25px, 3vw, 35px);
    margin: 40px 0 32px;
  }

  .support-text p {
    font-size: 17px;
    line-height: 1.6;
    margin: 0 0 14px;
  }
}

@media (max-width: 640px) {
  .hero-video {
    /* Çok küçük ekranlarda video kalitesi için - zoom yapma */
    object-position: center 90%;
    /* Video'nun üst kısmını neredeyse hiç gösterme, en az zoom */
    transform: none;
    /* Zoom'u tamamen kaldır */
  }

  /* Çok küçük ekranlarda why-us layout'unda feature'ları alt alta yap */
  .why-layout {
    gap: 16px;
    /* Daha az boşluk */
  }

  .why-title {
    margin-bottom: 16px;
    /* Daha az alt boşluk */
  }

  /* Çok küçük ekranlarda countries yazılarını daha büyük yap */
  .countries .section-title {
    font-size: clamp(26px, 4.5vw, 32px);
    /* Countries başlığını daha büyük yap */
  }

  .countries .section-subtitle {
    font-size: clamp(14px, 2vw, 16px);
    /* Countries alt yazısını daha büyük yap */
  }

  /* Çok küçük ekranlarda hero yazılarını biraz büyült */
  .hero-title {
    font-size: clamp(32px, 6.5vw, 44px);
    /* Çok küçük ekranlarda da okunabilir */
  }

  .hero-subtitle {
    font-size: clamp(13px, 2vw, 16px);
    /* Çok küçük ekranlarda da okunabilir */
  }

  .welcome-title {
    font-size: clamp(20px, 4.2vw, 26px);
    /* Çok küçük ekranlarda da okunabilir */
  }

  .welcome-text {
    font-size: 14px;
    line-height: 1.5;
    /* Çok küçük ekranlarda da okunabilir */
  }

  .header-inner {
    padding: 10px 16px;
    gap: 16px;
  }

  /* Header container'a ek boşluk */
  .site-header .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Header'a üstten ve alttan boşluk */
  .site-header {
    padding: 6px 0;
  }

  /* Çok küçük ekranlarda yazıları daha da küçült */
  .main-content h3 {
    font-size: 22px;
    margin: 36px 0 18px;
  }

  .main-content h4 {
    font-size: 20px;
    margin: 30px 0 16px;
  }

  .main-content p {
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 18px;
  }

  .main-content li {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 11px;
  }

  .main-content ul,
  .main-content ol {
    margin: 26px 0;
    padding-left: 17px;
  }

  .blog-content-section {
    padding: 45px 0;
  }

  .blog-content-section.compact {
    padding-top: 25px;
  }

  .content-grid {
    gap: 35px;
  }

  .support-block {
    gap: 22px;
    margin: 36px 0 28px;
  }

  .support-text p {
    font-size: 17px;
    line-height: 1.6;
    margin: 0 0 13px;
  }
}

@media (max-width: 1024px) {
  .hero-video {
    /* Orta boyut ekranlarda kalite dengesi - minimal zoom */
    object-position: center 80%;
    /* Video'nun üst kısmını neredeyse hiç gösterme, çok az zoom */
    transform: scale(1.02);
    /* Çok minimal zoom, neredeyse hiç zoom yapma */
  }

  /* Tablet'te why-us layout'unda feature'ları alt alta yap */
  .why-layout {
    grid-template-columns: 1fr;
    /* Tek sütun yap */
    grid-template-rows: auto auto auto auto;
    /* 4 satır yap */
    gap: 24px;
    /* Feature'lar arası boşluk */
    min-height: auto;
    /* Yükseklik otomatik */
  }

  /* Tablet'te why-title'ı üstte yap */
  .why-title {
    grid-area: 1 / 1 / 2 / 2;
    margin-bottom: 24px;
  }

  /* Tablet'te feature'ları sırayla alt alta yap */
  .f-tr {
    grid-area: 2 / 1 / 3 / 2;
    /* İkinci satır */
  }

  .f-bl {
    grid-area: 3 / 1 / 4 / 2;
    /* Üçüncü satır */
  }

  .f-br {
    grid-area: 4 / 1 / 5 / 2;
    /* Dördüncü satır */
  }

  /* Tablet'te çizgileri gizle */
  .why-layout::before,
  .why-layout::after {
    display: none;
  }

  /* Header'a tablet için boşluk */
  .header-inner {
    padding: 10px 24px;
    gap: 24px;
  }

  .site-header .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  /* Header'a üstten ve alttan boşluk */
  .site-header {
    padding: 8px 0;
  }

  /* Tablet boyutlarında yazıları orta seviyede tut */
  .section-title {
    font-size: clamp(26px, 4.5vw, 42px);
  }

  .section-subtitle {
    font-size: clamp(14px, 1.9vw, 17px);
  }

  /* Tablet'te countries section yazılarını daha büyük yap */
  .countries .section-title {
    font-size: clamp(30px, 5.5vw, 44px);
    /* Countries başlığını daha büyük yap */
  }

  .countries .section-subtitle {
    font-size: clamp(16px, 2.3vw, 19px);
    /* Countries alt yazısını daha büyük yap */
  }

  .blog-texts {
    font-size: 15px;
    line-height: 1.6;
  }

  .fbi-lead {
    font-size: 15px;
    line-height: 1.6;
  }

  .hero-title {
    font-size: clamp(36px, 6.5vw, 72px);
  }

  .hero-subtitle {
    font-size: clamp(13px, 2.2vw, 20px);
  }

  .welcome-title {
    font-size: clamp(22px, 4.2vw, 32px);
  }

  .welcome-text {
    font-size: 15px;
    line-height: 1.5;
  }

  .testimonials-subtitle {
    font-size: 15px;
  }

  .testimonial-quote {
    font-size: 15px;
    line-height: 1.5;
  }

  .feature h3 {
    font-size: 19px;
  }

  .feature p {
    font-size: 15px;
    line-height: 1.5;
  }
}

.language-blog .secondary-cta {
  color: #0f0f10
}

/* Ana sayfa öne çıkan yazılar bölümü */

.featured-articles {
  padding: 70px 10px;
}

.featured-articles .section-title {
  text-align: center;
  margin-bottom: 70px;
  font-weight: 700;
}

.featured-articles {
  padding: clamp(40px, 7vw, 90px) 0;
  background: #fdfdfd;
}

.main-page-blog-layout {
  text-align: center;
}

.main-page-blog-card {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  margin: 40px auto 0;
  min-height: 480px;
  /* Sabit yükseklik yerine min-height kullandık */
  /* height: auto; */
  /* Ya da tamamen kaldırılabilir */
}

.main-page-blog-card .blog-post {
  display: flex;
  align-items: stretch;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
}

/* Ana sayfa kartının görsel kapsayıcısı */
.main-page-blog-card .post-image-large {
  flex: 0 0 55%;
  /* Resim sabit %70 genişlik kaplasın ve küçülmesin */
  height: auto;
  /* Yüksekliği içeriğe göre otomatik ayarla */
  overflow: hidden;
}

.main-page-blog-card .post-image-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Ana sayfa kartının içerik kapsayıcısı */
.main-page-blog-card .post-content-right {
  flex: 0 0 45%;
  padding: 20px 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* İçerikleri üstten alta sıralar */
}

/* Ana sayfa kartının başlık stili */
.main-page-blog-card .post-title-large {
  font-size: clamp(1.4em, 2.5vw, 1.8em);
  /* Başlık boyutunu responsive yap */
  margin: 15px 0;
  line-height: 1.3;
  font-weight: 700;
  color: #1a1a1a;
}

/* Ana sayfa kartının alt başlık stili */
.main-page-blog-card .post-excerpt {
  font-size: clamp(0.9em, 1.5vw, 1em);
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
  /* Alt başlık ile buton arasına boşluk */
  flex-grow: 0;
  /* İçeriğin kalan boşluğu doldurmasını engeller */
}

/* Devamını Oku butonuna üst boşluk ekleyelim */
.main-page-blog-card .read-more {
  margin-top: 15px;
  /* Alt açıklamadan sonra 15px boşluk bırakır */
  display: inline-block;
  color: #5a36ff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
}

/* Animasyon keyframes güncellendi */
@keyframes slideInRight {
  from {
    transform: translateX(100%) scale(0.95);
    /* Hafif scale başlangıcı */
    opacity: 0;
  }

  to {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
}

@keyframes slideOutLeft {
  from {
    transform: translateX(0) scale(1);
    opacity: 1;
  }

  to {
    transform: translateX(-100%) scale(0.95);
    /* Hafif scale sonu */
    opacity: 0;
  }
}

.main-page-blog-card .blog-post.slide-in-right {
  /* Animasyon zamanlaması için cubic-bezier değeri güncellendi */
  animation: slideInRight 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.main-page-blog-card .blog-post.slide-out-left {
  /* Animasyon zamanlaması için cubic-bezier değeri güncellendi */
  animation: slideOutLeft 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Language Selector Styles */
.language-selector {
  position: relative;
  display: inline-block;
}

.language-toggle {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: var(--header-fg);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.language-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

.language-dropdown {
  min-width: 120px;
  right: 0;
  left: auto;
}

.language-option {
  padding: 10px 15px;
  display: block;
  color: var(--header-fg);
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.language-option:hover,
.language-option.active {
  background-color: rgba(255, 255, 255, 0.1);
}

.language-option.active {
  font-weight: 700;
}

/* Mobile Language Selector */
@media (max-width: 1024px) {
  .language-selector {
    width: 100%;
  }
  
  .language-toggle {
    justify-content: space-between;
    width: 100%;
  }
  
  .language-dropdown {
    position: static;
    box-shadow: none;
    background-color: transparent;
    width: 100%;
  }
  
  .language-option {
    padding: 12px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}