/**
 * Bromak — Laravel site uyumluluk katmanı (site-onyuz teması)
 */

.mouseCursor {
  display: none !important;
  visibility: hidden !important;
}

 :root {
  --theme-color: #BD2428;
  --theme-color2: #0C2F25;
  --bromak-brand: #BD2428;
  --bromak-brand-dark: #9a1d20;
  --bromak-brand-rgb: 189, 36, 40;
}

/* Arama popup — header */
.search-popup .form-group input[type="search"],
.search-popup .form-group input[type="text"] {
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  caret-color: #000;
}

.search-popup .form-group input[type="search"]:focus,
.search-popup .form-group input[type="text"]:focus {
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
}

/* Footer iletişim */
.bromak-footer-contact {
  max-width: 100%;
  margin-left: auto;
}

@media (max-width: 1199.98px) {
  .bromak-footer-contact {
    margin-left: 0;
  }
}

.bromak-footer-contact .footer-contact {
  margin-left: 0;
}

.bromak-footer-contact .footer-info p {
  margin-bottom: 10px;
  line-height: 1.55;
}

.bromak-footer-contact .footer-info p strong {
  font-weight: 600;
}

.bromak-footer-contact__btn {
  margin-top: 24px;
}

/* CTA banner — kısa başlık ve küçük metin */
#iletisim-cta .bromak-cta-content {
  max-width: 520px;
}

#iletisim-cta .bromak-cta-content__title {
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.25;
}

#iletisim-cta .bromak-cta-content__text {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.65);
  max-width: 420px;
  margin-left: auto;
}

@media (max-width: 1199.98px) {
  #iletisim-cta .bromak-cta-content__text {
    margin-left: 0;
    max-width: 100%;
  }
}

/* SweetAlert2 */
.swal2-popup .swal2-confirm {
  background-color: var(--bromak-brand) !important;
  border-color: var(--bromak-brand) !important;
}

.swal2-popup .swal2-confirm:focus {
  box-shadow: 0 0 0 3px rgba(var(--bromak-brand-rgb), 0.35) !important;
}

/* İç sayfalarda header — dk css çakışmasını önle */
.page-wrapper .main-header.header-style-one.header-2 {
  margin: 0 !important;
  border-radius: 0 !important;
  background-color: transparent !important;
}

.page-wrapper .main-header.header-style-one.header-2 .main-box {
  background-color: #f9f9f9 !important;
}

.by-cta-whatsapp,
.by-sidebar-wa,
.by-cta-phone,
.by-sidebar-tel,
.by-bd-cta-btn,
.by-contact-submit,
.by-about-btn--primary {
  background: var(--bromak-brand) !important;
  border-color: var(--bromak-brand) !important;
}

.by-cta-whatsapp:hover,
.by-sidebar-wa:hover,
.by-cta-phone:hover,
.by-sidebar-tel:hover,
.by-bd-cta-btn:hover,
.by-contact-submit:hover,
.by-about-btn--primary:hover {
  background: var(--bromak-brand-dark) !important;
  border-color: var(--bromak-brand-dark) !important;
}

/* FAB — tema ile çakışmayı önle */
.fab-container {
  z-index: 999;
}

/* İç sayfa geçiş dönemi — eski by-* sınıfları */
.page-wrapper .by-contact-card,
.page-wrapper .by-content-page {
  font-family: inherit;
}

/* Preloader */
.preloader.bromak-preloader {
  background-color: #f9f9f9 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader.bromak-preloader::before,
.preloader.bromak-preloader::after {
  display: none !important;
  content: none !important;
}

.bromak-preloader__inner {
  text-align: center;
}

.bromak-preloader__logo {
  display: block;
  max-width: 200px;
  width: auto;
  height: auto;
  margin: 0 auto;
  animation: bromak-preloader-pulse 1.6s ease-in-out infinite;
}

.bromak-preloader__text {
  margin: 28px 0 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #333;
}

/* Ürün Kategorileri — 3'lü grid, tıklanabilir kart */
#urunler .bromak-category-card {
  flex-direction: column;
  height: 100%;
  display: flex;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

#urunler .bromak-category-card:hover {
  text-decoration: none;
  color: inherit;
}

#urunler .bromak-category-card:hover::before {
  opacity: 1;
  transform: scale(1, 1);
}

#urunler .bromak-category-card .thumb {
  max-width: 100%;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0 0 20px;
  overflow: hidden;
  border-radius: 20px;
}

#urunler .bromak-category-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#urunler .bromak-category-card:hover .thumb {
  transform: none;
}

#urunler .bromak-category-card .content .title {
  margin-bottom: 0;
  font-size: 17px;
  line-height: 1.4;
  transition: color 0.35s ease;
}

#urunler .bromak-category-card:hover .content .title {
  color: #fff;
}

/* Referanslar — Markera tarzı eşit logo kutuları + slider */
#referanslar .bromak-brand-slider {
  overflow: hidden;
  padding: 4px 2px;
}

#referanslar .bromak-brand-slider .swiper-slide {
  height: auto;
}

#referanslar .bromak-ref-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 110px;
  aspect-ratio: 4 / 3;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#referanslar .bromak-ref-card:hover {
  border-color: #ccc;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

