/**
 * Köhnə HTML (main.css) + tt-modern: açıq kart/fon üzərində ağ və ya görünməz mətn.
 * Yalnız .coolair-legacy-root daxilində — tünd CTA/banner blokları toxunulmur.
 */

.coolair-legacy-root {
  color: #334155;
}

/* Açıq səthlər — mətn və linklər */
.coolair-legacy-root :is(
    .white-bg,
    .box-wraper,
    .portfolio-scope-card,
    .contact-info .box-wraper,
    .service-detail-body,
    .service-detail-hero,
    .home-detail-intro,
    .portfolio-process
  )
  :where(p, li, td, th, label, blockquote) {
  color: #475569 !important;
}

.coolair-legacy-root :is(
    .white-bg,
    .box-wraper,
    .portfolio-scope-card,
    .contact-info .box-wraper,
    .service-detail-body,
    .service-detail-hero
  )
  :where(h1, h2, h3, h4, h5, h6) {
  color: #0b1220 !important;
}

.coolair-legacy-root :is(.white-bg, .box-wraper, .portfolio-scope-card, .contact-info .box-wraper)
  :where(a:not(.theme-btn):not(.btn-main)) {
  color: #1e4a8c !important;
}

.coolair-legacy-root :is(.white-bg, .box-wraper, .portfolio-scope-card, .contact-info .box-wraper)
  :where(a:not(.theme-btn):not(.btn-main):hover) {
  color: #2563eb !important;
}

.coolair-legacy-root :is(.white-bg, .box-wraper, .portfolio-scope-card) .site-text-primary {
  color: #1e4a8c !important;
}

/* Əlaqə — main.css tünd blok + ağ daxili kart */
.coolair-legacy-root .contact-info-section {
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: inherit !important;
}

.coolair-legacy-root .contact-info .box-wraper {
  background: #fff !important;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.coolair-legacy-root .contact-info-section .icon-content h3 {
  color: #1e4a8c !important;
  margin-bottom: 0.65rem;
}

.coolair-legacy-root .contact-info-section .icon-content p {
  margin-bottom: 0.35rem;
}

.coolair-legacy-root .contact-info-section .icon-content p:last-child {
  margin-bottom: 0;
}

/* Xidmət / portfolio intro kartları (pageIntros) */
.coolair-legacy-root .services-page-intro .white-bg p,
.coolair-legacy-root .services-page-intro .white-bg h4,
.coolair-legacy-root .portfolio-page-intro .white-bg p,
.coolair-legacy-root .portfolio-page-intro .white-bg h4 {
  color: #475569 !important;
}

.coolair-legacy-root .services-page-intro .white-bg h4,
.coolair-legacy-root .portfolio-page-intro .white-bg h4 {
  color: #0b1220 !important;
}

/* Ablog kart mətni */
.coolair-legacy-root .ablog__text p,
.coolair-legacy-root .ablog__text--title {
  color: #0b1220 !important;
}

.coolair-legacy-root .ablog__text p {
  color: #475569 !important;
}

/* Tünd banner / newsletter — ağ mətn saxlanılır */
.coolair-legacy-root .anewsletter--bg,
.coolair-legacy-root .anewsletter,
.coolair-legacy-root .newsletter-area .anewsletter--bg {
  color: #fff;
}

.coolair-legacy-root .anewsletter .text-white,
.coolair-legacy-root .anewsletter--bg .text-white,
.coolair-legacy-root .anewsletter h2,
.coolair-legacy-root .anewsletter h2 a,
.coolair-legacy-root .anewsletter .tel a {
  color: #fff !important;
}

.coolair-legacy-root section.bg-color-3,
.coolair-legacy-root .theme-bg:not(.white-bg) {
  color: inherit;
}

/* Hero slider — prev/next oxları (swiper ağ ikon + ağ düymə) */
.ca-hero-split-wrap .ca-hero-swiper-ui .swiper-button-prev,
.ca-hero-split-wrap .ca-hero-swiper-ui .swiper-button-next {
  --swiper-navigation-color: #1e4a8c !important;
  --swiper-theme-color: #1e4a8c !important;
  color: #1e4a8c !important;
  background: #fff !important;
  border: 1px solid rgba(30, 74, 140, 0.3) !important;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12) !important;
  opacity: 1 !important;
}

.ca-hero-split-wrap .ca-hero-swiper-ui .swiper-button-prev::after,
.ca-hero-split-wrap .ca-hero-swiper-ui .swiper-button-next::after {
  display: none !important;
}

.ca-hero-split-wrap .ca-hero-swiper-ui .ca-hero-nav-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.ca-hero-split-wrap .ca-hero-swiper-ui .ca-hero-nav-icon {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1;
  color: #1e4a8c;
  pointer-events: none;
  user-select: none;
}

.ca-hero-split-wrap .ca-hero-swiper-fraction.swiper-pagination-fraction {
  color: #0f172a !important;
  background: #fff !important;
  border: 1px solid rgba(30, 74, 140, 0.2) !important;
}

.ca-hero-split-wrap .ca-hero-swiper-fraction .swiper-pagination-total {
  color: #475569 !important;
}
