/* Google Fonts - Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

/* Mevcut stil dosyasına ekle veya güncelle */
:root {
  --color-primary: #1e3c72; /* Logo mavisi (koyu) */
  --color-secondary: #2a5298; /* Logo mavisi (açık) */
  --color-accent: #ffd700; /* Vurgular için altın */
  --color-text: #1a1a1a; /* Daha koyu metin rengi */
  --color-text-muted: #4a5568; /* Daha koyu muted rengi */
  --color-text-light: #ffffff; /* Beyaz metin */
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}

/* Light Theme (Default) */
[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --text-primary: #1a1a1a;
  --text-secondary: #4a5568;
  --text-muted: #6b7280;
  --border-color: #e5e7eb;
  --card-bg: #ffffff;
  --navbar-bg: var(--color-primary);
  --footer-bg: var(--color-primary);
}

/* Dark Theme */
[data-theme="dark"] {
  --bg-primary: #1a1a1a;
  --bg-secondary: #2d2d2d;
  --text-primary: #ffffff;
  --text-secondary: #d1d5db;
  --text-muted: #9ca3af;
  --border-color: #374151;
  --card-bg: #2d2d2d;
  --navbar-bg: #1a1a1a;
  --footer-bg: #1a1a1a;
}
body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
  position: relative;
  padding-top: 76px; /* Navbar yüksekliği için padding */
}

/* Tema geçişleri için tüm elementlere transition ekle */
* {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/saydamlogo.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60%;
  opacity: 0.05;
  z-index: -1;
  pointer-events: none;
}

.navbar {
  background: var(--navbar-bg) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease;
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1030;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 76px;
}

/* Karanlık tema için navbar sınırları */
[data-theme="dark"] .navbar {
  border-bottom: 1px solid #374151;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  min-height: 76px;
}

.navbar-brand {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #ffffff !important;
}

/* Ana logo (analogo.png) boyutlandırma ve hizalama */
.analogo-img {
  height: 52px; /* İki katı büyük (26px * 2) */
  width: auto;
  display: inline-block;
}

.nav-link.active {
  color: var(--color-accent) !important;
  font-weight: 600;
}
.navbar .nav-link {
  color: #ffffffcc;
  transition: color 0.2s ease;
}
.navbar .nav-link:hover {
  color: #ffffff;
}

/* Navbar linkleri - sadece aktif sayfa alt çizgili */
.navbar .nav-link {
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
  display: inline-block; /* Alt çizgiyi sadece yazı genişliğinde tutar */
}

/* Navbar nav flex-row için düzenleme */
.navbar-nav.flex-row {
  gap: 0.5rem;
}

/* Desktop'ta navbar linklerine sağdan boşluk */
@media (min-width: 992px) {
  .navbar-nav {
    margin-right: 0;
  }
}

/* Mobilde nav-link ikonları için stil */
@media (max-width: 991px) {
  .navbar-nav.flex-row .nav-link {
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    box-sizing: border-box;
  }
  
  .navbar-nav.flex-row .nav-link i {
    font-size: 1.2rem;
    line-height: 1;
  }
  
  /* Dark theme'de mobil nav-link'ler için sabit yükseklik */
  [data-theme="dark"] .navbar-nav.flex-row .nav-link {
    padding: 0.5rem;
    height: 40px;
  }
  
  /* Dark theme'de mobil nav-link'ler için border sadece normal durumda kaldırılsın, aktif durumda kalmalı */
  [data-theme="dark"] .navbar-nav.flex-row .nav-link:not(.active) {
    border-bottom: none !important;
  }
}

.navbar .nav-link:hover {
  color: #ffffff;
  border-bottom: 1px solid transparent; /* Hover'da alt çizgi yok */
}

.navbar .nav-link.active {
  color: #ffffff !important;
  border-bottom: 1px solid #ffffff; /* Sadece aktif sayfa alt çizgili */
}

/* Karanlık tema için navbar linkleri */
[data-theme="dark"] .navbar .nav-link {
  color: #ffffff !important;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
  display: inline-block; /* Alt çizgiyi sadece yazı genişliğinde tutar */
}

[data-theme="dark"] .navbar .nav-link:hover {
  color: #e5e7eb !important; /* Hafif gri renk */
  border-bottom: 1px solid transparent; /* Hover'da alt çizgi yok */
}

