/* modern-effects.css - Modern Görsel Efektler */
/* Sayfa Geçiş Animasyonları */
body {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

body.page-transitioning {
    opacity: 0;
    transform: translateY(20px);
}

body.page-loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Gradient ve Glow Efektleri */
.gradient-text {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: bold;
    display: inline-block;
    position: relative;
}

.gradient-text::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: blur(12px);
    opacity: 0.6;
}

/* Proje Kartları için Gelişmiş Efektler */
.project-card {
    border: none;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.3);
    position: relative;
    transform-style: preserve-3d;
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.9), rgba(20, 20, 20, 0.8));
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Tıklanabilirlik düzeltmesi */
    z-index: 1;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover::before {
    opacity: 1;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.4);
}

/* Buton ve Card Footer düzeltmeleri */
.project-card .card-footer {
    position: relative;
    z-index: 5;
}

.project-card .btn {
    position: relative;
    z-index: 10;
    cursor: pointer;
    pointer-events: auto;
}

/* 3D efektler kartın tıklanabilirliğini etkilemeyecek */
.card-shine {
    pointer-events: none; /* Mouse olaylarını geçirsin */
}

/* Navbar Efektleri */
.navbar {
    background: linear-gradient(135deg, rgba(106, 17, 203, 0.8), rgba(37, 117, 252, 0.8));
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: linear-gradient(135deg, rgba(106, 17, 203, 0.95), rgba(37, 117, 252, 0.95));
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Hero Section Upgrade */
.hero-section {
    position: relative;
    overflow: hidden;
    padding: 8rem 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* Badge Efektleri */
.tech-tags .badge {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 0.6rem 1rem;
    transition: all 0.3s ease;
}

.tech-tags .badge::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.3s ease;
}

.tech-tags .badge:hover::before {
    left: 100%;
}

/* Stats sayaç animasyonu */
.stat-number {
    display: inline-block;
    position: relative;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, #a0c0ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    /* Sayı görünürlük düzeltmesi */
    opacity: 1; 
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.stat-card.animated .stat-number {
    opacity: 1;
    transform: translateY(0);
}

/* Stat kartları için glow efektler */
.stat-card {
    background: rgba(30, 30, 30, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.stat-card::after {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at center, rgba(106, 17, 203, 0.5) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.4);
}

.stat-card:hover::after {
    opacity: 1;
}

/* Neural Background Container */
#neural-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Bu değer çok düşük olabilir */
    pointer-events: none;
}