/* Google Fonts - Plus Jakarta Sans */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --primary-blue: #7AC1DB;     /* Clinic Phaselis Soft Bebek Mavisi */
  --primary-hover: #61b1ce;    /* Hover Tonu */
  --soft-bg: #EBF5F8;          /* Soft Zemin */
  --text-dark: #2B4E5B;        /* Koyu Petrol Metin Rengi */
  --text-muted: #6B8B97;       /* İkincil Metin Rengi */
  --card-border: #D8ECF2;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-dark);
  background-color: #ffffff;
  margin: 0;
  padding: 0;
}

/* Renk Yardımcı Sınıfları */
.bg-soft-blue {
  background-color: var(--soft-bg) !important;
}

.bg-primary-blue {
  background-color: var(--primary-blue) !important;
}

.text-primary-blue {
  color: var(--primary-blue) !important;
}

.text-dark-custom {
  color: var(--text-dark) !important;
}

.border-card-custom {
  border-color: var(--card-border) !important;
}

/* Hero Section — Tam Ekran Arka Plan Slider */
.hero-section {
  position: relative;
  min-height: clamp(560px, 88vh, 820px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--soft-bg);
  padding: 0;
}

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
  height: 100%;
}

.hero-slide {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.02);
  transition: transform 6s ease-out;
}

.hero-carousel .carousel-item.active .hero-slide {
  transform: scale(1);
}

/* Uyumlu, yumuşak renk geçişi */
.hero-carousel.carousel-fade .carousel-item {
  opacity: 0;
  transition-property: opacity;
  transition-duration: 1.4s;
  transition-timing-function: ease-in-out;
}

.hero-carousel.carousel-fade .carousel-item.active {
  opacity: 1;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(235, 245, 248, 0.97) 0%,
      rgba(235, 245, 248, 0.92) 28%,
      rgba(235, 245, 248, 0.72) 46%,
      rgba(235, 245, 248, 0.28) 64%,
      rgba(235, 245, 248, 0.06) 78%,
      transparent 100%
    ),
    linear-gradient(
      180deg,
      rgba(43, 78, 91, 0.12) 0%,
      transparent 28%,
      transparent 72%,
      rgba(43, 78, 91, 0.18) 100%
    );
}

.hero-content {
  z-index: 2;
  width: 100%;
  padding-top: 100px;
  padding-bottom: 110px;
}

.hero-title {
  color: var(--text-dark);
  line-height: 1.2;
}

.hero-lead-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-badge {
  color: var(--primary-blue);
  font-weight: 600;
  border-color: var(--card-border) !important;
}

.hero-experience-badge {
  border-color: var(--card-border) !important;
  max-width: 240px;
}

.hero-badge-icon {
  background-color: var(--soft-bg);
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.hero-badge-icon i {
  font-size: 1.25rem;
}

.hero-indicators {
  margin-bottom: 1.75rem;
  z-index: 3;
}

.hero-indicators [data-bs-target] {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background-color: rgba(43, 78, 91, 0.28);
  opacity: 1;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero-indicators .active {
  background-color: var(--primary-blue);
  transform: scale(1.15);
}

@media (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
  }

  .hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(235, 245, 248, 0.88) 0%,
        rgba(235, 245, 248, 0.82) 42%,
        rgba(235, 245, 248, 0.55) 68%,
        rgba(235, 245, 248, 0.28) 100%
      );
  }

  .hero-content {
    padding-top: 56px;
    padding-bottom: 72px;
  }

  .hero-slide {
    background-position: 65% center;
  }

  .hero-title {
    font-size: 1.75rem;
    margin-bottom: 0.75rem !important;
  }

  .hero-lead-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem !important;
  }

  .hero-badge {
    font-size: 0.72rem;
    padding: 0.4rem 0.75rem !important;
    margin-bottom: 0.75rem !important;
  }

  .hero-actions {
    gap: 0.65rem !important;
    margin-bottom: 1rem !important;
  }

  .hero-actions .btn-phaselis,
  .hero-actions .btn-phaselis-outline {
    padding: 0.65rem 1rem;
    font-size: 0.8rem;
  }

  .hero-experience-badge {
    padding: 0.55rem 0.75rem !important;
    gap: 0.65rem !important;
    max-width: 190px;
  }

  .hero-experience-badge h6 {
    font-size: 0.85rem;
  }

  .hero-experience-badge small {
    font-size: 0.7rem;
  }

  .hero-badge-icon {
    width: 34px;
    height: 34px;
    padding: 0.35rem !important;
  }

  .hero-badge-icon i {
    font-size: 1rem !important;
  }

  .hero-indicators {
    margin-bottom: 1.1rem;
  }
}

