/**
 * Türk Texno Servis — vizual təkmilləşdirmə (əvvəlki mövzunun üzərinə).
 * Əsas rənglər və komponentlər ilə uyğunluq saxlanılır.
 */

:root {
  --tt-navy: #0f172a;
  --tt-navy-muted: #334155;
  /* CoolAir scheme-01 ilə uyğun — narıncı yox */
  --tt-accent: #234982;
  --tt-accent-deep: #162d54;
  --tt-blue: #2563eb;
  --tt-blue-bright: #3b82f6;
  --tt-radius: 14px;
  --tt-radius-lg: 22px;
  --tt-radius-sm: 10px;
  --tt-shadow: 0 14px 44px rgba(15, 23, 42, 0.09);
  --tt-shadow-hover: 0 22px 56px rgba(15, 23, 42, 0.13);
}

html {
  scroll-behavior: smooth;
}

/* CoolAir “Yuxarı” keçidi — fokus halqası */
.scroll-to-top-link:focus-visible {
  outline: 2px solid var(--tt-accent, #234982);
  outline-offset: 3px;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  color: var(--tt-navy);
  overflow-x: hidden;
}

/* ---------- Accent sinfi (HTML-də istifadə olunur) ---------- */
.site-text-primary {
  color: var(--tt-accent) !important;
}

/* ---------- Bölmə başlıqları ---------- */
.section-title {
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--tt-navy);
}

.section-title span {
  background: linear-gradient(135deg, var(--tt-accent) 0%, var(--tt-accent-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

.section-title.text-white span {
  background: linear-gradient(135deg, #cbd5e1 0%, var(--tt-accent) 78%, var(--tt-accent-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

/* ---------- Hero — yüngül, müasir (tünd örtük yoxdur) ---------- */
.hero-area-2:before {
  height: 100% !important;
  width: 100% !important;
  top: 0 !important;
  left: 0 !important;
  position: absolute !important;
  content: '' !important;
  z-index: 1 !important;
  pointer-events: none !important;
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0.94) 0%,
    rgba(248, 250, 252, 0.82) 42%,
    rgba(255, 255, 255, 0.42) 100%
  ) !important;
}

.hero-area-2 .custom-container {
  position: relative;
  z-index: 2;
}

.hero-area-2 .aslider--title {
  color: var(--tt-navy) !important;
  text-shadow: none;
}

.hero-area-2 .aslider--title span {
  background: linear-gradient(135deg, var(--tt-accent) 0%, var(--tt-accent-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

.hero-area-2 .aslider--subtitle p {
  color: var(--tt-navy-muted);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.hero-area-2 .aslider--subtitle .fa-circle {
  color: var(--tt-accent);
  font-size: 7px;
  opacity: 0.95;
  vertical-align: middle;
}

.hero-area-2 .hero__icon {
  color: rgba(51, 65, 85, 0.14) !important;
}

/* Hero ikinci düymə — incə çərçivə */
.hero-area-2 .theme-btn.black-btn {
  background: #fff !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 2px solid rgba(15, 23, 42, 0.12) !important;
  color: var(--tt-navy) !important;
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.07);
}

.hero-area-2 .theme-btn.black-btn:hover {
  background: rgba(37, 99, 235, 0.06) !important;
  color: var(--tt-blue) !important;
  border-color: rgba(37, 99, 235, 0.35) !important;
}

.hero-area-2 .theme-btn:not(.black-btn) {
  box-shadow: 0 10px 28px rgba(35, 73, 130, 0.22);
}

/* ---------- Düymələr (ümumi) ---------- */
.theme-btn {
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease,
    color 0.22s ease;
  background: linear-gradient(135deg, var(--tt-accent) 0%, var(--tt-accent-deep) 100%);
}

.theme-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(37, 99, 235, 0.35);
  background: linear-gradient(135deg, var(--tt-blue) 0%, var(--tt-blue-bright) 100%);
}

/* black-btn — tt-modern.css-də vahid outline stil */

/* ---------- Sticky başlıq ---------- */
.header-menu.header-sticky.sticky-menu,
.mobile-header.header-sticky.sticky-menu {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.07);
}

.header-logo img {
  transition: transform 0.25s ease;
}

.header-logo a:hover img {
  transform: scale(1.02);
}

.header-top-left {
  background: linear-gradient(90deg, var(--tt-accent-deep) 0%, var(--tt-accent) 100%);
}

/* ---------- Ana səhifə kartları / boz bölmələr ---------- */
.grey-bg {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%) !important;
}

.grey-bg .white-bg,
.white-bg .grey-bg:not(.rounded-circle) {
  border-radius: var(--tt-radius);
  box-shadow: var(--tt-shadow);
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.grey-bg .white-bg:hover,
.white-bg .grey-bg:not(.rounded-circle):hover {
  transform: translateY(-5px);
  box-shadow: var(--tt-shadow-hover);
}

.home-detail-intro .section-title {
  margin-bottom: 0.35em;
}

.white-bg .rounded-circle.grey-bg {
  border-radius: 50% !important;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.12);
}

/* ---------- Xidmət / blog kartları ---------- */
.blog-area .ablog__img img,
.services .ablog__img img {
  border-radius: var(--tt-radius);
  transition: transform 0.35s ease;
}

.blog-area .ablog:hover .ablog__img img,
.services .ablog:hover .ablog__img img {
  transform: scale(1.04);
}

.blog-area .ablog,
.services .ablog {
  border-radius: var(--tt-radius);
  overflow: hidden;
  transition: transform 0.28s ease;
}

.blog-area .ablog:hover,
.services .ablog:hover {
  transform: translateY(-6px);
}

/* ---------- Brend zolağı (xidmətlər) — açıq fon ---------- */
.brand-area.theme-bg-blue {
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 55%, #f8fafc 100%) !important;
  border-top: 1px solid rgba(14, 165, 233, 0.12);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  position: relative;
}

.brand-area.theme-bg-blue::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 90% at 90% 50%, rgba(125, 211, 252, 0.22), transparent 58%);
  pointer-events: none;
}

.brand-area.theme-bg-blue .container {
  position: relative;
  z-index: 1;
}

/* ---------- Ana səhifə alt CTA — açıq, oxunaqlı ---------- */
.home-bottom-cta {
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 40%, #e8f4fc 100%);
  border-top: 1px solid rgba(14, 165, 233, 0.14);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  position: relative;
  overflow: hidden;
}

.home-bottom-cta::before {
  content: '';
  position: absolute;
  top: -35%;
  right: -8%;
  width: 48%;
  height: 130%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22) 0%, transparent 62%);
  pointer-events: none;
}

