/* Temel Ayarlar ve Koyu Tema */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #050505; /* Çok koyu gri/siyah */
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

/* Navigasyon Bar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: rgba(5, 5, 5, 0.9);
    position: fixed;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid #00FF41;
}

.logo {
    font-family: 'Space Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-family: 'Space Mono', monospace;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #00FF41;
}

/* Hero Section (Karşılama) */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#matrixCanvas {
    position: fixed; /* 'absolute' yerine 'fixed' yaptık, böylece ekranı kaydırsan da o hep arkada kalacak */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0; /* En arka plana atıyoruz */
    opacity: 0.12; /* Tüm sayfada olacağı için göz yormaması adına biraz daha kıstık */
    pointer-events: none; /* ÇOK ÖNEMLİ: Bu kod, Matrix'in üstündeki butonlara/kartlara tıklamanı engellememesini sağlar */
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 4rem;
    font-family: 'Space Mono', monospace;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #cccccc;
    font-family: 'Space Mono', monospace;
}

/* Neon Efektleri */
.neon-text {
    color: #00FF41;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

.btn-neon {
    display: inline-block;
    padding: 15px 30px;
    border: 2px solid #00FF41;
    color: #00FF41;
    text-decoration: none;
    font-family: 'Space Mono', monospace;
    font-weight: bold;
    background: transparent;
    transition: all 0.3s;
}

.btn-neon:hover {
    background: #00FF41;
    color: #000;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.8);
}

/* --- YENİ EKLENEN ANA SAYFA İÇERİK STİLLERİ --- */

.section-padding {
    padding: 80px 0;
    position: relative; /* Eklendi */
    z-index: 10; /* Animasyonun üstünde kalması için eklendi */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-family: 'Space Mono', monospace;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: #ffffff;
}

/* Terminal Kutu Tasarımı (Hakkımızda) */
.terminal-box {
    background-color: #0a0a0a;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    max-width: 900px;
    margin: 0 auto;
}

.terminal-header {
    background-color: #1a1a1a;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #333;
}

.terminal-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

.dot.red { background-color: #ff5f56; }
.dot.yellow { background-color: #ffbd2e; }
.dot.green { background-color: #27c93f; }

.terminal-title {
    margin-left: 15px;
    font-family: 'Space Mono', monospace;
    color: #888;
    font-size: 0.9rem;
}

.terminal-body {
    padding: 30px;
    font-family: 'Space Mono', monospace;
    line-height: 1.8;
    color: #ccc;
}

.terminal-body p {
    margin-bottom: 15px;
}

/* Çözümlerimiz Kart Izgarası */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

/* Çözüm Kartları */
.solution-card {
    background-color: #0a0a0a;
    border: 1px solid #222;
    padding: 40px 30px;
    border-radius: 5px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.solution-card:hover {
    border-color: #00FF41;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.15);
    transform: translateY(-5px); /* Üzerine gelince hafif yukarı kalkar */
}

/* Kart içine Matrix sızıntısı efekti (Hover durumunda) */
.solution-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: #00FF41;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.solution-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    font-family: 'Space Mono', monospace;
    font-size: 1.5rem;
    color: #00FF41;
    margin-bottom: 20px;
    font-weight: bold;
}

.solution-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #fff;
}

.solution-card p {
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.card-link {
    color: #00FF41;
    text-decoration: none;
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    transition: 0.3s;
}

.card-link:hover {
    color: #fff;
    text-shadow: 0 0 8px #00FF41;
}

/* Footer (En alta alındı) */
.footer {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #333;
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    color: #666;
    position: relative; /* Eklendi */
    z-index: 10; /* Animasyonun üstünde kalması için eklendi */
    background-color: #050505; /* Alt kısmın şık durması ve kodların footer'a girmemesi için eklendi */
}

/* =========================================
   MOBİL UYUM (RESPONSIVE DESIGN) SORGULARI
   ========================================= */

@media (max-width: 768px) {
    /* Menüyü telefonda sıkışmaması için alt alta alıyoruz */
    .navbar {
        flex-direction: column;
        padding: 15px 10px;
        gap: 15px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        font-size: 0.9rem;
    }

    /* Ana başlık telefonlar için çok büyüktü, ekrana sığacak şekilde küçültüyoruz */
    .hero-content h1 {
        font-size: 2.2rem;
        margin-top: 50px; /* Menü alt alta ineceği için biraz boşluk bırakıyoruz */
    }

    .hero-content p {
        font-size: 1rem;
    }

    /* Hakkımızda bölümünün başlığı */
    .section-title {
        font-size: 2rem;
    }

    /* Terminal kutusu iç boşluklarını telefona göre daraltıyoruz */
    .terminal-body {
        padding: 15px;
        font-size: 0.85rem;
    }

    /* Buton boyutlarını telefona uygun hale getiriyoruz */
    .btn-neon {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    /* Bölüm arası boşlukları mobilde daraltıyoruz */
    .section-padding {
        padding: 50px 0;
    }
}

/* Ekstra küçük ekranlar (dar telefonlar) için ince ayar */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
}

/* =========================================
   SABİT WHATSAPP BUTONU STİLLERİ
   ========================================= */

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #050505;
    border: 2px solid #00FF41;
    color: #00FF41;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.3);
    z-index: 1000; /* Her şeyin üstünde görünmesini sağlar */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
}

.wa-icon {
    width: 30px;
    height: 30px;
}

/* Üzerine gelince (Hover) tam bir siber neon efekti */
.whatsapp-float:hover {
    background-color: #00FF41;
    color: #050505;
    box-shadow: 0 0 25px rgba(0, 255, 65, 0.8);
    transform: scale(1.1); /* Hafifçe büyür */
}

/* Mobil ekranlar için WhatsApp butonunu biraz daha küçültüp kenara yaklaştıralım */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .wa-icon {
        width: 25px;
        height: 25px;
    }
}
/* =========================================
   ALT SAYFA (HİZMET DETAY) STİLLERİ
   ========================================= */

.page-header {
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(to bottom, rgba(5,5,5,0.9), rgba(5,5,5,1));
    border-bottom: 1px solid #333;
    position: relative;
    z-index: 10;
    margin-top: 50px; /* Navbar'ın altında kalmaması için */
}

.page-header h1 {
    font-size: 3rem;
    font-family: 'Space Mono', monospace;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
}

.service-detail {
    padding: 80px 0;
    position: relative;
    z-index: 10;
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.service-text h2 {
    font-family: 'Space Mono', monospace;
    color: #00FF41;
    margin-bottom: 20px;
    font-size: 2rem;
}

.service-text p {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.service-text ul {
    list-style: none;
    margin-bottom: 30px;
}

.service-text ul li {
    margin-bottom: 15px;
    color: #ddd;
    font-family: 'Space Mono', monospace;
}

.service-text ul li::before {
    content: '>_';
    color: #00FF41;
    margin-right: 10px;
    font-weight: bold;
}

.service-image img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #333;
    box-shadow: 0 10px 30px rgba(0, 255, 65, 0.1);
    transition: all 0.3s;
}

.service-image img:hover {
    border-color: #00FF41;
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.4);
}

/* Mobilde Alt Sayfalar için */
@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: 1fr; /* Mobilde alt alta dizilir */
    }
    .page-header h1 {
        font-size: 2rem;
    }
}
/* İletişim kartlarının içindeki butonun hover etkisiyle uyumlu çalışması için */
.solution-card .btn-neon {
    margin-top: 15px;
    pointer-events: none; /* Kartın tamamı tıklanabilir olduğu için butonun kendi tıklamasını pasif yaptık */
}

.solution-card:hover .btn-neon {
    background: #00FF41;
    color: #000;
}