/* --- Global Değişkenler (Renk Paleti) --- */
:root {
    /* Ana Renkler */
    --primary-color: #7F00FF;      /* Neon Mor */
    --secondary-color: #00C6FF;    /* Neon Mavi/Cyan */
    --accent-color: #E100FF;       /* Parlak Pembe Geçişler için */
    
    /* Arka Planlar */
    --bg-dark: #050511;            /* Çok koyu lacivert/siyah */
    --bg-card: #120F2E;            /* Kart arkaplanları */
    --bg-gradient: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    
    /* Yazı Renkleri */
    --text-main: #FFFFFF;
    --text-muted: #B0B0D1;
    
    /* Fontlar */
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Orbitron', sans-serif; /* Başlıklar için fütüristik font */
    
    /* Düzen */
    --container-width: 1200px;
    --transition: all 0.3s ease;
}

/* --- Reset ve Temel Ayarlar --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    outline: none;
    border: none;
}

html {
    scroll-behavior: smooth; /* Menüye tıklayınca kayarak gitmesi için */
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden; /* Yatay taşmayı engelle */
}

/* --- Ortak Sınıflar (Utility Classes) --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

/* Başlık Stilleri */
h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--text-main);
}

.gradient-text {
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* Buton Stilleri (Global) */
.btn {
    white-space: nowrap; /* Metni asla alt satıra indirme */
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    color: white;
    box-shadow: 0 0 15px rgba(127, 0, 255, 0.4);
}

.btn-primary-i {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    color: white;
    box-shadow: 0 0 15px rgba(127, 0, 255, 0.4);
    margin-left: 35px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(127, 0, 255, 0.7);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-outline:hover {
    border-color: var(--secondary-color);
    background: rgba(0, 198, 255, 0.1);
}

/* --- HEADER & NAVBAR STYLES --- */
.header {
    position: fixed;
    top: 20px; /* En tepeden 20px aşağıda yüzsün */
    left: 50%; /* Sayfanın ortasına hizalayalım */
    transform: translateX(-50%); /* Tam ortalamak için matematiksel düzeltme */
    
    width: fit-content; /* Genişlik içeriğe göre olsun (veya aşağıda max-width verelim) */
    min-width: unset; /* Çok küçülmesin */
    max-width: 90%; /* Mobilde ekranın %90'ını geçmesin */
    
    background: rgba(18, 15, 46, 0.85); /* JOMO gibi hafif gri/lacivert ton */
    backdrop-filter: blur(5px); /* Buzlu cam efekti */
    border: 1px solid rgba(255, 255, 255, 0.1); /* İnce çerçeve */
    
    border-radius: 50px; /* Tam yuvarlak (Pill shape) köşeler */
    padding: 10px 30px; /* İçerideki elemanlara boşluk */
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* Yüzme efekti için gölge */
    
    /* Eski height ayarını iptal edip içeriğe bırakıyoruz veya sabitliyoruz */
    height: auto;
}

.header .container {
    width: 100%;
    max-width: none;
    padding: 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    /* Navbar yüksekliğini biraz kısalım ki kibar dursun */
    height: 80px; 
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
}

.logo i {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    gap: 20px;
    align-items: center;
    margin: 0 15px; /* Logo ve Buton ile arasına mesafe koy */
}

.nav-link {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap; /* Yazı asla alt satıra inmez */
}

.nav-link:hover {
    color: var(--secondary-color);
}

/* Mobil Menü İkonu (Desktopta gizli) */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: white;
}

/* --- HERO SECTION STYLES --- */
.hero {
    position: relative;
    height: 100vh; /* Tam ekran yüksekliği */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px; /* Header payı */
    overflow: hidden;
}

/* Arkadaki Mor/Mavi Parlama Efekti */
.hero-bg-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(127, 0, 255, 0.3) 0%, rgba(5, 5, 17, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
}

/* Hero İkon Kutusu */
.hero-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 198, 255, 0.2);
}

