/* Kaydırmayla giriş efektleri ve hareket azaltma tercihleri. */
/* Bölüme girildiğinde başlıkların soldan gelmesi */
.section-head.fx-section,.project-head.fx-section {
  opacity: 0;
  transform: translate3d(-55px,28px,0);
  filter: blur(5px);
  transition: transform .95s cubic-bezier(.17,.75,.25,1),opacity .8s ease,filter .9s ease;
}
.section-head.fx-section.fx-in,.project-head.fx-section.fx-in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}
/* Kartlar farklı zamanlarda yükselir ve hafifçe doğrulur */
.offer-card.fx-card {
  opacity: 0;
  transform: perspective(1000px) translate3d(0,80px,0) rotateX(9deg) scale(.96);
  filter: blur(6px);
  transition: transform 1.0s cubic-bezier(.16,.8,.2,1),opacity .85s ease,filter .95s ease,box-shadow .35s ease,border-color .35s ease;
}
.offer-card.fx-card.fx-in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}
.offer-card.fx-card.fx-in:hover {
  transform: translateY(-8px);
}
.offer-card.fx-card:nth-child(2) {
  transition-delay: .11s;
}
.offer-card.fx-card:nth-child(3) {
  transition-delay: .22s;
}
/* Teklif oluşturucu bir panel gibi görünür */
.builder-outer.fx-panel {
  opacity: 0;
  transform: translate3d(0,95px,0) scale(.962);
  filter: blur(9px);
  transition: transform 1.2s cubic-bezier(.16,.8,.2,1),opacity .9s ease,filter 1.1s ease;
}
.builder-outer.fx-panel.fx-in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}
.builder-outer.fx-panel.fx-in:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg,transparent,var(--brand-red),var(--brand-blue),transparent);
  animation: line-reveal 1.1s ease-out both;
  transform-origin: left;
}
.builder-outer {
  position: relative;
}
@keyframes line-reveal {
  from {
    transform: scaleX(0);
    opacity: .1;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}
/* Proje kartları sağdan/soldan sinematik maskeyle açılır */
.project.fx-project {
  opacity: 0;
  clip-path: inset(0 20% 0 20% round 20px);
  transform: translate3d(0,65px,0) scale(.97);
  transition: clip-path 1.15s cubic-bezier(.22,.75,.24,1),transform 1.1s cubic-bezier(.22,.75,.24,1),opacity 1s ease;
}
.project.fx-project.fx-in {
  opacity: 1;
  clip-path: inset(0 0 0 0 round 20px);
  transform: none;
}
.project.fx-project:nth-child(2) {
  transition-delay: .15s;
}
.endcap.fx-end {
  opacity: 0;
  transform: translate3d(0,60px,0);
  transition: transform 1s cubic-bezier(.18,.74,.24,1),opacity .9s ease;
}
.endcap.fx-end.fx-in {
  opacity: 1;
  transform: none;
}
/* Her alanın üstündeki ince vurgu çizgisi kaydırmayla tamamlanır. */
.section {
  position: relative;
}
.section::before {
  content: "";
  position: absolute;
  top: 37px;
  left: max(38px,calc((100vw - 1290px)/2 + 38px));
  width: 68px;
  height: 3px;
  border-radius: 4px;
  background: linear-gradient(90deg,var(--brand-red),var(--brand-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s .12s cubic-bezier(.16,.7,.24,1);
}
.section.fx-active::before {
  transform: scaleX(1);
}
@media (max-width:1100px) {
  .brand {
    min-width: 176px;
    padding: 5px 8px;
  }
  .brand-original {
    width: 168px;
  }
  .navlinks {
    gap: 15px;
  }
}
@media (max-width:760px) {
  .brand {
    min-width: 0;
    padding: 5px 7px;
  }
  .brand-original {
    width: 153px;
  }
  .section::before {
    left: 20px;
    top: 26px;
  }
  .offer-card.fx-card {
    transform: translateY(38px) scale(.985) rotateX(0);
  }
}
@media (max-width:390px) {
  .brand-original {
    width: 132px;
  }
}
@media (prefers-reduced-motion:reduce) {
  .fx-section,.fx-card,.fx-panel,.fx-project,.fx-end {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
  }
  .section::before {
    transform: none !important;
  }
  .builder-outer.fx-panel.fx-in:after {
    animation: none !important;
  }
}
body.motion-off .fx-section,body.motion-off .fx-card,body.motion-off .fx-panel,body.motion-off .fx-project,body.motion-off .fx-end {
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
  clip-path: none !important;
}
body.motion-off .section::before {
  transform: none !important;
}
