/* ============================================================
   Marmaris Health Center — Tema CSS
   Renk paleti: deep navy + turkuaz + altın aksan + Akdeniz havası
============================================================ */

:root {
  --mhc-primary:    #0d3b66;   /* deep navy */
  --mhc-primary-2:  #154f87;
  --mhc-accent:     #14b8a6;   /* turkuaz / teal */
  --mhc-accent-2:   #2dd4bf;
  --mhc-gold:       #f4a261;   /* sıcaklık / Marmaris güneşi */
  --mhc-bg:         #f7fafc;
  --mhc-card:       #ffffff;
  --mhc-text:       #1f2937;
  --mhc-muted:      #6b7280;
  --mhc-border:     #e5e7eb;
  --mhc-radius:     14px;
  --mhc-shadow-sm:  0 2px 6px rgba(13,59,102,.06);
  --mhc-shadow:     0 8px 28px rgba(13,59,102,.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  color: var(--mhc-text);
  background: var(--mhc-bg);
  line-height: 1.65;
}

a { color: var(--mhc-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--mhc-accent); }

img { max-width: 100%; height: auto; }

/* --- TOP BAR --- */
.top-bar {
  background: linear-gradient(135deg, var(--mhc-primary) 0%, var(--mhc-primary-2) 100%);
  color: #fff;
  font-size: .85rem;
}
.top-bar a { color: #fff; }
.top-bar a:hover { color: var(--mhc-accent-2); }
.dil-degis a {
  color: rgba(255,255,255,.7);
  margin: 0 4px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 500;
  font-size: .8rem;
}
.dil-degis a.aktif { background: var(--mhc-accent); color: #fff; }
.dil-degis a:hover { color: #fff; }

/* --- NAVBAR --- */
.main-nav {
  background: #fff;
  box-shadow: var(--mhc-shadow-sm);
  padding: 12px 0;
}
.brand-mark {
  display: inline-block;
  background: linear-gradient(135deg, var(--mhc-accent), var(--mhc-primary));
  color: #fff;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 8px;
  letter-spacing: 1px;
  margin-right: 8px;
}
.brand-logo {
  height: 48px;
  width: 48px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 10px;
}
.brand-text {
  font-weight: 700;
  color: var(--mhc-primary);
  font-size: 1.05rem;
}
.footer-logo {
  height: 72px;
  width: 72px;
  object-fit: cover;
  border-radius: 50%;
}
.navbar-nav .nav-link {
  color: var(--mhc-text);
  font-weight: 500;
  padding: .5rem .9rem !important;
  position: relative;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--mhc-accent);
}
.navbar-nav .nav-link.active::after {
  content: ''; position: absolute; left: 50%; bottom: 2px;
  width: 24px; height: 2px; background: var(--mhc-accent);
  transform: translateX(-50%); border-radius: 2px;
}
.dropdown-menu { border: 0; border-radius: var(--mhc-radius); padding: .5rem; }
.dropdown-item { border-radius: 8px; padding: .55rem .8rem; font-size: .92rem; }
.dropdown-item:hover { background: var(--mhc-bg); color: var(--mhc-primary); }

.btn-cta {
  background: var(--mhc-gold);
  color: #fff;
  font-weight: 600;
  padding: .55rem 1.2rem;
  border-radius: 50rem;
  border: 0;
  box-shadow: 0 4px 14px rgba(244,162,97,.35);
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn-cta:hover { background: #ec8a3a; color: #fff; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(244,162,97,.5); }

/* --- BUTTONS --- */
.btn-primary {
  background: var(--mhc-primary);
  border-color: var(--mhc-primary);
  border-radius: 50rem;
  padding: .55rem 1.4rem;
  font-weight: 500;
}
.btn-primary:hover { background: var(--mhc-primary-2); border-color: var(--mhc-primary-2); }
.btn-outline-primary {
  border-color: var(--mhc-primary);
  color: var(--mhc-primary);
  border-radius: 50rem;
  padding: .55rem 1.4rem;
  font-weight: 500;
}
.btn-outline-primary:hover { background: var(--mhc-primary); border-color: var(--mhc-primary); }
.btn-accent {
  background: var(--mhc-accent);
  color: #fff;
  border-radius: 50rem;
  padding: .55rem 1.4rem;
  font-weight: 500;
}
.btn-accent:hover { background: #0f9488; color: #fff; }

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 600px;
  background: linear-gradient(135deg, rgba(13,59,102,.85) 0%, rgba(20,184,166,.7) 100%),
              url('https://images.unsplash.com/photo-1545569310-50ee61bbf36e?w=1920') center/cover no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
  padding: 100px 0;
}
.hero h1 { font-size: clamp(1.8rem, 4vw, 3.4rem); font-weight: 800; line-height: 1.15; }
.hero .lead { font-size: 1.15rem; opacity: .92; max-width: 580px; }
.hero .hero-stats { display: flex; gap: 2rem; margin-top: 2rem; flex-wrap: wrap; }
.hero-stat strong { display: block; font-size: 2rem; color: var(--mhc-gold); font-weight: 800; }
.hero-stat span { font-size: .85rem; opacity: .85; }

/* --- SECTION COMMON --- */
section { padding: 70px 0; }
.section-title {
  font-weight: 700;
  color: var(--mhc-primary);
  margin-bottom: .35rem;
}
.section-subtitle {
  color: var(--mhc-muted);
  margin-bottom: 2.5rem;
}
.section-eyebrow {
  display: inline-block;
  font-size: .8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mhc-accent);
  font-weight: 600;
  margin-bottom: .5rem;
}

/* --- HİZMET KARTLARI --- */
.service-card {
  background: var(--mhc-card);
  border-radius: var(--mhc-radius);
  padding: 28px 24px;
  height: 100%;
  box-shadow: var(--mhc-shadow-sm);
  transition: transform .2s, box-shadow .2s;
  border: 1px solid var(--mhc-border);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--mhc-shadow); }
.service-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--mhc-accent), var(--mhc-primary));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.service-card h5 { color: var(--mhc-primary); font-weight: 600; }
.service-card p { color: var(--mhc-muted); font-size: .92rem; }
.service-card .more-link {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--mhc-accent); font-weight: 600; font-size: .9rem; margin-top: 4px;
}

