/* Eastman Trial: wwwroot/fonts/ klasörüne .otf dosyalarını ekleyin */
@font-face {
  font-family: 'Eastman Trial';
  src: url('/fonts/EastmanTrial-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --header-bg: #030E23;
  --header-text: #ffffff;
  --header-height: 108px; /* menü bitişi – hero fotoğrafı bu noktadan başlar */
  --cta-bg: #EBECEE;
  --cta-text: #2d3748;
  --font-primary: 'Eastman Trial', sans-serif;
  --font-numbers: Helvetica, Arial, sans-serif;
}

html {
  font-size: 14px;
  scroll-behavior: smooth;
}

/* Menüden bölüme tıklanınca section tam başlangıcı header altında görünsün */
section[id] {
  scroll-margin-top: var(--header-height);
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 0;
  font-family: var(--font-primary);
}

/* ===== Header / Menü ===== */
.site-header {
  background-color: var(--header-bg);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Tüm içerik menünün hemen altından başlasın – hero dahil */
main {
  padding-top: var(--header-height);
}

.site-header .navbar {
  background-color: var(--header-bg) !important;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

/* Menü öğeleri arası mesafe: mobilde dar, masaüstünde geniş */
.site-nav-links {
  gap: 0.25rem;
}

@media (min-width: 992px) {
  .site-header .container-fluid {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
  .site-nav-links {
    gap: 2.5rem;
  }
}

.site-header .navbar-brand {
  padding: 0;
}

.site-logo {
  height: 84px;
  width: auto;
  display: block;
}

.site-header .nav-link {
  color: var(--header-text) !important;
  font-weight: 500;
  font-size: 1.35rem;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus {
  color: #34ACD3 !important;
}

.btn-cta-menu {
  background-color: var(--cta-bg);
  color: var(--cta-text) !important;
  font-weight: 500;
  font-size: 1.25rem;
  border: none;
  border-radius: 9999px;
  padding: 0.625rem 1.5625rem;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  transition: background-color 0.4s ease, color 0.4s ease, transform 0.3s ease;
}

.btn-cta-menu:hover {
  background-color: #34ACD3;
  color: #fff !important;
  transform: translateY(-1px);
}

.btn-cta-menu svg {
  flex-shrink: 0;
}

/* Mobil: hamburger menü açıldığında aynı stil */
@media (max-width: 991.98px) {
  .site-header .navbar-collapse {
    background-color: var(--header-bg);
    margin-top: 0.75rem;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-header .navbar-nav {
    margin-bottom: 1rem;
  }

  .site-header .nav-item .nav-link {
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .site-header .nav-item:last-child .nav-link {
    border-bottom: none;
  }

  .site-header .d-flex {
    justify-content: center;
  }

  .btn-cta-menu {
    width: 100%;
    justify-content: center;
  }
}

/* ===== Hero (Anasayfa) ===== */
/* main'in padding-top'ı sayesinde hero (ve fotoğraf) menü bitişinden itibaren başlar */
.hero-section {
  position: relative;
  min-height: clamp(505px, 89vh, 1111px);
  background-image: url('/images/mainBackground.png');
  background-size: cover;
  /* Üst kısım kırpılmasın: görselin üstü hero'nun üstüne hizalı (1440x765 oranı korunur) */
  background-position: 25% top;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-start;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 5rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.5) 45%, transparent 70%);
  pointer-events: none;
}

.hero-content .container {
  margin-left: 0;
  margin-right: auto;
  text-align: left;
  padding-left: 3.5rem;
}

.hero-title {
  font-size: clamp(1.8rem, 4.8vw, 3rem);
  font-weight: 500; /* Sadece bu slogan: Medium, kalınlık biraz az (700 yerine) */
  color: #1a202c;
  line-height: 1.25;
  max-width: 20ch;
  margin-bottom: 1.5rem;
}

.btn-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  color: #2d3748;
  border: 1px solid #2d3748;
  padding: 0.9rem 1.8rem;
  font-weight: 500;
  font-size: 1.35rem;
  border-radius: 1.5rem;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-hero-cta:hover {
  background: #2d3748;
  color: #fff;
  border-color: #2d3748;
}

@media (max-width: 767.98px) {
  .hero-section {
    /* Mobil: ayrı dikey görsel (768×1024 px) – wwwroot/images/mainBackground-mobile.png */
    background-image: url('/images/mainBackground-mobile.png');
    min-height: calc(100vh - var(--header-height));
    background-position: center center;
  }
  .hero-content {
    padding-top: 2rem;
  }
  .hero-overlay {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9) 20%, transparent 40%);
  }
  .hero-title {
    max-width: none;
    font-size: clamp(2.16rem, 5.76vw, 3.6rem);
  }
  .btn-hero-cta {
    gap: 0.53rem;
    padding: 0.79rem 1.58rem;
    font-size: 1.19rem;
    border-radius: 1.3rem;
  }
}

/* ===== Biz (Hoşgeldiniz + Görsel şerit) ===== */
.biz-section {
  background-color: #e8eef3;
  padding: 4rem 0 0;
  overflow: hidden;
}

.biz-section-content {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 3rem;
}

.biz-section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 500;
  color: #1a202c;
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.biz-section-text {
  font-size: 1rem;
  line-height: 1.65;
  color: #2d3748;
  margin-bottom: 1.5rem;
}

.btn-biz-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: #2d3748;
  border: 1px solid #2d3748;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  font-size: 1.1rem;
  border-radius: 1.5rem;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-biz-cta:hover {
  background: #2d3748;
  color: #fff;
  border-color: #2d3748;
}

/* Görsel bandı: 4 fotoğraf sürekli aralıksız loop – piksel bazlı kaydırma (yüzde hatasız) */
.biz-image-band {
  --biz-img-width: 320px;
  --biz-set-width: calc(4 * var(--biz-img-width)); /* tam 4 fotoğraf = 1280px */
  width: 100%;
  overflow: hidden;
  user-select: none;
}

.biz-image-band-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  min-width: max-content; /* viewport’a sıkışmasın, genişlik her zaman 2 set */
  gap: 0;
  margin: 0;
  padding: 0;
  will-change: transform;
  /* Kaydırma JS ile – döngü sıfırı atlamasın diye */
}

.biz-image-band-set {
  display: flex;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  gap: 0;
}

.biz-image-band-set img {
  flex-shrink: 0;
  width: var(--biz-img-width);
  height: 240px;
  object-fit: cover;
  display: block;
  vertical-align: middle;
  margin: 0;
  padding: 0;
}

@media (max-width: 767.98px) {
  .biz-section {
    padding: 3rem 0 0;
  }
  .biz-section-content {
    padding-bottom: 2rem;
  }
  .biz-section-text {
    font-size: 0.95rem;
  }
  .biz-image-band {
    --biz-img-width: 280px;
  }
  .biz-image-band-set img {
    height: 210px;
  }
}

/* ===== Sabit sosyal ikonlar (sağ kenar, masaüstü) ===== */
.social-fixed {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 1020;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.75rem 0.5rem;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-right: none;
  border-radius: 12px 0 0 12px;
  box-shadow: -2px 0 12px rgba(0, 0, 0, 0.1);
}

.social-fixed-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #fff;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

.social-fixed-link:hover {
  color: #2b323b;
  transform: scale(1.2);
}

.social-fixed-icon {
  width: 26px;
  height: 26px;
}

/* Hamburger menü içindeki sosyal ikonlar (mobil) – İletişim’in altında ayrı satır ===== */
.social-in-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-right: 1rem;
}

.social-in-menu .social-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--header-text);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.social-in-menu .social-icon-link:hover {
  color: #34ACD3;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
}

