/* =================================================================== */
/* === PROJELER V2.1 - DÜZELTİLMİŞ SÜRÜM === */
/* =================================================================== */

/* DÜZELTİLDİ: Sayfa Başlığı stilleri geri eklendi ve temaya uyarlandı */
.page-header {
    position: relative;
    background: linear-gradient(rgba(13, 17, 23, 0.9), rgba(13, 17, 23, 0.9)), url('https://images.unsplash.com/photo-1487630725299-1445483ab2c5');
    background-size: cover;
    background-position: center;
    color: var(--primary-text);
    padding: 5rem 0;
    text-align: center;
}

/* PROJE GALERİSİ (Tasarım aynı, hatasız) */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; }
.project-card { display: block; position: relative; overflow: hidden; border-radius: 8px; border: 1px solid var(--border-color); aspect-ratio: 4 / 3; opacity: 0; transform: translateY(40px); transition: all 0.4s ease; cursor: pointer; }
.project-card.is-visible { opacity: 1; transform: translateY(0); }
.project-card:hover { transform: translateY(-10px) scale(1.03); box-shadow: 0 0 35px var(--accent-glow); border-color: var(--accent); }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
/* ... (Diğer kart stilleri öncekiyle aynı) ... */
.project-info { position: absolute; bottom: 0; left: 0; width: 100%; padding: 1.5rem; color: #ffffff; z-index: 3; text-shadow: 0 2px 5px rgba(0,0,0,0.8); transition: transform 0.4s ease; }
.click-indicator { position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; background: rgba(255, 255, 255, 0.9); color: var(--accent); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 2rem; font-weight: 300; z-index: 3; transition: transform 0.3s ease, background-color 0.3s ease; }

/* DÜZELTİLDİ: Popup stilleri temaya tam uyumlu hale getirildi */
.popup { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 2000; display: flex; justify-content: center; align-items: center; padding: 2rem; opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0s linear 0.4s; }
.popup.active { opacity: 1; visibility: visible; transition-delay: 0s; }
.popup-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); backdrop-filter: blur(8px); }
.popup-content { position: relative; background: var(--surface); border: 1px solid var(--border-color); border-radius: 8px; max-width: 900px; width: 100%; max-height: 90vh; overflow-y: auto; transform: scale(0.9); transition: transform 0.4s ease; }
.popup.active .popup-content { transform: scale(1); }
.popup-close { position: absolute; top: 15px; right: 15px; width: 35px; height: 35px; line-height: 35px; text-align: center; background: var(--surface); border: 1px solid var(--border-color); border-radius: 50%; font-size: 1.5rem; color: var(--primary-text); cursor: pointer; transition: transform 0.3s ease, color 0.3s ease; }
.popup-close:hover { transform: scale(1.1) rotate(90deg); color: var(--accent); }
.popup-body { display: flex; }
.popup-body img { width: 50%; object-fit: cover; }
.popup-text { padding: 2.5rem; width: 50%; }
.popup-text h2 { font-size: 2rem; margin-top: 0; color: var(--primary-text); }
.popup-category { font-size: 1rem; color: var(--accent); font-weight: 600; margin-bottom: 1.5rem; }
.popup-description { line-height: 1.7; color: var(--secondary-text); }

@media (max-width: 992px) { .popup-body { flex-direction: column; } .popup-body img, .popup-text { width: 100%; } }
@media (max-width: 768px) { .projects-grid { grid-template-columns: 1fr; } }