/*
 * Bigman Agency – şablon (main.css) üzerine siteye özel düzenlemeler.
 * Şablon dosyasına dokunmadan burada tutulur; main.css'ten sonra yüklenir.
 */

/* Hero ana başlığı: SEO için <h1>, görünüm eski paragraf ile aynı */
.bf-hero-bottom-content .bf-hero-heading {
  font-family: inherit;
  font-weight: 500;
  font-size: 24px;
  line-height: 125%;
  letter-spacing: -0.03em;
  text-transform: none;
  color: var(--tp-common-px-white);
}

/* Kaydırınca logo içeriğin üstüne binmesin: başlığa koyu, bulanık zemin */
.header-fixed.px-header-2-area.sticky-bg::after {
  display: block;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.72);
  box-shadow: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.header-fixed.px-header-2-area.sticky-bg {
  padding-top: 12px;
  padding-bottom: 12px;
}

/* Font Awesome kaldırıldı: mobil menüde kullanılan tek ikon (+) */
.tp-menu-close .fa-plus {
  font-style: normal;
  display: inline-block;
  line-height: 1;
}
.tp-menu-close .fa-plus::before {
  content: "+";
  font-family: inherit;
  font-weight: 300;
}

/* Mobil menü: uzun başlıklar (HİZMETLERİMİZ) ekrandan taşmasın */
@media (max-width: 991px) {
  .px-offcanvas-2-wrapper .tp-offcanvas-menu > nav > ul > li > a {
    font-size: min(80px, 13vw);
  }
  .px-offcanvas-2-wrapper .tp-offcanvas-menu > nav > ul > li.has-dropdown {
    padding-right: 44px;
  }
}

/* Footer iletişim satırı */
.site-footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  margin-top: 24px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
}
.site-footer-contact a {
  color: inherit;
  transition: color 0.2s;
}
.site-footer-contact a:hover {
  color: #fff;
}

/* WhatsApp butonu (yukarı çık butonu sağda olduğu için sol altta) */
.site-whatsapp {
  position: fixed;
  left: 20px;
  bottom: 24px;
  z-index: 99;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s;
}
.site-whatsapp:hover {
  color: #fff;
  transform: scale(1.06);
}

/* İletişim formu: alan altındaki hata mesajı */
.contact-field-error {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: #ff8a80;
}
.tp-contact-form-input [aria-invalid="true"] {
  border-color: #ff8a80 !important;
}

/* Hareket hassasiyeti olan ziyaretçiler için animasyonları kapat */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .swiper-wrapper {
    transition-duration: 0ms !important;
  }
}

/* Hizmet sayfası: detaylı rehber içeriği */
.site-rich-content {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.7;
}
.site-rich-content h2 {
  margin: 56px 0 18px;
  color: #fff;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.site-rich-content h2:first-child {
  margin-top: 0;
}
.site-rich-content h3 {
  margin: 32px 0 12px;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}
.site-rich-content p {
  margin-bottom: 18px;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}
.site-rich-content ul,
.site-rich-content ol {
  margin: 0 0 22px;
  padding-left: 22px;
}
.site-rich-content ul li {
  list-style: disc;
}
.site-rich-content ol li {
  list-style: decimal;
}
.site-rich-content li {
  margin-bottom: 8px;
  color: inherit;
}
.site-rich-content li::marker {
  color: #e11010;
}
.site-rich-content strong {
  color: #fff;
}
.site-rich-content a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: #e11010;
  text-underline-offset: 4px;
}

/* Hizmet sayfası: sıkça sorulan sorular */
.site-faq details {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 22px 0;
}
.site-faq details:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.site-faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}
.site-faq summary::-webkit-details-marker {
  display: none;
}
.site-faq summary::after {
  content: "+";
  flex-shrink: 0;
  color: #e11010;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
}
.site-faq details[open] summary::after {
  content: "−";
}
.site-faq details p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.7;
}