.home-bottom-cta .container {
  position: relative;
  z-index: 1;
}

.home-bottom-cta .section-title {
  color: var(--tt-navy);
}

.home-bottom-cta__lead {
  font-size: 17px;
  line-height: 1.85;
  color: var(--tt-navy-muted);
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.home-bottom-cta .theme-btn.black-btn {
  background: #fff !important;
  color: var(--tt-navy) !important;
  border: 2px solid rgba(15, 23, 42, 0.11) !important;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}

.home-bottom-cta .theme-btn.black-btn:hover {
  border-color: rgba(37, 99, 235, 0.45) !important;
  color: var(--tt-blue) !important;
  background: rgba(255, 255, 255, 0.95) !important;
}

.home-bottom-cta .theme-btn:not(.black-btn):hover {
  box-shadow: 0 14px 34px rgba(35, 73, 130, 0.28);
}

/* ---------- Footer ---------- */
footer[data-background] .footer__widget--title {
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 18px;
}

footer[data-background] .footer__widget--title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--tt-accent), transparent);
}

footer[data-background] .widget__links a,
footer[data-background] .widget__contact a {
  transition: color 0.2s ease, padding-left 0.2s ease;
}

footer[data-background] .widget__links a:hover,
footer[data-background] .widget__contact a:hover {
  color: #93c5fd !important;
  padding-left: 4px;
}

.copyright-area.copyright-border {
  border-top-color: rgba(255, 255, 255, 0.12) !important;
}

