/**
 * Apple-inspired global design
 * Sade, bol beyaz alan, yumuşak gölgeler, yuvarlatılmış köşeler
 */

/* ========== Tipografi (Apple San Francisco benzeri) ========== */
:root {
  --apple-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --apple-gray: #f5f5f7;
  --apple-gray-dark: #1d1d1f;
  --apple-shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.06);
  --apple-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --apple-shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.1);
  --apple-radius: 12px;
  --apple-radius-lg: 18px;
  --apple-blue: var(--primary-color, #6a3a93);
  --apple-blue-hover: #572f7a;
}

body {
  font-family: var(--apple-font) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--apple-gray-dark) !important;
  background: #fff !important;
}

/* Başlıklar – net hiyerarşi */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--apple-font) !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em;
  color: var(--apple-gray-dark) !important;
}

h1 { font-size: 2.5rem !important; line-height: 1.15 !important; }
h2 { font-size: 2rem !important; line-height: 1.2 !important; }
h3 { font-size: 1.5rem !important; }
h4 { font-size: 1.25rem !important; }

p, .lead {
  font-family: var(--apple-font) !important;
  line-height: 1.6 !important;
  color: rgba(29, 29, 31, 0.85) !important;
}

/* Bölüm aralıkları → apple-layout-system.css */

#content > section.bg-color-op-1,
#content > section.bg-light,
section.bg-color-op-1 {
  background: var(--apple-gray) !important;
}

#content > section:not(.bg-dark):not(.text-light):not(#section-intro):not(.section-stats) {
  background: #fff !important;
}

/* Subheader spacing → apple-layout-system.css */
#subheader,
#subheader.bg-color-op-1 {
  background: var(--apple-gray) !important;
  border-bottom: none !important;
}

#subheader h1 {
  font-size: 2.75rem !important;
  font-weight: 600 !important;
  letter-spacing: -0.025em !important;
}

#subheader .crumb {
  font-size: 0.9rem !important;
  opacity: 0.8;
}

#subheader .crumb a:hover {
  text-decoration: none;
  opacity: 1;
}

/* ========== Butonlar (Apple mavi, yuvarlak) ========== */
a.btn-main,
.btn-main,
a.btn-main.btn-line {
  font-family: var(--apple-font) !important;
  font-weight: 500 !important;
  border-radius: 980px !important;
  padding: 12px 24px !important;
  transition: all 0.25s ease !important;
  border-width: 2px !important;
}

a.btn-main:not(.btn-line),
.btn-main:not(.btn-line) {
  background: var(--apple-blue) !important;
  border-color: var(--apple-blue) !important;
  color: #fff !important;
}

a.btn-main:not(.btn-line):hover,
.btn-main:not(.btn-line):hover {
  background: var(--apple-blue-hover) !important;
  border-color: var(--apple-blue-hover) !important;
  color: #fff !important;
  transform: scale(1.02);
}

a.btn-main.btn-line,
.btn-main.btn-line {
  background: transparent !important;
  color: var(--apple-blue) !important;
  border-color: var(--apple-blue) !important;
}

a.btn-main.btn-line:hover,
.btn-main.btn-line:hover {
  background: var(--apple-blue) !important;
  color: #fff !important;
  border-color: var(--apple-blue) !important;
}

/* Header’daki Randevu butonu */
header .btn-main {
  border-radius: 980px !important;
  padding: 10px 20px !important;
}

/* ========== Kartlar / Kutular ========== */
.rounded-1,
.hover-shadow,
.bg-color-op-1.rounded-1,
div.rounded-1 {
  border-radius: var(--apple-radius-lg) !important;
  box-shadow: var(--apple-shadow-sm) !important;
  transition: box-shadow 0.3s ease, transform 0.3s ease !important;
}

a:hover .rounded-1.hover-shadow,
a:hover .bg-color-op-1.rounded-1.hover-shadow,
.hover-shadow:hover {
  box-shadow: var(--apple-shadow) !important;
  transform: translateY(-2px);
}

