/*
Theme Name: MDH Theme
Theme URI: https://www.merkezhizmet.com/
Author: Merkez Destek Hizmetleri
Description: Apartman ve Site Yönetimi için özel tema
Version: 1.0
Text Domain: mdh-theme
Domain Path: /languages
*/

:root {
  --mdh-blue: #1e3a5c;
  --mdh-green: #3ca12c;
  --mdh-white: #fff;
  --mdh-dark: #232233;

  /* Brand accents (override in header.php via :root style) */
  --mdh-accent: var(--mdh-green);
  --mdh-accent-2: var(--mdh-blue);
  --mdh-topbar-bg: var(--mdh-blue);
  --mdh-topbar-fg: #ffffff;

  /* Premium UI tokens (Light / demo-benzeri) */
  --mdh-bg-0: #f7f9fc;
  --mdh-bg-1: #eef3f9;
  --mdh-text: #0f172a;
  --mdh-muted: #475569;
  --mdh-border: rgba(15, 23, 42, 0.12);
  --mdh-surface: rgba(255, 255, 255, 0.92);
  --mdh-surface-2: #ffffff;
  --mdh-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --mdh-radius: 14px;
  --mdh-radius-lg: 22px;
  --mdh-container: 1200px;
}

* {
  box-sizing: border-box;
}

body {
  background:
    radial-gradient(900px 420px at 10% -10%, rgba(60,161,44,0.14), transparent 55%),
    radial-gradient(900px 420px at 90% 10%, rgba(30,58,92,0.16), transparent 52%),
    linear-gradient(180deg, var(--mdh-bg-0), var(--mdh-bg-1));
  color: var(--mdh-text);
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

:focus-visible {
  outline: 3px solid var(--mdh-accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  opacity: 0.92;
}

.mdh-container {
  width: min(var(--mdh-container), calc(100% - 2rem));
  margin-inline: auto;
}

.mdh-container--narrow {
  width: min(900px, calc(100% - 2rem));
}

.mdh-surface {
  background: var(--mdh-surface);
  border: 1px solid var(--mdh-border);
  border-radius: var(--mdh-radius-lg);
  box-shadow: var(--mdh-shadow);
  backdrop-filter: blur(10px);
}

.mdh-page {
  padding: 2.25rem 0 2.5rem;
}

.mdh-page__card {
  padding: 1.6rem;
}

@media (max-width: 768px) {
  .mdh-page {
    padding: 1.25rem 0 1.75rem;
  }
  .mdh-page__card {
    padding: 1.1rem;
  }
}

.mdh-title {
  margin: 0 0 0.6rem;
  font-size: clamp(1.55rem, 2.2vw, 2.2rem);
  letter-spacing: -0.02em;
}

.mdh-subtitle {
  margin: 0;
  color: var(--mdh-muted);
}

.mdh-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--mdh-accent), var(--mdh-accent-2));
  color: #ffffff;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

/* Toast / popup notifications */
.mdh-toast-stack {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 10020;
  width: min(440px, calc(100% - 2rem));
  display: grid;
  gap: 0.65rem;
  pointer-events: none;
}

.mdh-toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 0.95rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--mdh-border);
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(12px);
  transform: translateY(-6px);
  opacity: 0;
  transition: transform 260ms ease, opacity 260ms ease;
  border-left: 6px solid var(--mdh-accent);
}

.mdh-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.mdh-toast.is-hiding {
  transform: translateY(-8px);
  opacity: 0;
}

.mdh-toast--success { border-left-color: var(--mdh-accent); }
.mdh-toast--error { border-left-color: #ef4444; }

.mdh-toast__icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 900;
  background: rgba(60,161,44,0.12);
  color: var(--mdh-accent);
  border: 1px solid rgba(60,161,44,0.22);
}

.mdh-toast--error .mdh-toast__icon {
  background: rgba(239,68,68,0.12);
  color: #ef4444;
  border-color: rgba(239,68,68,0.22);
}

.mdh-toast__content {
  flex: 1;
  min-width: 0;
}

.mdh-toast__title {
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 0;
}

.mdh-toast__text {
  margin-top: 0.25rem;
  color: var(--mdh-muted);
  font-size: 0.95rem;
}

.mdh-toast__close {
  flex: 0 0 auto;
  border: 1px solid var(--mdh-border);
  background: rgba(255,255,255,0.7);
  width: 34px;
  height: 34px;
  border-radius: 10px;
  cursor: pointer;
  line-height: 1;
  font-size: 20px;
  font-weight: 900;
  color: var(--mdh-text);
}