.copyright__social a {
  transition: transform 0.2s ease, background 0.2s ease;
}

.copyright__social a:hover {
  transform: translateY(-3px);
}

/* ---------- Əlaqə / kiçik başlıqlar ---------- */
.contact-info-section .site-text-primary,
.box-wraper .site-text-primary {
  font-weight: 700;
}

/* ---------- Dil seçici ---------- */
.language-dropdown {
  border-radius: var(--tt-radius-sm);
  overflow: hidden;
  box-shadow: var(--tt-shadow);
}

/* ---------- Xidmət detalı ---------- */
.service-detail-hero img {
  border-radius: var(--tt-radius);
  box-shadow: var(--tt-shadow);
}

.service-detail-body ul li {
  padding-left: 0.25rem;
}

.service-detail-breadcrumb .breadcrumb {
  background: rgba(248, 250, 252, 0.95);
  padding: 12px 18px;
  border-radius: var(--tt-radius-sm);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

/* ---------- Ana səhifə — brend lentı (köhnə saytdakı kimi) ---------- */
.home-brands-section {
  background: linear-gradient(180deg, #fdfefe 0%, #eef3f9 42%, #f8fafc 100%);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.home-brands-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tt-accent-deep);
  opacity: 0.95;
}

.home-brands-title {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
}

.home-brands-sub {
  font-size: 17px;
  color: var(--tt-navy-muted);
  line-height: 1.75;
  max-width: 700px;
}

.home-brands-bar {
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--tt-radius-lg);
  padding: 26px 12px;
  box-shadow:
    0 8px 32px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.07);
}

.home-brands-section .swiper-slide {
  height: auto;
}

.home-brands-section .brand-wrapper {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  padding: 14px 18px;
}

.home-brands-section .brand-wrapper img {
  max-height: 46px;
  width: auto;
  max-width: min(140px, 100%);
  object-fit: contain;
  opacity: 0.9;
  transition:
    opacity 0.28s ease,
    transform 0.28s ease,
    filter 0.28s ease;
}

.home-brands-section .brand-wrapper:hover img {
  opacity: 1;
  transform: translateY(-2px) scale(1.04);
  filter: saturate(1.08);
}

/* Xidmətlər səhifəsindəki brend karuseli ilə uyğun görünüş */
.brand-area .swiper-slide {
  height: auto;
}

.brand-area .brand-wrapper {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 10px 14px;
}

.brand-area .brand-wrapper img {
  max-height: 42px;
  width: auto;
  max-width: min(130px, 100%);
  object-fit: contain;
  opacity: 0.92;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.brand-area .brand-wrapper:hover img {
  opacity: 1;
  transform: scale(1.05);
}

.home-detail-intro a {
  color: var(--tt-accent-deep);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(35, 73, 130, 0.28);
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.home-detail-intro a:hover {
  color: var(--tt-blue);
  border-bottom-color: rgba(37, 99, 235, 0.45);
}

.home-detail-intro .section-title-wrapper {
  position: relative;
  padding-bottom: 22px;
}

.home-detail-intro .section-title-wrapper::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 72px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--tt-accent), var(--tt-blue));
  opacity: 0.88;
}

/* ---------- Portfolio səhifəsi ---------- */
.portfolio-page-intro + .gallery-area {
  padding-top: 3rem !important;
}

.gallery-area {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  position: relative;
  padding-bottom: 4rem !important;
}

.gallery-area .gallery-active {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1.25rem;
  padding-left: clamp(10px, 2.5vw, 28px);
  padding-right: clamp(10px, 2.5vw, 28px);
  box-sizing: border-box;
}

