/* =============================================
   Eyyübiye 29 No'lu ASM - Ana Stil Dosyası
   Referans: eyyubiye31nolu.asmtr.com renk şeması
   ============================================= */

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

/* ---- CSS Değişkenleri ---- */
:root {
  --primary:       #00aaa6;
  --primary-dark:  #008a87;
  --primary-light: #e6f7f7;
  --secondary:     #444444;
  --text:          #787878;
  --heading:       #444444;
  --white:         #ffffff;
  --light-bg:      #f5f5f5;
  --border:        #e0e0e0;
  --danger:        #dc3545;
  --shadow-sm:     0 2px 8px rgba(0,0,0,.08);
  --shadow-md:     0 4px 20px rgba(0,0,0,.12);
  --radius:        6px;
  --transition:    all .3s ease;
}

/* ---- Global ---- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  color: var(--text);
  line-height: 1.75;
  background: var(--white);
  -webkit-tap-highlight-color: rgba(0,170,166,0.18);
  overflow-x: hidden;
}

img, iframe, video { max-width: 100%; }

/* ---- A11y: Skip link ---- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 12px 20px;
  z-index: 9999;
  font-weight: 600;
  border-radius: 0 0 6px 0;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
  outline: 3px solid #fff;
  outline-offset: -2px;
}

/* ---- A11y: Focus indicator (klavye) ---- */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 3px;
}
button:focus:not(:focus-visible),
a:focus:not(:focus-visible) { outline: none; }

/* ---- Yardımcı (utility) ---- */
.feature-box {
  background: #fff;
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
  padding: 1rem;
  border-radius: var(--radius);
  height: 100%;
}
.step-circle {
  min-width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  color: var(--heading);
  font-weight: 600;
  line-height: 1.3;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; }

/* =============================================
   TOPBAR
   ============================================= */