.bg-color-op-1.p-40,
.bg-color-op-1.h-100.p-40 {
  background: #fff !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

/* ========== Görseller ========== */
img.rounded-1,
.rounded-1 img,
.rounded-1.overflow-hidden {
  border-radius: var(--apple-radius-lg) !important;
}

.w-80.rounded-1,
.w-100.rounded-1 {
  border-radius: var(--apple-radius-lg) !important;
}

/* ========== 3 sütun iletişim bandı (ana sayfa) – arka plan ve metin rengi; padding eski CSS (pt-50 pb-30 vb.) ========== */
section.bg-dark.text-light {
  background: var(--apple-gray-dark) !important;
}

section.bg-dark.text-light h4,
section.bg-dark.text-light p {
  color: rgba(255, 255, 255, 0.9) !important;
}

section.bg-dark.text-light .id-color {
  color: var(--apple-blue) !important;
}

/* ========== Footer (Apple tarzı koyu) ========== */
footer.section-dark {
  background: var(--apple-gray-dark) !important;
  padding-top: 4rem !important;
  padding-bottom: 2rem !important;
}

footer.section-dark .widget h5 {
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  opacity: 0.9;
}

footer.section-dark .widget ul li a,
footer.section-dark .widget p,
footer.section-dark .widget > div {
  color: rgba(255, 255, 255, 0.75) !important;
  transition: color 0.2s ease;
}

footer.section-dark .widget ul li a:hover {
  color: #fff !important;
}

footer.section-dark .subfooter {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding-top: 1.5rem !important;
  margin-top: 2rem !important;
}

footer.section-dark .subfooter .de-flex-col,
footer.section-dark .subfooter .menu-simple a {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 0.9rem !important;
}

footer.section-dark .subfooter .menu-simple a:hover {
  color: #fff !important;
}

/* Footer: 7 sütun (referans: 4. foto) */
footer.section-dark .footer-row-7 {
  display: grid;
  gap: 2rem 1.5rem;
  align-items: start;
  margin-left: 0;
  margin-right: 0;
}
footer.section-dark .footer-col {
  min-width: 0;
}
footer.section-dark .footer-col-brand .logo-footer {
  max-height: 52px;
  width: auto;
  height: auto;
  display: block;
  margin-bottom: 0.75rem;
}
footer.section-dark .footer-desc {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.8) !important;
}
footer.section-dark .footer-social {
  margin-top: 0.5rem;
}
footer.section-dark .footer-social a {
  color: rgba(255, 255, 255, 0.7);
  margin-right: 0.5rem;
  transition: color 0.2s ease;
}
footer.section-dark .footer-social a:hover {
  color: #fff;
}
footer.section-dark .footer-col h5 {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.95);
}
footer.section-dark .footer-col h5 .id-color {
  color: var(--primary-color, #6a3a93);
}
footer.section-dark .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
footer.section-dark .footer-links li {
  margin: 0.3em 0;
  line-height: 1.4;
}
footer.section-dark .footer-links li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s ease;
}
footer.section-dark .footer-links li a:hover {
  color: #fff;
}
footer.section-dark .footer-col-contact p {
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}
footer.section-dark .footer-col-contact p a {
  color: rgba(255, 255, 255, 0.9);
}
footer.section-dark .footer-col-contact p a:hover {
  color: #fff;
}
/* Masaüstü: 7 sütun yan yana */
@media (min-width: 992px) {
  footer.section-dark .footer-row-7 {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 0.85fr) minmax(0, 1fr);
    gap: 2rem 1.25rem;
  }
}
/* Tablet: 2–3 sütun */
@media (min-width: 768px) and (max-width: 991px) {
  footer.section-dark .footer-row-7 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
/* Mobil: tek sütun */
@media (max-width: 767px) {
  footer.section-dark .footer-row-7 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  footer.section-dark .footer-col-contact {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1rem;
  }
  footer.section-dark .footer-col-contact:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

/* ========== Footer Apple (index – açık zemin, sütunlar, Tedavilerimiz) ========== */
footer.footer-apple {
  background: #f5f5f7 !important;
  padding-top: 2.5rem !important;
  padding-bottom: 0 !important;
  color: #1d1d1f;
}
footer.footer-apple .footer-apple__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) repeat(6, minmax(0, 1fr));
  gap: 2rem 1rem;
  padding-bottom: 1.5rem;
  align-items: start;
}
footer.footer-apple .footer-apple__col {
  min-width: 0;
}
footer.footer-apple .footer-apple__brand {
  padding-right: 0.5rem;
  padding-left: 0;
  margin-left: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}