.social-in-menu .social-icon {
  width: 22px;
  height: 22px;
}

@media (max-width: 991.98px) {
  .social-in-menu {
    width: 100%;
    justify-content: center;
    margin-right: 0;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

/* ===== Hizmetlerimiz (Carousel) ===== */
.services-section {
  padding: 4rem 0;
  background: #fff;
}

.services-section-title {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 500;
  color: #1a202c;
  margin-bottom: 2.5rem;
}

.services-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.services-carousel {
  flex: 1;
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.5rem 0;
}

.services-carousel::-webkit-scrollbar {
  display: none;
}

/* Hizmet kartı linki – tüm kart tıklanabilir */
.service-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  min-width: 0;
  scroll-snap-align: start;
  -webkit-tap-highlight-color: transparent;
}

.service-card-link:focus-visible {
  outline: 2px solid #34ACD3;
  outline-offset: 2px;
  border-radius: 16px;
}

/* Varsayılan (mobil): carousel; masaüstünde grid ile override edilir */
.service-card {
  min-width: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(52, 172, 211, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
  cursor: pointer;
  height: 100%;
}

.service-card-link:hover .service-card,
.service-card-link:focus .service-card {
  border-color: rgba(52, 172, 211, 0.6);
  box-shadow: 0 12px 32px rgba(52, 172, 211, 0.15);
  transform: translateY(-4px);
}

.service-card-image {
  position: relative;
  aspect-ratio: 4 / 3.2;
  overflow: hidden;
  background: #e2e8f0;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.service-card-link:hover .service-card-image img,
.service-card-link:focus .service-card-image img {
  transform: scale(1.06);
}

.service-card-body {
  padding: 1.5rem 1.25rem;
  background: linear-gradient(180deg, #2d3748 0%, #1a202c 100%);
  color: #fff;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 5rem;
  transition: background 0.35s ease;
}

.service-card-link:hover .service-card-body,
.service-card-link:focus .service-card-body {
  background: linear-gradient(180deg, #3d4a5c 0%, #252d3d 100%);
}

.service-card-title {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.3;
  margin: 0;
  color: #fff;
  text-align: center;
}

/* Hover'da görünen "Detay →" ipucu – sadece masaüstü */
.service-card-cta {
  display: none;
}

@media (min-width: 992px) {
  .service-card-cta {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
  }

  .service-card-link:hover .service-card-cta,
  .service-card-link:focus .service-card-cta {
    opacity: 1;
    transform: translateY(0);
    color: #34ACD3;
  }
}

/* Carousel okları */
.services-carousel-btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(45, 55, 72, 0.3);
  background: #fff;
  color: #2d3748;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.services-carousel-btn:hover {
  background: #2d3748;
  color: #fff;
  border-color: #2d3748;
}

.services-carousel-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* Masaüstü: 6 üst, 6 alt — slide'lar layout'tan çıkar, kartlar doğrudan grid'de */
@media (min-width: 992px) {
  .services-carousel-wrapper {
    display: block;
  }

  .services-carousel {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.75rem;
    overflow: visible;
    scroll-snap-type: none;
    padding: 0;
  }

  .services-carousel-slide {
    display: contents;
  }

  .service-card-link {
    min-height: 0;
  }

  .service-card {
    flex: none;
    width: auto;
    min-width: 0;
  }

  .services-carousel-btn {
    display: none;
  }
}

/* Mobil: 3 üst 3 alt, sayfalar sağa/sola kayar */
@media (max-width: 991.98px) {
  .services-section {
    padding: 3rem 0;
  }

  .services-carousel {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    padding: 0;
  }

  .services-carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 0.75rem;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    box-sizing: border-box;
  }

  .service-card {
    flex: none;
    width: auto;
    min-width: 0;
  }

  .services-carousel-btn {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }

  .services-carousel-btn svg {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 575.98px) {
  .services-carousel-wrapper {
    gap: 0.5rem;
  }

  .services-carousel-slide {
    gap: 0.5rem;
  }

  .service-card-body {
    padding: 1rem 0.75rem;
    min-height: 3.5rem;
  }

  .service-card-title {
    font-size: 0.9375rem;
  }
}

/* ===== İletişim ===== */
.contact-section {
  padding: 4rem 0;
  background: #fff;
}

.contact-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
  border-radius: 24px;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.contact-content {
  padding: 2.5rem 1.5rem;
}

.contact-title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 500;
  color: #fff;
  text-align: center;
  margin-bottom: 1.75rem;
  line-height: 1.3;
}

.contact-fields {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-field {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #e8eef3;
  border-radius: 14px;
  text-decoration: none;
  color: #1a202c;
  font-weight: 550;
  font-size: 1rem;
  transition: background 0.25s ease, transform 0.2s ease;
  border: none;
  cursor: default;
  width: 100%;
  box-sizing: border-box;
}

a.contact-field {
  cursor: pointer;
}

a.contact-field:hover {
  background: #d6ebff;
  transform: translateY(-1px);
  color: #1a202c;
}

.contact-field-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a202c;
}

.contact-field-icon svg {
  width: 22px;
  height: 22px;
}

/* Tüm iletişim metinleri (telefon, e-posta, adres) – Eastman Trial rakam desteklemediği için */
.contact-field-text,
.contact-field-number {
  font-family: var(--font-numbers);
  flex: 1;
  word-break: break-word;
}

.contact-field-number {
  font-weight: 550;
  font-size: 1.7rem;
}

/* Masaüstü: sol içerik, sağda doktor fotoğrafı */
.contact-image-wrap {
  display: none;
}

@media (min-width: 992px) {
  .contact-card {
    flex-direction: row;
    align-items: stretch;
    min-height: 320px;
    position: relative;
  }

  .contact-content {
    flex: 1;
    min-width: 0;
    padding: 2.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 65%;
  }

  .contact-title {
    text-align: left;
    margin-bottom: 2rem;
  }

  .contact-fields {
    gap: 1.25rem;
  }

  .contact-field {
    padding: 1rem 1.5rem;
    font-size: 1.4rem;
  }

  .contact-field-icon svg {
    width: 24px;
    height: 24px;
  }

  .contact-image-wrap {
    display: block;
    width: 35%;
    min-width: 280px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.08) 30%, rgba(255, 255, 255, 0.25) 100%);
  }

  .contact-doctor-img {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 100%;
    width: auto;
    max-width: none;
    object-fit: cover;
    object-position: right center;
  }
}

@media (max-width: 991.98px) {
  .contact-section {
    padding: 3rem 1rem;
  }

  .contact-content {
    padding: 2rem 1.25rem;
  }

  /* Mobilde mail ve adres metni küçük kalmasın */
  .contact-field {
    font-size: 1.2rem;
    padding: 1.1rem 1.35rem;
  }

  .contact-field-icon svg {
    width: 24px;
    height: 24px;
  }
}

/* ===== Sıkça sorulan sorular (FAQ) ===== */
.faq-section {
  padding: 4rem 0;
  background: #fff;
}

.faq-section-title {
  font-size: clamp(1.35rem*1.2, 3vw*1.2, 1.75rem*1.2);
  font-weight: 700;
  color: #0f172a;
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.35;
}

.faq-list {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 1.25rem;
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 500;
  color: #1e3a5f;
  text-align: left;
  background: #e8f4f8;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  gap: 0.75rem;
}

.faq-question:hover {
  background: #d4edf5;
  color: #0f172a;
}

.faq-question::after {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='%231e3a5f' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") no-repeat center;
  transition: transform 0.25s ease;
}

.faq-item-open .faq-question::after {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item-open .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  margin: 0;
  padding: 1rem 1.25rem 1.25rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #334155;
  background: #fff;
  border-top: 1px solid #e2e8f0;
}

@media (max-width: 767.98px) {
  .faq-section {
    padding: 3rem 1rem;
  }

  .faq-question {
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
  }

  .faq-answer p {
    padding: 0.9rem 1rem 1rem;
  }
}

/* ===== Blog (Sağlıklı Yaşam Rehberi) ===== */
.blog-section {
  padding: 4rem 0;
  background: #fff;
}

.blog-section-title {
  font-size: clamp(1.35rem*1.2, 3vw*1.2, 1.75rem*1.2);
  font-weight: 650;
  color: #0f172a;
  margin-bottom: 1.5rem;
  line-height: 1.35;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
}

.blog-grid::-webkit-scrollbar {
  height: 6px;
}

.blog-grid::-webkit-scrollbar-track {
  background: #e2e8f0;
  border-radius: 3px;
}

.blog-grid::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 3px;
}

