/* Ortak statik sürüm düzeltmeleri — tasarım değiştirilmedi */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100000;
  background: #fff;
  color: #111;
  padding: 10px 16px;
  border: 2px solid #111;
  font-weight: 700;
}
.skip-link:focus { left: 8px; top: 8px; }

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

a:focus-visible,
button:focus-visible,
.mobile_menu_bar:focus-visible {
  outline: 3px solid #1f6feb;
  outline-offset: 2px;
}

/* ---------- harita ---------- */
.harita-kutu {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 320px;
  box-sizing: border-box;
  background: #ececec;
  overflow: hidden;
}
.harita-kutu iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  max-width: 100%;
}
.footer-harita-wrap { display: flex; flex-direction: column; height: 100%; min-height: 320px; }
.footer-harita-wrap .harita-kutu { flex: 1 1 auto; height: auto; }
.harita-buton {
  display: block;
  margin-top: 12px;
  padding: 11px 18px;
  background: #e8452c;
  color: #fff !important;
  text-align: center;
  font-weight: 700;
  text-decoration: none;
  border-radius: 2px;
  line-height: 1.2;
}
.harita-buton:hover, .harita-buton:focus { background: #b8301b; color: #fff !important; }

.iletisim-harita { display: flex; flex-direction: column; height: 100%; }
.iletisim-harita .harita-kutu { flex: 1 1 auto; min-height: 340px; }

.urun-geri-row { padding-top: 0 !important; }
.urun-geri { text-align: center; margin: 0; }
.urun-geri a { font-weight: 600; }

/* ---------- sayfa başına dön ---------- */
#yukari {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 99990;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease;
}
#yukari.gorunur { opacity: .9; visibility: visible; }
#yukari:hover { opacity: 1; }

/* ---------- mobil menü ---------- */
@media (max-width: 980px) {
  .harita-kutu { min-height: 280px; }
  .footer-harita-wrap { min-height: 280px; }
}

/* ---------- slider okları (Divi çekirdeği + dokunmatik cihazlar için) ---------- */
.et-pb-controllers li { display: inline-block; margin: 0 8.5px; padding: 0; list-style: none; }
/* slider noktaları: görsel boyut aynı (7px), dokunma alanı 24x24 ve komşu hedefler üst üste binmez (WCAG 2.5.8) */
.et-pb-controllers a { display: inline-block; box-sizing: content-box; width: 7px; height: 7px; padding: 8.5px; margin: -8.5px; background-clip: content-box; }

/* footer iletişim bağlantıları: beyaz zemin üstünde AA kontrast (4.5:1+) */
footer .et_pb_blurb .et_pb_blurb_description a,
footer .et_pb_blurb .et_pb_blurb_description a span { color: #b03a3a; }
@media (max-width: 980px), (hover: none) {
  .et_pb_slider .et-pb-arrow-prev { left: 12px; opacity: 1; }
  .et_pb_slider .et-pb-arrow-next { right: 12px; opacity: 1; }
}
.et_pb_slider .et-pb-arrow-prev:focus-visible,
.et_pb_slider .et-pb-arrow-next:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* video arka planı taşmasın */
.et_pb_section_video_bg { overflow: hidden; }
.et_pb_section_video_bg video { max-width: none; }

/* ---------- galeri ızgarası (Divi masonry JS'siz) ---------- */
.et_pb_gallery_grid .et_pb_gallery_items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  overflow: visible;
}
.et_pb_gallery_grid .et_pb_gallery_item {
  display: block !important;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  box-sizing: border-box;
}
.et_pb_gallery_grid .et_pb_gallery_item img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 980px) {
  .et_pb_gallery_grid .et_pb_gallery_items { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
}
@media (max-width: 600px) {
  .et_pb_gallery_grid .et_pb_gallery_items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .et_pb_gallery_grid .et_pb_gallery_item { width: 100% !important; }
}

/* ---------- header logosu ---------- */
.logo_container #logo {
  max-height: 42px;
  width: auto;
  height: auto;
  max-width: 100%;
}

/* ---------- Shopup tam ekran menü: Divi çekirdeği + özel ayarlar ---------- */
.mobile_menu_bar.et_toggle_fullscreen_menu { cursor: pointer; }

/* menü içindeki kapatma ikonu Divi çekirdeğinden gelir (\4d) */
.proje-geri-wrap { padding: 10px 0 40px; text-align: center; }
.proje-geri a { font-weight: 600; }

/* ---------- portfolyo filtresi ---------- */
.et_pb_portfolio_filters { list-style: none; }
.et_pb_portfolio_filters ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; padding: 0; margin: 0 0 24px; }
.et_pb_portfolio_filters li { margin: 0; }
.et_pb_portfolio_filters a { cursor: pointer; }
.et_pb_portfolio_items .et_pb_portfolio_item { box-sizing: border-box; }