#referanslar .bromak-ref-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

#referanslar .bromak-ref-card__media img {
  display: block;
  max-width: 100%;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center center;
}

@media (max-width: 767.98px) {
  #referanslar .bromak-ref-card {
    min-height: 96px;
    padding: 12px 14px;
  }

  #referanslar .bromak-ref-card__media img {
    max-height: 60px;
  }
}

/* Site pagination — yalnızca sayfa numaraları */
.bromak-pagination .page-link {
  color: #333;
  border-color: #e5e5e5;
  min-width: 42px;
  text-align: center;
}

.bromak-pagination .page-item.active .page-link {
  background-color: #BD2428;
  border-color: #BD2428;
}

.bromak-pagination .page-link:hover {
  color: #BD2428;
  background-color: #f9f9f9;
}

/* İç sayfa başlığı — Bromak page-title */
.page-title {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

@keyframes bromak-preloader-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.75;
    transform: scale(0.97);
  }
}

/* Mobil menü — alt menü collapse */
.mobile-menu .navigation {
  border-top-color: rgba(0, 0, 0, 0.08) !important;
}

.mobile-menu .navigation > li {
  border-bottom-color: rgba(0, 0, 0, 0.08) !important;
}

.mobile-menu .navigation li > ul > li:first-child {
  border-top-color: rgba(0, 0, 0, 0.08) !important;
}

.mobile-menu .navigation li.dropdown > a {
  padding-right: 52px;
}

.mobile-menu .navigation li.dropdown .dropdown-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: #0a0a0a !important;
  background: rgba(0, 0, 0, 0.04);
  border-left: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.mobile-menu .navigation li.dropdown .dropdown-btn:after {
  display: none;
}

.mobile-menu .navigation li.dropdown .dropdown-btn.active {
  background: rgba(189, 36, 40, 0.08);
  color: var(--bromak-brand) !important;
}

.mobile-menu .navigation li.dropdown .dropdown-btn.active i {
  transform: rotate(180deg);
}

.mobile-menu .navigation li.dropdown .dropdown-btn i {
  transition: transform 0.25s ease;
  font-size: 14px;
}

.mobile-menu .navigation li > ul > li.dropdown > a {
  padding-right: 52px;
}

.mobile-menu .navigation li > ul > li > ul > li > a {
  padding-left: 28px;
  font-size: 14px;
}

/* GTranslate — header & mobil menü */
.bromak-gtranslate {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
  line-height: 1;
}

.bromak-gtranslate .gtranslate_wrapper {
  display: flex;
  align-items: center;
  min-height: 32px;
}

.bromak-gtranslate .gt_switcher,
.bromak-gtranslate .gt_container {
  font-size: 0 !important;
  line-height: 1 !important;
}

.bromak-gtranslate .gt_switcher {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
}

.bromak-gtranslate img {
  width: 28px !important;
  height: auto !important;
  max-height: 20px !important;
  object-fit: contain;
  vertical-align: middle;
  border-radius: 2px;
}

.bromak-gtranslate .gt_selected {
  display: inline-flex !important;
  align-items: center;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

.bromak-gtranslate .gt_switcher .gt_option {
  position: absolute;
  z-index: 1001;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 6px 0;
  min-width: 120px;
}

.bromak-gtranslate--header {
  margin-right: 4px;
}

.header-2 .ui-btn-outer {
  flex-wrap: nowrap;
}

@media (max-width: 1023.98px) {
  .bromak-gtranslate--header {
    margin-right: 8px;
  }

  .bromak-gtranslate--header img {
    width: 26px !important;
    max-height: 18px !important;
  }

  .header-2 .ui-btn-outer {
    gap: 10px;
  }

  .header-2 .ui-btn-outer .ui-btn-search {
    gap: 10px;
  }
}

@media (max-width: 575.98px) {
  .bromak-gtranslate--header {
    margin-right: 6px;
  }

  .bromak-gtranslate--header img {
    width: 24px !important;
    max-height: 16px !important;
  }
}

.bromak-gtranslate--mobile-menu {
  display: none;
  padding: 12px 20px 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.02);
}

.bromak-gtranslate--mobile-menu::before {
  content: 'Dil / Language';
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.45);
  margin-bottom: 8px;
}

@media (max-width: 1023.98px) {
  .bromak-gtranslate--mobile-menu {
    display: block;
  }
}

.mobile-menu .bromak-gtranslate .gt_switcher .gt_option {
  position: static;
  display: flex !important;
  flex-direction: column;
  gap: 2px;
  box-shadow: none;
  border: 0;
  padding: 0;
  min-width: 0;
  background: transparent;
}

.mobile-menu .bromak-gtranslate .gt_switcher .gt_option a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 8px 10px !important;
  border-radius: 6px;
  font-size: 14px !important;
  color: #0a0a0a !important;
}

.mobile-menu .bromak-gtranslate .gt_switcher .gt_option a:hover {
  background: rgba(189, 36, 40, 0.08);
}

.mobile-menu .bromak-gtranslate .gt_selected {
  display: none !important;
}

.mobile-menu .bromak-gtranslate img {
  width: 24px !important;
  max-height: 18px !important;
}
