/* GERCEK V139 - active category contrast and one SVG family site-wide.
   Deliberately scoped: V138 card sizing, hover sweep, photos and catalog stay unchanged. */
#services.v138-services .v116-tab.is-active,
#services.v138-services .v116-tab[aria-selected="true"],
#services.v138-services .v116-tab.is-active:hover,
#services.v138-services .v116-tab.is-active:focus-visible {
  background:linear-gradient(112deg,#0876cc 0%,#0756a8 100%) !important;
  color:#fff !important;
  border-color:#0760b2 !important;
  box-shadow:0 4px 12px rgba(7,86,168,.17) !important;
}
#services.v138-services .v116-tab.is-active .v116-tab-label,
#services.v138-services .v116-tab.is-active .v116-tab-label span {color:#fff !important;}
#services.v138-services .v116-tab.is-active .v116-tab-icon {
  background:#fff !important;
  border:0 !important;
  border-radius:8px !important;
  box-shadow:none !important;
}
#services.v138-services .v116-tab.is-active .v116-tab-icon img.gb137-icon {
  width:28px !important;height:28px !important;
  object-fit:contain !important;filter:none !important;opacity:1 !important;
}
#services.v138-services .v116-tab.is-active::after {border-color:#fff !important;opacity:.95 !important;}
#services.v138-services .v116-tab:not(.is-active):hover {background:#edf6fd !important;}
#services.v138-services .v116-tab:focus-visible {outline:3px solid #78beed;outline-offset:3px;}
@media(min-width:861px) and (max-width:1160px) {
 #services.v138-services .v116-tab.is-active .v116-tab-icon img.gb137-icon {width:25px !important;height:25px !important;}
}
/* Shared service icons: square viewBox, no stretch, raster fallback or blur filter. */
img.gb139-icon {
 display:block !important;width:32px !important;height:32px !important;
 max-width:100%;max-height:none !important;object-fit:contain !important;
 aspect-ratio:1 !important;flex-shrink:0 !important;filter:none !important;
 opacity:1 !important;transform:none !important;border-radius:0 !important;
}
.gb139-nav .v89-nav-icon img.gb139-icon {width:27px !important;height:27px !important;}
.gb139-nav .v36-mega-heading>span:first-child,
.gb139-nav .v97-group-toggle>span:first-child {
 display:grid !important;place-items:center;width:34px !important;height:34px !important;
 flex:0 0 34px !important;background:#fff !important;border:0 !important;
 border-radius:8px;box-shadow:none !important;
}
.gb139-nav .v36-mega-heading img.gb139-icon,
.gb139-nav .v97-group-toggle img.gb139-icon {width:30px !important;height:30px !important;}
.gb139-nav .v36-mega-heading {gap:9px;align-items:center;}
.gb139-nav .v97-mega-list a.gb139-service-link {
 display:flex !important;align-items:center !important;gap:8px;
 min-width:0;white-space:normal !important;line-height:1.4;
}
.gb139-nav .gb139-nav-service-icon {display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;}
.gb139-nav .gb139-nav-service-icon img.gb139-icon {width:25px !important;height:25px !important;}
.gb139-nav .gb139-nav-service-label {min-width:0;flex:1;overflow-wrap:anywhere;}
.gb139-nav .v97-mega-list a.gb139-service-link::before {content:none !important;display:none !important;}
.gb139-nav .v97-group-toggle[aria-expanded="true"],
.gb139-nav .v36-mega-heading[aria-current="true"] {
 background:linear-gradient(112deg,#0876cc,#0756a8) !important;
 color:#fff !important;border-color:#0760b2 !important;box-shadow:none !important;
}
.gb139-nav .v97-group-toggle[aria-expanded="true"] strong,
.gb139-nav .v97-group-toggle[aria-expanded="true"] .v97-plus {color:#fff !important;}
.gb139-nav .v97-mega-list a.gb139-service-link[aria-current="page"] {
 background:#e6f2fc !important;color:#065caa !important;font-weight:750;
}
/* Correct old PNG dimensions at existing icon outlets; do not change photos/layout. */
#services-showcase .v128-home-service-icon {
 display:grid;place-items:center;background:none !important;border:0 !important;
}
#services-showcase .v128-home-service-icon img.gb139-icon {width:34px !important;height:34px !important;max-height:none !important;}
.v97-related-icon img.gb139-icon {width:30px !important;height:30px !important;max-height:none !important;}
.v72-service-path .v128-detail-service-icon img.gb139-icon {width:28px !important;height:28px !important;max-height:none !important;}
.v43-side-icon img.gb139-icon {width:30px !important;height:30px !important;}
.v34-quote-page .v106-item img.v128-quote-service-icon {
 width:28px !important;height:28px !important;max-height:none !important;
 flex:0 0 28px !important;object-fit:contain !important;filter:none !important;
}
@media(max-width:860px) {
 /* Do not inherit desktop hiding rules when the mobile accordion is expanded. */
 .gb139-nav .v36-services-menu:not(.is-expanded) .v36-mega {display:none !important;}
 .gb139-nav .v36-services-menu.is-expanded .v36-mega {
  display:block !important;position:static !important;opacity:1 !important;
  visibility:visible !important;pointer-events:auto !important;transform:none !important;
  height:auto !important;max-height:none !important;overflow:visible !important;
 }
 .gb139-nav .v36-mega-grid {grid-template-columns:minmax(0,1fr) !important;}
 .gb139-nav .v97-group-toggle {grid-template-columns:34px minmax(0,1fr) 14px !important;gap:9px;}
 .gb139-nav .v97-mega-list[hidden] {display:none !important;}
 .gb139-nav .v97-mega-list:not([hidden]) {display:block !important;}
 .gb139-nav .v97-mega-list a.gb139-service-link {min-height:44px;}
 #services-showcase .v128-home-service-icon img.gb139-icon {width:31px !important;height:31px !important;}
}
@media(prefers-reduced-motion:reduce) {
 #services.v138-services .v116-tab {transition:none !important;}
}

/* GERCEK V140 - selected icon surfaces follow the dark category tile.
   Normal icon files, glyph geometry, layout and V138 service cards are untouched.
   The original decorative IMG keeps its layout; a same-size SVG colorway is
   painted only on the selected icon container. No blur/filter or white tile. */
#v116-tab-yonetilen-bt,
.gb139-nav [data-gb139-category="yonetilen-bt"] {
 --gb140-selected-icon:url("../icons/services-v140/selected/yonetilen-bt.svg");
}
#v116-tab-sistem-bulut,
.gb139-nav [data-gb139-category="sistem-bulut"] {
 --gb140-selected-icon:url("../icons/services-v140/selected/sistem-bulut.svg");
}
#v116-tab-ag-guvenlik,
.gb139-nav [data-gb139-category="ag-guvenlik"] {
 --gb140-selected-icon:url("../icons/services-v140/selected/ag-guvenlik.svg");
}
#v116-tab-iletisim-saha,
.gb139-nav [data-gb139-category="iletisim-saha"] {
 --gb140-selected-icon:url("../icons/services-v140/selected/iletisim-saha.svg");
}

#services.v138-services :is(#v116-tab-yonetilen-bt,#v116-tab-sistem-bulut,#v116-tab-ag-guvenlik,#v116-tab-iletisim-saha):is(.is-active,[aria-selected="true"]) .v116-tab-icon {
 background:transparent var(--gb140-selected-icon) center / 28px 28px no-repeat !important;
 border:0 !important;
 box-shadow:none !important;
 border-radius:0 !important;
}
#services.v138-services :is(#v116-tab-yonetilen-bt,#v116-tab-sistem-bulut,#v116-tab-ag-guvenlik,#v116-tab-iletisim-saha):is(.is-active,[aria-selected="true"]) .v116-tab-icon img.gb137-category-icon {
 opacity:0 !important;
 filter:none !important;
}
.gb139-nav :is([data-gb139-category="yonetilen-bt"],[data-gb139-category="sistem-bulut"],[data-gb139-category="ag-guvenlik"],[data-gb139-category="iletisim-saha"]) :is(.v36-mega-heading[aria-current="true"],.v97-group-toggle[aria-expanded="true"]) > span:first-child {
 background:transparent var(--gb140-selected-icon) center / 30px 30px no-repeat !important;
 border:0 !important;
 border-radius:0 !important;
 box-shadow:none !important;
}
.gb139-nav :is([data-gb139-category="yonetilen-bt"],[data-gb139-category="sistem-bulut"],[data-gb139-category="ag-guvenlik"],[data-gb139-category="iletisim-saha"]) :is(.v36-mega-heading[aria-current="true"],.v97-group-toggle[aria-expanded="true"]) > span:first-child img.gb139-category-icon {
 opacity:0 !important;
 filter:none !important;
}
@media(min-width:861px) and (max-width:1160px) {
 #services.v138-services :is(#v116-tab-yonetilen-bt,#v116-tab-sistem-bulut,#v116-tab-ag-guvenlik,#v116-tab-iletisim-saha):is(.is-active,[aria-selected="true"]) .v116-tab-icon {background-size:25px 25px !important;}
}