/* Sadece geniş masaüstünde ilk sütunu sola kaydır; taşma olmasın */
/* Sadece geniş masaüstünde – mobilde simya-responsive.css sıfırlar */
@media (min-width: 1200px) {
  footer.footer-apple .footer-apple__brand {
    margin-left: -1.5rem;
  }
}
footer.footer-apple .footer-apple__brand .footer-apple__logo,
footer.footer-apple .footer-apple__brand .footer-apple__desc,
footer.footer-apple .footer-apple__brand .footer-apple__social {
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
}
footer.footer-apple .footer-apple__brand .footer-apple__logo {
  margin-bottom: 0.5rem;
}
footer.footer-apple .footer-apple__brand .footer-apple__desc {
  margin-bottom: 0.75rem;
}
footer.footer-apple .footer-apple__logo {
  display: block;
  margin-bottom: 0.5rem;
}
footer.footer-apple .footer-apple__logo-img {
  max-height: 48px;
  width: auto;
  height: auto;
  display: block;
}
footer.footer-apple .footer-apple__desc {
  font-size: 0.8125rem;
  color: #6e6e73;
  line-height: 1.45;
  margin: 0 0 0.75rem 0;
  max-width: 100%;
}
footer.footer-apple .footer-apple__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-start;
}
footer.footer-apple .footer-apple__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.07);
  color: #1d1d1f;
  font-size: 0.8rem;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}
footer.footer-apple .footer-apple__social a:hover {
  background: rgba(0, 0, 0, 0.12);
  color: #1d1d1f;
}
footer.footer-apple .footer-apple__contact .footer-apple__contact-item {
  font-size: 0.8125rem;
  color: #6e6e73;
  margin: 0.25rem 0;
  line-height: 1.4;
}
footer.footer-apple .footer-apple__contact .footer-apple__contact-item a {
  color: #6e6e73;
  text-decoration: none;
}
footer.footer-apple .footer-apple__contact .footer-apple__contact-item a:hover {
  color: #1d1d1f;
  text-decoration: underline;
}
footer.footer-apple .footer-apple__contact .footer-apple__hours {
  color: #6e6e73;
  margin-top: 0.35rem;
}
footer.footer-apple .footer-apple__title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #1d1d1f;
  margin: 0 0 0.6rem 0;
  line-height: 1.3;
}
footer.footer-apple .footer-apple__col .footer-apple__title + .footer-apple__title {
  margin-top: 1.25rem;
}
footer.footer-apple .footer-apple__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
footer.footer-apple .footer-apple__list li {
  margin: 0.3rem 0;
  line-height: 1.32;
}
footer.footer-apple .footer-apple__list a {
  font-size: 0.8125rem;
  color: #6e6e73;
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}
footer.footer-apple .footer-apple__list a:hover {
  color: #1d1d1f;
  text-decoration: underline;
}
footer.footer-apple .footer-apple__bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.75rem 0 max(0.5rem, env(safe-area-inset-bottom, 0px));
}
footer.footer-apple .footer-apple__copyright {
  font-size: 0.8rem;
  color: #6e6e73;
  margin: 0;
  line-height: 1.5;
}
footer.footer-apple .footer-apple__copyright a {
  color: var(--apple-blue, #6a3a93);
  text-decoration: none;
}
footer.footer-apple .footer-apple__copyright a:hover {
  text-decoration: underline;
}
/* Tablet: 2 sütun – taşma önleme */
@media (max-width: 991px) {
  footer.footer-apple .footer-apple__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 1.25rem;
  }
  footer.footer-apple .footer-apple__brand {
    margin-left: 0;
    padding-left: 0;
  }
}
/* Küçük tablet / büyük telefon: 2 sütun */
@media (max-width: 767px) {
  footer.footer-apple .footer-apple__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
  }
  footer.footer-apple .footer-apple__brand {
    margin-left: 0;
  }
}
/* Mobil: tek sütun, tamamen alt alta, taşma yok */
@media (max-width: 576px) {
  footer.footer-apple .footer-apple__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem 0;
    padding-bottom: 1.25rem;
    max-width: 100%;
  }
  footer.footer-apple .footer-apple__col {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    min-width: 0;
  }
  footer.footer-apple .footer-apple__col:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
  }
  footer.footer-apple .footer-apple__brand {
    margin-left: 0 !important;
    padding-left: 0;
    padding-bottom: 1rem;
    max-width: 100%;
  }
  footer.footer-apple .footer-apple__social {
    flex-wrap: wrap;
  }
}
@media (max-width: 480px) {
  footer.footer-apple .footer-apple__bottom {
    padding: 0.625rem 0 max(0.375rem, env(safe-area-inset-bottom, 0px));
  }
  footer.footer-apple .footer-apple__copyright {
    font-size: 0.75rem;
  }
}