.mdh-toast__close:hover {
  background: rgba(255,255,255,0.9);
}

@media (max-width: 768px) {
  .mdh-toast-stack {
    top: auto;
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    width: auto;
  }
}

/* Topbar */
.mdh-topbar {
  background: var(--mdh-topbar-bg);
  color: var(--mdh-topbar-fg);
  font-size: 0.95rem;
}

.mdh-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
}

.mdh-topbar__meta {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
  flex: 1;
}

.mdh-topbar__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: flex-end;
}

.mdh-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.18);
}

.mdh-lang__item {
  font-weight: 900;
  letter-spacing: 0.03em;
  font-size: 0.86rem;
  padding: 0.2rem 0.35rem;
  border-radius: 999px;
  color: inherit;
}

.mdh-lang__item.is-active {
  background: rgba(0,0,0,0.18);
}

.mdh-lang--drawer {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
}

@media (max-width: 900px) {
  .mdh-nav-drawer__header {
    gap: 10px;
  }

  .mdh-lang--drawer {
    margin-left: auto;
    padding: 0.18rem 0.35rem;
  }

  .mdh-lang--drawer .mdh-lang__item {
    font-size: 0.82rem;
    padding: 0.18rem 0.32rem;
  }
}

/* Header */
.mdh-site-header {
  background: var(--mdh-header-bg, var(--mdh-blue));
  color: var(--mdh-header-fg, var(--mdh-white));
  padding: 0.9rem 0;
  position: sticky;
  top: 0;
  z-index: 9997;
  box-shadow: 0 10px 30px rgba(15,23,42,0.20);
}

.mdh-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Masaüstü: logo üstte, menü altta ortalı (demo-benzeri) */
@media (min-width: 901px) {
  .mdh-site-header {
    padding: 0.52rem 0;
  }

  .mdh-header-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.34rem;
  }

  .mdh-brand {
    flex-direction: column;
    text-align: center;
    gap: 0.22rem;
  }

  .mdh-brand__logo {
    width: 60px;
  }

  .mdh-brand__title {
    font-size: 1.10rem;
    line-height: 1.15;
  }

  .mdh-site-nav {
    justify-content: center;
    gap: 0.75rem;
  }

  .mdh-site-nav a {
    padding: 0.32rem 0.32rem;
  }

  /* Navbar içindeki buton (Platform Girişi) daha kompakt olsun */
  .mdh-site-nav a.button {
    padding: 0.44rem 0.88rem;
    font-size: 0.95rem;
    border-radius: 999px;
    box-shadow: 0 10px 18px rgba(2,6,23,0.14);
  }
}

.mdh-lang--header {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.18);
}

@media (min-width: 901px) {
  .mdh-lang--header {
    padding: 0.14rem 0.32rem;
  }

  .mdh-lang--header .mdh-lang__item {
    font-size: 0.82rem;
    padding: 0.16rem 0.30rem;
  }
}

@media (max-width: 900px) {
  .mdh-lang--header {
    display: none;
  }
}

@media (min-width: 901px) {
  .mdh-lang--topbar {
    display: none;
  }
}

.mdh-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: inherit;
}

.mdh-brand__logo {
  width: 78px;
  height: auto;
}

.mdh-brand__title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.mdh-site-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.mdh-site-nav a {
  color: var(--mdh-header-fg, var(--mdh-white));
  font-weight: 600;
  padding: 0.4rem 0.35rem;
  border-radius: 10px;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.mdh-site-nav a:hover {
  background: rgba(255,255,255,0.10);
  transform: translateY(-1px);
}

@media (min-width: 901px) {
  .mdh-topbar__inner {
    padding: 0.46rem 0;
  }
}

/* Footer */
.mdh-footer {
  background: var(--mdh-footer-bg, var(--mdh-blue));
  color: var(--mdh-footer-fg, var(--mdh-white));
  margin-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.10);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--mdh-accent), var(--mdh-accent-2));
  color: var(--mdh-white);
  padding: 0.6rem 1.15rem;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
  box-shadow: 0 14px 26px rgba(15,23,42,0.16);
}

.button:hover {
  transform: translateY(-1px);
}

.button--light {
  background: #ffffff;
  color: var(--mdh-blue);
  border-color: rgba(30,58,92,0.25);
  box-shadow: 0 14px 26px rgba(2,6,23,0.10);
}