[data-theme="dark"] .navbar .nav-link.active {
  color: #ffffff !important;
  border-bottom: 1px solid #ffffff !important; /* Sadece aktif sayfa alt çizgili */
}

.hero-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: var(--color-primary);
  color: white;
  text-align: center;
  padding: 4rem 0;
}

.section-title {
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 0.3px;
  position: relative;
  margin-bottom: 3rem;
  transition: color 0.3s ease;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--color-primary);
}

.card {
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
  color: var(--text-primary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.3s ease, color 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Dark theme için card */
[data-theme="dark"] .card {
  background-color: #1f2937;
  border-color: #374151;
}

[data-theme="dark"] .card:hover {
  border-color: var(--color-primary);
}
.card-img-top {
  height: 220px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.card-body {
  padding: 1.5rem;
}

.btn-primary {
  background: var(--color-secondary);
  border: none;
  border-radius: 6px;
  padding: 0.875rem 2rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: background-color 0.2s ease;
  color: white;
}

.btn-primary:hover {
  background: var(--color-primary);
  color: white;
}

/* Hero CTA butonu - Sade Kurumsal Stil */
.btn-cta {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
  border-radius: 6px;
  border: 2px solid white;
  background: white;
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-cta:hover {
  background: transparent;
  color: white;
  border-color: white;
}

.btn-cta:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.footer {
  background: var(--footer-bg);
  color: white;
  transition: background 0.3s ease;
}

.social-icons a {
  font-size: 1.2rem;
  color: white;
  margin: 0 10px;
  transition: color 0.2s ease;
}
.social-icons a:hover {
  color: var(--color-accent);
}

.fade-in {
  animation: fadeIn 0.6s ease-in forwards;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Form elemanları için karanlık tema desteği */
.form-control {
  background-color: var(--bg-primary);
  border-color: var(--border-color);
  color: var(--text-primary);
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.2rem rgba(30, 60, 114, 0.25);
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

.form-control::placeholder {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

/* Karanlık tema için özel form stilleri */
[data-theme="dark"] .form-control {
  background-color: #2d2d2d;
  border-color: #374151;
  color: #ffffff;
}

[data-theme="dark"] .form-control:focus {
  background-color: #2d2d2d;
  border-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 0 0 0.2rem rgba(30, 60, 114, 0.25);
}

[data-theme="dark"] .form-control::placeholder {
  color: #9ca3af;
}

/* Karanlık tema için harita container - hafif karanlık ayar */
[data-theme="dark"] iframe {
  filter: invert(1) hue-rotate(180deg) brightness(1.3) contrast(0.9) saturate(0.7);
  border-radius: 10px;
}

/* İletişim bölümü başlığı */
.contact-section-title {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-secondary);
  display: inline-block;
}

/* Karanlık tema için iletişim başlığı */
[data-theme="dark"] .contact-section-title {
  color: #ffffff;
  border-bottom-color: var(--color-accent);
}

/* Modern İletişim Bilgileri Wrapper */
.contact-info-wrapper {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-section-title-modern {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
}

.contact-section-title-modern i {
  color: var(--color-primary);
  margin-right: 0.5rem;
}

/* Modern İletişim Kartları */
.contact-card-modern {
  display: flex;
  align-items: flex-start;
  padding: 1.5rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 1rem;
  transition: border-color 0.2s ease;
}

.contact-card-modern:hover {
  border-color: var(--color-primary);
}

.contact-icon-modern {
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

.contact-icon-modern i {
  color: white;
  font-size: 1.25rem;
}

.contact-info-modern {
  flex: 1;
}

.contact-label-modern {
  margin: 0 0 0.5rem 0;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-text-modern {
  margin: 0;
  color: #4b5563;
  line-height: 1.6;
  font-size: 0.95rem;
}

.contact-link-modern {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.contact-link-modern:hover {
  color: var(--color-secondary);
  text-decoration: underline;
}

/* Modern Hızlı İletişim */
.quick-contact-modern {
  background: #f9fafb;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  margin-top: auto;
}

.quick-contact-title-modern {
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
}

.quick-contact-title-modern i {
  color: var(--color-primary);
  margin-right: 0.5rem;
}

.btn-quick-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease;
  border: none;
  font-size: 0.9rem;
}

.btn-quick-phone {
  background: var(--color-primary);
  color: white;
}

.btn-quick-phone:hover {
  background: var(--color-secondary);
  color: white;
}

.btn-quick-whatsapp {
  background: #25D366;
  color: white;
}

.btn-quick-whatsapp:hover {
  background: #128C7E;
  color: white;
}

/* Karanlık tema için modern iletişim kartları */
[data-theme="dark"] .contact-info-wrapper {
  background: #1f2937;
  border-color: #374151;
}

[data-theme="dark"] .contact-section-title-modern {
  color: #ffffff;
}

[data-theme="dark"] .contact-card-modern {
  background: #111827;
  border-color: #374151;
}

[data-theme="dark"] .contact-card-modern:hover {
  border-color: var(--color-primary);
}

[data-theme="dark"] .contact-label-modern {
  color: #ffffff;
}

[data-theme="dark"] .contact-text-modern {
  color: #d1d5db;
}

[data-theme="dark"] .contact-link-modern {
  color: #60a5fa;
}

[data-theme="dark"] .contact-link-modern:hover {
  color: #93c5fd;
}

[data-theme="dark"] .quick-contact-modern {
  background: #111827;
  border-color: #374151;
}

[data-theme="dark"] .quick-contact-title-modern {
  color: #ffffff;
}

/* Eski stiller - geriye dönük uyumluluk için */
.contact-card {
  display: flex;
  align-items: center;
  padding: 15px;
  background-color: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 15px;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.contact-icon i {
  color: white;
  font-size: 1.2rem;
}

.contact-info h6 {
  margin: 0 0 5px 0;
  color: var(--color-primary);
  font-weight: 600;
}

.contact-info p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.4;
}

.contact-info a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: var(--color-secondary);
}

/* Karanlık tema için iletişim kartları */
[data-theme="dark"] .contact-card {
  background-color: #2d2d2d;
  border: 1px solid #374151;
}

[data-theme="dark"] .contact-info h6 {
  color: #ffffff;
}

[data-theme="dark"] .contact-info p {
  color: #d1d5db;
}

[data-theme="dark"] .contact-info a {
  color: #60a5fa;
}

[data-theme="dark"] .contact-info a:hover {
  color: #93c5fd;
}

/* Hızlı iletişim butonları */
.quick-contact {
  background-color: var(--card-bg);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.quick-contact h6 {
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 15px;
}

/* Karanlık tema için hızlı iletişim */
[data-theme="dark"] .quick-contact {
  background-color: #2d2d2d;
  border: 1px solid #374151;
}

[data-theme="dark"] .quick-contact h6 {
  color: #ffffff;
}

/* Form validasyonu */
.form-control.is-invalid {
  border-color: #dc3545;
}

.form-control.is-valid {
  border-color: #28a745;
}

.invalid-feedback {
  display: none;
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.form-control.is-invalid ~ .invalid-feedback {
  display: block;
}

/* Buton yükleme animasyonu */
.btn-loading {
  display: none;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Mobil optimizasyon */
@media (max-width: 768px) {
  .contact-section-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-align: center;
    width: 100%;
  }
  
  .contact-card {
    padding: 12px;
  }
  
  .contact-icon {
    width: 40px;
    height: 40px;
    margin-right: 12px;
  }
  
  .contact-icon i {
    font-size: 1rem;
  }
  
  .quick-contact {
    padding: 15px;
  }
  
  .quick-contact .btn {
    font-size: 0.9rem;
    padding: 8px 12px;
  }
}

/* Referanslar Bölümü - Yeniden Ayarlandı */
.references-section {
  background-color: var(--bg-secondary);
  padding: 2rem 0;
  transition: background-color 0.3s ease;
}

.references-logos-row {
  max-width: 1200px;
  margin: 0 auto;
}

.references-logos-row .col-lg {
  flex: 0 0 20%;
  max-width: 20%;
}

/* Mobilde col-lg flex özelliğini kaldır */
@media (max-width: 991px) {
  .references-logos-row .col-lg {
    flex: none;
    max-width: none;
  }
}

.references-section .logo-img {
  height: 60px; /* Desktop: tüm logolar aynı yükseklikte */
  width: auto;  /* Oranı koru */
  max-width: 150px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.references-section .logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px; /* Desktop kutu yüksekliği */
  padding: 10px;
  margin: 5px;
}

.references-section .logo-img:hover {
  transform: scale(1.1);
}

/* Proje kartları için özel stiller */
/* Proje Kartları - Sade Kurumsal Tasarım */
.project-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  min-height: 120px;
  transition: border-color 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.project-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.project-card .card-body {
  padding: 1.5rem;
}

.project-card .card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.project-card .card-text {
  font-size: 0.875rem;
  color: #4b5563;
  margin-bottom: 0;
  line-height: 1.5;
}

/* Dark theme için proje kartları */
[data-theme="dark"] .project-card {
  background: #1f2937;
  border-color: #374151;
}

[data-theme="dark"] .project-card:hover {
  border-color: var(--color-primary);
}

[data-theme="dark"] .project-card .card-title {
  color: #ffffff;
}

[data-theme="dark"] .project-card .card-text {
  color: #d1d5db;
}

/* Responsive ayarlar - Büyük logolar için güncellendi */
@media (max-width: 768px) {
  body {
    padding-top: 70px; /* Mobilde navbar daha kısa */
  }
  
  .hero-section { 
    min-height: 60vh; /* Mobilde daha kısa */
    padding: 2rem 0;
  }
  .hero-section .display-3 { 
    font-size: 2.5rem; 
    margin-bottom: 1.5rem; /* Başlık alt boşluğu azaltıldı */
  }
  .hero-section .lead {
    margin-bottom: 2rem; /* Açıklama alt boşluğu azaltıldı */
  }
  .hero-section .btn-cta {
    margin-top: 1rem; /* Buton üst boşluğu eklendi */
  }
  .card-img-top { height: 180px; }
  .navbar-brand { 
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem; 
    font-weight: 700;
    color: #ffffff !important;
  }
  .analogo-img { height: 44px; } /* Mobilde de büyük */
  .references-section .logo-container {
    height: 60px; /* Mobil kutu yüksekliği */
    padding: 10px;
    margin: 0;
  }
  .references-section .logo-img {
    height: 40px; /* Mobil: tüm logolar aynı yükseklikte */
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }
  
  /* Mobilde referanslar satırı için düzenleme */
  .references-logos-row {
    margin: 0 -5px;
  }
  
  .references-logos-row > div {
    padding: 0 5px;
  }
  
  /* Mobil tema butonu - Sade Kurumsal Tasarım */
  #theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
  }
  
  #theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
  }
  
  /* Karanlık tema için mobil butonu */
  [data-theme="dark"] #theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
  }
  
  [data-theme="dark"] #theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
  }
  
  /* Hamburger menü butonu - Sade Kurumsal Tasarım */
  .navbar-toggler {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, border-color 0.2s ease;
  }
  
  .navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
  }
  
  .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
  }
  
  .navbar-toggler-icon {
    background-image: none;
    width: 20px;
    height: 2px;
    background-color: white;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 1px;
    margin: 0 auto;
  }
  
  .navbar-toggler-icon::before,
  .navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
    border-radius: 1px;
    left: 0;
  }
  
  .navbar-toggler-icon::before {
    top: -6px;
  }
  
  .navbar-toggler-icon::after {
    top: 6px;
  }
  
  /* Hamburger menü açık durumu (X şekli) */
  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-color: transparent;
  }
  
  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 0;
  }
  
  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    top: 0;
  }
  
  /* Karanlık tema için hamburger butonu */
  [data-theme="dark"] .navbar-toggler {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
  }
  
  [data-theme="dark"] .navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
  }
}

