/* BRS Halı Yıkama — temaya eklenenler. Tema görünümü değiştirilmez; yalnız yeni parçalar ve
   başlık etiketlerinin (h1/h2) tema sınıflarıyla aynı görünmesi için düzeltmeler. */

/* Ana başlıklar artık gerçek h1/h2: tema sınıfının görünümü korunur */
.pxl-heading h1.pxl-item--title,
.pxl-heading h2.pxl-item--title { margin-top: 0; }

/* İçerikteki ara başlık (temadaki sarı çizgili stil, p yerine h2) */
.pxl-text-editor.style-2 h2 {
  position: relative; margin: 0;
  font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit;
}
.pxl-text-editor.style-2 h2::before {
  position: absolute; content: ''; left: 0; bottom: -16px;
  width: 32px; height: 3px; border-radius: 2px; background: #f2d701;
}

/* Metin içi bağlantılar */
.pxl-text-editor p a { color: var(--secondary-color); text-decoration: underline; text-underline-offset: 3px; transition: color .2s; }
.pxl-text-editor p a:hover { color: var(--primary-color); }
.pxl-text-editor p a.brs-tel { font-weight: 700; text-decoration: none; white-space: nowrap; }

/* Mahalle listesi: iki (masaüstünde üç) sütun */
.pxl-list.brs-iki-sutun { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
@media (min-width: 1025px) { .pxl-list.brs-iki-sutun { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Bağlantılı liste öğeleri */
.pxl-list a.pxl-item-link[href] .pxl-item--text { transition: color .2s; }
.pxl-list a.pxl-item-link[href]:hover .pxl-item--text { color: var(--secondary-color); }

/* Yan yana butonlar (İletişim, 404) */
.brs-butonlar { display: flex; flex-wrap: wrap; gap: 16px; margin: 6px 0 34px; }
.brs-butonlar .elementor-element { width: auto; }

/* İletişim listesindeki Font Awesome simgeleri tema simgeleriyle aynı boyutta */
.brs-iletisim-sarmal .pxl-item--icon i { font-size: 16px; width: 16px; text-align: center; color: var(--secondary-color); }
.brs-iletisim-sarmal { margin: 12px 0 26px; }

/* Alt bilgi: hizmet bölgesi bağlantıları (telif satırının yanında) */
.brs-alt-linkler { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.brs-alt-grup { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 20px; }
.brs-alt-linkler a { font-size: 14px; color: #666; white-space: nowrap; transition: color .2s; }
@media (min-width: 1025px) {
  .elementor-8347 .elementor-element.elementor-element-93479b1 { flex: 1 1 auto; min-width: 0; }
}
/* 5 ilçe (21.11): tek satır yalnız geniş ekranda sığıyor; daha darda bağlantılar alt satıra geçer */
@media (min-width: 1366px) {
  .brs-alt-grup { flex-wrap: nowrap; }
}
.brs-alt-linkler a:hover { color: var(--secondary-color); }
@media (max-width: 767px) {
  .brs-alt-linkler { align-items: flex-start; }
  .brs-alt-grup { justify-content: flex-start; }
}

/* Ana görseldeki rozet (Google puanı yerine 3 günde teslim): yıldızlar kapalı, kamyon simgesi */
.brs-rozet .pxl-item--heading::before, .brs-rozet .pxl-item--heading::after { display: none !important; }
.brs-rozet .pxl-item--icon { display: flex; align-items: center; justify-content: center; }
.brs-rozet .pxl-item--icon i { font-size: 38px; color: var(--secondary-color); }

/* Ana görsel başlığı: siyah, Red Hat Display. Yazının desenli halı üzerinde okunması için
   görselin yazı tarafına (masaüstünde sol, telefonda üst) beyaz geçiş. */
@font-face {
  font-family: 'Red Hat Display'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/assets/fonts/brs/red-hat-display-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Red Hat Display'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/assets/fonts/brs/red-hat-display-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
.elementor-1662 .elementor-element.elementor-element-d5a6a94 .pxl-heading .pxl-item--title {
  color: #111418; -webkit-text-stroke-color: #111418;
  font-family: 'Red Hat Display', 'Plus Jakarta Sans', sans-serif; font-weight: 700; letter-spacing: -0.02em;
  text-wrap: balance;
}
.elementor-repeater-item-763ac62 > .pxl-slider--overlay::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .78) 36%, rgba(255, 255, 255, .3) 58%, rgba(255, 255, 255, 0) 72%);
}
@media (max-width: 767px) {
  .elementor-repeater-item-763ac62 > .pxl-slider--overlay::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .8) 48%, rgba(255, 255, 255, .25) 66%, rgba(255, 255, 255, 0) 78%);
  }
}

