/* Tema renkleri CSS custom properties ile; body.theme-* class'ına göre değişir. */

:root {
  --theme-primary: #1e3a5f;
  --theme-secondary: #2c5282;
  --theme-light: #e2e8f0;
  --theme-dark: #1a202c;
}

body.theme-lacivert {
  --theme-primary: #1e3a5f;
  --theme-secondary: #2c5282;
  --theme-light: #e2e8f0;
  --theme-dark: #1a202c;
}

body.theme-koyu-gri {
  --theme-primary: #2d3748;
  --theme-secondary: #4a5568;
  --theme-light: #e2e8f0;
  --theme-dark: #1a202c;
}

body.theme-bordo {
  --theme-primary: #742a2a;
  --theme-secondary: #9b2c2c;
  --theme-light: #fef2f2;
  --theme-dark: #1a202c;
}

body.theme-koyu-yesil {
  --theme-primary: #234e52;
  --theme-secondary: #285e61;
  --theme-light: #e6fffa;
  --theme-dark: #1a202c;
}

body.theme-lacivert-acik {
  --theme-primary: #2b6cb0;
  --theme-secondary: #3182ce;
  --theme-light: #ebf8ff;
  --theme-dark: #2d3748;
}

/* Butonlar — tema renkleri ile tutarlı */
.btn-primary {
  background-color: var(--theme-primary);
  border-color: var(--theme-primary);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.btn-primary:hover {
  background-color: var(--theme-secondary);
  border-color: var(--theme-secondary);
  transform: translateY(-1px);
}

.btn-outline-primary {
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.btn-outline-primary:hover {
  background-color: var(--theme-primary);
  border-color: var(--theme-primary);
  color: #fff;
  transform: translateY(-1px);
}

.btn-light {
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.btn-light:hover {
  background-color: var(--theme-primary);
  color: #fff !important;
  transform: translateY(-1px);
}

.navbar-brand,
.nav-link.active {
  color: var(--theme-primary) !important;
}

/* Menü üstü bar — kurumsal koyu; iletişim + sosyal medya */
.top-bar {
  min-height: 30px;
  background-color: var(--theme-dark);
  font-size: 0.8125rem;
}
.top-bar-link {
  color: rgba(255, 255, 255, 0.95);
  transition: color 0.2s ease, opacity 0.2s ease;
}
.top-bar-link:hover {
  color: #fff;
  opacity: 1;
}
.top-bar-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.top-bar-social:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.15);
}

/* Anasayfa banner — masaüstü 550px, mobil 350px */
.home-banner {
  min-height: 550px;
}
@media (max-width: 767.98px) {
  .home-banner {
    min-height: 350px;
  }
}

/* Kartlar — ortak hover (hizmet, blog, ekibimiz); tıklanabilir hissi için cursor */
.card-hover {
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card-hover:hover,
a:hover .card-hover {
  transform: translateY(-6px);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12) !important;
}

body {
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* WhatsApp sabit buton — sağ alt köşe */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.45);
  z-index: 9999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float:hover {
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
}
