/*
  TEMA ADI: ODK Kurumsal
  RENKLER: Turuncu (Vurgu), Mor (Marka), Açık Gri (Arkaplan)
  TİPOGRAFİ: Poppins
  AÇIKLAMA: Bu dosya, projenin tüm özel stillerini içerir.
*/

/* ==========================================================================
   1. TEMEL DEĞİŞKENLER VE GENEL KURULUM
   ========================================================================== */
:root {
  /* Renk Paleti */
  --bs-primary: #FF6700;
  --bs-primary-rgb: 255, 103, 0;
  --odk-purple: #5A3E8A;

  /* Arkaplan ve Kenarlık Renkleri */
  --bs-body-bg: #f8f9fa;
  --bs-body-color: #212529;
  --bs-tertiary-bg: #ffffff;
  --bs-border-color: #dee2e6;

  /* Tipografi */
  --bs-font-sans-serif: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --bs-heading-font-family: 'Poppins', sans-serif;
  --bs-heading-font-weight: 600;

  /* Genel Stil Ayarları */
  --bs-border-radius: 0.375rem;
  --bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --bs-box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
  --bs-link-color: var(--odk-purple);
  --bs-link-hover-color: #3c2a5c;

  /* Navbar'ın bölümlerin üzerine gelmesini engellemek için kaydırma boşluğu */
  scroll-padding-top: 70px;
}

html {
  /* Yumuşak ve yaslanan kaydırma efektleri */
  scroll-snap-type: y proximity;
  scroll-behavior: smooth;
}

/* ==========================================================================
   2. TEMEL STİLLER VE TİPOGRAFİ
   ========================================================================== */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--bs-heading-font-family);
  font-weight: var(--bs-heading-font-weight);
}

.section-title {
  margin-bottom: 4rem;
}

.section-title h2 {
  font-weight: 700;
}

.section-title p {
  color: #6c757d;
}

/* ==========================================================================
   3. ANA BİLEŞEN ÖZELLEŞTİRMELERİ (Buttons, Cards, Navbar etc.)
   ========================================================================== */

/* --- Butonlar --- */
.btn {
  font-weight: 500;
  transition: all 0.25s ease-out;
  padding: 0.75rem 1.75rem;
  border-radius: 50rem;
}

.btn-primary {
  color: #fff;
  box-shadow: 0 4px 15px -5px rgba(var(--bs-primary-rgb), 0.6);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px -5px rgba(var(--bs-primary-rgb), 0.7);
}

/* --- Kartlar (Cards) --- */
.card {
  border: 1px solid var(--bs-border-color);
  box-shadow: var(--bs-box-shadow-sm);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--bs-box-shadow);
}

/* --- Navbar --- */
.navbar {
  background-color: var(--bs-tertiary-bg) !important;
  box-shadow: var(--bs-box-shadow-sm);
}

.navbar-nav .nav-link.active {
  color: var(--bs-primary) !important;
  font-weight: 600;
}

/* --- Form Elemanları --- */
.form-control:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

/* --- Dil Değiştirme Butonu --- */
.lang-switcher a {
  color: var(--bs-body-color);
  text-decoration: none;
  font-weight: 500;
}

.lang-switcher a.active {
  color: var(--bs-primary);
}

/* ==========================================================================
   4. SAYFA BÖLÜMLERİ VE YERLEŞİM (Layout Sections)
   ========================================================================== */

/* --- Tam Sayfa Bölüm Yapısı --- */
.full-page-section {
  min-height: 100vh;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Hero Bölümü (Particles ile) --- */
.hero-section {
  position: relative;
  overflow: hidden;
  background-color: #0c0f1a; /* Koyu lacivert/siyah arkaplan */
}

#particles-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1; /* En arkadaki katman */
}

.hero-section .hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 2; /* Parçacıkların üzerinde */
  pointer-events: none; /* Fare etkileşiminin alttaki parçacıklara geçmesini sağlar */
}

.hero-section .hero-content {
  position: relative;
  z-index: 3; /* Her şeyin en önündeki katman */
  width: 100%;
}

.hero-section .hero-content h1,
.hero-section .hero-content .lead {
  color: #FFFFFF;
}

/* --- Footer --- */
footer {
  scroll-snap-align: end;
}


/* ==========================================================================
   5. SORUN DÜZELTMELERİ VE EK STİLLER (Fixes & Extra Styles)
   ========================================================================== */

/*
  ÇOK ÖNEMLİ: Katmanlama Sorunu Düzeltmesi
  Bu kural, hero bölümünden sonra gelen tüm bölümlerin,
  parçacık animasyonunun ÜZERİNDE yer almasını sağlar.
*/
#services,
#expertise,
#about,
#contact,
footer {
  position: relative;
  z-index: 5; /* Bu değer, hero'daki en yüksek z-index'ten (3) daha büyük olmalıdır */
  background-color: var(--bs-tertiary-bg); /* Arka planı doldurarak alttakini gizle */
}

/* Sadece "about" bölümü farklı bir arka plan rengi kullanıyorsa belirtilir */
#about {
    background-color: var(--bs-body-bg);
}