.topbar {
  background-color: #222;
  color: #ccc;
  font-size: 13px;
  padding: 7px 0;
  border-bottom: 2px solid var(--primary);
}
.topbar a { color: #ccc; }
.topbar a:hover { color: var(--primary); }
.topbar i { color: var(--primary); margin-right: 5px; }
.topbar .topbar-left span,
.topbar .topbar-right span { margin-right: 18px; }

/* =============================================
   NAVBAR
   ============================================= */
.main-navbar {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
  padding: 0;
  transition: var(--transition);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}
.brand-logo {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  object-fit: contain;
}
.brand-text { line-height: 1.2; }
.brand-text .brand-ministry {
  font-size: 11px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: 500;
  display: block;
}
.brand-text .brand-name {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.main-navbar .nav-link {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--heading) !important;
  text-transform: uppercase;
  letter-spacing: .3px;
  padding: 22px 12px !important;
  border-bottom: 3px solid transparent;
  transition: var(--transition);
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
  color: var(--primary) !important;
  border-bottom-color: var(--primary);
}
.main-navbar .nav-item.dropdown:hover > .dropdown-menu { display: block; }

.dropdown-menu {
  border: none;
  border-top: 3px solid var(--primary);
  box-shadow: var(--shadow-md);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 8px 0;
  min-width: 220px;
}
.dropdown-item {
  font-size: 13px;
  padding: 8px 20px;
  color: var(--heading);
  border-left: 3px solid transparent;
  transition: var(--transition);
}
.dropdown-item:hover {
  color: var(--primary);
  background: var(--primary-light);
  border-left-color: var(--primary);
}
.dropdown-divider { border-color: var(--border); margin: 4px 0; }

.navbar-cta { display: flex; gap: 8px; align-items: center; }
.btn-randevu {
  background: var(--primary);
  color: var(--white) !important;
  border: none;
  border-radius: var(--radius);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-randevu:hover { background: var(--primary-dark); color: var(--white) !important; }
.btn-alo {
  background: var(--danger);
  color: var(--white) !important;
  border: none;
  border-radius: var(--radius);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-alo:hover { background: #b02a37; color: var(--white) !important; }

/* =============================================
   HERO CAROUSEL
   ============================================= */
.hero-carousel { position: relative; }
.hero-slide {
  min-height: 480px;
  background: linear-gradient(135deg, #007a77 0%, #00aaa6 50%, #00c5c0 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 2; padding: 60px 0; }
.hero-content .overline {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,.85);
  font-weight: 500;
  display: block;
  margin-bottom: 12px;
}
.hero-content h1,
.hero-content .hero-h2 {
  color: var(--white);
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,.2);
  font-family: 'Poppins', sans-serif;
  line-height: 1.2;
}
.hero-content p {
  color: rgba(255,255,255,.9);
  font-size: 16px;
  margin-bottom: 28px;
  max-width: 520px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-hero-primary {
  background: var(--white);
  color: var(--primary) !important;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  transition: var(--transition);
}
.btn-hero-primary:hover { background: var(--primary-light); }
.btn-hero-outline {
  border: 2px solid rgba(255,255,255,.8);
  color: var(--white) !important;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  transition: var(--transition);
}
.btn-hero-outline:hover { background: rgba(255,255,255,.15); }

.hero-icon-box {
  text-align: center;
  padding: 40px;
  opacity: .15;
}
.hero-icon-box i { font-size: 160px; color: var(--white); }

.carousel-indicators button {
  background-color: rgba(255,255,255,.5);
  width: 10px; height: 10px;
  border-radius: 50%;
}
.carousel-indicators button.active { background-color: var(--white); }
.carousel-control-prev-icon,
.carousel-control-next-icon { filter: invert(0); }

/* =============================================
   INFO CARDS (Ana sayfa 3'lü şerit)
   ============================================= */
.info-cards-section { background: var(--white); }
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  height: 100%;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.info-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.info-card .card-icon {
  width: 60px; height: 60px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.info-card .card-icon i { font-size: 24px; color: var(--primary); }
.info-card h5 { font-size: 16px; color: var(--heading); margin-bottom: 10px; }
.info-card p { font-size: 14px; color: var(--text); margin: 0; }
.info-card .card-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}
.info-card .card-link:hover { color: var(--primary-dark); }

/* =============================================
   SECTION COMMON
   ============================================= */
.section-py { padding: 60px 0; }
.section-py-sm { padding: 40px 0; }

.section-header { text-align: center; margin-bottom: 40px; }
.section-header .overline {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}
.section-header h2 {
  font-size: 1.9rem;
  color: var(--heading);
  margin-bottom: 12px;
}
.section-header .divider {
  width: 50px; height: 3px;
  background: var(--primary);
  margin: 0 auto;
  border-radius: 2px;
}

/* =============================================
   NEWS / DUYURU CARDS
   ============================================= */
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: var(--transition);
}
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.news-card .card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.news-card .card-img i { font-size: 60px; color: rgba(255,255,255,.4); }
.news-card .card-img .date-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--white);
  color: var(--primary);
  font-size: 11px; font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  font-family: 'Poppins', sans-serif;
}
.news-card .card-body { padding: 20px; }
.news-card .card-category {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}
.news-card h5 {
  font-size: 15px;
  color: var(--heading);
  margin-bottom: 10px;
  line-height: 1.4;
}
.news-card p { font-size: 13px; color: var(--text); margin-bottom: 14px; }
.news-card .read-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}
.news-card .read-more i { transition: var(--transition); }
.news-card:hover .read-more i { transform: translateX(4px); }

/* =============================================
   SERVICE CARDS
   ============================================= */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  height: 100%;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.service-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.service-card .service-icon {
  width: 72px; height: 72px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--primary); }
.service-card .service-icon i { font-size: 28px; color: var(--primary); transition: var(--transition); }
.service-card:hover .service-icon i { color: var(--white); }
.service-card h5 { font-size: 15px; color: var(--heading); margin-bottom: 10px; }
.service-card p { font-size: 13px; color: var(--text); margin-bottom: 14px; }
.service-card .service-link { font-size: 13px; font-weight: 600; color: var(--primary); }

/* =============================================
   DOCTOR CARDS
   ============================================= */
.doctor-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}
.doctor-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.doctor-avatar {
  width: 90px; height: 90px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  border: 3px solid var(--primary);
}
.doctor-avatar i { font-size: 40px; color: var(--primary); }

