/* Genel Ayarlar */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background-color: #0a0a0a; font-family: 'Poppins', sans-serif; color: white; overflow-x: hidden; }

/* HEADER TASARIMI */
.main-header {
    text-align: center; padding: 120px 20px;
    /* Resim url'si HTML içinden verilecek ki her sayfada farklı kullanabilelim */
    background-size: cover; background-position: center; background-repeat: no-repeat; background-attachment: fixed;
    text-shadow: 0 4px 15px rgba(0,0,0,1); border-bottom: 1px solid rgba(255,255,255,0.05);
}
.main-header h1 { font-family: 'Orbitron', sans-serif; font-size: 3.5rem; letter-spacing: 2px; text-transform: uppercase; }
.highlight { background: linear-gradient(90deg, #00ccff, #ff00cc); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.tagline { color: #ddd; margin-top: 15px; font-size: 1.2rem; letter-spacing: 1px; font-weight: 300; }

/* GENEL YAPILAR */
.container { padding: 60px 10%; max-width: 1400px; margin: 0 auto; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.section-title { font-family: 'Orbitron', sans-serif; font-size: 2.2rem; margin-bottom: 40px; text-align: center; color: #fff; text-transform: uppercase; }
.section-title span { color: #ff00cc; }
.page-wrapper { display: flex; max-width: 1600px; margin: 0 auto; min-height: 80vh; }

/* KART TASARIMI (Hizmetler) */
.game-card {
    position: relative; height: 350px; border-radius: 20px; overflow: hidden; cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease; display: flex; align-items: center; justify-content: center; text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1); background-size: cover; background-position: center;
}
.overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.4)); z-index: 1; transition: 0.4s ease; }
.game-card:hover .overlay { background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.6)); }
.game-card:hover { transform: translateY(-10px); z-index: 10; }
.content { position: relative; z-index: 2; padding: 20px; text-shadow: 0 2px 4px rgba(0,0,0,0.9); }
.content h2 { font-family: 'Orbitron', sans-serif; font-size: 1.8rem; margin-bottom: 10px; }
.content p { color: #e0e0e0; font-size: 1rem; }
.glow { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.15; transition: 0.4s ease; z-index: 1; mix-blend-mode: overlay; }
.game-card:hover .glow { opacity: 0.4; }

/* BİLGİ ALANLARI (Yeni İçerikler İçin) */
.info-section { background: #0f0f0f; padding: 80px 10%; text-align: center; border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }
.info-section p { font-size: 1.1rem; color: #bbb; line-height: 1.8; max-width: 800px; margin: 0 auto 20px auto; }
.highlight-text { color: #00ccff; font-weight: 600; }

/* ÇALIŞMA SÜRECİ (Adımlar) */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 40px; }
.process-step { background: #161616; padding: 30px 20px; border-radius: 15px; border: 1px solid rgba(255,255,255,0.05); transition: 0.3s; position: relative; overflow: hidden; }
.process-step:hover { transform: translateY(-5px); border-color: rgba(255,0,204,0.5); box-shadow: 0 10px 20px rgba(0,0,0,0.5); }
.step-number { font-family: 'Orbitron'; font-size: 3rem; color: rgba(255,255,255,0.05); position: absolute; top: -10px; right: 10px; z-index: 0; }
.process-step h3 { font-family: 'Orbitron'; color: #fff; margin-bottom: 10px; font-size: 1.2rem; position: relative; z-index: 1; }
.process-step p { color: #aaa; font-size: 0.9rem; position: relative; z-index: 1; }
.process-step.step-1:hover h3 { color: #00ccff; } .process-step.step-2:hover h3 { color: #ff00cc; } .process-step.step-3:hover h3 { color: #ffcc00; } .process-step.step-4:hover h3 { color: #00ff66; }

/* PAKET (PRICING) KARTLARI */
.pricing-card { height: auto; padding: 40px 20px; align-items: flex-start; text-align: center; flex-direction: column; }
.pricing-card .price { font-family: 'Orbitron', sans-serif; font-size: 2.5rem; margin: 15px 0; color: white; }
.pricing-card .features { list-style: none; text-align: left; margin: 20px 0; width: 100%; font-size: 0.95rem; }
.pricing-card .features li { margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.pricing-card .features li::before { content: '✔️ '; opacity: 0.8; }
.btn-teklif { display: inline-block; padding: 12px 30px; font-family: 'Orbitron'; text-decoration: none; border-radius: 8px; border: 2px solid; transition: 0.3s; background: rgba(0,0,0,0.5); width: 100%; margin-top: auto;}

/* --- RENK TEMALARI --- */
.card-yellow { border-bottom: 4px solid #00ccff; }
.card-yellow .glow { background: radial-gradient(circle, rgba(0,204,255,0.4) 0%, transparent 70%); }
.card-yellow:hover { box-shadow: 0 0 30px rgba(0,204,255,0.3); }
.card-yellow h2, .card-yellow .btn-teklif { color: #00ccff; border-color: #00ccff; }
.card-yellow .btn-teklif:hover { background: #00ccff; color: #000; }

.card-pink { border-bottom: 4px solid #ff00cc; }
.card-pink .glow { background: radial-gradient(circle, rgba(255,0,204,0.4) 0%, transparent 70%); }
.card-pink:hover { box-shadow: 0 0 30px rgba(255,0,204,0.3); }
.card-pink h2, .card-pink .btn-teklif { color: #ff00cc; border-color: #ff00cc; }
.card-pink .btn-teklif:hover { background: #ff00cc; color: #fff; }

.card-blue { border-bottom: 4px solid #ffcc00; }
.card-blue .glow { background: radial-gradient(circle, rgba(255,204,0,0.4) 0%, transparent 70%); }
.card-blue:hover { box-shadow: 0 0 30px rgba(255,204,0,0.3); }
.card-blue h2, .card-blue .btn-teklif { color: #ffcc00; border-color: #ffcc00; }
.card-blue .btn-teklif:hover { background: #ffcc00; color: #000; }

.card-green { border-bottom: 4px solid #00ff66; }
.card-green .glow { background: radial-gradient(circle, rgba(0,255,102,0.4) 0%, transparent 70%); }
.card-green:hover { box-shadow: 0 0 30px rgba(0,255,102,0.3); }
.card-green h2, .card-green .btn-teklif { color: #00ff66; border-color: #00ff66; }
.card-green .btn-teklif:hover { background: #00ff66; color: #000; }

.card-red { border-bottom: 4px solid #ff3333; }
.card-red .glow { background: radial-gradient(circle, rgba(255,51,51,0.4) 0%, transparent 70%); }
.card-red:hover { box-shadow: 0 0 30px rgba(255,51,51,0.3); }
.card-red h2, .card-red .btn-teklif { color: #ff3333; border-color: #ff3333; }
.card-red .btn-teklif:hover { background: #ff3333; color: #fff; }

/* YENİ EKLENEN MOR TEMA (Portfolyo için) */
.card-purple { border-bottom: 4px solid #b026ff; }
.card-purple .glow { background: radial-gradient(circle, rgba(176,38,255,0.4) 0%, transparent 70%); }
.card-purple:hover { box-shadow: 0 0 30px rgba(176,38,255,0.3); }
.card-purple h2, .card-purple .btn-teklif { color: #b026ff; border-color: #b026ff; }
.card-purple .btn-teklif:hover { background: #b026ff; color: #fff; }

/* ALT SAYFA SIDEBAR */
.sidebar { width: 280px; background: #0f0f0f; padding: 40px 20px; flex-shrink: 0; border-right: 1px solid rgba(255,255,255,0.05); }
.sidebar h3 { font-family: 'Orbitron', sans-serif; font-size: 1.2rem; margin-bottom: 15px; }
.sidebar-divider { height: 4px; width: 100%; margin-bottom: 30px; background: linear-gradient(90deg, #00ccff, #ff00cc, #ffcc00); box-shadow: 0 0 10px rgba(255,0,204,0.3); }
.category-nav ul { list-style: none; }
.category-nav a { text-decoration: none; color: #888; display: block; padding: 12px; border-radius: 8px; transition: 0.3s; border-left: 3px solid transparent; margin-bottom: 15px;}
.category-nav a:hover, .active-link { color: white; background: rgba(255,255,255,0.1); padding-left: 20px; }
.nav-anasayfa:hover { border-color: #00ccff; } .nav-paket:hover { border-color: #ff00cc; } .nav-iletisim:hover { border-color: #ffcc00; }
.game-content { flex-grow: 1; padding: 40px; }

/* İLETİŞİM FORMU */
.contact-container { max-width: 700px; margin: 0 auto; background: #111; padding: 40px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.05); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.form-group { margin-bottom: 20px; text-align: left; }
.form-group label { display: block; margin-bottom: 8px; color: #aaa; font-family: 'Orbitron', sans-serif; }
.form-control { width: 100%; padding: 15px; background: #0a0a0a; border: 1px solid #333; color: white; border-radius: 8px; font-family: 'Poppins', sans-serif; outline: none; transition: 0.3s; }
.form-control:focus { border-color: #ff00cc; box-shadow: 0 0 10px rgba(255,0,204,0.2); }
textarea.form-control { resize: vertical; min-height: 120px; }
.btn-wp { background: linear-gradient(90deg, #25D366, #128C7E); color: white; padding: 15px; width: 100%; border: none; border-radius: 8px; font-family: 'Orbitron'; font-size: 1.2rem; cursor: pointer; transition: 0.3s; margin-top: 10px;}
.btn-wp:hover { box-shadow: 0 0 20px rgba(37,211,102,0.5); transform: translateY(-3px); }
.btn-email { background: transparent; border: 1px solid #00ccff; color: #00ccff; margin-top: 15px; text-decoration: none; display: block; text-align: center; padding: 15px; border-radius: 8px; font-family: 'Orbitron'; transition: 0.3s;}
.btn-email:hover { background: #00ccff; color: #000; box-shadow: 0 0 20px rgba(0,204,255,0.4); }

footer { text-align: center; padding: 30px; color: #555; font-size: 0.9rem; background: #050505; border-top: 1px solid #111; }

/* ========================================= */
/* PERFORMANS VE DONANIM HIZLANDIRMA (GPU)   */
/* ========================================= */
.game-card, .process-step, .hamburger-menu span, .mobile-nav {
    /* Tarayıcıya animasyon olacağını önceden bildirir, kasmayı önler */
    will-change: transform, opacity; 
    /* İşlemi CPU'dan alıp ekran kartına (GPU) devrederek hızlandırır */
    transform: translateZ(0); 
    /* Animasyon esnasında yazı ve kenar titremelerini engeller */
    backface-visibility: hidden; 
}

/* ========================================= */
/* TÜM CİHAZLAR İÇİN ÜSTTEN İNEN MENÜ (OPTİMİZE) */
/* ========================================= */

.hamburger-menu { 
    display: flex; flex-direction: column; justify-content: space-between; 
    width: 35px; height: 25px; position: fixed; top: 35px; right: 40px; 
    z-index: 10001; cursor: pointer; 
}
.hamburger-menu span { width: 100%; height: 3px; background-color: white; border-radius: 2px; transition: transform 0.3s ease, background-color 0.3s ease, opacity 0.3s ease; }
.hamburger-menu.active span:nth-child(1) { transform: rotate(45deg) translate(7px, 8px); background-color: #ff00cc; }
.hamburger-menu.active span:nth-child(2) { opacity: 0; }
.hamburger-menu.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -7px); background-color: #00ccff; }

/* Üstten inen tam ekran (Overlay) menü paneli */
.mobile-nav { 
    display: block; width: 100%; height: 100vh; position: fixed; z-index: 10000; 
    top: 0; left: 0; background: rgba(10, 10, 10, 0.95); backdrop-filter: blur(15px); 
    overflow: hidden; 
    /* Yükseklik (height) animasyonu yerine CSS Transform kullanıyoruz (Kasma Sıfır) */
    transform: translateY(-100%); 
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1); 
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* JS ile "open" class'ı eklendiğinde menü aşağı kayar */
.mobile-nav.open {
    transform: translateY(0);
}

.mobile-links { 
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 90%; max-width: 450px; text-align: center;
}
.mobile-links h3 { color: white; font-family: 'Orbitron'; margin-bottom: 15px; font-size: 1.5rem; letter-spacing: 2px; }
.mobile-divider { height: 2px; width: 100%; background: linear-gradient(90deg, #00ccff, #ff00cc, #ffcc00); margin-bottom: 25px; }
.mobile-nav a { 
    padding: 15px; text-decoration: none; font-size: 1.3rem; color: #ddd; 
    display: block; transition: all 0.3s ease; margin-bottom: 15px; border-radius: 8px; 
    background: rgba(255, 255, 255, 0.03); border-left: none !important; border-bottom: 2px solid transparent;
}
.mobile-nav a:hover { background: rgba(255, 255, 255, 0.1); transform: scale(1.05); color: #fff; border-bottom-color: #ff00cc; }

/* ========================================= */
/* MOBİL DÜZENLEMELER VE TAŞMA ENGELLEYİCİ */
/* ========================================= */
@media screen and (max-width: 768px) {
    html, body { overflow-x: hidden !important; width: 100%; }
    .sidebar { display: none !important; }
    .container, .page-wrapper { display: block !important; padding: 20px !important; }
    .game-content { padding: 0 !important; }
    .game-card, .pricing-card { margin-bottom: 25px; width: 100%; }
    .main-header h1 { font-size: 2.2rem; }
    .hamburger-menu { top: 25px; right: 25px; } 
    .mobile-nav a { font-size: 1.1rem; }
}

.nav-calismalar:hover { border-color: #00ff66; }