/*
Theme Name: Azim Hukuk & Danışmanlık Prestij Teması
Theme URI: https://azimhukuk.com
Author: Azim Hukuk Özel Tasarım
Author URI: https://azimhukuk.com
Description: Azim Hukuk ve Danışmanlık için özel olarak geliştirilmiş; SEO/GEO uyumlu, ultra hızlı, sinematik ve mobil uyumlu prestij teması.
Version: 2.4.0
License: GNU General Public License v2 or later
Text Domain: azim-hukuk
*/

/* ==========================================================================
   GLOBAL RESET & MUTLAK KARANLIK PRESTİJ TEMASI (BEYAZ ALANLARI ENGELLEME)
   ========================================================================== */
html, body {
  background-color: #0A0E1A !important;
  color: #F8FAFC !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  line-height: 1.6;
  overflow-x: hidden;
}

/* WordPress blok ve tema sarmalayıcılarının beyaz kalmasını engelle */
.wp-site-blocks, #page, #content, .site-content, main, article, section, div {
  background-color: transparent;
}

body::before, body::after {
  display: none !important;
}

/* Tüm form elemanlarının karanlık kalması */
input, select, textarea, button {
  font-family: inherit;
}

select option {
  background-color: #121829 !important;
  color: #F8FAFC !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-text-fill-color: #FFF !important;
  -webkit-box-shadow: 0 0 0px 1000px #0A0E1A inset !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* ==========================================================================
   3. PARTİ EKLENTİ ÇAKIŞMALARINI VE ORTADA YÜZEN KUTUCUKLARI GİZLEME
   ========================================================================== */
div[class*="wp-whatsapp"],
div[class*="wa__popup"],
div[class*="wa__btn"],
div[class*="joinchat"],
div[class*="chaty"],
div[id*="wa-chat"],
div[class*="floating-chat"],
.wa__btn_popup,
.wa__popup_chat_box,
.wp-whatsapp-chat-box,
#ht-ctc-chat,
.ht-ctc-chat,
.qlwapp,
.njt-whatsapp,
.wp-block-contact-info,
div[id*="joinchat"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -9999 !important;
}

/* ==========================================================================
   ÖZEL PRESTİJ WHATSAPP BUTONU (MOBİL VE MASAÜSTÜ KUSURSUZ UYUMU)
   ========================================================================== */
.whatsapp-float {
  position: fixed !important;
  bottom: 28px !important;
  right: 28px !important;
  background: #25D366 !important;
  color: #FFFFFF !important;
  padding: 12px 22px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  box-shadow: 0 10px 30px rgba(37,211,102,0.45) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  z-index: 99999 !important;
  border: 2px solid #FFFFFF !important;
  text-decoration: none !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.whatsapp-float:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 14px 35px rgba(37,211,102,0.6) !important;
  color: #FFFFFF !important;
}

.whatsapp-float .wa-svg {
  width: 22px !important;
  height: 22px !important;
  fill: #FFFFFF !important;
  flex-shrink: 0 !important;
}

@media (max-width: 768px) {
  /* Mobilde sağ altta sabit, tek, kompakt ve içerikleri kapatmayan şık buton */
  .whatsapp-float {
    bottom: 20px !important;
    right: 20px !important;
    width: 54px !important;
    height: 54px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    justify-content: center !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.6) !important;
  }
  .whatsapp-float .wa-text,
  .whatsapp-float span:not(.wa-icon) {
    display: none !important;
  }
  .whatsapp-float .wa-svg {
    width: 28px !important;
    height: 28px !important;
  }
  
  /* Mobilde kartların ve yazıların en alta yapışıp butonun altında kalmaması için */
  body {
    padding-bottom: 75px !important;
  }
}