.blog-card {
  scroll-snap-align: start;
  min-width: 0;
}

.blog-card-link {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  text-decoration: none;
  color: inherit;
  border: 1px solid #b8d4e3;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-card-link:hover {
  border-color: #34ACD3;
  box-shadow: 0 4px 12px rgba(52, 172, 211, 0.15);
}

.blog-card-image {
  flex-shrink: 0;
  width: 120px;
  min-height: 100px;
  overflow: hidden;
  background: #e8f4f8;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card-body {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-family: var(--font-numbers) !important;
}

.blog-card-date {
  font-size: 0.75rem;
  color: #64748b;
  align-self: flex-end;
  font-family: var(--font-numbers) !important;
}

.blog-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e3a5f;
  margin: 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-desc {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-views {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: #64748b;
  margin-top: auto;
  font-family: var(--font-numbers) !important;
}

.blog-card-views svg {
  flex-shrink: 0;
}

.blog-more-wrap {
  margin-top: 1.25rem;
  text-align: right;
}

.blog-more-link {
  font-size: 1rem;
  font-weight: 500;
  color: #1e3a5f;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s ease;
}

.blog-more-link:hover {
  color: #34ACD3;
}

.blog-more-arrow {
  font-size: 1.1rem;
}

/* Masaüstü: 2 sütun x 3 sıra grid, kartta sol resim sağ içerik */
@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    overflow: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
  }

  .blog-card-link {
    flex-direction: row;
  }

  .blog-card-image {
    width: 42%;
    min-width: 140px;
    min-height: 140px;
  }

  .blog-card-body {
    padding: 1rem 1.25rem;
    gap: 0.5rem;
  }

  .blog-card-date {
    font-size: 0.85rem;
    align-self: flex-end;
  }

  .blog-card-title {
    font-size: 1rem;
    -webkit-line-clamp: 2;
  }

  .blog-card-desc {
    font-size: 0.9rem;
    -webkit-line-clamp: 2;
  }

  .blog-card-views {
    font-size: 0.85rem;
  }
}