@media (max-width: 575.98px) {
  .hero-content {
    padding-top: 44px;
    padding-bottom: 64px;
  }

  .hero-title {
    font-size: 1.55rem;
    line-height: 1.25;
  }

  .hero-lead-text {
    font-size: 0.9rem;
    margin-bottom: 1rem !important;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn-phaselis,
  .hero-actions .btn-phaselis-outline {
    width: 100%;
    text-align: center;
    padding: 0.7rem 1rem;
  }

  .hero-experience-badge {
    max-width: 175px;
    padding: 0.45rem 0.65rem !important;
  }

  .hero-experience-badge h6 {
    font-size: 0.8rem;
  }

  .hero-experience-badge small {
    font-size: 0.65rem;
  }

  .hero-badge-icon {
    width: 30px;
    height: 30px;
  }
}

/* Soft Buton Stilleri */
.btn-phaselis {
  background-color: var(--primary-blue);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 10px 24px;
  border-radius: 50px;
  border: none;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-phaselis:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 4px 12px rgba(122, 193, 219, 0.3);
}

.btn-phaselis-outline {
  background-color: #ffffff;
  color: var(--primary-blue) !important;
  border: 1px solid var(--primary-blue);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 10px 24px;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-phaselis-outline:hover {
  background-color: var(--soft-bg);
}

/* Özel Kart ve İçerik Boyutları */
.section-header-max {
  max-width: 700px;
}

.service-icon-box {
  width: 60px;
  height: 60px;
  background-color: var(--soft-bg);
}

.img-max-480 {
  max-height: 480px;
}

.before-after-img {
  height: 160px;
}

.extra-small-badge {
  font-size: 0.65rem;
}

/* Doktor Fotoğrafları Odak Kırpması */
.doctor-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top;
}
/* Kadrajı ortadan kırpılacak doktor görselleri için */
.doctor-img-center {
  object-position: center 25% !important; /* Kırpma odağını hafifçe aşağı çekerek gövdeyi kadraja alır */
}
/* Tam Ekran Arka Plan Görselli Hero */
.about-hero-section {
  position: relative;
  background-image: url('../assets/images/kurumsal-hero.jpg'); /* Görsel yolu */
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  min-height: 580px;
  display: flex;
  align-items: center;
}

/* Yazıların görsel üzerinde net okunması için soldan sağa beyaz yumuşak geçiş */
.about-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 40%, rgba(255,255,255,0) 75%);
  z-index: 1;
}

/* İçeriklerin overlay üzerinde kalmasını sağlar */
.about-hero-content {
  position: relative;
  z-index: 2;
}
/* İletişim Sayfası Tam Ekran Hero */
/* İletişim Sayfası Tam Ekran Hero (Revize Sürüm) */
.contact-hero-section {
  position: relative;
  background-image: url('../assets/images/iletisim-hero.png'); /* Görsel yolun */
  background-size: cover !important;
  background-position: center right !important; /* Görseli sağa yaslayıp ekranı doldurur */
  background-repeat: no-repeat !important;
  width: 100% !important;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Soldaki Soft Mavi Geçişli Sis Katmanı */
.contact-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Gradient tonu yazının altını tam doldurup sağa doğru şeffaflaşır */
  background: linear-gradient(90deg, #EBF5F8 0%, rgba(235, 245, 248, 0.9) 45%, rgba(235, 245, 248, 0) 80%);
  z-index: 1;
}

/* Yazıların ve Butonların Katman Hiyerarşisi */
.contact-hero-content {
  position: relative;
  z-index: 2;
}
/* Sticky Sidebar Hizalama ve Katman Düzeltmesi */
.sticky-sidebar {
  position: -we bkit-sticky;
  position: sticky;
  top: 125px !important; /* Navbar'ın altına tam oturması için yeterli boşluk */
  z-index: 10 !important; /* Navbar'ın (z-index: 1020/1030) ALTINDA kalmasını sağlar */
  transition: all 0.2s ease-in-out;
}

/* Kapsayıcı kolonun hizalanması */
.col-lg-4, .col-lg-5 {
  position: relative;
}

/* Sticky WhatsApp — viewport sağ alt (her zaman görünür) */
.whatsapp-sticky {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1050;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 10px;
  background-color: var(--text-dark);
  color: #ffffff !important;
  text-decoration: none !important;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(43, 78, 91, 0.28);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-sticky:hover {
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(43, 78, 91, 0.36);
}

.whatsapp-sticky-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #25D366;
  color: #ffffff;
  flex-shrink: 0;
}

.whatsapp-sticky-icon i {
  font-size: 1.15rem;
  line-height: 1;
}

.whatsapp-sticky-label {
  padding-right: 4px;
}

@media (max-width: 575.98px) {
  .whatsapp-sticky {
    right: 16px;
    bottom: 16px;
    padding: 8px 14px 8px 8px;
    font-size: 0.82rem;
    gap: 8px;
  }

  .whatsapp-sticky-icon {
    width: 30px;
    height: 30px;
  }

  .whatsapp-sticky-icon i {
    font-size: 1rem;
  }
}