/* Ana görseldeki "Hemen Arayın" butonu dar ekranda tek satır kalsın */
@media (max-width: 480px) {
  .elementor-1662 .elementor-element.elementor-element-cb53402 .pxl-button .btn { padding: 0 22px; white-space: nowrap; }
}
@media (max-width: 359px) {
  .elementor-1662 .elementor-element.elementor-element-d5a6a94 .pxl-heading .pxl-item--subtitle { padding-left: 12px; padding-right: 12px; }
  .elementor-1662 .elementor-element.elementor-element-d5a6a94 .pxl-heading .pxl-item--subtext { font-size: 11px !important; letter-spacing: 0 !important; }
}

/* Masaüstü: sol altta yüzen WhatsApp düğmesi */
.brs-wa-yuzen {
  position: fixed; left: 24px; bottom: 24px; z-index: 9990;
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px;
  border-radius: 28px; background: #25D366; color: #fff; font-weight: 600; font-size: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18); transition: transform .15s, background-color .2s;
}
.brs-wa-yuzen i { font-size: 28px; }
.brs-wa-yuzen:hover, .brs-wa-yuzen:focus-visible { background: #1ebe5b; color: #fff; transform: translateY(-2px); }
.brs-wa-yuzen:active { transform: translateY(0); }

/* Mobil ve tablette sabit arama çubuğu (Ara + WhatsApp) */
.brs-arama-cubugu { display: none; }
@media (max-width: 1024px) {
  .brs-wa-yuzen { display: none; }
  .brs-arama-cubugu {
    display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: #fff; box-shadow: 0 -4px 18px rgba(0, 0, 0, .12);
  }
  .brs-arama-btn {
    flex: 1 1 auto; min-width: 0;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; border-radius: 12px; background: #3CA200; color: #fff;
    font-size: 16px; font-weight: 600; line-height: 1.2;
    transition: background-color .2s, transform .1s;
  }
  .brs-wa-btn {
    flex: 0 0 auto; display: flex; align-items: center; justify-content: center; gap: 8px;
    min-width: 52px; min-height: 52px; padding: 0 14px; border-radius: 12px;
    background: #25D366; color: #fff; font-size: 16px; font-weight: 600;
    transition: background-color .2s, transform .1s;
  }
  .brs-wa-btn i { font-size: 26px; }
  .brs-wa-btn:hover, .brs-wa-btn:focus-visible { background: #1ebe5b; color: #fff; }
  .brs-wa-btn:active { transform: translateY(1px); }
  .brs-arama-btn:hover, .brs-arama-btn:focus-visible { background: #348d00; color: #fff; }
  .brs-arama-btn:active { transform: translateY(1px); }
  .brs-arama-ikon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 50%; background: #F2D701; color: #1E2227;
  }
  .brs-arama-btn strong { font-weight: 700; letter-spacing: .3px; white-space: nowrap; }
  body { padding-bottom: 76px; }
  .pxl-scroll-top { bottom: 92px !important; }
}
@media (max-width: 599px) { .brs-wa-metin { display: none; } .brs-wa-btn { padding: 0; width: 52px; } }
@media (max-width: 389px) { .brs-arama-metin { display: none; } }

/* Çerez onay bandı (21.11): masaüstünde sağ altta kart, mobil/tablette arama çubuğunun hemen üstünde */
.brs-cerez {
  position: fixed; right: 24px; bottom: 24px; z-index: 10001; max-width: 440px; /* yukarı çık düğmesinin (9999) üstünde, menülerin (99999) altında */
  padding: 18px 20px; border-radius: 12px; background: #fff; color: #1E2227;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .18); font-size: 14px; line-height: 1.55;
}
.brs-cerez[hidden] { display: none; }
.brs-cerez p { margin: 0 0 14px; }
.brs-cerez a { color: var(--secondary-color); text-decoration: underline; text-underline-offset: 3px; }
.brs-cerez__btn { display: flex; gap: 10px; justify-content: flex-end; }
.brs-cerez__btn button {
  min-height: 44px; padding: 0 20px; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer;
  border: 2px solid #3CA200; background: #fff; color: #1E2227; transition: background-color .2s, color .2s;
}
.brs-cerez__btn button[data-v="evet"] { background: #3CA200; color: #fff; }
.brs-cerez__btn button:hover, .brs-cerez__btn button:focus-visible { background: #348d00; border-color: #348d00; color: #fff; }
@media (max-width: 1024px) {
  .brs-cerez { left: 12px; right: 12px; bottom: calc(84px + env(safe-area-inset-bottom)); max-width: none; }
  .brs-cerez__btn button { flex: 1 1 0; }
}
/* Alt bilgideki çerez bağlantıları (telif satırının altında ayrı satır) */
.brs-telif-ek { display: block; margin-top: 4px; }
.brs-cerez-ayar { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.brs-cerez-ayar[hidden] { display: none; }
.brs-telif-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.brs-cerez-ayar:hover, .brs-telif-link:hover { color: var(--secondary-color); }