/* --- PAKET KARTLARI --- */
.package-card {
  background: #fff;
  border-radius: var(--mhc-radius);
  overflow: hidden;
  box-shadow: var(--mhc-shadow-sm);
  height: 100%;
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.package-card:hover { transform: translateY(-4px); box-shadow: var(--mhc-shadow); }
.package-card .img-wrap { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.package-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.package-card:hover img { transform: scale(1.05); }
.package-card .price-tag {
  position: absolute; top: 14px; right: 14px;
  background: var(--mhc-gold); color: #fff;
  padding: 8px 14px; border-radius: 50rem;
  font-weight: 700; font-size: .9rem;
  box-shadow: 0 4px 12px rgba(244,162,97,.35);
}
.package-card .body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.package-card h5 { color: var(--mhc-primary); font-weight: 600; }
.package-card .duration { font-size: .85rem; color: var(--mhc-muted); }

/* --- DOKTOR KARTLARI --- */
.doctor-card {
  background: #fff;
  border-radius: var(--mhc-radius);
  overflow: hidden;
  box-shadow: var(--mhc-shadow-sm);
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.doctor-card:hover { transform: translateY(-4px); box-shadow: var(--mhc-shadow); }
.doctor-card .photo { aspect-ratio: 1/1; overflow: hidden; }
.doctor-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.doctor-card .body { padding: 20px; }
.doctor-card h6 { color: var(--mhc-primary); font-weight: 600; margin-bottom: 4px; }
.doctor-card .role { font-size: .85rem; color: var(--mhc-muted); }
.doctor-card .langs { display: inline-block; margin-top: 8px; font-size: .75rem; color: var(--mhc-accent); font-weight: 600; }

/* --- PARTNER LOGOLARI --- */
.partner-logo {
  background: #fff;
  border: 1px solid var(--mhc-border);
  border-radius: var(--mhc-radius);
  padding: 24px;
  display: flex; align-items: center; justify-content: center;
  height: 110px;
  filter: grayscale(20%);
  transition: filter .2s, transform .2s;
}
.partner-logo:hover { filter: none; transform: translateY(-2px); }
.partner-logo img { max-height: 60px; max-width: 100%; }

/* --- TESTIMONIAL --- */
.testimonial-card {
  background: #fff;
  border-radius: var(--mhc-radius);
  padding: 28px;
  box-shadow: var(--mhc-shadow-sm);
  height: 100%;
  border-top: 4px solid var(--mhc-accent);
}
.testimonial-card .stars { color: var(--mhc-gold); margin-bottom: 10px; }
.testimonial-card p { font-style: italic; color: var(--mhc-text); }
.testimonial-card .author {
  display: flex; align-items: center; gap: 12px; margin-top: 16px;
}
.testimonial-card .author img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.testimonial-card .author strong { display: block; color: var(--mhc-primary); font-size: .95rem; }
.testimonial-card .author span { font-size: .8rem; color: var(--mhc-muted); }

/* --- WHY US --- */
.why-card {
  text-align: center;
  padding: 28px 20px;
}
.why-card .ico {
  width: 70px; height: 70px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(20,184,166,.12);
  color: var(--mhc-accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
}
.why-card h6 { color: var(--mhc-primary); font-weight: 600; }
.why-card p { color: var(--mhc-muted); font-size: .92rem; }

/* --- BLOG --- */
.blog-card {
  background: #fff;
  border-radius: var(--mhc-radius);
  overflow: hidden;
  box-shadow: var(--mhc-shadow-sm);
  height: 100%;
  display: flex; flex-direction: column;
}
.blog-card .img-wrap { aspect-ratio: 16/10; overflow: hidden; }
.blog-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover img { transform: scale(1.05); }
.blog-card .body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-card h5 { color: var(--mhc-primary); font-weight: 600; font-size: 1.05rem; }
.blog-card .meta { font-size: .8rem; color: var(--mhc-muted); }

/* --- BEFORE/AFTER --- */
.ba-card {
  background: #fff; border-radius: var(--mhc-radius); overflow: hidden;
  box-shadow: var(--mhc-shadow-sm);
}
.ba-images { display: grid; grid-template-columns: 1fr 1fr; }
.ba-images > div { position: relative; aspect-ratio: 1/1; overflow: hidden; }
.ba-images img { width: 100%; height: 100%; object-fit: cover; }
.ba-images > div::after {
  content: attr(data-label);
  position: absolute; top: 10px; left: 10px;
  background: rgba(13,59,102,.85); color: #fff;
  padding: 4px 10px; font-size: .75rem; border-radius: 4px; font-weight: 600;
}
.ba-card .body { padding: 16px 20px; }

/* --- BREADCRUMB / PAGE HERO --- */
.page-hero {
  background: linear-gradient(135deg, var(--mhc-primary) 0%, var(--mhc-primary-2) 100%);
  color: #fff;
  padding: 60px 0 50px;
  margin-bottom: 0;
}
.page-hero h1 { font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.page-hero .breadcrumb {
  --bs-breadcrumb-divider-color: rgba(255,255,255,.5);
  background: transparent; margin: 0;
}
.page-hero .breadcrumb-item, .page-hero .breadcrumb-item a { color: rgba(255,255,255,.85); }
.page-hero .breadcrumb-item.active { color: #fff; font-weight: 500; }

/* --- FORM --- */
.form-control, .form-select {
  border-radius: 10px;
  border-color: var(--mhc-border);
  padding: .65rem .9rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--mhc-accent);
  box-shadow: 0 0 0 .2rem rgba(20,184,166,.15);
}
.form-label { font-weight: 500; color: var(--mhc-text); font-size: .9rem; }

.alert-success { background: rgba(20,184,166,.12); color: #0f5e54; border: 0; border-radius: var(--mhc-radius); }
.alert-danger { border-radius: var(--mhc-radius); }

/* --- WHATSAPP FLOAT --- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px;
  width: 58px; height: 58px;
  background: #25D366; color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 6px 20px rgba(37,211,102,.45);
  z-index: 1030;
  transition: transform .15s;
}
.wa-float:hover { color: #fff; transform: scale(1.08); }
.wa-float::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366; opacity: .6;
  animation: wa-ping 1.6s infinite;
}
@keyframes wa-ping { 0% { transform: scale(1); opacity: .6; } 80%,100% { transform: scale(1.6); opacity: 0; } }

/* --- FOOTER --- */
.site-footer {
  background: linear-gradient(135deg, #0a2c4d 0%, var(--mhc-primary) 100%);
  color: #fff;
  padding-bottom: 0;
}
.site-footer h6 { color: #fff; }
.site-footer .brand-mark { background: var(--mhc-accent); }
.site-footer ul li { margin-bottom: .4rem; }
.site-footer ul li a { color: rgba(255,255,255,.75); font-size: .9rem; }
.site-footer ul li a:hover { color: var(--mhc-accent-2); }
.social-icons a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff; margin-right: 8px;
  transition: background .2s;
}
.social-icons a:hover { background: var(--mhc-accent); color: #fff; }

/* --- GENEL DETAY SAYFASI İÇERİĞİ --- */
.content-block {
  background: #fff; border-radius: var(--mhc-radius);
  padding: 32px; box-shadow: var(--mhc-shadow-sm);
}
.content-block h2, .content-block h3 { color: var(--mhc-primary); font-weight: 600; margin-top: 1.4rem; }
.content-block ul li { margin-bottom: .4rem; }

/* --- TEKLİF FORM --- */
.quote-stepper { display: flex; justify-content: space-between; margin-bottom: 30px; }
.quote-stepper .step {
  flex: 1; text-align: center; position: relative;
  font-size: .85rem; color: var(--mhc-muted); font-weight: 500;
}
.quote-stepper .step::before {
  content: counter(stp); counter-increment: stp;
  display: block; width: 36px; height: 36px;
  margin: 0 auto 8px;
  background: #fff; border: 2px solid var(--mhc-border);
  border-radius: 50%; line-height: 32px;
  font-weight: 700; color: var(--mhc-muted);
}
.quote-stepper { counter-reset: stp; }
.quote-stepper .step.active::before { background: var(--mhc-accent); border-color: var(--mhc-accent); color: #fff; }
.quote-stepper .step.done::before { background: var(--mhc-primary); border-color: var(--mhc-primary); color: #fff; content: '✓'; }

/* --- RESPONSIVE --- */
@media (max-width: 991.98px) {
  .navbar-nav .nav-link.active::after { display: none; }
  .navbar-nav .nav-link { padding: .5rem 0 !important; }
  .hero { padding: 70px 0; min-height: auto; }
}
