/* Navbar */
header {
  background: #fff;
  padding: 20px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
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 {
  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;
}

.btn-nav {
  background: var(--primary-blue);
  color: white !important;
  padding: 10px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
}

/* HİZMETLER HERO */
.services-hero {
  padding: 160px 0 60px;
}
.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
}
.hero-top h1 {
  font-family: "Poppins";
  font-size: 5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -2px;
}
.hero-top .all-services {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.services-hero p.hero-sub {
  font-size: 1.25rem;
  color: var(--text-gray);
  max-width: 450px;
  margin-bottom: 80px;
}

/* 6 HİZMET KARTI (Görsellerdeki Sırayla) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 120px;
}
.service-card {
  background: #fff;
  padding: 60px;
  border-radius: 45px;
  border: 1px solid #f1f5f9;
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
  border-color: transparent;
}

.icon-box {
  width: 80px;
  height: 80px;
  background: var(--primary-blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 2rem;
  margin-bottom: 35px;
}
.service-card h3 {
  font-family: "Poppins";
  font-size: 2.2rem;
  margin-bottom: 25px;
  letter-spacing: -0.5px;
}
.service-card p {
  color: var(--text-gray);
  font-size: 1.1rem;
  margin-bottom: 35px;
  min-height: 80px;
}

.service-list {
  list-style: none;
  margin-bottom: 40px;
}
.service-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  color: #334155;
  font-weight: 500;
}
.service-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background-color: var(--primary-blue);
  border-radius: 50%;
}

.detail-link {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
}

/* ÇALIŞMA SÜRECİMİZ */
.process-section {
  padding: 120px 0;
  background: #fff;
  text-align: center;
}
.process-section h2 {
  font-family: "Poppins";
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #0f172a;
}
.process-section p.subtitle {
  color: var(--text-gray);
  margin-bottom: 90px;
  font-size: 1.2rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.process-item h4 {
  font-size: 5rem;
  color: var(--primary-blue);
  font-weight: 900;
  margin-bottom: 10px;
  opacity: 0.9;
}
.process-item h5 {
  font-family: "Poppins";
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: #0f172a;
}
.process-item p {
  color: var(--text-gray);
  font-size: 1rem;
  line-height: 1.5;
  padding: 0 10px;
}

/* Spacer */
.spacer {
  height: 120px;
  background: #fff;
}


/* Talk with Us Button */
.floating-chat {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--primary-blue);
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(21, 76, 189, 0.4);
  cursor: pointer;
  z-index: 9999;
  font-weight: 600;
}
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
  .hero-top h1 {
    font-size: 3.5rem;
  }
}
/* --- 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;
}


/* Tablet ve Küçük Ekranlar (992px altı) */
@media (max-width: 992px) {
    /* Hero Bölümü */
    .services-hero {
        padding-top: 150px;
        padding-bottom: 40px;
    }

    .hero-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 30px;
    }

    .hero-top h1 {
        font-size: 3.5rem !important;
        letter-spacing: -1px;
    }

    .services-hero p.hero-sub {
        margin-bottom: 50px;
        font-size: 1.1rem;
    }

    /* Hizmet Kartları - Tek Sütun */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 80px;
    }

    .service-card {
        padding: 40px 25px;
        border-radius: 30px;
    }

    .service-card h3 {
        font-size: 1.8rem;
    }

    /* ÇALIŞMA SÜRECİMİZ - İSTEĞİN ÜZERİNE 2x2 DÜZENİ */
    .process-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2 Sütun */
        gap: 40px 20px; /* Satır ve Sütun boşluğu */
    }

    .process-section h2 {
        font-size: 3rem;
    }

    .process-item h4 {
        font-size: 3.5rem; /* Rakam boyutunu dengeler */
    }

    .process-item h5 {
        font-size: 1.4rem;
    }
}

/* Küçük Telefonlar (576px ve altı) */
@media (max-width: 576px) {
    .hero-top h1 {
        font-size: 2.8rem !important;
    }

    .process-section h2 {
        font-size: 2.2rem;
    }

    /* Çok küçük ekranlarda yazıların sığması için */
    .process-grid {
        gap: 30px 10px;
    }

    .process-item p {
        font-size: 0.9rem;
        padding: 0;
    }

    /* Menü Çizgilerinin Görünürlüğü */
    .menu-toggle .bar {
        background-color: #0a2558; /* Beyaz header üzerinde lacivert çizgiler */
    }
  }