.doctor-avatar-img {
  width: 100px; height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary);
  margin: 0 auto 16px;
}
.doctor-avatar-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.doctor-card h5 { font-size: 16px; color: var(--heading); margin-bottom: 4px; }
.doctor-card .specialty {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}
.doctor-card .unit-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.doctor-card .doctor-info { font-size: 13px; color: var(--text); margin-bottom: 16px; text-align: left; }
.doctor-card .doctor-info li { padding: 3px 0; }
.doctor-card .doctor-info i { color: var(--primary); width: 18px; }
.btn-randevu-card {
  display: block;
  background: var(--primary);
  color: var(--white) !important;
  padding: 8px 0;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  transition: var(--transition);
}
.btn-randevu-card:hover { background: var(--primary-dark); }

/* =============================================
   PAGE HEADER (İç Sayfalar)
   ============================================= */
.page-header-bar {
  background: linear-gradient(135deg, #007a77, var(--primary));
  padding: 30px 0;
  border-bottom: 3px solid var(--primary-dark);
}
.page-header-bar h1 { color: var(--white); font-size: 1.6rem; margin-bottom: 6px; }
.breadcrumb { background: none; padding: 0; margin: 0; }
.breadcrumb-item { font-size: 13px; }
.breadcrumb-item a { color: rgba(255,255,255,.85); }
.breadcrumb-item.active { color: rgba(255,255,255,.65); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.5); }

/* =============================================
   SIDEBAR (İç Sayfalar)
   ============================================= */
.sidebar-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.sidebar-card .sidebar-title {
  background: var(--primary);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 18px;
  display: flex; align-items: center; gap: 8px;
}
.sidebar-menu { list-style: none; padding: 0; margin: 0; }
.sidebar-menu li { border-bottom: 1px solid var(--border); }
.sidebar-menu li:last-child { border-bottom: none; }
.sidebar-menu li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 13px;
  color: var(--text);
  transition: var(--transition);
}
.sidebar-menu li a:hover,
.sidebar-menu li a.active {
  color: var(--primary);
  background: var(--primary-light);
  padding-left: 22px;
}
.sidebar-menu li a i { font-size: 12px; color: var(--primary); }
.sidebar-contact { padding: 16px 18px; }
.sidebar-contact p { font-size: 13px; margin-bottom: 8px; }
.sidebar-contact i { color: var(--primary); width: 18px; }

/* =============================================
   ACCORDION (Hasta Hakları)
   ============================================= */
.accordion-button {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--heading);
}
.accordion-button:not(.collapsed) {
  color: var(--primary);
  background: var(--primary-light);
  box-shadow: none;
}
.accordion-button::after {
  filter: none;
}
.accordion-button:not(.collapsed)::after {
  filter: invert(40%) sepia(90%) saturate(400%) hue-rotate(150deg);
}
.accordion-button:focus { box-shadow: 0 0 0 3px rgba(0,170,166,.2); }

/* =============================================
   CALCULATOR CARDS
   ============================================= */