.hero-icon i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.brand-name {
    font-size: 1.2rem;
    color: var(--accent-color);
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
    background: -webkit-linear-gradient(45deg, #E100FF, #7F00FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* --- Responsive (Tablet/Mobil için ufak ayar) --- */
@media (max-width: 768px) {
    .navbar .nav-menu {
        display: none; /* Mobilde menüyü şimdilik gizle, JS ile açacağız */
    }
    
    .hamburger {
        display: block;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .nav-actions .btn {
        display: none; /* Mobilde butonu gizleyelim, hamburger kalsın */
    }
}

/* --- BÖLÜM BAŞLIKLARI (Genel Ayarlar) --- */
.section-title {
    font-size: 1.1rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
    display: inline-block;
    font-weight: 700;
}

/* --- HAKKIMIZDA (ABOUT) ÖZEL STİLLERİ --- */
.about-container {
    display: flex;
    align-items: center; /* Dikeyde ortala */
    justify-content: space-between;
    gap: 60px; /* Yazı ve resim arası boşluk */
}

/* Sol Taraf (Yazı) */
.about-text {
    flex: 1; /* Mevcut alanın yarısını kapla */
}

.about-heading {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 25px;
}

.about-description {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.7;
}

.link-arrow {
    color: var(--text-main);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    transition: var(--transition);
    border-bottom: 1px solid var(--secondary-color);
    padding-bottom: 5px;
}

.link-arrow:hover {
    color: var(--secondary-color);
    gap: 15px; /* Hover yapınca ok sağa kaysın */
}

/* Sağ Taraf (Görsel/İkon) */
.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Görseldeki yuvarlak teknolojik daire efekti */
.tech-circle {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(127, 0, 255, 0.1), transparent 70%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: 0 0 60px rgba(127, 0, 255, 0.15);
    animation: pulseGlow 4s infinite alternate; /* Hafif yanıp sönme animasyonu */
}

.tech-circle i {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.8);
    z-index: 2;
    text-shadow: 0 0 20px rgba(127, 0, 255, 0.5);
}

/* Daire animasyonu için keyframes */
@keyframes pulseGlow {
    0% { box-shadow: 0 0 40px rgba(127, 0, 255, 0.1); }
    100% { box-shadow: 0 0 80px rgba(127, 0, 255, 0.3); }
}

/* Mobilde alt alta gelmesi için */
@media (max-width: 900px) {
    .header {
        min-width: 90%; /* Mobilde ekranı daha çok kaplasın */
        padding: 10px 20px;
        top: 10px;
    }
    
    .about-container {
        flex-direction: column;
        text-align: center;
    }
    
    .about-heading {
        font-size: 2rem;
    }
    
    .link-arrow {
        justify-content: center;
    }
}

/* --- HİZMETLER (SERVICES) STİLLERİ --- */

/* Başlık Ortalaması */
.text-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto; /* Üstten 0, yanlardan auto, alttan 60px boşluk */
}

/* Grid Yapısı (Otomatik Hizalama) */
.services-grid {
    display: grid;
    /* En az 300px genişlikte olsun, sığdığı kadar yan yana koy (Responsive) */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Kart Tasarımı */
.service-card {
    background: var(--bg-card); /* Koyu lacivert kart rengi */
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: default;
    z-index: 1;
}

/* Kart İkon Kutusu */
.card-icon {
    width: 70px;
    height: 70px;
    background: rgba(127, 0, 255, 0.1); /* Silik mor arka plan */
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    color: var(--primary-color); /* İkon rengi */
    font-size: 1.8rem;
    transition: var(--transition);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--text-main);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- Kart Hover (Üzerine Gelme) ve Active Efektleri --- */

/* Hover durumunda kart yukarı kalksın ve parlasın */
.service-card:hover, .service-card.active {
    transform: translateY(-10px); /* 10px yukarı kaldır */
    border-color: rgba(127, 0, 255, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3); /* Gölge */
}

/* Hover durumunda ikonun rengi değişsin */
.service-card:hover .card-icon, .service-card.active .card-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 0 20px rgba(127, 0, 255, 0.4);
}

/* Arka planda hafif bir renk geçişi (Opsiyonel estetik dokunuş) */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 100%);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover::before {
    opacity: 1;
}

/* --- NASIL ÇALIŞIR (PROCESS) STİLLERİ --- */
.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
    position: relative;
}