/* Hero */
.mdh-hero {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.mdh-hero__img {
  width: 100%;
  height: clamp(320px, 42vw, 520px);
  object-fit: cover;
  object-position: center;
  filter: saturate(1.02) contrast(1.02) brightness(0.98);
}

.mdh-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(30,58,92,0.78), rgba(30,58,92,0.25) 55%, rgba(30,58,92,0.60)),
    radial-gradient(600px 420px at 20% 25%, rgba(60,161,44,0.18), transparent 60%);
  pointer-events: none;
}

.mdh-hero__content {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
}

.mdh-hero__panel {
  max-width: 620px;
  padding: 1.55rem 1.55rem 1.4rem;
}

/* Görsel okunurluk: hero paneli biraz daha opak */
.mdh-hero__panel.mdh-surface {
  background: rgba(255,255,255,0.72);
}

@media (max-width: 768px) {
  .mdh-hero__panel.mdh-surface {
    background: rgba(255,255,255,0.78);
  }
}

.mdh-hero__title {
  margin: 0.8rem 0 0.45rem;
  font-size: clamp(1.9rem, 3.1vw, 3.05rem);
  letter-spacing: -0.03em;
}

.mdh-hero__text {
  margin: 0;
  color: var(--mdh-muted);
  font-size: 1.06rem;
}

.mdh-hero__actions {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.mdh-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--mdh-blue);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.mdh-link:hover {
  opacity: 0.9;
}

.mdh-hero__meta {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.mdh-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid var(--mdh-border);
  color: var(--mdh-muted);
  font-size: 0.93rem;
}

.mdh-meta-pill strong {
  color: var(--mdh-text);
}

/* Cards & grid */
.mdh-grid {
  display: grid;
  gap: 1.15rem;
}

.mdh-grid--services {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.mdh-card {
  background: var(--mdh-surface-2);
  border: 1px solid var(--mdh-border);
  border-radius: var(--mdh-radius);
  padding: 1.25rem;
  box-shadow: 0 14px 40px rgba(15,23,42,0.12);
  transition: transform 180ms ease, background 180ms ease;
}

.mdh-card:hover {
  transform: translateY(-3px);
  background: #f8fafc;
}

.mdh-card__title {
  margin: 0.3rem 0 0.4rem;
  font-size: 1.06rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.mdh-card__text {
  margin: 0;
  color: var(--mdh-muted);
  font-size: 0.98rem;
}

.mdh-card--center {
  text-align: center;
}

.mdh-card--link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.mdh-card--link:focus-visible {
  outline: 3px solid rgba(60,161,44,0.35);
  outline-offset: 3px;
}

/* Content protection overlay (best-effort / caydırma) */
.mdh-protect-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(10px) saturate(140%);
}

.mdh-protect-overlay.is-visible {
  display: flex;
}

.mdh-protect-overlay__box {
  width: min(560px, 100%);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.08);
  color: #fff;
  padding: 16px 16px;
  box-shadow: 0 22px 70px rgba(0,0,0,0.35);
}

.mdh-protect-overlay__title {
  font-weight: 900;
  letter-spacing: -0.01em;
  font-size: 18px;
  margin: 0 0 6px;
}

.mdh-protect-overlay__text {
  opacity: 0.92;
  line-height: 1.55;
}

/* Sections */
.mdh-section {
  padding: 2.25rem 0;
}

.mdh-section--tight {
  padding: 1.4rem 0 0.2rem;
}

/* Demo benzeri: özellik şeridini hero altına taşır */
.mdh-section--overlap {
  margin-top: -64px;
  position: relative;
  z-index: 3;
}

@media (max-width: 768px) {
  .mdh-section--overlap {
    margin-top: -28px;
  }
}

@media (max-width: 768px) {
  .mdh-section {
    padding: 1.6rem 0;
  }
  .mdh-section--tight {
    padding: 1.05rem 0 0.1rem;
  }
}

.mdh-section__head {
  margin: 0 0 1.2rem;
  display: grid;
  gap: 0.55rem;
  max-width: 820px;
}

.mdh-section__footer {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-end;
}

.mdh-section__card {
  padding: 1.6rem;
}

@media (max-width: 768px) {
  .mdh-section__card {
    padding: 1.1rem;
  }
}

/* Feature row */
.mdh-feature-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.95rem;
}

/* Demo-benzeri: hero altındaki tile satırı */
.mdh-feature-row--tiles .mdh-feature {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.05rem 0.95rem;
}

.mdh-feature-row--tiles .mdh-feature > div {
  text-align: center;
}

.mdh-feature-row--tiles .mdh-feature__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  font-size: 20px;
}

@media (max-width: 980px) {
  .mdh-feature-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .mdh-feature-row {
    grid-template-columns: 1fr;
  }
}