/* Eski footer yapısı (7 sütun olmayan sayfalar) – widget/logo stilleri */
footer.section-dark .container > .row:not(.footer-row-7) {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 2rem 0;
}
footer.section-dark .widget h5 {
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.95);
}
footer.section-dark .widget ul,
footer.section-dark .widget p,
footer.section-dark .widget > div {
  color: rgba(255, 255, 255, 0.75) !important;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
footer.section-dark .widget ul li a:hover {
  color: #fff !important;
}
@media (min-width: 992px) {
  footer.section-dark .container > .row:not(.footer-row-7) {
    gap: 2rem 2.5rem;
  }
}
@media (max-width: 991px) {
  footer.section-dark .container > .row:not(.footer-row-7) > [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
}

/* ========== Back to top ========== */
#back-to-top {
  border-radius: 50% !important;
  box-shadow: var(--apple-shadow) !important;
  width: 48px !important;
  height: 48px !important;
  bottom: max(96px, calc(88px + env(safe-area-inset-bottom, 0px))) !important;
  right: max(24px, env(safe-area-inset-right, 0px)) !important;
  -webkit-tap-highlight-color: transparent;
}

/* ========== WhatsApp float (sağ alt) ========== */
.wa-float-wrap {
  position: fixed;
  right: 24px;
  left: auto;
  bottom: 24px;
  z-index: 1019;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 10px;
}
.wa-float-bubble {
  background: #f5f5f5;
  color: #1a1a1a;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 12px;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  font-family: var(--apple-font), sans-serif;
}
.wa-float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff !important;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.5);
  color: #fff !important;
}
.wa-float-btn i {
  font-size: 28px;
}
@media (max-width: 768px) {
  .wa-float-bubble { display: none; }
  .wa-float-wrap {
    right: max(16px, env(safe-area-inset-right, 0px));
    left: auto;
    bottom: max(20px, env(safe-area-inset-bottom, 0px));
  }
  .wa-float-btn {
    width: 50px;
    height: 50px;
    -webkit-tap-highlight-color: transparent;
  }
  .wa-float-btn i { font-size: 24px; }
}

/* ========== Linkler ========== */
a:not(.btn-main):not(.menu-item):not(.social-icons a) {
  transition: color 0.2s ease, opacity 0.2s ease;
}

#content a:not(.btn-main):not(.btn) {
  color: var(--apple-blue) !important;
}

#content a:not(.btn-main):not(.btn):hover {
  text-decoration: underline;
  opacity: 0.9;
}

/* ========== Accordion / SSS ========== */
.accordion-section .accordion-section-title,
.accordion-section .accordion-content {
  font-family: var(--apple-font) !important;
}

