/* ============================================
   AkrepYazılım Marka Animasyonu (video yerine)
   ============================================ */

.akrepx-scene {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0a0c13;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Yumuşak aurora ışıkları */
.akrepx-aurora {
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at 30% 35%, rgba(63, 110, 233, .35), transparent 45%),
        radial-gradient(circle at 70% 60%, rgba(130, 166, 255, .22), transparent 40%),
        radial-gradient(circle at 55% 25%, rgba(120, 60, 220, .16), transparent 45%);
    filter: blur(50px);
    animation: akrepxAurora 16s ease-in-out infinite alternate;
}
@keyframes akrepxAurora {
    0%   { transform: rotate(0deg) scale(1); }
    100% { transform: rotate(18deg) scale(1.15); }
}

/* İnce teknoloji ızgarası */
.akrepx-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(130, 166, 255, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(130, 166, 255, .06) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 25%, transparent 72%);
    mask-image: radial-gradient(ellipse at center, #000 25%, transparent 72%);
    animation: akrepxGridPan 24s linear infinite;
}
@keyframes akrepxGridPan {
    0%   { background-position: 0 0, 0 0; }
    100% { background-position: 44px 88px, 44px 88px; }
}

/* Yükselen ışık parçacıkları */
.akrepx-p {
    position: absolute;
    bottom: -8px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(130, 166, 255, .7);
    box-shadow: 0 0 8px rgba(130, 166, 255, .9);
    opacity: 0;
    animation-name: akrepxRise;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}
@keyframes akrepxRise {
    0%   { bottom: -8px; opacity: 0; }
    10%  { opacity: .8; }
    70%  { opacity: .35; }
    100% { bottom: 104%; opacity: 0; }
}

/* Merkez içerik */
.akrepx-center {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    width: 100%;
}

/* Akrep kuyruğu logo */
.akrepx-mark {
    width: clamp(70px, 16%, 140px);
    height: auto;
    animation: akrepxBreath 4.5s ease-in-out infinite;
}
@keyframes akrepxBreath {
    0%, 100% { filter: drop-shadow(0 0 6px rgba(90, 130, 240, .35)); }
    50%      { filter: drop-shadow(0 0 18px rgba(90, 130, 240, .8)); }
}
.akrepx-tail {
    stroke-dasharray: 320;
    stroke-dashoffset: 320;
    animation: akrepxDraw 1.5s ease .2s forwards;
}
@keyframes akrepxDraw { to { stroke-dashoffset: 0; } }
.akrepx-dot {
    opacity: 0;
    animation: akrepxFadeIn .5s ease 1.6s forwards;
}
@keyframes akrepxFadeIn { to { opacity: 1; } }
.akrepx-ping {
    transform-box: fill-box;
    transform-origin: center;
    opacity: 0;
    animation: akrepxPing 2.8s ease-out 2s infinite;
}
@keyframes akrepxPing {
    0%   { transform: scale(.5); opacity: .9; }
    70%  { transform: scale(3);  opacity: 0; }
    100% { transform: scale(3);  opacity: 0; }
}

