/* Tam ekran bölüm ayarı */
section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0;
}

/* Buton Stili */
.btn {
  display: inline-flex;
  align-items: center;
  background-color: var(--primary-blue);
  color: white !important;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #0d3691;
  transform: translateY(-2px);
}

.btn i {
  margin-left: 8px;
}
body {
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  background-color: #fff;
  line-height: 1.6;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar */
header {
  background: #fff;
  padding: 20px 0;
  border-bottom: 1px solid #f1f5f9;
  position: sticky;
  top: 0;
  z-index: 1000;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-box {
  display: flex;
  align-items: center; /* Dikeyde ortala */
  justify-content: flex-start; /* Logoyu sola yasla (veya center) */
  width: auto; /* Genişliği serbest bırak (sabit 120px olmasın) */
  min-width: 150px; /* En az bu kadar yer kaplasın */
  height: 100%; /* Header yüksekliği (80px) kadar olsun */
  overflow: visible; /* Taşan kısımları (zoom yaparsak) gizleme, gerekirse 'hidden' yapın */
  position: relative;
}

.logo-img {
  /* Sabit konumlandırma (absolute) yerine esnek yapı kullanıyoruz */
  position: relative;
  width: auto !important; /* Genişlik orantılı olsun */
  height: auto !important; /* Yükseklik orantılı olsun */

  /* Logoyu sınırlandırmak için maksimum değerler */
  max-height: 80px; /* Header 80px ise logo 60px olsun (padding gibi boşluk kalır) */
  max-width: 200px; /* Çok aşırı uzamasını engeller */

  /* Görselin kendisinde çok boşluk varsa aşağıdaki değeri artırın (örn: 1.3 veya 1.5) */
  transform: scale(1.2);

  object-fit: contain;
  margin: 0 !important;
  padding: 0 !important;

  /* Önceki absolute/transform kodlarını iptal ediyoruz */
  top: auto;
  left: auto;
}
.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
}
.nav-links a.active {
  color: var(--primary-blue);
}
.btn-nav {
  background: var(--primary-blue);
  color: white !important;
  padding: 10px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
}

/* İLETİŞİM BÖLÜMÜ */
.contact-section {
  padding: 100px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact-info h1 {
  font-family: "Poppins";
  font-size: 5rem;
  font-weight: 900;
  line-height: 0.9;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.contact-info p.lead {
  font-size: 1.2rem;
  color: var(--text-gray);
  margin-bottom: 50px;
}

.info-card {
  background: var(--bg-light);
  padding: 30px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.info-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-form-box {
  background: #fff;
  padding: 50px;
  border-radius: 30px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.03);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  outline: none;
}
.btn-send {
  width: 100%;
  background: var(--primary-blue);
  color: white;
  border: none;
  padding: 18px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}
.btn-send:hover {
  background: #0e3a96;
}

/* SOSYAL TAKİP BÖLÜMÜ */
.social-follow {
  padding: 80px 0;
  text-align: center;
  background-color: #fff;
  border-top: 1px solid #f1f5f9;
}
.social-follow h2 {
  font-family: "Poppins";
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
}
.social-follow p {
  color: var(--text-gray);
  margin-bottom: 40px;
}
.social-icons-row {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.social-circle {
  width: 60px;
  height: 60px;
  background: var(--primary-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  transition: 0.3s;
}
.social-circle:hover {
  transform: translateY(-5px);
  background: var(--text-dark);
}


/* --- MOBİL UYUMLULUK (TELEFONLAR İÇİN) --- */
@media (max-width: 768px) {
  /* 1. Başlık ve Üst Kısım */
  .contact-section {
    padding: 60px 0; /* Boşlukları daralt */
  }

  .contact-info h1 {
    font-size: 3rem; /* 5rem'den 3rem'e düşürerek ekrana sığdır */
    line-height: 1.1;
    margin-bottom: 15px;
  }

  .contact-info p.lead {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }

  /* 2. Grid Yapısını Tek Sütuna Düşür */
  .contact-grid {
    grid-template-columns: 1fr; /* Yan yana olan yapıyı alt alta yap */
    gap: 40px;
  }

  /* 3. İletişim Kartları (Telefon, E-posta) */
  .info-card {
    padding: 20px;
    margin-bottom: 15px;
  }

  .info-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  /* 4. Form Kutusu */
  .contact-form-box {
    padding: 30px 20px; /* İç boşluğu azaltarak forma daha çok yer aç */
    border-radius: 20px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px; /* Giriş alanlarını mobilde daha kolay tıklanabilir yap */
    font-size: 16px; /* Mobil tarayıcılarda zoom yapmasını önlemek için ideal font boyutu */
  }

  .btn-send {
    padding: 15px;
    font-size: 1rem;
  }

  /* 5. Sosyal Takip Bölümü */
  .social-follow h2 {
    font-size: 1.8rem;
  }

  .social-icons-row {
    gap: 12px;
    flex-wrap: wrap; /* İkonlar sığmazsa alt satıra geçsin */
  }

  .social-circle {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  /* 6. Footer Düzenlemesi */
  .f-bottom {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .f-bottom-left {
    flex-direction: column;
  }

  .f-office-img {
    width: 100%; /* Ofis görselini tam genişlik yap */
    height: 150px;
  }

  .f-big-text {
    font-size: 1.5rem;
  }

  .newsletter-box {
    flex-direction: column;
    width: 100%;
  }

  .newsletter-box input {
    width: 100%;
  }
}

/* --- MOBİL MENÜ TASARIMI --- */
.menu-toggle {
  display: none; /* Masaüstünde gizli */
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  z-index: 1001;
}

.menu-toggle .bar {
  width: 28px;
  height: 3px;
  background-color: var(--primary-blue);
  transition: 0.3s;
  border-radius: 2px;
}

.mobile-only {
  display: none;
} /* Masaüstünde gizle */

@media (max-width: 992px) {
  /* 1. Menü Paneli Ayarları */
  .nav-links {
    position: fixed !important;
    top: 0 !important;
    left: -100% !important; /* Başlangıçta gizli */
    width: 280px !important;
    height: 100vh !important;
    background-color: #ffffff !important; /* Panel bembeyaz */
    display: flex !important;
    flex-direction: column !important; /* Linkleri alt alta diz */
    align-items: flex-start !important;
    justify-content: flex-start !important;
    padding: 100px 30px !important;
    transition: left 0.4s ease-in-out !important;
    z-index: 10000 !important;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
  }

  /* Menü aktif olduğunda ekrana gelsin */
  .nav-links.active {
    left: 0 !important;
  }

  /* 2. Menü İçindeki Linklerin Görünürlüğü (En Kritik Kısım) */
  .nav-links li {
    width: 100% !important;
    list-style: none !important;
    margin-bottom: 15px !important;
  }

  .nav-links a {
    color: #0a2558 !important; /* Beyaz zeminde görünmesi için lacivert */
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    display: block !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    text-decoration: none !important;
  }

  /* 3. Hamburger Butonu Her Zaman Üstte Kalsın */
  .menu-toggle {
    display: flex !important;
    z-index: 10001 !important;
    position: relative;
    cursor: pointer;
  }

  /* 4. Karartma Perdesi */
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: none;
    backdrop-filter: blur(4px);
  }

  .nav-overlay.active {
    display: block !important;
  }

  .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

 .desktop-only {
    display: none !important;
  }

  /* Menü açıldığında butonun menüyle çakışmasını engellemek için */
  header .btn-nav {
    display: none !important;
  }
}

/* 1. Başlangıçta gizlenecek öğeler */
/* Buraya animasyonlu gelmesini istediğin tüm genel yapıları ekleyebilirsin */
h1,
h2,
h3,
.service-card,
.stat-item,
.testimonial-content,
.cta h2,
.footer-col {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Daha akıcı bir geçiş */
  will-change: opacity, transform;
}

/* 2. Ekrana girince tetiklenecek sınıf */
.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* 3. Yan yana duran öğeler için otomatik gecikme (Sıralı geliş efekti) */
/* Aynı kutu içindeki öğeler sırayla gelsin */
.is-visible:nth-child(2) {
  transition-delay: 0.1s;
}
.is-visible:nth-child(3) {
  transition-delay: 0.2s;
}
.is-visible:nth-child(4) {
  transition-delay: 0.3s;
}