/* Portfel: Owl əvəzinə şəbəkə — display:none / sıfır hündürlük problemi olmur */
.gallery-area .portfolio-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.65rem, 2vw, 1.15rem);
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 576px) {
  .gallery-area .portfolio-photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .gallery-area .portfolio-photo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.gallery-area .portfolio-photo-grid__cell {
  margin-bottom: 0 !important;
  min-width: 0;
}

/*
 * design2/css/style.css — ümumi .owl-carousel üçün mənfi margin / bottom.
 * Portfel qalereyası növbəti bölmənin (ağ kartlar, başlıq) üstünə sürüşürdü;
 * nöqtələr də mətnin üzərinə düşürdü.
 */
.gallery-area .gallery.owl-carousel {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  bottom: auto !important;
}

.gallery-area .owl-theme .owl-dots {
  margin-top: 1.25rem !important;
  margin-bottom: 0.25rem;
  position: relative;
  z-index: 2;
}

.gallery-area .agallery__img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.1);
  border: 1px solid rgba(35, 73, 130, 0.1);
}

.gallery-area .agallery__img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
  display: block;
}

.gallery-area .agallery__img img[src$='.svg'] {
  object-fit: contain;
  padding: 18%;
  background: linear-gradient(180deg, #f1f5f9 0%, #e8eef8 100%);
}

.gallery-area .agallery__img .img-overlay {
  background: linear-gradient(180deg, rgba(35, 73, 130, 0.05), rgba(35, 73, 130, 0.55));
  opacity: 0;
  transition: opacity 0.28s ease;
}

.gallery-area .agallery__img:hover img {
  transform: scale(1.04);
}

.gallery-area .agallery__img:hover .img-overlay {
  opacity: 1;
}

/* Köhnə şablondakı .aportfolio:hover img — Owl slaydlarında mətn/içəriklə üst-üstə düşməsin */
.gallery-area .aportfolio.agallery:hover img {
  opacity: 1 !important;
}

.portfolio-gallery-hint {
  font-size: 17px;
  line-height: 1.75;
  color: var(--tt-navy-muted);
}

.portfolio-scope {
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%) !important;
  position: relative;
  margin-top: 0;
  clear: both;
  scroll-margin-top: 1rem;
}

.portfolio-scope-card {
  border-radius: var(--tt-radius);
  box-shadow: var(--tt-shadow);
  border: 1px solid rgba(35, 73, 130, 0.1);
  transition:
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.portfolio-scope-card:hover {
  box-shadow: var(--tt-shadow-hover);
  transform: translateY(-3px);
}

.portfolio-process {
  background: #ffffff;
}

.portfolio-process .rounded-circle.grey-bg {
  background: #eaf1ff !important;
  border: 1px solid rgba(35, 73, 130, 0.2);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.07);
}

/* Portfolio siyahısı — əsas layihələr */
.portfolio-page-intro + .portfolio-projects-section {
  padding-top: 0.25rem !important;
}

.portfolio-list-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(35, 73, 130, 0.1);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.portfolio-list-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(35, 73, 130, 0.16);
}

.portfolio-list-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.portfolio-list-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.portfolio-list-card:hover .portfolio-list-card__media img {
  transform: scale(1.06);
}

.portfolio-list-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(15, 23, 42, 0.55) 100%);
  pointer-events: none;
}

.portfolio-list-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 0.35rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(35, 73, 130, 0.92);
  border-radius: 8px;
}

.portfolio-list-card__year {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 0.3rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
}

.portfolio-list-card__body {
  padding: 1.35rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.portfolio-list-card__location {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #2563eb;
}

.portfolio-list-card__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.35;
  font-weight: 700;
}

.portfolio-list-card__title a {
  color: #0f172a;
  text-decoration: none;
}

.portfolio-list-card__excerpt {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
  flex: 1;
}

.portfolio-list-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  color: #234982;
  text-decoration: none;
}

/* Layihə detalı — şəkil uzun açılmasın */
.portfolio-detail-hero__media {
  aspect-ratio: 4 / 3;
  max-height: min(420px, 52vh);
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.14);
  background: #0f172a;
}

.portfolio-detail-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.portfolio-detail-meta {
  font-size: 0.95rem;
  color: #475569;
}

.portfolio-detail-list {
  font-size: 17px;
  line-height: 1.8;
}

.portfolio-detail-closing {
  font-size: 17px;
  line-height: 1.75;
}

/* Mobil — mobile-polish.css */