/* Adımların arkasındaki hayali çizgi (Sadece masaüstünde) */
.process-steps::before {
    content: '';
    position: absolute;
    top: 40px; /* Numaranın ortasına denk gelsin */
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    z-index: 0;
    opacity: 0.3;
}

.step-item {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    min-width: 200px;
}

/* Numara Yuvarlağı */
.step-number {
    width: 80px;
    height: 80px;
    background: var(--bg-dark);
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 25px auto;
    box-shadow: 0 0 20px rgba(0, 198, 255, 0.3);
    transition: var(--transition);
}

.step-item:hover .step-number {
    background: var(--secondary-color);
    box-shadow: 0 0 40px rgba(0, 198, 255, 0.6);
    transform: scale(1.1);
}

.step-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.step-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- REFERANSLAR (TESTIMONIALS) STİLLERİ --- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: var(--transition);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

/* Müşteri Baş Harfi (Avatar) */
.client-avatar {
    width: 60px;
    height: 60px;
    background: #2a2a40;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px auto;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.active-avatar {
    background: var(--primary-color);
    box-shadow: 0 0 15px rgba(127, 0, 255, 0.4);
    border-color: transparent;
}

.stars {
    color: #FFD700; /* Altın sarısı */
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.comment {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.client-info h4 {
    font-size: 1rem;
    margin-bottom: 3px;
    color: var(--text-main);
}

.client-info span {
    font-size: 0.85rem;
    color: var(--secondary-color);
}

/* --- Responsive Ayarlar --- */
@media (max-width: 768px) {
    .process-steps {
        flex-direction: column;
        gap: 50px;
    }
    
    .process-steps::before {
        display: none; /* Mobilde çizgiyi kaldır */
    }
}

/* --- İLETİŞİM (CONTACT) STİLLERİ --- */
.contact-wrapper {
    display: flex;
    gap: 50px;
    background: var(--bg-card);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Sol Taraf: Bilgiler */
.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(127, 0, 255, 0.1);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Sağ Taraf: Form */
.contact-form {
    flex: 1.5;
}

.form-group-row {
    display: flex;
    gap: 20px;
}

.form-group {
    width: 100%;
    margin-bottom: 20px;
}

input, textarea {
    width: 100%;
    padding: 15px;
    background: #0b0b1e; /* Çok koyu zemin */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: var(--transition);
}

input:focus, textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(127, 0, 255, 0.2);
}

/* --- FOOTER STİLLERİ --- */
.footer {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #02020a;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-height: 30px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* --- RESPONSIVE AYARLAR (Genel) --- */
@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
        padding: 30px;
    }
    
    .form-group-row {
        flex-direction: column;
        gap: 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* JS ile tetiklenen Mobil Menü Sınıfı */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%; /* Ekran dışına it */
        top: 70px; /* Header yüksekliği kadar aşağıda */
        gap: 0;
        flex-direction: column;
        background: var(--bg-card);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0; /* Ekrana getir */
    }

    .nav-item {
        margin: 16px 0;
    }

    /* Hamburger Animasyonu */
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Logo Görseli Ayarı */
/* Logoyu biraz daha kibar tutalım bu tasarımda */
.logo img {
    max-height: 110px; /* Logo yüksekliği */
    width: auto;
}

/* --- LEGAL PAGE STYLES --- */

/* Header'ı biraz sadeleştirelim */
.legal-header {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(5, 5, 17, 0.9);
}

/* Metinlerin olduğu kutu tasarımı */
.legal-wrapper {
    background: var(--bg-card); /* Ana tasarımla uyumlu koyu kart */
    padding: 60px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 900px;
    margin: 0 auto; /* Ortala */
}

.legal-title {
    font-size: 1.8rem;
    color: var(--secondary-color); /* Neon mavi başlıklar */
    margin-bottom: 25px;
    font-family: var(--font-heading);
}

.legal-text p {
    color: var(--text-muted); /* Göz yormayan gri metin */
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.8; /* Satır aralarını açarak okunabilirliği artır */
}

.legal-text strong {
    color: var(--text-main); /* Başlıkçıkları beyaz yap */
    display: block;
    margin-bottom: 5px;
}

.legal-divider {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 50px 0;
}

/* Mobilde paddingi düşürelim */
@media (max-width: 768px) {
    .legal-wrapper {
        padding: 30px;
    }
}