/* Hizmet sayfası: teklif çağrısı */
.site-service-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 40px;
  border-radius: 20px;
  background: #1d1d1f;
}
.site-service-cta h2 {
  margin-bottom: 8px;
  color: #fff;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
}
.site-service-cta p {
  margin: 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.7);
}
@media (max-width: 767px) {
  .site-service-cta {
    padding: 28px 22px;
  }
}

/* Blog yazısı sonu: hizmet sayfasına çağrı */
.site-post-cta {
  margin-top: 40px;
  padding: 28px;
  border-left: 4px solid #e11010;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}
.site-post-cta p {
  margin-bottom: 12px;
}
.site-post-cta a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: #e11010;
  text-underline-offset: 4px;
}
.site-post-cta .site-post-cta-link {
  font-weight: 600;
  text-decoration: none;
}

/* Taslak blog yazısı önizleme uyarısı */
.site-draft-banner {
  position: relative;
  z-index: 5;
  margin: 130px auto 0;
  max-width: 1100px;
  padding: 14px 20px;
  border-radius: 10px;
  background: #f5b400;
  color: #111;
  font-weight: 600;
  text-align: center;
}

/* ------------------------------------------------------------------
 * Tipografi: okunacak metinler okunur boyutta.
 * Dekoratif tek kelimelik dev yazılar (sayfa başlıkları, footer
 * "İLETİŞİM", kayan kelimeler, proje adları) bilinçli olarak korunur.
 * Şablon bazı satır yüksekliklerini piksel olarak sabitlediği için
 * boyutla birlikte line-height de veriliyor.
 * ------------------------------------------------------------------ */

/* Sayfa giriş paragrafları (Hakkımızda, Misyon, Hizmet, Portföy, Blog, İletişim) */
body .px-inner-about-style .px-about-3-content p {
  font-size: clamp(21px, 1.2vw + 14px, 32px);
  line-height: 1.4;
}

/* Normal içerik paragrafları */
body .px-inner-about-1-content p {
  font-size: clamp(17px, 0.25vw + 16px, 19px);
  line-height: 1.7;
}

/* Hakkımızda: büyük harfli tanıtım cümlesi */
body .px-inner-about-1-top p {
  font-size: clamp(28px, 3.6vw, 60px);
  line-height: 1.15;
}

/* Bölüm başlıkları (Misyon/Vizyon, İlkelerimiz, Ekip) */
body .px-section-title.ff-thunder.fs-80 {
  font-size: clamp(44px, 5.6vw, 80px);
  line-height: 1.05;
}
body .px-section-title.ff-thunder.fs-60 {
  font-size: clamp(44px, 4.6vw, 66px);
  line-height: 1.05;
}
body .px-section-title.ff-thunder.fs-100 {
  font-size: clamp(48px, 7vw, 100px);
  line-height: 1.05;
}

/* Ana sayfa bölüm başlıkları */
body .bf-section-title {
  font-size: clamp(42px, 5.6vw, 80px);
  line-height: 1.05;
}
body .bf-section-title.fs-75 {
  font-size: clamp(42px, 5.2vw, 75px);
  line-height: 1.05;
}

/* İletişim formu başlığı ("BİZE YAZIN") */
body .px-contact-title {
  font-size: clamp(48px, 7vw, 120px);
  line-height: 1;
}

/* Blog yazısı başlığı (uzun başlıklar için) */
body .postbox-title.fs-80 {
  font-size: clamp(32px, 3.6vw, 56px);
  line-height: 1.15;
}

/* Hakkımızda: kayan yazı – mobilde ekranı tek başına kaplamasın */
@media (max-width: 767px) {
  body .px-hero-6-text span {
    font-size: 64px;
    line-height: 1;
  }
}

/* Açılış ekranı ziyaret başına bir kez (bkz. head içindeki sessionStorage kontrolü) */
html.intro-seen #loader {
  display: none !important;
}