/* Desktop tema butonu özel stilleri - Sade Kurumsal Tasarım */
@media (min-width: 992px) {
  #theme-toggle-desktop {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    z-index: 1000;
    cursor: pointer;
  }
  
  #theme-toggle-desktop:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
  }
  
  #theme-toggle-desktop:active {
    background: rgba(255, 255, 255, 0.15);
  }
  
  /* Karanlık tema için desktop butonu */
  [data-theme="dark"] #theme-toggle-desktop {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
  }
  
  [data-theme="dark"] #theme-toggle-desktop:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
  }
}

@media (min-width: 769px) {
  .analogo-img { height: 52px; } /* Desktopta da büyük */
}

/* Tipografi küçük dokunuşlar */
h1, h2, h3 {
  color: var(--color-primary);
  font-weight: 700;
  transition: color 0.3s ease;
}

/* Karanlık tema için başlık renkleri */
[data-theme="dark"] h1, 
[data-theme="dark"] h2, 
[data-theme="dark"] h3 {
  color: #ffffff !important;
}

[data-theme="dark"] .section-title {
  color: #ffffff !important;
}
h1.display-3 {
  letter-spacing: 0.4px;
  color: var(--color-text-light) !important; /* Hero başlığı beyaz */
}
p.lead {
  color: var(--color-text-light) !important; /* Hero açıklaması beyaz */
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.7;
}
.card-title {
  color: var(--color-primary) !important;
  font-weight: 600;
}