.accordion-section .accordion-section-title {
  padding: 1rem 1.25rem !important;
  border-radius: var(--apple-radius) !important;
  font-weight: 500 !important;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.accordion-section .accordion-content {
  border-radius: 0 0 var(--apple-radius) var(--apple-radius) !important;
  box-shadow: none !important;
}

/* ========== Form alanları (Randevu vb.) ========== */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
textarea,
select {
  border-radius: var(--apple-radius) !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  padding: 12px 16px !important;
  font-family: var(--apple-font) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--apple-blue) !important;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.2) !important;
  outline: none !important;
}

/* ========== Tedavi kartları grid ========== */
.treatment-photo-wrap,
.treatment-photo-wrap.rounded-1 {
  border-radius: var(--apple-radius-lg) !important;
  /* Gölge apple-header.css’te (tedavi sayfası sol foto) tanımlı */
}

/* ========== Subtitle / küçük başlık ========== */
.subtitle {
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--apple-blue) !important;
}

/* ========== Ana sayfa hero metin ========== */
#section-intro .subtitle {
  color: rgba(255, 255, 255, 0.9) !important;
}

#section-intro h1 {
  color: #fff !important;
}

#section-intro .lead,
#section-intro .lead.text-light {
  color: rgba(255, 255, 255, 0.9) !important;
}

#section-intro a:not(.btn-main) {
  color: rgba(255, 255, 255, 0.95) !important;
}
#section-intro a:not(.btn-main):hover {
  color: #fff !important;
}

/* ========== Extra wrap (yan panel) ========== */
#extra-wrap #extra-content {
  font-family: var(--apple-font) !important;
}

#extra-wrap .ul-check li a:hover {
  color: var(--apple-blue) !important;
}

/* ========== Mobil drawer zaten apple-header.css’te ========== */
/* Ek yuvarlaklık */
.mobile-drawer {
  border-radius: 0 20px 20px 0 !important;
}

/* ========== Mobil uyumluluk (tum sayfalar) ========== */
#wrapper {
  max-width: 100%;
  width: 100%;
  overflow-x: hidden;
}
@media (max-width: 991px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
  }
  #wrapper {
    max-width: 100%;
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }
  #wrapper .container {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  footer.footer-apple,
  footer.footer-apple .container,
  footer.footer-apple .footer-apple__grid {
    max-width: 100%;
    min-width: 0;
  }
}
img {
  max-width: 100%;
  height: auto;
}
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}
@media (max-width: 767px) {
  table:not(.table-condensed) {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Randevu takvimi – tablo grid bozulmasın */
  .datepicker table,
  .datepicker .table-condensed {
    display: table !important;
    width: 100% !important;
    max-width: none !important;
    overflow: visible !important;
    table-layout: fixed !important;
  }

  .datepicker table thead,
  .datepicker table tbody,
  .datepicker table tfoot,
  .datepicker table tr {
    display: table-row !important;
  }

  .datepicker table th,
  .datepicker table td {
    display: table-cell !important;
  }
}
@media (max-width: 991px) {
  #subheader h1 {
    font-size: 1.75rem !important;
    line-height: 1.25 !important;
  }
  #subheader p {
    font-size: 0.95rem !important;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  #subheader {
    padding-top: 0.625rem !important;
    padding-bottom: 1.75rem !important;
  }
  .container {
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  #section-intro h1 {
    font-size: 1.75rem !important;
    line-height: 1.2 !important;
  }
  #section-intro .lead {
    font-size: 1rem !important;
  }
  .mh-800 {
    min-height: 720px !important;
  }
  .row.g-4 .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center !important;
  }
  .row.g-4 .col-6.text-end {
    text-align: center !important;
  }
  .w-80 {
    width: 100% !important;
    max-width: 100%;
  }
  footer.section-dark .widget,
  footer.section-dark .widget > div {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .btn-main,
  .menu_side_area .btn-main {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
  #menu-btn,
  .mobile-drawer-close,
  #mainmenu-mobile > li > a {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
  #menu-btn {
    padding: 12px !important;
  }
  .blog-read .post-text img {
    width: 100%;
    height: auto;
  }
  .de-bloglist-type-1 .d-image img,
  .overflow-hidden img.rounded-1 {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}
@media (max-width: 767px) {
  #subheader h1 {
    font-size: 1.5rem !important;
  }
  #section-intro h1 {
    font-size: 1.5rem !important;
  }
  .mh-800 {
    min-height: 660px !important;
  }
  /* Hero resmi mobilde üstten kesilmesin – yüzler görünsün */
  #section-intro .swiper-inner {
    background-position: center 15% !important;
    background-size: cover !important;
  }
}