.mdh-feature {
  background: var(--mdh-surface-2);
  border: 1px solid var(--mdh-border);
  border-radius: 16px;
  padding: 0.9rem 0.95rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  box-shadow: 0 16px 38px rgba(15,23,42,0.10);
}

.mdh-feature__icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(60,161,44,0.12);
  border: 1px solid rgba(60,161,44,0.22);
  color: var(--mdh-blue);
  font-weight: 900;
}

.mdh-feature__title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.mdh-feature__text {
  margin: 0.15rem 0 0;
  color: var(--mdh-muted);
  font-size: 0.95rem;
}

/* Split section */
.mdh-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.35rem;
  align-items: center;
}

@media (max-width: 900px) {
  .mdh-split {
    grid-template-columns: 1fr;
  }
}

.mdh-split__media {
  position: relative;
  border-radius: var(--mdh-radius-lg);
  overflow: hidden;
  border: 1px solid var(--mdh-border);
  background: var(--mdh-surface-2);
}

.mdh-split__media img {
  width: 100%;
  height: clamp(260px, 28vw, 360px);
  object-fit: cover;
  filter: saturate(1.04) contrast(1.03) brightness(0.92);
  display: block;
}

.mdh-media-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(30,58,92,0.70);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.94);
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.mdh-split__content {
  display: grid;
  gap: 0.75rem;
}

.mdh-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.mdh-list {
  margin: 0.25rem 0 0;
  padding-left: 1.1rem;
  color: var(--mdh-muted);
}

.mdh-list li {
  margin: 0.35rem 0;
}

/* Steps */
.mdh-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 900px) {
  .mdh-steps {
    grid-template-columns: 1fr;
  }
}

.mdh-step {
  background: var(--mdh-surface-2);
  border: 1px solid var(--mdh-border);
  border-radius: 18px;
  padding: 1.05rem;
  box-shadow: 0 16px 38px rgba(15,23,42,0.10);
}

.mdh-step__no {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(60,161,44,0.16);
  border: 1px solid rgba(60,161,44,0.28);
  color: var(--mdh-blue);
  font-weight: 900;
}

.mdh-step__title {
  margin: 0.7rem 0 0.35rem;
  font-size: 1.08rem;
  font-weight: 900;
}

.mdh-step__text {
  margin: 0;
  color: var(--mdh-muted);
}

/* Testimonials */
.mdh-grid--testimonials {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .mdh-grid--testimonials {
    grid-template-columns: 1fr;
  }
}

.mdh-quote {
  padding: 1.35rem;
}

.mdh-quote__text {
  margin: 0;
  color: var(--mdh-text);
  font-size: 1.02rem;
  line-height: 1.65;
}

.mdh-quote__meta {
  margin-top: 0.8rem;
  color: var(--mdh-muted);
  font-weight: 800;
}

/* Posts */
.mdh-grid--posts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 980px) {
  .mdh-grid--posts {
    grid-template-columns: 1fr;
  }
}

.mdh-post {
  padding: 0;
  overflow: hidden;
}

.mdh-post__link {
  display: grid;
  gap: 0.55rem;
  padding: 1.15rem;
  height: 100%;
}

.mdh-post__thumb {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--mdh-border);
  background: #f8fafc;
}

.mdh-post__thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.mdh-post__title {
  margin: 0.25rem 0 0;
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.mdh-post__meta {
  margin: 0;
  color: var(--mdh-muted);
  font-size: 0.92rem;
}

.mdh-post__excerpt {
  margin: 0;
  color: var(--mdh-muted);
}

/* CTA */
.mdh-cta {
  border-radius: var(--mdh-radius-lg);
  padding: 1.7rem;
  border: 1px solid var(--mdh-border);
  background:
    radial-gradient(800px 300px at 20% 30%, rgba(60,161,44,0.14), transparent 60%),
    radial-gradient(800px 300px at 90% 10%, rgba(30,58,92,0.14), transparent 60%),
    linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.75));
  box-shadow: var(--mdh-shadow);
}

.mdh-cta__content {
  display: grid;
  gap: 0.65rem;
  max-width: 900px;
}

.mdh-cta__title {
  margin: 0;
  font-size: clamp(1.55rem, 2.35vw, 2.2rem);
  letter-spacing: -0.02em;
}

.mdh-cta__text {
  margin: 0;
  color: var(--mdh-muted);
}

/* Forms */
.mdh-form {
  display: grid;
  gap: 1rem;
}

.mdh-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.05rem 1.15rem;
  align-items: start;
}