@media (max-width: 767.98px) {
  .blog-section {
    padding: 3rem 1rem;
  }

  .blog-card {
    min-width: 280px;
  }
}

/* Blog listesi sayfası (20 yazı) */
.blog-page-section {
  padding: 3rem 0 0rem;
  background: #fff;
}

.blog-page-title {
  font-size: clamp(1.35rem*1.2, 3vw*1.2, 1.75rem*1.2);
  font-weight: 650;
  color: #0f172a;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.blog-page-intro {
  color: #64748b;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.blog-grid-full {
  overflow: visible;
  scroll-snap-type: none;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}

.blog-page-back {
  margin-top: 2rem;
  text-align: left;
}

/* Blog detay sayfası */
.blog-detail-section {
  padding: 2rem 0 1rem;
  background: #fff;
}

.blog-detail-container {
  max-width: 720px;
  margin: 0 auto;
}

.blog-detail-back {
  display: inline-block;
  font-size: 0.9rem;
  color: #34ACD3;
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color 0.2s ease;
}

.blog-detail-back:hover {
  color: #1e3a5f;
}

.blog-detail-image {
  margin-bottom: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
}

.blog-detail-image img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-detail-header {
  margin-bottom: 1.5rem;
}

.blog-detail-date {
  font-size: 0.85rem;
  color: #64748b;
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-numbers) !important;
}