.calc-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
}
.calc-card .calc-header {
  background: var(--primary);
  color: var(--white);
  padding: 16px 24px;
  display: flex; align-items: center; gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 16px;
}
.calc-card .calc-header i { font-size: 20px; }
.calc-card .calc-body { padding: 28px; }
.calc-result {
  background: var(--primary-light);
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.calc-result .result-value { font-size: 3rem; font-weight: 700; color: var(--primary); line-height: 1; }
.calc-result .result-label { font-size: 13px; color: var(--text); margin-top: 4px; }
.result-category {
  display: inline-block;
  padding: 6px 20px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 15px;
  margin-top: 12px;
}
.cat-underweight { background: #cfe2ff; color: #084298; }
.cat-normal      { background: #d1e7dd; color: #0a3622; }
.cat-overweight  { background: #fff3cd; color: #664d03; }
.cat-obese1      { background: #ffe0b2; color: #8b3a00; }
.cat-obese2      { background: #f8d7da; color: #842029; }
.cat-morbid      { background: #842029; color: #fff; }

/* Aşı Takvimi */
.badge-gecti    { background: #ffc107; color: #333; font-size: 12px; }
.badge-yaklasi  { background: #0dcaf0; color: #333; font-size: 12px; }
.badge-bekliyor { background: #6c757d; color: #fff; font-size: 12px; }
.badge-bugun    { background: var(--danger); color: #fff; font-size: 12px; }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-icon-box {
  width: 44px; height: 44px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon-box i { color: var(--primary); font-size: 18px; }
.contact-info-item h6 { font-size: 13px; color: var(--text); margin-bottom: 3px; font-weight: 600; }
.contact-info-item p, .contact-info-item a { font-size: 14px; color: var(--heading); margin: 0; }

.map-wrapper { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }

.emergency-box {
  background: #fff3f3;
  border: 2px solid var(--danger);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-top: 20px;
}
.emergency-box h5 { color: var(--danger); margin-bottom: 6px; font-size: 16px; }
.emergency-box p { margin: 0; font-size: 14px; }
.emergency-box .big-num { font-size: 2rem; font-weight: 700; color: var(--danger); line-height: 1; }

/* =============================================
   DUYURULAR LİSTE
   ============================================= */
.announcement-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.announcement-item:last-child { border-bottom: none; }
.ann-date-box {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 10px 14px;
  text-align: center;
  flex-shrink: 0;
  min-width: 60px;
}
.ann-date-box .ann-day { font-size: 22px; font-weight: 700; line-height: 1; font-family: 'Poppins', sans-serif; }
.ann-date-box .ann-month { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }
.ann-content { flex: 1; }
.ann-content .ann-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 4px;
}
.ann-content h5 { font-size: 15px; color: var(--heading); margin-bottom: 6px; }
.ann-content p { font-size: 13px; color: var(--text); margin-bottom: 8px; }
.ann-content .read-more { font-size: 13px; font-weight: 600; color: var(--primary); }

/* =============================================
   FOOTER
   ============================================= */
.main-footer { background: #222; color: #aaa; font-size: 13px; }
.footer-upper { padding: 50px 0 30px; border-bottom: 1px solid #333; }
.footer-upper h5 {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-logo-icon { width: 48px; height: 48px; object-fit: contain; flex-shrink: 0; background: #fff; padding: 4px; border-radius: 6px; }
.footer-logo-text .name { color: var(--white); font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 700; display: block; }
.footer-logo-text .sub { font-size: 11px; color: #aaa; }
.footer-desc { font-size: 13px; color: #aaa; line-height: 1.8; margin-bottom: 16px; }

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: 4px 0; }
.footer-links a {
  color: #aaa;
  font-size: 13px;
  transition: var(--transition);
  display: flex; align-items: center; gap: 6px;
}
.footer-links a::before {
  content: '›';
  color: var(--primary);
  font-size: 16px;
  line-height: 1;
}
.footer-links a:hover { color: var(--primary); padding-left: 4px; }

.footer-contact-list { list-style: none; padding: 0; margin: 0; }
.footer-contact-list li { padding: 5px 0; display: flex; align-items: flex-start; gap: 8px; }
.footer-contact-list i { color: var(--primary); font-size: 13px; margin-top: 2px; flex-shrink: 0; }
.footer-contact-list a { color: #aaa; }
.footer-contact-list a:hover { color: var(--primary); }

.gov-links { margin-top: 14px; }
.gov-links a {
  display: inline-block;
  background: #333;
  color: #ccc;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 3px;
  margin: 3px 3px 3px 0;
  transition: var(--transition);
}
.gov-links a:hover { background: var(--primary); color: var(--white); }

.footer-bottom {
  background: #111;
  padding: 14px 0;
  text-align: center;
  font-size: 12px;
  color: #666;
}
.footer-bottom a { color: #888; }
.footer-bottom a:hover { color: var(--primary); }

/* =============================================
   BACK TO TOP
   ============================================= */
#backToTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px; height: 44px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
}
#backToTop.visible { opacity: 1; pointer-events: auto; }
#backToTop:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* =============================================
   STATS STRIP
   ============================================= */
.stats-strip {
  background: linear-gradient(135deg, #007a77, var(--primary));
  padding: 40px 0;
}
.stat-item { text-align: center; color: var(--white); padding: 10px; }
.stat-item .stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}
.stat-item .stat-label { font-size: 13px; color: rgba(255,255,255,.85); text-transform: uppercase; letter-spacing: 1px; }

/* =============================================
   HIZMET STANDARTLARI TABLOSU
   ============================================= */
.hours-table th { background: var(--primary); color: var(--white); font-weight: 600; font-size: 14px; }
.hours-table td { font-size: 14px; vertical-align: middle; }

/* =============================================
   PERSONEL TABLOSU
   ============================================= */
.staff-table thead th { background: var(--primary); color: var(--white); font-size: 13px; font-weight: 600; }
.staff-table tbody td { font-size: 13px; vertical-align: middle; }

/* =============================================
   GENEL BUTONLAR
   ============================================= */
.btn-primary-asm {
  background: var(--primary);
  color: var(--white) !important;
  border: none;
  border-radius: var(--radius);
  padding: 10px 24px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  transition: var(--transition);
}
.btn-primary-asm:hover { background: var(--primary-dark); }
.btn-outline-asm {
  border: 2px solid var(--primary);
  color: var(--primary) !important;
  border-radius: var(--radius);
  padding: 10px 24px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  background: transparent;
  transition: var(--transition);
}
.btn-outline-asm:hover { background: var(--primary); color: var(--white) !important; }

/* =============================================
   FORM ELEMANLAR
   ============================================= */
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,170,166,.15);
}
.form-label { font-size: 14px; font-weight: 600; color: var(--heading); margin-bottom: 5px; }
.btn-calc {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 10px 0;
  width: 100%;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
  margin-top: 4px;
}
.btn-calc:hover { background: var(--primary-dark); }

/* =============================================
   HIZMET DETAY KARTLARI
   ============================================= */
.hizmet-detail-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: var(--transition);
}
.hizmet-detail-card:hover { box-shadow: var(--shadow-md); }
.hizmet-detail-card .hizmet-img {
  height: 150px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
}
.hizmet-detail-card .hizmet-img i { font-size: 56px; color: rgba(255,255,255,.7); }
.hizmet-detail-card .hizmet-body { padding: 20px; }
.hizmet-detail-card h5 { font-size: 15px; color: var(--heading); margin-bottom: 8px; }
.hizmet-detail-card p { font-size: 13px; color: var(--text); margin-bottom: 12px; }
.hizmet-detail-card .hizmet-link {
  font-size: 13px; font-weight: 600; color: var(--primary);
  display: flex; align-items: center; gap: 4px;
}

/* =============================================
   RESPONSIVE DÜZELTMELER
   ============================================= */

/* ---- Tablet ve aşağısı (≤991px) ---- */
@media (max-width: 991px) {
  .main-navbar .nav-link { padding: 12px 14px !important; border-bottom: none; min-height: 44px; display: flex; align-items: center; }
  .main-navbar .nav-link:hover { background: var(--primary-light); }
  .navbar-cta { padding: 12px 0; flex-direction: row; gap: 8px; }
  .navbar-cta .btn-randevu, .navbar-cta .btn-alo { flex: 1; text-align: center; min-height: 44px; display: flex; align-items: center; justify-content: center; }
  .hero-content h1, .hero-content .hero-h2 { font-size: 1.8rem; }
  .hero-icon-box { display: none; }
  .hero-btns { flex-direction: column; }
  .hero-btns a { width: 100%; text-align: center; }
  /* Mobilde topbar-right tamamen gizli yerine sadece dış linkler gizli — telefon korunur */
  .topbar .topbar-right a:not([href^="tel:"]) { display: none !important; }
  .topbar .topbar-right { display: flex !important; }
  .topbar .topbar-left span:not(:first-child) { display: none; }
  /* Dropdown item'lara dokunma alanı */
  .dropdown-item { min-height: 44px; display: flex; align-items: center; }
}

/* ---- Mobil (≤767px) ---- */
@media (max-width: 767px) {
  body { font-size: 14px; }

  /* iOS form input zoom önle: 16px taban */
  input.form-control,
  select.form-select,
  textarea.form-control { font-size: 16px !important; min-height: 44px; }

  /* Touch target standardı */
  .btn-calc, .btn-primary-asm, .btn-outline-asm, .btn-randevu-card, .btn-alo, .btn-randevu, .btn-hero-primary, .btn-hero-outline {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .card-link { min-height: 36px; display: inline-flex; align-items: center; }

  .hero-slide { min-height: 360px; padding: 40px 0; }
  .hero-content h1, .hero-content .hero-h2 { font-size: 1.5rem; line-height: 1.25; }
  .hero-content p { font-size: 14px; }
  .section-py { padding: 40px 0; }
  .section-header h2 { font-size: 1.5rem; }

  .stat-item .stat-num { font-size: 1.8rem; }
  .info-cards-section .row { gap: 16px 0; }

  .brand-text .brand-ministry { display: none; }
  .brand-logo { width: 44px; height: 44px; }
  .brand-text .brand-name { font-size: 13px; line-height: 1.2; }

  /* Hesaplayıcı kartları */
  .calc-card .calc-body { padding: 16px; }
  .calc-header { font-size: 14px; padding: 12px 16px; }
  .calc-result .result-value { font-size: 1.8rem; }

  /* Tablo okunabilirlik */
  .table-responsive { -webkit-overflow-scrolling: touch; }
  .table { font-size: 13px; }
  .staff-table td, .staff-table th { padding: 8px 10px; }

  /* Doktor kartı */
  .doctor-avatar-img { width: 90px; height: 90px; }

  /* Footer kontrast (WCAG AA) ve gap */
  .main-footer, .main-footer p, .main-footer .footer-desc { color: #c4c4c4; }
  .main-footer .footer-links a, .main-footer .footer-contact-list a { color: #d0d0d0; }
  .footer-upper .row > div { margin-bottom: 8px; }

  /* Harita yüksekliği */
  .map-wrapper { height: 320px !important; }

  /* Eczane iframe */
  #nobetci-eczane iframe { height: 360px !important; }

  /* Back-to-top */
  #backToTop { width: 44px; height: 44px; bottom: 16px; right: 16px; }
}

/* ---- Küçük telefon (≤480px) ---- */
@media (max-width: 480px) {
  .topbar { font-size: 11px; padding: 6px 0; }
  .topbar .topbar-left span { padding-right: 8px; }

  .brand-text .brand-name { font-size: 12px; }
  .brand-logo { width: 40px; height: 40px; }

  .hero-slide { min-height: 320px; padding: 32px 0; }
  .hero-content h1, .hero-content .hero-h2 { font-size: 1.3rem; }
  .hero-content .overline { font-size: 11px; }
  .hero-content p { font-size: 13px; }

  /* Carousel kontrolleri küçük telefonda yer kapatıyor */
  .carousel-indicators { display: none; }
  .carousel-control-prev, .carousel-control-next { width: 12%; }

  .section-header h2 { font-size: 1.3rem; }
  .section-header .divider { width: 40px; }
  .section-py { padding: 32px 0; }

  /* Hizmet kartlarını okunaklı yap (col-6 kalsın, font ufak) */
  .service-card { padding: 14px 10px; }
  .service-card h5 { font-size: 13px; }
  .service-card p { font-size: 11px; line-height: 1.4; }
  .service-card .service-icon { width: 50px; height: 50px; }
  .service-card .service-icon i { font-size: 22px; }

  /* Kalori formundaki 6'lı grid'i tek sütuna indir */
  #kaloriForm .col-6 { flex: 0 0 100%; max-width: 100%; }

  /* Calculator result büyük rakamlar */
  .calc-result .result-value { font-size: 1.6rem; }

  /* Footer logo ve metin */
  .footer-logo-text .name { font-size: 14px; }
  .footer-logo-text .sub { font-size: 11px; }

  /* İletişim ikonları küçült */
  .contact-icon-box { width: 38px; height: 38px; }
  .contact-icon-box i { font-size: 14px; }
  .contact-info-item h6 { font-size: 13px; }

  /* Acil 112 kutusu */
  .emergency-box .big-num { font-size: 2.4rem; }
}
