/* Marmara Kavaklı Kent — statik uyarlama katmanı */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img { max-width: 100%; height: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
h1 { display: block; }
.h-look-1 { font-size: 30px; } .h-look-2 { font-size: 26px; }
.h-look-3 { font-size: 22px; } .h-look-4 { font-size: 18px; }
a:focus-visible, button:focus-visible { outline: 3px solid #2ea3f2; outline-offset: 2px; }

/* ---- üst bilgi ---- */
.mz-ust { background: #1472ad; color: #fff; font-size: 13px; }
.mz-ust-ic { display: flex; gap: 22px; align-items: center; justify-content: flex-start;
  padding: 6px 20px; flex-wrap: wrap; }
.mz-ust a { color: #fff; text-decoration: none; }
.mz-ust a::before { content: "\260E"; margin-right: 6px; font-size: 12px; }
.mz-ust .mz-ust-mail::before { content: "\2709"; }
.mz-ust a:hover { text-decoration: underline; }

/* ---- header ---- */
#main-header { background: #fff; }
.mz-head { display: flex; justify-content: center; padding: 10px 20px 4px; }
.mz-logo img { display: block; width: 700px; max-width: 100%; height: auto; }
.mz-nav { border-top: 0; }
.mz-nav-ic { display: flex; justify-content: center; align-items: center; gap: 6px;
  padding: 0 20px 10px; }
.mz-menu { display: flex; flex-wrap: wrap; justify-content: center; list-style: none;
  margin: 0; padding: 0; gap: 2px; }
.mz-menu > li > a { display: block; padding: 10px 14px; font-size: 14px; letter-spacing: .04em;
  text-transform: uppercase; text-decoration: none; color: #1472ad; font-weight: 500; }
.mz-menu > li > a:hover, .mz-menu > li.current-menu-item > a { color: #0d5f91; }
.mz-menu > li.current-menu-item > a { border-bottom: 2px solid #1472ad; }
.mz-mobil { display: none; list-style: none; margin: 0; padding: 0; width: 100%; }
.mz-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.mz-bars, .mz-bars::before, .mz-bars::after { display: block; width: 26px; height: 2px;
  background: #1472ad; position: relative; }
.mz-bars::before, .mz-bars::after { content: ""; position: absolute; left: 0; }
.mz-bars::before { top: -8px; } .mz-bars::after { top: 8px; }

@media (max-width: 980px) {
  /* Divi'nin sabit menü boşluğu (80px) mobilde gereksiz; header sayfanın tepesine oturmalı */
  #page-container { padding-top: 0 !important; }
  /* Hamburger sağa yapışık; açılan menü aynı satırda yan tarafa değil, alt satırda aşağı doğru açılır */
  /* Simetri: nav satırı logo satırıyla aynı genişlik ve iç boşluğa sahip (logo sol boşluğu = hamburger sağ boşluğu) */
  .mz-nav .mz-nav-ic.container { display: flex; flex-wrap: wrap; justify-content: flex-start; width: 80%; max-width: none; margin: 0 auto; padding: 6px 20px 10px; }
  .mz-toggle { display: block; margin: 0 0 0 auto; padding: 10px 0 10px 12px; }
  .mz-menu { display: none; }
  .mz-mobil { flex: 0 0 100%; order: 2; padding: 0; }
  .mz-mobil.acik { display: block; }
  .mz-mobil li { border-top: 1px solid #e8eef4; }
  .mz-mobil a { display: block; padding: 12px 8px; text-decoration: none; color: #1472ad;
    font-size: 14px; text-transform: uppercase; }
  .mz-mobil li.current-menu-item > a { font-weight: 700; color: #0d5f91; }
  .mz-logo img { width: 420px; }
}

/* ---- footer ---- */
#main-footer { background: #1f3c53; color: #dbe7f0; }
.mz-f-ic { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 30px;
  padding: 42px 20px 0; max-width: 1100px; margin: 0 auto; }
.mz-f-kol h2 { color: #fff; font-size: 15px; letter-spacing: .1em; margin: 0 0 12px; }
.mz-f-kol p, .mz-f-kol li { font-size: 14px; line-height: 1.7; }
.mz-f-kol ul { list-style: none; margin: 0; padding: 0; }
.mz-f-kol ul li a { display: inline-block; padding: 4px 0; }
.mz-f-kol a { color: #dbe7f0; text-decoration: none; }
.mz-f-kol a:hover { color: #fff; text-decoration: underline; }
.mz-f-kol p { margin: 0 0 10px; }
.mz-f-alt { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.16);
  margin-top: 10px; padding: 14px 0 18px; }
.mz-f-alt p { margin: 0; font-size: 13px; color: #b6c9d8; }
@media (max-width: 860px) { .mz-f-ic { grid-template-columns: 1fr; gap: 20px; } }

/* ---- harita ---- */
.harita { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; background: #eef3f7; }
.harita iframe { display: block; width: 100%; max-width: 100%; height: 100%;
  min-height: 380px; border: 0; }
.mz-map { min-width: 0; max-width: 100%; height: 100%; }
.mz-yol { margin: 14px 0 0; }
.harita-buton { display: inline-block; padding: 10px 18px; background: #1472ad; color: #fff !important;
  text-decoration: none; font-weight: 600; border-radius: 4px; }
.harita-buton:hover { background: #0d5f91; color: #fff; }
.et_pb_column_1_3 .harita iframe, .et_pb_column_2_3 .harita iframe { min-height: 380px; }
@media (max-width: 900px) { .harita iframe { min-height: 300px; } }

/* ---- blog ızgarası (Divi salvattore yerine CSS grid) ---- */
.mz-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.mz-blog-grid > article.et_pb_post { opacity: 1 !important; width: auto !important;
  margin: 0 !important; float: none !important; }
.mz-blog-grid .et_pb_image_container { margin-bottom: 14px; }
.mz-blog-grid .et_pb_post img { width: 100% !important; height: auto !important; }
.mz-blog-grid .entry-title { font-size: 18px; line-height: 1.35; margin: 0 0 8px; }
.mz-blog-grid .post-content p { font-size: 14px; line-height: 1.65; }
@media (max-width: 980px) { .mz-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .mz-blog-grid { grid-template-columns: 1fr; } }

/* ---- galeri / lightbox ---- */
.et_post_gallery { list-style: none; margin: 0; padding: 0; display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.et_post_gallery .et_gallery_item { margin: 0 !important; width: 100% !important; float: none !important; }
.et_post_gallery a { display: block; }
.et_post_gallery img { display: block; width: 100% !important; height: auto !important;
  max-width: 100% !important; }
@media (max-width: 860px) { .et_post_gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.lightbox { position: fixed; inset: 0; z-index: 999999; background: rgba(8,12,16,.92);
  display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.acik { display: flex; }
.lightbox img { max-width: 94vw; max-height: 88vh; width: auto; height: auto;
  background: #fff; box-shadow: 0 18px 50px rgba(0,0,0,.6); }
.lightbox-kapat { position: absolute; top: 14px; right: 18px; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff;
  font-size: 24px; cursor: pointer; }
.lightbox-kapat:hover { background: rgba(255,255,255,.3); }

/* ---- slider ---- */
.et_pb_slider .et_pb_slide { display: none; }
.et_pb_slider .et_pb_slide.et-pb-active-slide { display: block; }
.et_pb_slider .et_pb_slide { background-position: center center; background-repeat: no-repeat;
  background-size: cover; }
.et_pb_promo_description p, .et_pb_promo_description div { line-height: inherit; }

/* ---- sayfa başına dön ---- */
.sayfa-basi { position: fixed; right: 16px; bottom: 16px; z-index: 900; width: 44px;
  height: 44px; border-radius: 50%; border: 0; background: #1472ad; color: #fff;
  font-size: 18px; cursor: pointer; opacity: 0; visibility: hidden;
  transition: opacity .2s, visibility .2s; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.sayfa-basi.gorunur { opacity: 1; visibility: visible; }

/* anchor hedefi sticky başlık altında kalmasın */
html { scroll-padding-top: 96px; }
:target { scroll-margin-top: 96px; }
