/* ==========================================================
   Anatolia System — ana sayfa banner ışık animasyonu (v2)
   Efektler yalnızca görselin sağ tarafında çalışır; soldaki yazı alanı (%0–50) hareketsiz kalır.
   Görsel : /anatoliabannerpc2.jpg  (1987×791)
   Maskeler: /assets/base/img/banner-isik-maskesi.png (ışık yolları), /assets/base/img/banner-kure-maskesi.png (küre)
   Görsel "object-fit: cover" ile kırpılsa bile katmanlar hizalı kalır.
   ========================================================== */
@property --as-r{syntax:'<percentage>';inherits:false;initial-value:0%;}
@property --as-a{syntax:'<angle>';inherits:false;initial-value:0deg;}

.as-banner-fx{position:relative;overflow:hidden;}
.as-banner-fx>img{display:block;}
.as-banner-fx .as-fx{position:absolute;inset:0;pointer-events:none;z-index:1;container-type:size;}
/* Başlığın kendi konumuna dokunulmaz; sadece ışıkların üstünde kalır */
.as-banner-fx .as-home-hero__title{z-index:2;}

/* Görselin kopyası; yalnızca maskedeki ışıklı yerlerde görünür */
.as-banner-fx .as-fx-flow,
.as-banner-fx .as-fx-breath,
.as-banner-fx .as-fx-globe,
.as-banner-fx .as-fx-scan{
  position:absolute;inset:0;
  background:url(/anatoliabannerpc2.jpg) center/cover no-repeat;
  mix-blend-mode:screen;
}