/* Marka yazısı — canlı gradyan parıltısı */
.akrepx-title {
    font-family: Inter, sans-serif;
    font-size: clamp(1.9rem, 4.4vw, 3.4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.02em;
    opacity: 0;
    transform: translateY(14px);
    animation: akrepxUp .8s ease .5s forwards;
}
@keyframes akrepxUp { to { opacity: 1; transform: translateY(0); } }
.akrepx-t1 {
    background: linear-gradient(100deg, #ffffff 30%, #c8d7ff 50%, #ffffff 70%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: akrepxShimmer 5s linear infinite;
}
.akrepx-t2 {
    background: linear-gradient(100deg, #82A6FF 20%, #3F6EE9 45%, #82A6FF 70%, #3F6EE9 95%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: akrepxShimmer 5s linear infinite;
}
@keyframes akrepxShimmer {
    0%   { background-position: 120% 0; }
    100% { background-position: -120% 0; }
}

/* İnce ayraç çizgisi */
.akrepx-line {
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #82A6FF, transparent);
    animation: akrepxLine 1s ease 1s forwards;
}
@keyframes akrepxLine { to { width: min(260px, 60%); } }

/* Dönüşümlü alt sloganlar */
.akrepx-roles {
    position: relative;
    height: 1.5em;
    width: 100%;
    text-align: center;
    font-family: Inter, sans-serif;
    font-size: clamp(.65rem, 1.2vw, .95rem);
    letter-spacing: .35em;
    text-transform: uppercase;
    color: #93A0B8;
}
.akrepx-roles span {
    position: absolute;
    left: 0;
    right: 0;
    opacity: 0;
    animation: akrepxRole 9s infinite;
}
.akrepx-roles span:nth-child(2) { animation-delay: 3s; }
.akrepx-roles span:nth-child(3) { animation-delay: 6s; }
@keyframes akrepxRole {
    0%   { opacity: 0; transform: translateY(10px); }
    4%   { opacity: 1; transform: translateY(0); }
    30%  { opacity: 1; }
    34%  { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 0; }
}

/* Ekranı süpüren yumuşak ışık */
.akrepx-sweep {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 42%, rgba(160, 190, 255, .07) 50%, transparent 58%);
    background-size: 280% 280%;
    background-position: 130% 0;
    animation: akrepxSweep 8s ease-in-out infinite;
    pointer-events: none;
}
@keyframes akrepxSweep {
    0%, 55%    { background-position: 130% 0; }
    85%, 100%  { background-position: -30% 0; }
}

/* ============================================
   Projeler — Kompakt & Modern Carousel
   (yalnızca #projeler-section kapsamında)
   ============================================ */
#projeler-section .bringer-carousel {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}
#projeler-section .bringer-portfolio-card {
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
#projeler-section .bringer-portfolio-card:hover {
    transform: translateY(-6px);
    border-color: rgba(140, 120, 255, 0.4);
    box-shadow: 0 20px 42px -20px rgba(120, 90, 255, 0.5);
}
#projeler-section .bringer-portfolio-card-image {
    border-radius: 12px;
    overflow: hidden;
}
#projeler-section .bringer-portfolio-card-footer {
    padding: 12px 4px 4px 4px;
}
#projeler-section .bringer-portfolio-card-title h6 {
    font-size: 15px;
    letter-spacing: 0.01em;
}
#projeler-section .bringer-portfolio-card .bringer-icon {
    width: 18px;
    height: 18px;
}
@media (max-width: 1024px) {
    #projeler-section .bringer-carousel {
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* ===== Dalgalanan Türk Bayrağı (header markası) ===== */
.bringer-header-lp{ display: flex; align-items: center; gap: 14px; }
.tr-brand-mob{ display: inline-flex; align-items: center; gap: 8px; }
.tr-flag-mount{
    pointer-events: none;
    line-height: 0;
    flex: 0 0 auto;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,.28));
    animation: trFlagIntro .8s cubic-bezier(.16,1,.3,1) both;
}
.tr-flag-desk{ width: 66px; height: 44px; }
.tr-flag-mob{ width: 34px; height: 23px; }
.tr-flag-canvas{ display: block; width: 100%; height: 100%; }
@keyframes trFlagIntro{
    from{ opacity: 0; transform: translateX(-8px) scale(.9); }
    to{ opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce){ .tr-flag-mount{ animation: none; } }

/* ===== Teknoloji logoları (Yazılım Geliştirme kartı) ===== */
.icon.is--app .tech-logo{
    width: 2rem;
    height: 2rem;
    object-fit: contain;
    display: block;
    transition: transform .2s ease;
}
.app-cell:hover .tech-logo{ transform: scale(1.12); }