/* ========== Index sayfası mobil – simya-mobile.css yönetir ========== */
@media (max-width: 991px) {
  body.page-index #section-intro .abs-centered {
    padding-top: 0;
    padding-bottom: 0;
  }
  body.page-index #section-intro h1 {
    font-size: 1.5rem !important;
    line-height: 1.25 !important;
  }
  body.page-index #section-intro .lead {
    font-size: 0.9375rem !important;
    margin-bottom: 1rem !important;
  }
  body.page-index #section-intro .subtitle {
    font-size: 0.85rem;
  }
  body.page-index #section-intro .btn-main.btn-line {
    margin-bottom: 0.5rem;
  }
  body.page-index #section-intro .d-lg-flex {
    margin-top: 0.75rem;
    gap: 0.5rem;
    flex-wrap: wrap;
  }
}
@media (max-width: 767px) {
  body.page-index #section-intro .abs-centered .container {
    padding-top: 0;
    padding-bottom: 0;
  }
  body.page-index #section-intro h1 {
    font-size: 1.35rem !important;
  }
  body.page-index #section-intro .lead {
    font-size: 0.9rem !important;
  }
  /* İletişim şeridi (Diş Hizmeti mi Arıyorsunuz?) */
  body.page-index section.bg-dark.pt-50 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  body.page-index section.bg-dark.pt-50 .d-flex {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 0.5rem;
  }
  body.page-index section.bg-dark.pt-50 .ms-3 {
    margin-left: 0 !important;
  }
  body.page-index section.bg-dark.pt-50 .fs-60 {
    font-size: 2.5rem !important;
  }
  body.page-index section.bg-dark.pt-50 h4 {
    font-size: 1rem !important;
  }
  body.page-index section.bg-dark.pt-50 .col-md-6 {
    margin-bottom: 1.25rem;
  }
  body.page-index section.bg-dark.pt-50 .col-md-6:last-child {
    margin-bottom: 0;
  }
  /* Kurumsal görsel grid → simya-mobile.css */
  /* body.page-index #content > section .col-6 kaldırıldı */
  body.page-index #content > section .gx-5 {
    --bs-gutter-x: 1rem;
  }
  body.page-index #content > section h2 {
    font-size: 1.35rem !important;
  }
  /* İstatistik (Mutlu Hasta vb.) */
  body.page-index section.bg-dark.pt-60.pb-60 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }
  body.page-index section.bg-dark.pt-60 .de_count {
    margin-bottom: 1.5rem;
  }
  body.page-index section.bg-dark.pt-60 .fs-40 {
    font-size: 1.75rem !important;
  }
  /* Hızlı Bilgi kartları (Çalışma Saatleri, Telefon, Adres) */
  body.page-index .bg-color-op-1 .p-4.rounded-1.bg-white {
    padding: 1.25rem !important;
  }
  body.page-index .bg-color-op-1 .col-md-4 {
    margin-bottom: 1rem;
  }
  body.page-index .bg-color-op-1 .col-md-4:last-child {
    margin-bottom: 0;
  }
  body.page-index .bg-color-op-1 h5 {
    font-size: 1.05rem !important;
  }
  /* Neden Bizi Seçmelisiniz – iki sütunlu resim alanı */
  body.page-index .w-80 {
    max-width: 100% !important;
  }
  body.page-index .mb-25 {
    margin-bottom: 1rem !important;
  }
  /* Ekibimiz */
  body.page-index .bg-color-op-1 .col-lg-6.offset-lg-3 h2 {
    font-size: 1.35rem !important;
  }
  body.page-index .bg-color-op-1 .rounded-10.m-3 {
    margin: 0.5rem !important;
  }
  body.page-index .bg-color-op-1 .p-2.rounded-10 h4 {
    font-size: 1rem !important;
  }
  /* İlk Muayenede Neler Yapılıyor */
  body.page-index .col-lg-8.offset-lg-2.mb-5 h2 {
    font-size: 1.35rem !important;
  }
  body.page-index .text-center.p-4.rounded-1.bg-white {
    padding: 1.25rem 1rem !important;
  }
  body.page-index .text-center.p-4.rounded-1.bg-white h5 {
    font-size: 1rem !important;
  }
  body.page-index .text-center.mt-4 {
    margin-top: 1.5rem !important;
  }
  /* SSS */
  body.page-index .accordion.s2 .accordion-section-title {
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
  }
  body.page-index .accordion-section-content {
    padding: 0 1rem 1rem;
    font-size: 0.9rem;
  }
  body.page-index #content > section h2.mb-0,
  body.page-index .col-lg-5 h2 {
    font-size: 1.25rem !important;
  }
  /* CTA Randevu */
  body.page-index .cta-randevu {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  body.page-index .cta-randevu__title {
    font-size: 1.2rem !important;
    text-align: center;
    margin-bottom: 1rem !important;
  }
  body.page-index .cta-randevu .text-lg-end {
    text-align: center !important;
  }
}
@media (max-width: 480px) {
  body.page-index #section-intro h1 {
    font-size: 1.2rem !important;
  }
  body.page-index section.bg-dark.pt-50 h4,
  body.page-index section.bg-dark.pt-50 p {
    font-size: 0.9rem !important;
  }
  body.page-index section.bg-dark.pt-60 .de_count {
    font-size: 0.9rem;
  }
  body.page-index .cta-randevu__title {
    font-size: 1.1rem !important;
  }
  /* Hero (no-top no-bottom) hariç – eski CSS padding kalsın */
  section:not(.no-top):not(.no-bottom) {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  #content > section:not(.no-top):not(.no-bottom) {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }
  h2 {
    font-size: 1.5rem !important;
  }
  .subfooter .de-flex {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .subfooter .menu-simple {
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .container {
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
  #subheader h1 {
    font-size: 1.35rem !important;
  }
  #section-intro h1 {
    font-size: 1.35rem !important;
  }
  .mh-800 {
    min-height: 600px !important;
  }
  #section-intro .d-lg-flex {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start !important;
  }
}
/* iOS input zoom onu (16px alti zoom acilir) */
@media (max-width: 767px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="date"],
  textarea,
  select {
    font-size: 16px !important;
  }
}
/* Header mobilde tasma */
@media (max-width: 991px) {
  header .de-flex {
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
  }
  header .de-flex-col {
    min-width: 0;
  }
  header .menu_side_area {
    width: auto !important;
    margin-left: 0.5rem !important;
    flex-shrink: 0;
  }
  #logo a img {
    max-height: 40px;
    max-width: min(180px, 50vw);
    width: auto;
  }
}

/* Çok küçük ekranlar (320px–360px) – taşma önleme */
@media (max-width: 360px) {
  .container {
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .wa-float-wrap {
    right: 8px;
    left: auto;
    bottom: 16px;
  }
  .wa-float-btn {
    width: 46px;
    height: 46px;
  }
  .wa-float-btn i {
    font-size: 22px;
  }
  footer.section-dark .widget,
  footer.section-dark .subfooter,
  #extra-wrap * {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

/* SSS sekme başlıkları mobilde taşmasın */
@media (max-width: 767px) {
  .de-tab.plain .d-tab-nav {
    flex-wrap: wrap;
    gap: 0.25rem;
  }
  .de-tab.plain .d-tab-nav li {
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
  }
}