/* 1) Ufuktaki kaynaktan yollar boyunca dışa doğru akan ışık dalgaları */
.as-banner-fx .as-fx-flow{
  -webkit-mask-image:url(/assets/base/img/banner-isik-maskesi.png),repeating-radial-gradient(circle at 62.00% 57.14%,transparent 0,transparent calc(var(--as-r) + 0%),#000 calc(var(--as-r) + 3%),transparent calc(var(--as-r) + 6%),transparent calc(var(--as-r) + 22%)),linear-gradient(90deg,transparent 0%,transparent 50%,#000 58%);
          mask-image:url(/assets/base/img/banner-isik-maskesi.png),repeating-radial-gradient(circle at 62.00% 57.14%,transparent 0,transparent calc(var(--as-r) + 0%),#000 calc(var(--as-r) + 3%),transparent calc(var(--as-r) + 6%),transparent calc(var(--as-r) + 22%)),linear-gradient(90deg,transparent 0%,transparent 50%,#000 58%);
  -webkit-mask-size:cover,cover,100% 100%;mask-size:cover,cover,100% 100%;
  -webkit-mask-position:center;mask-position:center;
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  -webkit-mask-composite:source-in,source-in;mask-composite:intersect,intersect;
  filter:brightness(2.1) saturate(1.5);
  animation:as-fx-wave 3.2s linear infinite;
}
@keyframes as-fx-wave{from{--as-r:0%;}to{--as-r:22%;}}

/* 2) Yollar üzerinde ilerleyen ışık hüzmeleri */
.as-banner-fx .as-fx-paths{position:absolute;inset:0;width:100%;height:100%;overflow:visible;-webkit-mask-image:linear-gradient(90deg,transparent 0%,transparent 50%,#000 58%);mask-image:linear-gradient(90deg,transparent 0%,transparent 50%,#000 58%);
  filter:drop-shadow(0 0 4px rgba(140,200,255,.95)) drop-shadow(0 0 12px rgba(60,140,255,.8));}
.as-banner-fx .as-comet{
  fill:none;stroke:#f2fbff;stroke-width:4.2;stroke-linecap:round;stroke-linejoin:round;
  stroke-dasharray:85 915;stroke-dashoffset:1000;
  animation:as-fx-comet 4.5s linear infinite;
}
@keyframes as-fx-comet{
  0%{stroke-dashoffset:1000;opacity:0;}
  8%{opacity:1;}
  88%{opacity:1;}
  100%{stroke-dashoffset:0;opacity:0;}
}

/* 3) Işık katmanının hafifçe nefes alması */
.as-banner-fx .as-fx-breath{
  -webkit-mask-image:url(/assets/base/img/banner-isik-maskesi.png),linear-gradient(90deg,transparent 0%,transparent 50%,#000 58%);mask-image:url(/assets/base/img/banner-isik-maskesi.png),linear-gradient(90deg,transparent 0%,transparent 50%,#000 58%);-webkit-mask-size:cover,100% 100%;mask-size:cover,100% 100%;-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-composite:source-in;mask-composite:intersect;
  filter:brightness(1.3) blur(1.5px);
  opacity:0;animation:as-fx-breath 4s ease-in-out infinite;
}
@keyframes as-fx-breath{0%,100%{opacity:0;}50%{opacity:.5;}}

/* 4) Sağ üstteki küre: güçlü parlama + dönen tarama ışığı */
.as-banner-fx .as-fx-globe{
  -webkit-mask-image:url(/assets/base/img/banner-kure-maskesi.png),linear-gradient(90deg,transparent 0%,transparent 50%,#000 58%);mask-image:url(/assets/base/img/banner-kure-maskesi.png),linear-gradient(90deg,transparent 0%,transparent 50%,#000 58%);-webkit-mask-size:cover,100% 100%;mask-size:cover,100% 100%;-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-composite:source-in;mask-composite:intersect;
  filter:brightness(2.2) saturate(1.6) blur(.6px);
  opacity:.25;animation:as-fx-globe 3s ease-in-out infinite;
}
@keyframes as-fx-globe{0%,100%{opacity:.25;}50%{opacity:1;}}
.as-banner-fx .as-fx-scan{
  -webkit-mask-image:url(/assets/base/img/banner-kure-maskesi.png),conic-gradient(from var(--as-a) at 90.59% 24.65%,transparent 0deg,transparent 250deg,#000 330deg,#fff 356deg,transparent 360deg),linear-gradient(90deg,transparent 0%,transparent 50%,#000 58%);
          mask-image:url(/assets/base/img/banner-kure-maskesi.png),conic-gradient(from var(--as-a) at 90.59% 24.65%,transparent 0deg,transparent 250deg,#000 330deg,#fff 356deg,transparent 360deg),linear-gradient(90deg,transparent 0%,transparent 50%,#000 58%);
  -webkit-mask-size:cover,cover,100% 100%;mask-size:cover,cover,100% 100%;
  -webkit-mask-position:center;mask-position:center;
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  -webkit-mask-composite:source-in,source-in;mask-composite:intersect,intersect;
  filter:brightness(3) saturate(1.8);
  animation:as-fx-scan 6s linear infinite;
}
@keyframes as-fx-scan{from{--as-a:0deg;}to{--as-a:360deg;}}

/* 5) Görselle aynı oranda, "cover" gibi ortalanmış sahne (noktalar + güneş) */
.as-banner-fx .as-fx-stage{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  width:max(100cqw, calc(100cqh * 1987 / 791));aspect-ratio:1987/791;
}
.as-banner-fx .as-spark{
  position:absolute;transform:translate(-50%,-50%) scale(.4);border-radius:50%;
  background:radial-gradient(circle,#fff 0%,#bfe0ff 35%,rgba(80,160,255,0) 70%);
  box-shadow:0 0 12px 4px rgba(90,170,255,.6);
  opacity:0;animation:as-fx-twinkle 3s ease-in-out infinite;
}
@keyframes as-fx-twinkle{0%,100%{opacity:0;transform:translate(-50%,-50%) scale(.4);}45%{opacity:1;transform:translate(-50%,-50%) scale(1.2);}60%{opacity:.85;}}
.as-banner-fx .as-fx-sun{
  position:absolute;left:61.65%;top:46.3%;width:16%;aspect-ratio:1;transform:translate(-50%,-50%);
  border-radius:50%;
  background:radial-gradient(circle,rgba(255,236,170,.55) 0%,rgba(255,190,90,.25) 30%,rgba(255,160,60,0) 65%);
  mix-blend-mode:screen;animation:as-fx-sun 6s ease-in-out infinite;
}
@keyframes as-fx-sun{0%,100%{opacity:.35;transform:translate(-50%,-50%) scale(.92);}50%{opacity:.85;transform:translate(-50%,-50%) scale(1.06);}}

/* Hareket hassasiyeti olan kullanıcılar: animasyon yok */
@media (prefers-reduced-motion:reduce){.as-banner-fx .as-fx{display:none;}}

/* Işık hüzmesi süreleri */
.as-banner-fx .as-comet:nth-of-type(1){animation-duration:4.57s;animation-delay:-0.22s;}
.as-banner-fx .as-comet:nth-of-type(2){animation-duration:4.57s;animation-delay:-1.89s;}
.as-banner-fx .as-comet:nth-of-type(3){animation-duration:4.57s;animation-delay:-3.23s;}
.as-banner-fx .as-comet:nth-of-type(4){animation-duration:4.66s;animation-delay:-0.23s;}
.as-banner-fx .as-comet:nth-of-type(5){animation-duration:4.66s;animation-delay:-1.63s;}
.as-banner-fx .as-comet:nth-of-type(6){animation-duration:4.66s;animation-delay:-3.31s;}
.as-banner-fx .as-comet:nth-of-type(7){animation-duration:4.87s;animation-delay:-0.32s;}
.as-banner-fx .as-comet:nth-of-type(8){animation-duration:4.87s;animation-delay:-1.66s;}
.as-banner-fx .as-comet:nth-of-type(9){animation-duration:4.87s;animation-delay:-3.37s;}
.as-banner-fx .as-comet:nth-of-type(10){animation-duration:2.69s;animation-delay:-0.32s;}
.as-banner-fx .as-comet:nth-of-type(11){animation-duration:2.69s;animation-delay:-1.62s;}
.as-banner-fx .as-comet:nth-of-type(12){animation-duration:2.64s;animation-delay:-0.39s;}
.as-banner-fx .as-comet:nth-of-type(13){animation-duration:2.64s;animation-delay:-1.71s;}
.as-banner-fx .as-comet:nth-of-type(14){animation-duration:3.25s;animation-delay:-0.25s;}
.as-banner-fx .as-comet:nth-of-type(15){animation-duration:3.25s;animation-delay:-1.69s;}

/* Nokta konumları (görseldeki gerçek ışık noktaları; son 26 tanesi kürede) */
.as-banner-fx .as-spark:nth-of-type(1){left:92.40%;top:10.49%;width:6px;height:6px;animation-delay:0.06s;animation-duration:3.26s;}
.as-banner-fx .as-spark:nth-of-type(2){left:99.45%;top:12.64%;width:10px;height:10px;animation-delay:0.14s;animation-duration:3.96s;}
.as-banner-fx .as-spark:nth-of-type(3){left:88.37%;top:15.30%;width:8px;height:8px;animation-delay:0.12s;animation-duration:3.13s;}
.as-banner-fx .as-spark:nth-of-type(4){left:83.90%;top:24.53%;width:6px;height:6px;animation-delay:2.36s;animation-duration:2.59s;}
.as-banner-fx .as-spark:nth-of-type(5){left:82.54%;top:32.36%;width:10px;height:10px;animation-delay:2.56s;animation-duration:3.2s;}
.as-banner-fx .as-spark:nth-of-type(6){left:67.64%;top:42.48%;width:8px;height:8px;animation-delay:0.34s;animation-duration:3.51s;}
.as-banner-fx .as-spark:nth-of-type(7){left:81.48%;top:51.83%;width:6px;height:6px;animation-delay:3.99s;animation-duration:4.19s;}
.as-banner-fx .as-spark:nth-of-type(8){left:62.30%;top:57.27%;width:6px;height:6px;animation-delay:2.83s;animation-duration:2.83s;}
.as-banner-fx .as-spark:nth-of-type(9){left:62.36%;top:57.27%;width:10px;height:10px;animation-delay:2.05s;animation-duration:2.26s;}
.as-banner-fx .as-spark:nth-of-type(10){left:72.72%;top:59.92%;width:8px;height:8px;animation-delay:3.07s;animation-duration:3.0s;}
.as-banner-fx .as-spark:nth-of-type(11){left:68.95%;top:78.89%;width:6px;height:6px;animation-delay:0.0s;animation-duration:2.62s;}
.as-banner-fx .as-spark:nth-of-type(12){left:69.00%;top:78.89%;width:8px;height:8px;animation-delay:1.88s;animation-duration:4.16s;}
.as-banner-fx .as-spark:nth-of-type(13){left:82.89%;top:80.91%;width:6px;height:6px;animation-delay:1.68s;animation-duration:3.33s;}
.as-banner-fx .as-spark:nth-of-type(14){left:82.94%;top:81.04%;width:6px;height:6px;animation-delay:3.11s;animation-duration:2.74s;}
.as-banner-fx .as-spark:nth-of-type(15){left:60.29%;top:82.81%;width:8px;height:8px;animation-delay:1.24s;animation-duration:2.23s;}
.as-banner-fx .as-spark:nth-of-type(16){left:63.56%;top:86.98%;width:6px;height:6px;animation-delay:3.03s;animation-duration:2.44s;}
.as-banner-fx .as-spark:nth-of-type(17){left:71.06%;top:90.14%;width:8px;height:8px;animation-delay:2.83s;animation-duration:2.22s;}
.as-banner-fx .as-spark:nth-of-type(18){left:84.45%;top:90.77%;width:10px;height:10px;animation-delay:3.19s;animation-duration:2.56s;}
.as-banner-fx .as-spark:nth-of-type(19){left:76.80%;top:90.90%;width:10px;height:10px;animation-delay:0.75s;animation-duration:3.22s;}
.as-banner-fx .as-spark:nth-of-type(20){left:93.66%;top:91.66%;width:8px;height:8px;animation-delay:3.08s;animation-duration:3.04s;}
.as-banner-fx .as-spark:nth-of-type(21){left:73.73%;top:92.29%;width:6px;height:6px;animation-delay:0.47s;animation-duration:3.04s;}
.as-banner-fx .as-spark:nth-of-type(22){left:65.17%;top:93.43%;width:10px;height:10px;animation-delay:0.0s;animation-duration:3.93s;}
.as-banner-fx .as-spark:nth-of-type(23){left:73.28%;top:94.82%;width:6px;height:6px;animation-delay:1.22s;animation-duration:3.97s;}
.as-banner-fx .as-spark:nth-of-type(24){left:69.25%;top:96.46%;width:10px;height:10px;animation-delay:0.75s;animation-duration:4.19s;}
.as-banner-fx .as-spark:nth-of-type(25){left:79.67%;top:98.10%;width:6px;height:6px;animation-delay:2.57s;animation-duration:2.4s;}
.as-banner-fx .as-spark:nth-of-type(26){left:84.90%;top:99.62%;width:10px;height:10px;animation-delay:0.85s;animation-duration:2.72s;}
.as-banner-fx .as-spark:nth-of-type(27){left:92.40%;top:3.41%;width:8px;height:8px;animation-delay:1.32s;animation-duration:2.33s;}
.as-banner-fx .as-spark:nth-of-type(28){left:88.78%;top:5.31%;width:12px;height:12px;animation-delay:0.3s;animation-duration:2.18s;}
.as-banner-fx .as-spark:nth-of-type(29){left:96.78%;top:5.31%;width:10px;height:10px;animation-delay:0.97s;animation-duration:2.88s;}
.as-banner-fx .as-spark:nth-of-type(30){left:96.78%;top:5.44%;width:12px;height:12px;animation-delay:2.49s;animation-duration:2.03s;}
.as-banner-fx .as-spark:nth-of-type(31){left:90.59%;top:7.08%;width:10px;height:10px;animation-delay:1.93s;animation-duration:2.83s;}
.as-banner-fx .as-spark:nth-of-type(32){left:95.87%;top:7.71%;width:8px;height:8px;animation-delay:0.73s;animation-duration:2.08s;}
.as-banner-fx .as-spark:nth-of-type(33){left:92.40%;top:10.49%;width:8px;height:8px;animation-delay:3.27s;animation-duration:2.25s;}
.as-banner-fx .as-spark:nth-of-type(34){left:99.45%;top:12.64%;width:12px;height:12px;animation-delay:0.63s;animation-duration:2.93s;}
.as-banner-fx .as-spark:nth-of-type(35){left:88.37%;top:15.30%;width:10px;height:10px;animation-delay:0.79s;animation-duration:3.51s;}
.as-banner-fx .as-spark:nth-of-type(36){left:85.71%;top:15.93%;width:8px;height:8px;animation-delay:2.41s;animation-duration:2.56s;}
.as-banner-fx .as-spark:nth-of-type(37){left:93.96%;top:15.93%;width:10px;height:10px;animation-delay:0.44s;animation-duration:2.72s;}
.as-banner-fx .as-spark:nth-of-type(38){left:99.65%;top:17.70%;width:10px;height:10px;animation-delay:0.95s;animation-duration:3.07s;}
.as-banner-fx .as-spark:nth-of-type(39){left:97.74%;top:19.34%;width:10px;height:10px;animation-delay:1.68s;animation-duration:3.43s;}
.as-banner-fx .as-spark:nth-of-type(40){left:95.37%;top:21.24%;width:12px;height:12px;animation-delay:1.17s;animation-duration:2.12s;}
.as-banner-fx .as-spark:nth-of-type(41){left:83.90%;top:24.53%;width:10px;height:10px;animation-delay:3.91s;animation-duration:2.03s;}
.as-banner-fx .as-spark:nth-of-type(42){left:85.41%;top:31.48%;width:12px;height:12px;animation-delay:2.24s;animation-duration:3.33s;}
.as-banner-fx .as-spark:nth-of-type(43){left:82.54%;top:32.36%;width:8px;height:8px;animation-delay:0.3s;animation-duration:2.18s;}
.as-banner-fx .as-spark:nth-of-type(44){left:86.66%;top:37.93%;width:10px;height:10px;animation-delay:3.0s;animation-duration:1.92s;}
.as-banner-fx .as-spark:nth-of-type(45){left:86.66%;top:38.05%;width:8px;height:8px;animation-delay:1.78s;animation-duration:1.91s;}
.as-banner-fx .as-spark:nth-of-type(46){left:86.71%;top:38.05%;width:8px;height:8px;animation-delay:1.13s;animation-duration:2.76s;}
.as-banner-fx .as-spark:nth-of-type(47){left:84.55%;top:38.69%;width:10px;height:10px;animation-delay:0.37s;animation-duration:2.05s;}
.as-banner-fx .as-spark:nth-of-type(48){left:82.44%;top:38.94%;width:12px;height:12px;animation-delay:3.92s;animation-duration:2.98s;}
.as-banner-fx .as-spark:nth-of-type(49){left:81.63%;top:40.33%;width:12px;height:12px;animation-delay:2.09s;animation-duration:3.5s;}
.as-banner-fx .as-spark:nth-of-type(50){left:87.82%;top:41.47%;width:10px;height:10px;animation-delay:0.14s;animation-duration:1.83s;}
.as-banner-fx .as-spark:nth-of-type(51){left:86.41%;top:41.72%;width:8px;height:8px;animation-delay:2.8s;animation-duration:3.53s;}
.as-banner-fx .as-spark:nth-of-type(52){left:84.60%;top:42.86%;width:8px;height:8px;animation-delay:2.39s;animation-duration:1.93s;}