/* filtre modülü JS'siz: tüm projeler görünür */
.et_pb_filterable_portfolio .et_pb_portfolio_items .et_pb_portfolio_item {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* ---------- iletişim sayfası ---------- */
.shopup-iletisim { color: #1c1c1c; }
.shopup-iletisim h2 { margin: 0 0 14px; font-size: 28px; line-height: 1.3; }

/* harita + bilgi iki sütun: eşit yükseklik, taşma yok */
.harita-satir { display: flex; flex-wrap: wrap; align-items: stretch; }
.harita-satir .et_pb_column { display: flex; flex-direction: column; }
.harita-satir .et_pb_column .et_pb_module { flex: 1 1 auto; display: flex; flex-direction: column; }
.harita-satir .harita-kutu { flex: 1 1 auto; min-height: 340px; }
.harita-satir .et_pb_text_inner { flex: 1 1 auto; display: flex; flex-direction: column; }
.harita-satir .harita-buton { margin-top: auto; }
@media (min-width: 981px) {
  .harita-satir { flex-wrap: nowrap; }
  .harita-satir { margin-bottom: 140px; } /* yüzen footer çakışmasın */
}
@media (max-width: 980px) {
  .harita-satir .et_pb_column { width: 100%; }
  .harita-satir .harita-kutu { min-height: 300px; }
}
.shopup-iletisim p { margin: 0 0 20px; }
.shopup-iletisim ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.shopup-iletisim li { margin: 0; padding: 14px 16px; background: #f5f5f5; border-left: 3px solid #e2101c; }
.shopup-iletisim li strong { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #666; margin-bottom: 4px; }
.shopup-iletisim li a { color: #1c1c1c; font-weight: 600; word-break: break-word; }
@media (max-width: 600px) { .shopup-iletisim ul { grid-template-columns: minmax(0, 1fr); } }

/* ekran okuyucu için sayfa başlığı */
.gizli-baslik {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* çapa bağlantıları: sabit menü altında kalmasın */
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
[id] { scroll-margin-top: 95px; }
@media (max-width: 767px) { html { scroll-padding-top: 75px; } [id] { scroll-margin-top: 75px; } }

/* ---------- mobil hamburger simetrisi: sağ boşluk = logo sol boşluğu (39px) ---------- */
@media (max-width: 980px) {
  .et_header_style_fullscreen .et_slide_in_menu_container span.mobile_menu_bar.et_toggle_fullscreen_menu { right: 10% !important; }
}

/* ---------- erişilebilirlik kontrastı (AA 4.5:1) ---------- */
.proje-geri a { color: #b03a3a; }
.et_pb_portfolio_filters a.active,
.ppp_filterable_link.active { color: #2f6f76 !important; }
.et_pb_text .more-link { text-decoration: underline; text-underline-offset: 3px; }

/* header logosu: sayfa özel CSS'i (ör. kırmızı sinema sayfası height:54%) oranı bozmasın */
#main-header #logo { height: 42px !important; width: calc(42px * 400 / 130) !important; max-height: 42px !important; max-width: 100% !important; }
.more-link { text-decoration: underline; text-underline-offset: 3px; }
.harita-buton, a.harita-buton { background-color: #b03a3a; color: #fff; }

/* video oranı (FitVids): iframe kutuya sığar, yükseklik 16:9 / canlı oranına göre */
.et_pb_video_box { position: relative; }
.fluid-width-video-wrapper { width: 100%; position: relative; }
.fluid-width-video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* kategori (arşiv) sayfalarında footer kartı canlıdaki gibi bölümün üst kenarına oturur (masaüstü) */
@media (min-width: 981px) {
  html body.archive.et-db #et-boc .et-l--footer .et_pb_row_0_tb_footer.et_pb_row { margin-top: -54px !important; }
}

/* portfolyo grid başlığı: canlıdaki 10px üst boşluk */
.et_pb_dpfilterable_blog_0 .et_pb_portfolio_item .entry-title { margin-top: 10px; }

/* mobil denetim kontrastı: grid başlık bağlantıları ve "Devamını Oku" (beyaz zemin 4.5:1+) */
.et_pb_portfolio_item .entry-title a,
.et_pb_portfolio_item .entry-title a span,
a.more-link { color: #b03a3a !important; }

/* Ana sayfa koyu bölümde başlık/metinler açık renkte okunmalı */
.home .et_pb_section_2 .et_pb_text_1 .et_pb_text_inner,
.home .et_pb_section_2 .et_pb_text_2 .et_pb_text_inner,
.home .et_pb_section_2 .et_pb_text_1 h2,
.home .et_pb_section_2 .et_pb_text_2 h2{color:#ffffff!important;}
