/* Light theme refinement. This file is intentionally isolated from dark mode. */
html[data-theme="light"]{
  color-scheme:light;
  --bg:#f3f7fc;
  --bg-2:#eaf1f9;
  --panel:#ffffff;
  --panel-2:#f8fbff;
  --panel-3:#eef5fd;
  --accent:#0789e8;
  --accent-2:#086dbb;
  --text:#10243d;
  --muted:#5d7189;
  --line:rgba(16,36,61,.09);
  --line-strong:rgba(7,137,232,.20);
  --shadow:0 22px 58px rgba(32,62,98,.10),0 2px 8px rgba(32,62,98,.04);
}

html[data-theme="light"] body.lux-theme{
  background:
    radial-gradient(circle at 9% 4%,rgba(42,164,244,.13),transparent 24rem),
    radial-gradient(circle at 91% 10%,rgba(98,218,235,.13),transparent 22rem),
    linear-gradient(180deg,#fbfdff 0,#f4f8fd 38%,#edf4fb 100%);
}
html[data-theme="light"] body.lux-theme::before{
  background-image:
    linear-gradient(rgba(29,67,105,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(29,67,105,.025) 1px,transparent 1px);
  background-size:72px 72px;
  opacity:.52;
  mask-image:linear-gradient(to bottom,#000,transparent 72%);
}

/* Calm glass header with clearer navigation contrast. */
html[data-theme="light"] body.lux-theme .header{
  background:rgba(250,253,255,.86)!important;
  border-bottom-color:rgba(18,50,82,.075)!important;
  box-shadow:0 10px 34px rgba(26,55,89,.075)!important;
  backdrop-filter:blur(20px) saturate(1.25);
  -webkit-backdrop-filter:blur(20px) saturate(1.25);
}
html[data-theme="light"] body.lux-theme #nav li>a{
  color:#314b67!important;
  text-shadow:none;
}
html[data-theme="light"] body.lux-theme #nav li:hover>a{color:#087acb!important;}
html[data-theme="light"] body.lux-theme #nav li span,
html[data-theme="light"] body.lux-theme .lang-menu{
  background:rgba(255,255,255,.96)!important;
  border-color:rgba(18,50,82,.09)!important;
  box-shadow:0 24px 60px rgba(25,54,88,.14)!important;
  backdrop-filter:blur(18px);
}
html[data-theme="light"] body.lux-theme .lang-current,
html[data-theme="light"] body.lux-theme .theme-toggle{
  background:rgba(255,255,255,.82)!important;
  border-color:rgba(18,50,82,.10)!important;
  box-shadow:0 8px 24px rgba(29,60,95,.08)!important;
}
html[data-theme="light"] body.lux-theme .lang-current:hover,
html[data-theme="light"] body.lux-theme .theme-toggle:hover{
  border-color:rgba(7,137,232,.24)!important;
  box-shadow:0 12px 28px rgba(29,80,125,.12)!important;
}

/* Compact, recognisable sun/moon theme control. */
body.lux-theme .theme-switch{position:absolute;top:24px;right:292px;z-index:6001;display:flex;order:2;}
body.lux-theme .theme-toggle{
  width:44px;min-width:44px;height:44px;min-height:44px;justify-content:center;padding:0;cursor:pointer;
  border-radius:50%;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.10);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 10px 24px rgba(0,7,18,.16);
}
body.lux-theme .mobile-menu-button{order:3;}
body.lux-theme .theme-toggle-track{
  position:relative;display:grid;place-items:center;width:24px;height:24px;padding:0;border:0;background:transparent;
}
body.lux-theme .theme-toggle-icon{
  grid-area:1/1;position:relative;z-index:2;width:19px;height:19px;fill:none;stroke:currentColor;
  stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .24s ease,opacity .2s ease;
}
body.lux-theme .theme-toggle-thumb,body.lux-theme .theme-toggle-label{display:none;}
body.lux-theme .theme-toggle[data-mode="dark"] .theme-toggle-icon--moon{opacity:0;transform:rotate(-30deg) scale(.55);}
body.lux-theme .theme-toggle[data-mode="light"] .theme-toggle-icon--sun{opacity:0;transform:rotate(30deg) scale(.55);}
body.lux-theme .theme-toggle[data-mode="dark"] .theme-toggle-icon--sun{color:#ffd36b;opacity:1;}
body.lux-theme .theme-toggle[data-mode="light"] .theme-toggle-icon--moon{color:#426da8!important;opacity:1;}
body.lux-theme .theme-toggle:hover{transform:translateY(-2px) rotate(2deg);}
html[data-theme="light"] body.lux-theme .theme-toggle{background:rgba(255,255,255,.88)!important;}
html[data-theme="light"] body.lux-theme .theme-toggle-track{background:transparent;border:0;}

/* Shared white surfaces gain depth without changing component geometry. */
html[data-theme="light"] body.lux-theme :is(
  .service-hero-card,.service-feature-card,.service-block-card,.service-tech-card,
  .service-cta-card,.service-side-panel,.service-stat-box,.advantage-pro-card,
  .news-card-pro,.news-feature,.news-stat-card,.pops-card,.pops-hero-card,
  .pops-stat-box,.topology-hero-card,.topology-stage-card,.topology-feature-card,
  .policy-overview,.policy-stat-card,.policy-section,.policy-rule-card,
  .privacy-content-card,.privacy-hero-card,.privacy-side-card,.privacy-stat-card,
  .about-v2-story-card,.about-v2-pillar-card,.about-v2-mini-card,.about-v2-cta-card,
  .partners-hero-card,.partners-benefit-card,.partners-opportunity,.partners-stat-card,
  .contact-v2-form-card,.contact-v2-location-card,.contact-v2-map-card,
  .apply-form-card,.apply-side-card,.article-hero-card,.article-body-card,
  .article-sticky-card,.related-strip,.members-table-card,.members-stat-card
){
  background:
    radial-gradient(circle at 100% 0,rgba(58,178,245,.055),transparent 32%),
    linear-gradient(145deg,rgba(255,255,255,.99),rgba(246,250,255,.97))!important;
  border-color:rgba(18,50,82,.085)!important;
  box-shadow:var(--shadow)!important;
}

html[data-theme="light"] body.lux-theme :is(
  .service-feature-card,.service-tech-card,.advantage-pro-card,.news-card-pro,
  .pops-card,.topology-feature-card,.partners-benefit-card,.about-v2-mini-card
){transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease;}
html[data-theme="light"] body.lux-theme :is(
  .service-feature-card,.service-tech-card,.advantage-pro-card,.news-card-pro,
  .pops-card,.topology-feature-card,.partners-benefit-card,.about-v2-mini-card
):hover{
  transform:translateY(-4px);
  border-color:rgba(7,137,232,.18)!important;
  box-shadow:0 28px 68px rgba(29,67,108,.14),0 4px 12px rgba(29,67,108,.05)!important;
}

html[data-theme="light"] body.lux-theme .page-title,
html[data-theme="light"] body.lux-theme .service-page-title,
html[data-theme="light"] body.lux-theme .service-block-card h2,
html[data-theme="light"] body.lux-theme .service-feature-card strong,
html[data-theme="light"] body.lux-theme .service-tech-card strong,
html[data-theme="light"] body.lux-theme .service-side-panel strong,
html[data-theme="light"] body.lux-theme .service-stat-box strong{
  color:#102b48!important;
}
html[data-theme="light"] body.lux-theme :is(
  .page-about,.service-page-about,.service-feature-card p,.service-block-card p,
  .service-tech-card p,.service-side-panel p,.service-stat-box span
){color:#60758c!important;}
html[data-theme="light"] body.lux-theme :is(
  .service-check-list li,.service-bullet-list li,.service-advantage-list li
){color:#284762!important;}
html[data-theme="light"] body.lux-theme :is(
  .service-kicker,.service-block-label,.service-tech-card small,.service-side-panel small
){color:#0879c8!important;}
html[data-theme="light"] body.lux-theme .service-feature-icon{
  background:linear-gradient(145deg,rgba(7,137,232,.11),rgba(92,210,238,.09))!important;
  border-color:rgba(7,137,232,.17)!important;
  color:#0879c8!important;
}

/* Keep photographic heroes cinematic; brighten the surrounding transition. */
html[data-theme="light"] body.lux-theme .sub-hero{
  border-bottom-color:rgba(18,50,82,.08)!important;
  box-shadow:inset 0 -32px 90px rgba(3,18,34,.16),0 16px 42px rgba(27,57,91,.08)!important;
}
html[data-theme="light"] body.lux-theme .sub-hero+.service-page-v2{
  background:linear-gradient(180deg,rgba(255,255,255,.28),transparent 14rem);
}

/* Buttons: crisp primary, quiet secondary. */
html[data-theme="light"] body.lux-theme .button:not(.button-secondary),
html[data-theme="light"] body.lux-theme .hero-btn.primary{
  color:#fff!important;
  background:linear-gradient(135deg,#0b91ed 0,#0874c9 100%)!important;
  box-shadow:0 14px 30px rgba(8,123,207,.22)!important;
}
html[data-theme="light"] body.lux-theme .button:not(.button-secondary):hover,
html[data-theme="light"] body.lux-theme .hero-btn.primary:hover{
  background:linear-gradient(135deg,#0785dc 0,#0665b3 100%)!important;
  box-shadow:0 18px 38px rgba(8,112,190,.27)!important;
}
html[data-theme="light"] body.lux-theme .button-secondary{
  color:#17679f!important;
  background:rgba(255,255,255,.86)!important;
  border:1px solid rgba(16,80,125,.14)!important;
  box-shadow:0 10px 25px rgba(30,67,103,.08)!important;
}

/* Footer stays recognisably TurkIX, with a softer light-mode bridge. */
html[data-theme="light"] body.lux-theme .footer-connect{
  background:linear-gradient(180deg,rgba(238,245,252,.72),#e8f1fa)!important;
  border-top:1px solid rgba(18,50,82,.07);
}
html[data-theme="light"] body.lux-theme .footer-wrap{
  background:
    radial-gradient(circle at 85% 10%,rgba(33,168,226,.14),transparent 30%),
    linear-gradient(155deg,#102c47 0,#0a2036 55%,#071a2d 100%)!important;
}
html[data-theme="light"] body.lux-theme .footer-wrap :is(.footer-title,.footer-links a,.copyright,.copyright a){color:#dbe8f5!important;}

@media (max-width:1023px){
  body.lux-theme .theme-switch{position:static;top:auto;right:auto;margin:0;}
  body.lux-theme .theme-toggle{min-width:42px;width:42px;height:42px;padding:0!important;}
  body.lux-theme .theme-toggle-track{width:24px;overflow:visible;}
  html[data-theme="light"] body.lux-theme .mobile-menu-button{
    background:rgba(255,255,255,.88)!important;
    border-color:rgba(18,50,82,.10)!important;
  }
  html[data-theme="light"] body.lux-theme .mobile-menu-button span,
  html[data-theme="light"] body.lux-theme .mobile-menu-button span::before,
  html[data-theme="light"] body.lux-theme .mobile-menu-button span::after{background:#173b5d!important;}
  html[data-theme="light"] body.lux-theme .mobile-menu-button.is-open span{background:transparent!important;}
}

@media (prefers-reduced-motion:reduce){
  html[data-theme="light"] body.lux-theme *{scroll-behavior:auto!important;}
  html[data-theme="light"] body.lux-theme :is(.service-feature-card,.service-tech-card,.advantage-pro-card,.news-card-pro,.pops-card){transition:none!important;}
}