.mdh-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.mdh-input,
.mdh-select,
.mdh-textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  border: 1px solid var(--mdh-border);
  background: #ffffff;
  color: var(--mdh-text);
  outline: none;
}

.mdh-input::placeholder,
.mdh-textarea::placeholder {
  color: rgba(15,23,42,0.45);
}

.mdh-input:focus,
.mdh-select:focus,
.mdh-textarea:focus {
  border-color: rgba(60,161,44,0.55);
  box-shadow: 0 0 0 4px rgba(60,161,44,0.14);
}

.mdh-form__full {
  grid-column: 1 / -1;
}

.mdh-form__actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
}

.mdh-form__section-title {
  margin: 0.4rem 0 0.2rem;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.mdh-form__subheading {
  margin: 0.25rem 0 0.7rem;
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--mdh-text);
}

.mdh-form__hint {
  margin: 0.45rem 0 0;
  color: var(--mdh-muted);
  font-size: 0.92rem;
}

.mdh-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.75rem;
  margin-top: 0.25rem;
}

.mdh-check {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  border: 1px solid var(--mdh-border);
  background: rgba(255,255,255,0.92);
  cursor: pointer;
  user-select: none;
}

.mdh-check input {
  width: 18px;
  height: 18px;
}

.mdh-check--cta {
  width: 100%;
  justify-content: center;
  border-radius: 16px;
  padding: 0.85rem 0.95rem;
  border-color: rgba(60,161,44,0.28);
  background: rgba(60,161,44,0.08);
  font-weight: 900;
}

.mdh-form__group {
  border: 1px dashed rgba(15, 23, 42, 0.18);
  border-radius: 16px;
  padding: 0.95rem;
  background: rgba(255,255,255,0.72);
}

.mdh-form-grid--nested {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1rem;
}

.mdh-form-grid--blocks {
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1rem;
}

.mdh-blocks {
  display: grid;
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.mdh-form-grid--blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.mdh-blocks {
  margin-top: 0.2rem;
}

@media (max-width: 900px) {
  .mdh-form-grid {
    grid-template-columns: 1fr;
  }

  .mdh-form-grid--nested {
    grid-template-columns: 1fr;
  }

  .mdh-form-grid--blocks {
    grid-template-columns: 1fr;
  }

  .mdh-form-grid--blocks {
    grid-template-columns: 1fr;
  }
}

/* Floating action button */
.mdh-fab {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 9996;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
}

.mdh-fab--whatsapp {
  background: #25d366;
  color: #fff;
}

.mdh-fab__icon {
  font-size: 2.1rem;
}

/* Ana sayfa - Hizmet kartları ikonları (demo-benzeri ölçü) */
.mdh-service-icon {
  width: clamp(52px, 6vw, 90px);
  height: auto;
  display: block;
  margin: 0 auto 0.85rem;
  object-fit: contain;
}

@media (max-width: 768px) {
  .mdh-service-icon {
    width: clamp(48px, 15vw, 78px);
    margin-bottom: 0.7rem;
  }
}

/* Mobil: Kenardan açılır menü (off-canvas) */
.mdh-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
}

.mdh-nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--mdh-header-fg, var(--mdh-white));
  margin: 5px 0;
}

.mdh-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  z-index: 9998;
}

.mdh-nav-drawer {
  /* desktop: normal akış */
}

.mdh-nav-drawer__header {
  display: none !important;
}

@media (max-width: 900px) {
  .mdh-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Drawer */
  .mdh-nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(88vw, 360px);
    background: #11121a;
    color: var(--mdh-white);
    transform: translateX(102%);
    transition: transform 220ms ease;
    z-index: 9999;
    padding: 14px 14px 22px;
    box-shadow: -12px 0 30px rgba(0,0,0,0.35);
    overflow: auto;
  }

  .mdh-nav-drawer__header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.10);
    margin-bottom: 10px;
  }

  .mdh-nav-drawer__title {
    font-weight: 700;
    letter-spacing: .2px;
  }

  .mdh-nav-close {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.25);
    color: var(--mdh-white);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
  }

  .mdh-site-header .mdh-site-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .mdh-site-header .mdh-site-nav a {
    margin: 0;
    padding: 10px 10px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
  }

  .mdh-site-header .mdh-site-nav a.button {
    text-align: center;
    justify-content: center;
    width: 100%;
  }

  body.mdh-nav-open {
    overflow: hidden;
  }

  body.mdh-nav-open .mdh-nav-drawer {
    transform: translateX(0);
  }

  body.mdh-nav-open .mdh-nav-overlay {
    opacity: 1;
    pointer-events: auto;
  }
}
