/* montajdayim.com.tr final marka dokunuşları */

:root{
  --md-blue:#2563eb;
  --md-sky:#38bdf8;
  --md-ink:#0f172a;
  --md-muted:#64748b;
  --md-line:#e2e8f0;
  --md-card:#ffffff;
  --md-soft:#f8fafc;
}

/* Genel taşma emniyeti */
html, body{
  max-width:100%;
  overflow-x:hidden;
}

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

/* Marka isimlerini daha düzgün göstermek için */
.md-brand-word,
.side-brand strong,
.login-card h2,
.page-title h1{
  letter-spacing:-.04em;
}

/* Footer */
.md-footer{
  margin:34px auto 0;
  padding:0 18px 24px;
  max-width:1380px;
}

.md-footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  background:rgba(255,255,255,.88);
  border:1px solid rgba(226,232,240,.95);
  border-radius:24px;
  padding:16px 18px;
  box-shadow:0 12px 36px rgba(15,23,42,.06);
  backdrop-filter:blur(18px);
}

.md-footer-brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.md-footer-logo{
  width:44px;
  height:44px;
  border-radius:17px;
  display:grid;
  place-items:center;
  color:#fff;
  font-weight:950;
  background:linear-gradient(135deg,var(--md-blue),var(--md-sky));
  box-shadow:0 12px 28px rgba(37,99,235,.18);
}

.md-footer-brand strong{
  display:block;
  color:var(--md-ink);
  font-size:15px;
  letter-spacing:-.03em;
}

.md-footer-brand span,
.md-footer-links span{
  display:block;
  color:var(--md-muted);
  font-size:12px;
  line-height:1.45;
}

.md-footer-links{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  color:var(--md-muted);
  font-size:12px;
}

.md-footer-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  border-radius:999px;
  padding:8px 11px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  color:#334155;
  font-weight:800;
  text-decoration:none;
}

/* Dashboard / sidebar marka düzeltmesi */
.side-brand .mark,
.brand-logo,
.polish-logo,
.agency-logo,
.menu-logo,
.ds-hero::before{
  user-select:none;
}

/* Personel ekranı görsel taşma son emniyet */
.pm-image-box,
.pm-gallery-card,
.pm-gallery-btn,
.pm-gallery-image-wrap{
  max-width:100% !important;
  overflow:hidden !important;
}

.pm-image-box img{
  width:100% !important;
  height:auto !important;
  object-fit:contain !important;
  background:#0f172a !important;
}

.pm-gallery-thumb{
  object-fit:contain !important;
  background:#0f172a !important;
}

.pm-fullscreen-inner img{
  object-fit:contain !important;
}

/* Mobil footer */
@media(max-width:720px){
  .md-footer{
    padding:0 10px 92px;
    margin-top:22px;
  }

  .md-footer-inner{
    align-items:flex-start;
    flex-direction:column;
    border-radius:22px;
  }

  .md-footer-links{
    width:100%;
  }

  .md-footer-pill{
    width:100%;
    justify-content:center;
  }
}
