/* assets/css/style.css */

/* Genel Ayarlar */
html { scroll-behavior: smooth; }
body { font-feature-settings: "cv11", "ss01"; }
[x-cloak] { display: none !important; }

/* AI Glow Efekti - Menü İkonları İçin */
.ai-icon-box {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ai-icon-box::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.4) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.group:hover .ai-icon-box::after {
    opacity: 1;
}

/* Nav Link Alt Çizgi Animasyonu */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: linear-gradient(90deg, #4f46e5, #8b5cf6);
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}

/* 1. Arka Plan Deseni (Neural Dots) */
.neural-bg {
    background-color: #0f172a; /* Slate-900 */
    background-image: radial-gradient(#6366f1 1px, transparent 1px);
    background-size: 30px 30px; /* Noktalar arası mesafe */
    position: relative;
    overflow: hidden;
}

/* Üstüne gölge atalım ki sonsuzluk hissi oluşsun (Soldan sağa karartma) */
.neural-bg::before, .neural-bg::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.neural-bg::before {
    left: 0;
    background: linear-gradient(to right, #0f172a, transparent);
}
.neural-bg::after {
    right: 0;
    background: linear-gradient(to left, #0f172a, transparent);
}

/* 2. Kayma Animasyonu (Scroll Fix) */
@keyframes tech-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* İçerik 2 kere tekrarlandığı için %50 kaydırıp başa sarıyoruz */
}

.tech-track {
    display: flex;
    width: max-content; /* İçerik kadar genişle */
    animation: tech-scroll 40s linear infinite;
}

.tech-track:hover {
    animation-play-state: paused; /* Mouse gelince dursun */
}

/* 3. Logo Kartları (Glowing Nodes) */
.tech-node {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.tech-node:hover {
    background: rgba(99, 102, 241, 0.15); /* Brand rengi */
    border-color: #6366f1;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
}