/* --- PROJELER BÖLÜMÜ (FİNAL) --- */
.projects-section {
    background-color: #12171C;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    display: flex; flex-direction: column; justify-content: center;
    -webkit-font-smoothing: antialiased;
}

/* --- YILAN ŞERİTLER --- */
.snake-ribbon-container {
    position: absolute;
    top: 50%; left: 0;
    transform: translateY(-50%); /* Dikey Ortala */
    width: 100%; height: 100%;
    z-index: 20; /* Kartların Üstünde */
    pointer-events: none;
}

.snake-line {
    fill: none;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
    will-change: stroke-dashoffset;
    transition: stroke-dashoffset 0.1s linear;
}

/* Yılan 1 (Ön - Parlak) */
.snake-1 {
    stroke: #C8FF1A;
    stroke-width: 5px; 
    filter: drop-shadow(0 0 15px rgba(200, 255, 26, 0.8));
    opacity: 1;
    mix-blend-mode: screen;
}

/* Yılan 2 (Tamamlayıcı) */
.snake-2 {
    stroke: #C8FF1A;
    stroke-width: 3px;
    opacity: 0.5;
    mix-blend-mode: screen;
}

/* --- BAŞLIK VE ROZET --- */
.projects-intro {
    text-align: center; margin-bottom: 60px;
    position: relative; z-index: 30; padding: 0 20px;
    display: flex; flex-direction: column; align-items: center;
}