.blog-detail-title {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin: 0;
  font-family: var(--font-numbers);
}

.blog-detail-content {
  font-size: 1rem;
  line-height: 1.75;
  color: #334155;
  font-family: var(--font-numbers) !important;
}

.blog-detail-content p {
  margin: 0 0 1rem;
}

.blog-detail-content p:last-child {
  margin-bottom: 0;
}

.blog-detail-footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

/* ===== Bizi Takip Edin (Instagram reels) ===== */
.follow-section {
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
}

.follow-section-bg {
  position: absolute;
  inset: 0;
  background-color: #c5e0ed;
  background-image: url('/images/followBackground.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.follow-section-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.follow-section-title {
  font-size: clamp(1.35rem*1.2, 3vw*1.2, 1.75rem*1.2);
  font-weight: 700;
  color: #0f172a;
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.35;
}

.follow-reels-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  justify-items: center;
  align-items: start;
}

.follow-reel-wrap {
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: center;
}

.follow-reel-wrap .instagram-media {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

@media (min-width: 992px) {
  .follow-reels-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 767.98px) {
  .follow-section {
    padding: 3rem 1rem;
  }

  .follow-section-title {
    margin-bottom: 1.5rem;
  }

  .follow-reels-grid {
    gap: 0.75rem;
  }
}

/* ===== Detaylı bilgi formu (contact form section) ===== */
.contact-form-section {
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
}

.contact-form-bg {
  position: absolute;
  inset: 0;
  background-color: #c5e0ed;
  background-image: url('/images/contactFormBackground.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Uzantı .png ise site.css içinde contactFormBackground.jpg → contactFormBackground.png yapın */
.contact-form-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.contact-form-title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  color: #0f172a;
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.35;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.contact-form-row-fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.contact-form-row-fields .contact-form-group {
  min-width: 0;
}

.contact-form-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  min-height: 52px;
  box-sizing: border-box;
  min-width: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-group:focus-within {
  border-color: #94a3b8;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.15);
}

.contact-form-group-full {
  flex: 1;
  min-width: 0;
}

.contact-form-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
}

.contact-form-icon svg {
  width: 20px;
  height: 20px;
}

.contact-form-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-family: var(--font-numbers);
  font-size: 1rem;
  color: #1a202c;
  padding: 1.1rem 0;
  outline: none;
}

.contact-form-input::placeholder {
  color: #94a3b8;
}

.contact-form-recaptcha-row {
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}
.contact-form-recaptcha-row .g-recaptcha {
  display: inline-block;
}
.contact-form-recaptcha-hint {
  display: block;
  color: #c0392b;
  font-size: 0.9rem;
  margin-top: 0.35rem;
}
.contact-form-alert {
  padding: 0.75rem 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.contact-form-alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.contact-form-alert-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.contact-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.contact-form-submit,
.contact-form-other {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(52, 172, 211, 0.6);
  background: #34ACD3;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.contact-form-submit:hover,
.contact-form-other:hover {
  background: #2a96b8;
  color: #fff;
  border-color: #2a96b8;
  transform: translateY(-1px);
}

.contact-form-other {
  background: #34ACD3;
}

@media (max-width: 767.98px) {
  .contact-form-section {
    padding: 3rem 1rem;
  }

  .contact-form-row-fields {
    grid-template-columns: 1fr;
  }

  .contact-form-actions {
    flex-direction: column;
  }

  .contact-form-submit,
  .contact-form-other {
    width: 100%;
    justify-content: center;
  }
}

/* ===== Hizmet detay (placeholder) sayfası ===== */
.hizmet-detay-section {
  padding: 2rem 0;
}

.hizmet-detay-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  color: #1a202c;
  margin-bottom: 0.5rem;
}

/* Hizmet detay hero başlığı (Detay.cshtml) */
.service-detail-hero {
  padding: 2rem 0 1.5rem;
}

.service-detail-title {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 500;
  color: #1a202c;
  margin: 0;
}

/* ===== Hizmet detay sayfası (galeri) ===== */
.service-detail-body {
  padding: 1.5rem 0;
}

.service-detail-body-inner {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.service-detail-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: #2d3748;
  margin: 0;
}

.service-detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.service-detail-photo {
  margin: 0;
}

.service-detail-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Masaüstü: iki fotoğraf yan yana, üstte açıklama */
@media (min-width: 992px) {
  .service-detail-gallery {
    flex-direction: row;
    align-items: flex-start;
  }

  .service-detail-photo {
    flex: 1 1 0;
  }
}

/* Hizmet detay: "Tüm hizmetlere geri dön" butonu */
.service-detail-back-wrap {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.service-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  color: #2d3748;
  border: 1px solid #2d3748;
  padding: 0.9rem 1.8rem;
  font-weight: 500;
  font-size: 1.1rem;
  border-radius: 1.5rem;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.service-detail-back:hover {
  background: #2d3748;
  color: #fff;
  border-color: #2d3748;
  transform: translateY(-1px);
}

/* ===== Klinik banner (clinicBackground) ===== */
.clinic-banner-section {
  position: relative;
  width: 100%;
  min-height: clamp(280px, 50vw, 520px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.clinic-banner-bg {
  position: absolute;
  inset: 0;
  background-image: url('/images/clinicBackground.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.clinic-banner-bg::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 70%;
  height: 80%;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.1), transparent 80%);
  pointer-events: none;
}

/* Masaüstü: bu bölüm sadece mobilde gösterilsin */
@media (min-width: 768px) {
  .clinic-banner-section {
    display: none;
  }
}

.clinic-banner-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem 1.5rem;
  padding-left: max(1.5rem, env(safe-area-inset-left));
  padding-right: max(1.5rem, env(safe-area-inset-right));
  padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
}

.clinic-banner-text {
  margin: 0;
  font-size: clamp(1.2*1.2rem, 2.5vw*1.2, 1.85rem*1.2);
  font-weight: 500;
  color: #2d3748;
}

.clinic-banner-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-numbers);
  font-size: clamp(1.2*1.2rem, 2.5vw*1.2, 1.85rem*1.2);
  font-weight: 700;
  color: #2d3748;
  text-decoration: none;
  transition: color 0.25s ease;
}

.clinic-banner-phone:hover {
  color: #34ACD3;
}

.clinic-banner-phone svg {
  flex-shrink: 0;
  width: 1.15em;
  height: 1.15em;
}

@media (max-width: 767.98px) {
  .clinic-banner-section {
    min-height: 240px;
    margin-left: 0;
    margin-right: 0;
  }

  .clinic-banner-overlay {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
}

/* ===== Location / Konum – full width, no title ===== */
.location-section {
  width: 100%;
  padding: 0;
  margin: 0;
}

.location-map-wrap {
  width: 100%;
  margin: 0;
  overflow: hidden;
}

.location-map-wrap .map-iframe,
.map-iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}

@media (max-width: 767.98px) {
  .location-map-wrap .map-iframe,
  .map-iframe {
    height: 300px;
  }
}

/* ===== Klinik Detay / Neden Biz ===== */
.clinic-detail-hero {
  padding: 4rem 0 2.5rem;
}

.clinic-detail-hero .container {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.clinic-detail-title {
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 700;
  color: #030E23;
  margin: 0 0 1.5rem;
}

.clinic-detail-text {
  max-width: 56rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #4a5568;
  margin: 0 auto;
}

.why-us-section {
  padding: 2rem 0 0rem;
}

.why-us-section .container {
  max-width: 960px;
  margin: 0 auto;
}

.why-us-title {
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  font-weight: 700;
  color: #030E23;
  margin: 0 0 1.5rem;
}

.why-us-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.why-us-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.why-us-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #34ACD3 0, #34ACD3 35%, #0a2240 36%, #0a2240 100%);
  position: relative;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.why-us-icon::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-left-color: transparent;
  transform: rotate(35deg);
}

.why-us-text {
  font-size: 1.02rem;
  line-height: 1.7;
  color: #2d3748;
}

@media (max-width: 767.98px) {
  .clinic-detail-hero {
    padding-top: 3rem;
    padding-bottom: 2rem;
  }

  .clinic-detail-text {
    font-size: 0.98rem;
  }

  .why-us-list {
    gap: 0.9rem;
  }

  .why-us-text {
    font-size: 0.96rem;
  }
}

/* ===== Site Footer ===== */
.site-footer {
  background: #030E23;
  color: #fff;
  padding: 3rem 0 2.5rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.footer-col {
  text-align: left;
}

/* Masaüstü: logo ve ikonlar birinci sütunda ortada */
@media (min-width: 992px) {
  .footer-brand {
    text-align: center;
    margin-right: 4rem;
  }

  .footer-brand .footer-logo-link {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-brand .footer-social {
    justify-content: center;
  }
}

.footer-brand .footer-logo-link {
  display: inline-block;
  margin-bottom: 1.25rem;
  overflow: visible;
}

.footer-logo {
  display: block;
  height: auto;
  max-width: 100%;
  width: 100%;
  object-fit: contain;
  transform: scale(1.25);
  transform-origin: center top;
}

.footer-social {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.footer-social-link:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.footer-social-link svg {
  width: 20px;
  height: 20px;
}

.footer-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}

.site-footer .footer-title {
  color: #fff !important;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-list li {
  margin-bottom: 0.5rem;
}

.site-footer .footer-list a {
  color: #7dd3fc !important;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.site-footer .footer-list a:hover {
  color: #fff !important;
}

.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-contact-list li {
  margin-bottom: 0.85rem;
}

.site-footer .footer-contact-list a,
.site-footer .footer-address {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #7dd3fc !important;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
  font-family: var(--font-numbers);
}

/* Footer’daki sayılar (telefon vb.) için Helvetica */
.site-footer .footer-contact-list a:hover {
  color: #fff !important;
}

.footer-contact-list svg {
  flex-shrink: 0;
  opacity: 0.9;
}

@media (max-width: 991.98px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
  }

  .footer-brand .footer-social {
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .site-footer {
    padding: 2rem 0 1.5rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 0 1rem;
  }

  .site-footer .footer-col {
    text-align: center;
  }

  .footer-brand {
    grid-column: 1;
    text-align: center;
  }

  .footer-brand .footer-logo-link {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-brand .footer-social {
    justify-content: center;
  }

  .footer-contact-list a,
  .footer-address {
    justify-content: center;
  }

  .footer-title {
    margin-bottom: 0.75rem;
  }
}
