/* Fayf Yapı — sayfa bazlı görünüm düzeltmeleri (canlı tasarımla eşitleme) */

/* Üst banner başlıkları: canlı sitede h1 olarak 56px beyaz görünür */
body[data-page="about"] .et_pb_text_0 .et_pb_text_inner,
body[data-page="sectors"] .et_pb_text_0 .et_pb_text_inner,
body[data-page="contact"] .et_pb_text_0 .et_pb_text_inner,
body[data-page="hr"] .et_pb_text_0 .et_pb_text_inner,
body[data-page="projects"]:not([data-category]) .et_pb_text_0 .et_pb_text_inner {
  font-weight: 800 !important;
  text-transform: uppercase;
  font-size: 56px !important;
  line-height: 1em;
  color: #ffffff !important;
  text-align: center;
}

@media (max-width: 980px) {
  body[data-page="about"] .et_pb_text_0 .et_pb_text_inner,
  body[data-page="sectors"] .et_pb_text_0 .et_pb_text_inner,
  body[data-page="contact"] .et_pb_text_0 .et_pb_text_inner,
  body[data-page="hr"] .et_pb_text_0 .et_pb_text_inner,
  body[data-page="projects"]:not([data-category]) .et_pb_text_0 .et_pb_text_inner {
    font-size: 45px !important;
  }
}
@media (max-width: 767px) {
  body[data-page="about"] .et_pb_text_0 .et_pb_text_inner,
  body[data-page="sectors"] .et_pb_text_0 .et_pb_text_inner,
  body[data-page="contact"] .et_pb_text_0 .et_pb_text_inner,
  body[data-page="hr"] .et_pb_text_0 .et_pb_text_inner,
  body[data-page="projects"]:not([data-category]) .et_pb_text_0 .et_pb_text_inner {
    font-size: 25px !important;
  }
}

/* Ana sayfa: 01–04 numaraları ve bölüm başlıkları */
body[data-page="home"] .et_pb_text_0 h2,
body[data-page="home"] .et_pb_text_2 h2,
body[data-page="home"] .et_pb_text_4 h2,
body[data-page="home"] .et_pb_text_6 h2 {
  font-weight: 800 !important;
  font-size: 33px !important;
  color: #a01f21 !important;
}
body[data-page="home"] .et_pb_text_1 h2,
body[data-page="home"] .et_pb_text_3 h2,
body[data-page="home"] .et_pb_text_5 h2,
body[data-page="home"] .et_pb_text_7 h2 {
  text-transform: uppercase;
  font-size: 25px !important;
  color: #000000 !important;
}
@media (max-width: 980px) {
  body[data-page="home"] .et_pb_text_1 h2,
  body[data-page="home"] .et_pb_text_3 h2,
  body[data-page="home"] .et_pb_text_5 h2,
  body[data-page="home"] .et_pb_text_7 h2 {
    font-size: 15px !important;
  }
}
@media (max-width: 767px) {
  body[data-page="home"] .et_pb_text_1 h2,
  body[data-page="home"] .et_pb_text_3 h2,
  body[data-page="home"] .et_pb_text_5 h2,
  body[data-page="home"] .et_pb_text_7 h2 {
    font-size: 25px !important;
  }
}

/* Sektörler: numaralar ve başlıklar */
body[data-page="sectors"] .et_pb_text_1 h2,
body[data-page="sectors"] .et_pb_text_3 h2,
body[data-page="sectors"] .et_pb_text_5 h2,
body[data-page="sectors"] .et_pb_text_7 h2 {
  font-weight: 800 !important;
  font-size: 56px !important;
  color: #a01f21 !important;
}
body[data-page="sectors"] .et_pb_text_2 h2,
body[data-page="sectors"] .et_pb_text_4 h2,
body[data-page="sectors"] .et_pb_text_6 h2,
body[data-page="sectors"] .et_pb_text_8 h2 {
  text-transform: uppercase;
  font-size: 40px !important;
  color: #000000 !important;
}
@media (max-width: 980px) {
  body[data-page="sectors"] .et_pb_text_2 h2,
  body[data-page="sectors"] .et_pb_text_4 h2,
  body[data-page="sectors"] .et_pb_text_6 h2,
  body[data-page="sectors"] .et_pb_text_8 h2 {
    font-size: 35px !important;
  }
}
@media (max-width: 767px) {
  body[data-page="sectors"] .et_pb_text_2 h2,
  body[data-page="sectors"] .et_pb_text_4 h2,
  body[data-page="sectors"] .et_pb_text_6 h2,
  body[data-page="sectors"] .et_pb_text_8 h2 {
    font-size: 30px !important;
  }
}

/* Hakkımızda ve İnsan Kaynakları iç başlıkları */
body[data-page="about"] .et_pb_text_1 h2,
body[data-page="hr"] .et_pb_text_1 h2 {
  font-size: 40px !important;
}
@media (max-width: 767px) {
  body[data-page="about"] .et_pb_text_1 h2,
  body[data-page="hr"] .et_pb_text_1 h2 {
    font-size: 32px !important;
  }
}

/* Proje detayı: alt başlık canlı sitede küçük h6 olarak görünür */
body.project-detail .et_pb_text_1 h2 {
  font-size: 18px !important;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
  margin: 0;
  padding: 0;
}

/* Proje listesi kart başlıkları: canlı sitede siyah, hover'da kırmızı */
body[data-page="projects"] .et_pb_blog_0 .et_pb_post .entry-title a,
body[data-page="projects"] .et_pb_blog_0_tb_body .et_pb_post .entry-title a {
  color: #000000 !important;
}
body[data-page="projects"] .et_pb_blog_0 .et_pb_post:hover .entry-title a,
body[data-page="projects"] .et_pb_blog_0 .et_pb_post .entry-title a:focus,
body[data-page="projects"] .et_pb_blog_0_tb_body .et_pb_post:hover .entry-title a,
body[data-page="projects"] .et_pb_blog_0_tb_body .et_pb_post .entry-title a:focus {
  color: #a01f21 !important;
}
body.project-detail .et_pb_text_5 a {
  color: #b35c00 !important;
}

/* Proje galerisi büyütme */
.project-detail .et_pb_slide { cursor: zoom-in; }
.fayf-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 10, 10, .92);
}
.fayf-lightbox[hidden] { display: none; }
.fayf-lightbox img {
  display: block;
  max-width: 92vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
  background: #111;
}
.fayf-lb-close,
.fayf-lb-prev,
.fayf-lb-next {
  position: absolute;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}
.fayf-lb-close:hover,
.fayf-lb-prev:hover,
.fayf-lb-next:hover,
.fayf-lb-close:focus,
.fayf-lb-prev:focus,
.fayf-lb-next:focus { background: #a01f21; }
.fayf-lb-close {
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  font-size: 30px;
}
.fayf-lb-prev,
.fayf-lb-next {
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  font-size: 36px;
}
.fayf-lb-prev { left: 18px; }
.fayf-lb-next { right: 18px; }
.fayf-lb-count {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-size: 15px;
  letter-spacing: .04em;
}
@media (max-width: 767px) {
  .fayf-lightbox { padding: 12px; }
  .fayf-lightbox img { max-width: 96vw; max-height: 76vh; }
  .fayf-lb-prev,
  .fayf-lb-next { width: 44px; height: 44px; font-size: 28px; }
  .fayf-lb-close { width: 42px; height: 42px; font-size: 26px; }
}