/* ORİJİNAL BADGE */
.hero-badge-container {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    padding: 1px; border-radius: 50px; background: transparent; overflow: hidden;
    margin-bottom: 25px; box-shadow: 0 0 25px rgba(200, 255, 26, 0.2);
}
.hero-badge-border {
    position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: conic-gradient(from 0deg, transparent 0deg, transparent 90deg, #C8FF1A 180deg, transparent 270deg, transparent 360deg);
    animation: rotate-badge 4s linear infinite;
}
.hero-badge-inner {
    position: relative; z-index: 1; background-color: #0e1215; border-radius: 50px;
    padding: 10px 25px; display: flex; align-items: center; gap: 10px;
}
.hero-badge-content {
    display: flex; align-items: center; gap: 8px;
    font-family: 'Inter', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
    background: linear-gradient(90deg, #fff, #C8FF1A); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.star-particle {
    position: absolute; background: #fff; border-radius: 50%; opacity: 0;
    animation: particle-twinkle 3s infinite ease-in-out;
}
@keyframes rotate-badge { 100% { transform: rotate(360deg); } }
@keyframes particle-twinkle { 0%, 100% { opacity: 0; transform: scale(0.5); } 50% { opacity: 1; transform: scale(1.2); } }

.projects-intro h2 { font-size: 3.5rem; color: #fff; font-weight: 800; line-height: 1.1; letter-spacing: -1px; margin-top: 10px; }
.projects-intro p { color: #9CA3AF; margin-top: 15px; font-size: 1.1rem; max-width: 600px; }

/* --- KART SİSTEMİ --- */
.marquee-wrapper {
    position: relative; padding: 20px 0;
    width: 100%; max-width: 1400px; margin: 0 auto;
    transform: rotate(-3deg); transform-origin: center;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    display: flex; flex-direction: column; gap: 30px;
    backface-visibility: hidden; overflow: hidden; 
    z-index: 10; 
}
.marquee-row { display: flex; gap: 30px; width: max-content; will-change: transform; transform: translate3d(0, 0, 0); padding-left: 50px; }
.showcase-card {
    width: 400px; height: 300px; border-radius: 18px; 
    position: relative; overflow: hidden; flex-shrink: 0;
    background: #1a1f24; border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, border-color 0.3s ease; 
    cursor: pointer; transform: translate3d(0,0,0);
}
.showcase-card:hover { transform: scale(1.02); border-color: rgba(200, 255, 26, 0.8); box-shadow: 0 25px 60px rgba(0,0,0,0.6); z-index: 30; } 
.project-bg-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.showcase-card:hover .project-bg-img { transform: scale(1.1); }

.card-content-overlay {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, #12171C 15%, rgba(18, 23, 28, 0.9) 35%, transparent 100%);
    display: flex; align-items: flex-end; padding: 25px; box-sizing: border-box;
}
.card-info-row { width: 100%; display: flex; justify-content: space-between; align-items: flex-end; transform: translateZ(0); }
.project-text { display: flex; flex-direction: column; gap: 6px; -webkit-font-smoothing: antialiased; }
.project-name { font-family: 'Inter', sans-serif; font-size: 22px; font-weight: 700; color: #fff; line-height: 1.2; letter-spacing: -0.03em; text-shadow: 0 2px 5px rgba(0,0,0,0.8); }
.project-cat { font-family: 'Inter', sans-serif; font-size: 11px; color: #C8FF1A; text-transform: uppercase; letter-spacing: 1px; font-weight: 800; background: rgba(0, 0, 0, 0.9); box-shadow: 0 0 0 1px rgba(200, 255, 26, 0.3); padding: 5px 12px; border-radius: 6px; width: fit-content; }
.card-arrow-btn { width: 50px; height: 50px; border-radius: 50%; background: rgba(200, 255, 26, 0.9); display: flex; align-items: center; justify-content: center; color: #12171C; font-size: 20px; transition: all 0.3s ease; box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
.showcase-card:hover .card-arrow-btn { transform: rotate(-45deg) scale(1.1); background: #fff; color: #000; }

@media (max-width: 992px) {
    .projects-intro h2 { font-size: 2rem; }
    .marquee-wrapper { transform: rotate(0deg); width: 100%; gap: 20px; max-width: 100%; }
    .showcase-card { width: 320px; height: 260px; }
}
/* --- YENİLENEN BUTON VE ALT EFEKT --- */

/* 1. TÜMÜNÜ GÖR BUTONU (KAYAN IŞIK EFEKTLİ) */
.projects-btn-wrapper {
    margin-top: 60px;
    position: relative;
    z-index: 30;
    text-align: center;
    display: flex; justify-content: center;
}

.btn-shine-neon {
    position: relative;
    display: inline-flex; align-items: center; gap: 12px;
    padding: 18px 55px;
    background: #C8FF1A; /* Neon Yeşil */
    color: #12171C; /* Koyu Yazı */
    font-family: 'Inter', sans-serif; font-weight: 800; 
    text-transform: uppercase; letter-spacing: 1px; font-size: 14px;
    border-radius: 50px; text-decoration: none;
    overflow: hidden; /* Işık taşmasın */
    box-shadow: 0 0 20px rgba(200, 255, 26, 0.4);
    transition: all 0.3s ease;
}

/* Soldan Sağa Kayan Beyaz Işık */
.btn-shine-neon::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.8), transparent);
    transform: skewX(-25deg);
    /* 3 saniyede bir ışık geçsin */
    animation: shine-slide 3s infinite;
}

@keyframes shine-slide {
    0% { left: -100%; opacity: 0; }
    20% { opacity: 1; }
    50% { left: 200%; opacity: 0; }
    100% { left: 200%; opacity: 0; }
}

.btn-shine-neon:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 40px rgba(200, 255, 26, 0.8);
    background: #d4ff4d; /* Hoverda azıcık aç */
}

/* 2. EN ALTTAKİ AŞAĞI YÖNLÜ NEFES ÇİZGİSİ */
.projects-footer-separator {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: flex-start; /* Çizgi üstte, ışık aşağı vuracak */
    justify-content: center;
    pointer-events: none;
    z-index: 20;
}

/* Çizginin Kendisi */
.breathing-line-down {
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #C8FF1A 50%, transparent 100%);
    border-radius: 50%;
    
    /* Işık Efekti: AŞAĞI DOĞRU (Gölge Y değeri pozitif) */
    box-shadow: 0 10px 30px rgba(200, 255, 26, 0.7), 0 20px 50px rgba(200, 255, 26, 0.3);
    
    /* Animasyon */
    animation: breathe-down-anim 4s infinite ease-in-out;
}

/* Aşağı Süzülen Işık Hüzmesi (Glow) */
.projects-footer-separator::after {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 100%; height: 100%;
    background: radial-gradient(ellipse at center top, rgba(200, 255, 26, 0.2) 0%, transparent 70%);
    filter: blur(25px);
    animation: glow-pulse-down 4s infinite ease-in-out;
}

@keyframes breathe-down-anim {
    0% { width: 10%; opacity: 0.3; }
    50% { width: 70%; opacity: 1; height: 4px; }
    100% { width: 10%; opacity: 0.3; }
}

@keyframes glow-pulse-down {
    0%, 100% { opacity: 0.4; transform: translateX(-50%) scaleY(0.8); }
    50% { opacity: 0.8; transform: translateX(-50%) scaleY(1.2); }
}