/* Karanlık tema için kart başlıkları */
[data-theme="dark"] .card-title {
  color: #ffffff !important;
}
.card-text {
  color: var(--text-primary) !important;
  font-weight: 400;
  transition: color 0.3s ease;
}

/* Hakkımızda sayfası özel stilleri - Kurumsal Tasarım */
#about-content {
  background: var(--bg-primary);
}

/* Şirket Görseli */
.about-company-image {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  max-width: 100%;
  height: auto;
}

/* Giriş Kartı */
.about-intro-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.about-intro-title {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

.about-intro-title i {
  color: var(--color-primary);
}

.about-intro-text {
  color: #4b5563;
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.about-intro-text:last-child {
  margin-bottom: 0;
}

/* İstatistikler Bölümü */
.about-intro-stats {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.about-stat-item {
  text-align: center;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  transition: border-color 0.2s ease;
}

.about-stat-item:hover {
  border-color: var(--color-primary);
}

.about-stat-number {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.about-stat-label {
  color: #4b5563;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Dark theme için istatistikler */
[data-theme="dark"] .about-intro-stats {
  border-top-color: #374151;
}

[data-theme="dark"] .about-stat-item {
  background: #111827;
  border-color: #374151;
}

[data-theme="dark"] .about-stat-item:hover {
  border-color: var(--color-primary);
}

[data-theme="dark"] .about-stat-number {
  color: var(--color-primary);
}

[data-theme="dark"] .about-stat-label {
  color: #d1d5db;
}

/* Özellikler Kartları */
.about-feature-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  text-align: center;
  height: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.about-feature-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.about-feature-icon {
  width: 64px;
  height: 64px;
  background: var(--color-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.about-feature-icon i {
  color: white;
  font-size: 1.75rem;
}

.about-feature-title {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.about-feature-text {
  color: #4b5563;
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
}

/* Değerler Bölümü */
.about-values-section {
  background: #f9fafb;
  padding: 2.5rem;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  margin-top: 2rem;
}

.about-value-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  transition: border-color 0.2s ease;
}

.about-value-item:hover {
  border-color: var(--color-primary);
}

.about-value-icon {
  color: var(--color-primary);
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.about-value-content {
  flex: 1;
}

.about-value-title {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.about-value-text {
  color: #4b5563;
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
}

/* Vizyon ve Misyon Bölümü */
.about-vision-mission {
  background: var(--bg-secondary);
}

.about-vision-card,
.about-mission-card {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  height: 100%;
  text-align: center;
}

.about-vision-icon,
.about-mission-icon {
  width: 80px;
  height: 80px;
  background: var(--color-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.about-vision-icon i,
.about-mission-icon i {
  color: white;
  font-size: 2rem;
}

.about-vision-title,
.about-mission-title {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.about-vision-text,
.about-mission-text {
  color: #4b5563;
  line-height: 1.7;
  font-size: 1rem;
  margin: 0;
}

/* Dark theme için hakkımızda */
[data-theme="dark"] #about-content {
  background: var(--bg-primary);
}

[data-theme="dark"] .about-company-image {
  border-color: #374151;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .about-intro-card {
  background: #1f2937;
  border-color: #374151;
}

[data-theme="dark"] .about-intro-title {
  color: #ffffff;
}

[data-theme="dark"] .about-intro-text {
  color: #d1d5db;
}

[data-theme="dark"] .about-feature-card {
  background: #1f2937;
  border-color: #374151;
}

[data-theme="dark"] .about-feature-card:hover {
  border-color: var(--color-primary);
}

[data-theme="dark"] .about-feature-title {
  color: #ffffff;
}

[data-theme="dark"] .about-feature-text {
  color: #d1d5db;
}

[data-theme="dark"] .about-values-section {
  background: #111827;
  border-color: #374151;
}

[data-theme="dark"] .about-value-item {
  background: #1f2937;
  border-color: #374151;
}

[data-theme="dark"] .about-value-item:hover {
  border-color: var(--color-primary);
}

[data-theme="dark"] .about-value-title {
  color: #ffffff;
}

[data-theme="dark"] .about-value-text {
  color: #d1d5db;
}

[data-theme="dark"] .about-vision-mission {
  background: var(--bg-secondary);
}

[data-theme="dark"] .about-vision-card,
[data-theme="dark"] .about-mission-card {
  background: #1f2937;
  border-color: #374151;
}

[data-theme="dark"] .about-vision-title,
[data-theme="dark"] .about-mission-title {
  color: #ffffff;
}

[data-theme="dark"] .about-vision-text,
[data-theme="dark"] .about-mission-text {
  color: #d1d5db;
}

/* Mobil optimizasyon */
@media (max-width: 768px) {
  .about-intro-card {
    padding: 1.5rem;
    margin-top: 1.5rem;
  }

  .about-feature-card {
    padding: 1.5rem;
  }

  .about-feature-icon {
    width: 56px;
    height: 56px;
  }

  .about-feature-icon i {
    font-size: 1.5rem;
  }

  .about-values-section {
    padding: 1.5rem;
  }

  .about-value-item {
    padding: 1.25rem;
  }

  .about-vision-card,
  .about-mission-card {
    padding: 1.5rem;
  }

  .about-vision-icon,
  .about-mission-icon {
    width: 64px;
    height: 64px;
  }

  .about-vision-icon i,
  .about-mission-icon i {
    font-size: 1.5rem;
  }
}

/* Referanslar Bölümü - Orijinal Grid Layout */

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 576px) {
  .hero-section { 
    min-height: 55vh; /* Çok küçük ekranlarda daha da kısa */
    padding: 1.5rem 0;
  }
  .hero-section .display-3 { 
    font-size: 2rem; 
    margin-bottom: 1rem;
  }
  .hero-section .lead {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  .hero-section .btn-cta {
    margin-top: 0.5rem;
    padding: 12px 24px;
    font-size: 0.95rem;
  }
  
}

/* Modern İletişim Formu Stilleri */
.contact-form-wrapper {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  height: 100%;
}

.contact-form-title {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
}

.contact-form-title i {
  color: var(--color-primary);
  margin-right: 0.5rem;
}

.modern-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group-modern {
  position: relative;
  margin-bottom: 0;
}

.form-label-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.form-label-modern i {
  font-size: 0.9rem;
  color: var(--color-secondary);
}

.input-wrapper,
.textarea-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 1rem;
  color: var(--color-primary);
  font-size: 1rem;
  z-index: 2;
  transition: all 0.3s ease;
  pointer-events: none;
}

.textarea-icon {
  top: 1rem;
  align-items: flex-start;
}

.form-control-modern {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 3rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background-color: #ffffff;
  color: #1f2937;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-control-modern:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.1);
  background-color: #ffffff;
}

.form-control-modern:focus + .input-icon,
.form-control-modern:focus ~ .input-icon {
  color: var(--color-primary);
}

.form-control-modern::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

textarea.form-control-modern {
  padding-top: 1rem;
  padding-left: 3rem;
  resize: vertical;
  min-height: 120px;
}

.btn-submit-modern {
  width: 100%;
  padding: 0.875rem 2rem;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-top: 0.5rem;
}

.btn-submit-modern:hover {
  background: var(--color-secondary);
}

.btn-submit-modern:active {
  background: var(--color-primary);
}

.btn-submit-modern:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-submit-modern .btn-text,
.btn-submit-modern .btn-loading {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Karanlık tema için modern form */
[data-theme="dark"] .contact-form-wrapper {
  background: #1f2937;
  border-color: #374151;
}

[data-theme="dark"] .contact-form-title {
  color: #ffffff;
}

[data-theme="dark"] .form-label-modern {
  color: #ffffff;
}

[data-theme="dark"] .form-control-modern {
  background-color: #111827;
  border-color: #374151;
  color: #ffffff;
}

[data-theme="dark"] .form-control-modern:focus {
  border-color: var(--color-primary);
  background-color: #111827;
  box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.2);
}

[data-theme="dark"] .form-control-modern::placeholder {
  color: #9ca3af;
}

[data-theme="dark"] .input-icon {
  color: var(--color-primary);
}

/* Başarı mesajı stili */
#successMessage {
  background: #d1fae5;
  border: 1px solid #10b981;
  color: #065f46;
  padding: 1.25rem;
  border-radius: 8px;
  margin-top: 1.5rem;
}

#successMessage i {
  color: #10b981;
}

/* Dark theme için başarı mesajı */
[data-theme="dark"] #successMessage {
  background: #064e3b;
  border-color: #10b981;
  color: #d1fae5;
}

[data-theme="dark"] #successMessage i {
  color: #34d399;
}

/* Form validasyon stilleri */
.form-control-modern.is-invalid {
  border-color: #dc3545;
  animation: shake 0.5s;
}

.form-control-modern.is-valid {
  border-color: #28a745;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-10px); }
  75% { transform: translateX(10px); }
}

.form-group-modern .invalid-feedback {
  display: none;
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  padding-left: 3rem;
  animation: fadeIn 0.3s ease;
}

.form-control-modern.is-invalid ~ .invalid-feedback,
.form-control-modern.is-invalid + .input-icon ~ .invalid-feedback {
  display: block;
}

/* Mobil optimizasyon */
@media (max-width: 768px) {
  .contact-form-wrapper {
    padding: 1.5rem;
    border-radius: 15px;
  }
  
  .contact-form-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .form-label-modern {
    font-size: 0.9rem;
  }
  
  .form-control-modern {
    padding: 0.75rem 0.875rem 0.75rem 2.75rem;
    font-size: 0.95rem;
  }
  
  .input-icon {
    left: 0.875rem;
    font-size: 0.9rem;
  }
  
  textarea.form-control-modern {
    padding-left: 2.75rem;
  }
  
  .btn-submit-modern {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
  
  /* Modern iletişim kartları mobil */
  .contact-info-wrapper {
    padding: 1.5rem;
    border-radius: 15px;
  }
  
  .contact-section-title-modern {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .contact-card-modern {
    padding: 1.25rem;
    border-radius: 12px;
  }
  
  .contact-icon-modern {
    width: 50px;
    height: 50px;
    margin-right: 1rem;
  }
  
  .contact-icon-modern i {
    font-size: 1.25rem;
  }
  
  .contact-label-modern {
    font-size: 0.8rem;
  }
  
  .contact-text-modern {
    font-size: 0.9rem;
  }
  
  .quick-contact-modern {
    padding: 1.25rem;
    border-radius: 12px;
  }
  
  .quick-contact-title-modern {
    font-size: 1rem;
  }
  
  .btn-quick-contact {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
}

/* Harita Bölümü Stilleri */
.map-wrapper {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
}

.map-title-modern {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.map-title-modern i {
  color: var(--color-primary);
  margin-right: 0.5rem;
}

.map-container {
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.map-iframe {
  width: 100%;
  height: 450px;
  border: none;
  display: block;
}

/* Karanlık tema için harita */
[data-theme="dark"] .map-wrapper {
  background: #1f2937;
  border-color: #374151;
}

[data-theme="dark"] .map-title-modern {
  color: #ffffff;
}

[data-theme="dark"] .map-container {
  border-color: #374151;
}

/* Mobil optimizasyon harita */
@media (max-width: 768px) {
  .map-wrapper {
    padding: 1.5rem;
    border-radius: 8px;
  }
  
  .map-title-modern {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
  
  .map-iframe {
    height: 350px;
  }
}

/* Proje Takip Butonu - Özel Tasarım */
.nav-link-proje-takip {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1e40af 100%);
  color: #ffffff !important;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4),
              0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-link-proje-takip::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.nav-link-proje-takip:hover::before {
  left: 100%;
}

.nav-link-proje-takip:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5),
              0 4px 8px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 50%, #1e3a8a 100%);
  color: #ffffff !important;
  text-decoration: none;
}

.nav-link-proje-takip:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

.nav-link-proje-takip i {
  font-size: 1.1rem;
  margin-right: 0;
  transition: transform 0.3s ease;
}

.nav-link-proje-takip:hover i {
  transform: scale(1.1) rotate(5deg);
}

/* Dark theme için Proje Takip butonu */
[data-theme="dark"] .nav-link-proje-takip {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1e40af 100%);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.5),
              0 2px 4px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .nav-link-proje-takip:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 50%, #1e3a8a 100%);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6),
              0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Mobil görünüm için Proje Takip butonu */
@media (max-width: 991px) {
  .nav-link-proje-takip {
    padding: 10px 16px;
    font-size: 0.9rem;
  }
  
  .nav-link-proje-takip span {
    display: none;
  }
  
  .nav-link-proje-takip i {
    margin-right: 0;
    font-size: 1.2rem;
  }
}
