/* --- TEMEL AYARLAR VE RENKLER --- */
:root {
    --primary-bg: #0a192f;
    --secondary-bg: #112240;
    --accent-blue: #00d2ff;
    --accent-dark: #3a7bd5;
    --text-light: #ccd6f6;
    --text-muted: #8892b0;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-light);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- NAVİGASYON (HEADER) --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: 0.3s ease-in-out;
}

header.scrolled {
    background: rgba(10, 25, 47, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    padding: 15px 50px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1px;
}

.logo span { color: var(--accent-blue); }

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links li a:hover { color: var(--accent-blue); }

.btn-login {
    background: transparent;
    color: var(--accent-blue);
    border: 1px solid var(--accent-blue);
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-login:hover {
    background: rgba(0, 210, 255, 0.1);
}

/* --- HERO (KARŞILAMA) ALANI --- */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    background: linear-gradient(135deg, rgba(10,25,47,0.9) 0%, rgba(17,34,64,0.9) 100%), url('cubes.png');
    position: relative;
}

.hero h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 20px;
    max-width: 800px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-btns { display: flex; gap: 20px; }

.btn-primary {
    background: linear-gradient(90deg, var(--accent-dark), var(--accent-blue));
    color: var(--white);
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
    transition: 0.3s;
}

.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0, 210, 255, 0.5); }

.btn-secondary {
    border: 2px solid var(--text-muted);
    color: var(--text-light);
    padding: 13px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-secondary:hover { border-color: var(--accent-blue); color: var(--accent-blue); }

/* --- NEDEN BİZ? --- */
.features {
    padding: 80px 50px;
    background-color: var(--primary-bg);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--secondary-bg);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: 0.3s;
    border-bottom: 3px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-bottom: 3px solid var(--accent-blue);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.feature-icon {
    font-size: 40px;
    color: var(--accent-blue);
    margin-bottom: 20px;
}

.feature-card h3 { color: var(--white); margin-bottom: 15px; }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; }

/* --- HİZMETLERİMİZ --- */
.services {
    padding: 80px 50px;
    background-color: var(--secondary-bg);
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-item {
    background-color: var(--primary-bg);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
    text-align: left;
    transition: 0.3s;
    cursor: pointer;
    height: 100%;
}

.service-item:hover {
    border-color: var(--accent-blue);
    background-color: rgba(0, 210, 255, 0.05);
}

.service-item h4 { color: var(--white); margin-bottom: 10px; font-size: 1.2rem; }
.service-item p { color: var(--text-muted); font-size: 0.85rem; }

/* --- TEKNOLOJİ PARTNERLERİ (KAYAN BANT) --- */
.partners {
    padding: 40px 0;
    background-color: var(--primary-bg);
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.partner-track {
    display: inline-block;
    animation: scroll-left 20s linear infinite;
}

.partner-logo {
    display: inline-block;
    color: var(--text-muted);
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 40px;
    opacity: 0.5;
    transition: 0.3s;
}

.partner-logo:hover { opacity: 1; color: var(--accent-blue); }

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- FOOTER (YENİ KURUMSAL TASARIM) --- */
footer {
    background-color: #050d1a;
    padding: 70px 50px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

/* Üst kısıma hafif bir mavi parlama efekti */
footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    opacity: 0.3;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; /* Sol taraf (yazı) daha geniş, diğerleri eşit */
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
}

/* Footer Logosu (Header ile aynı stil) */
.footer-logo {
    font-size: 26px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 1px;
    display: inline-block;
}

.footer-logo span { color: var(--accent-blue); }

.footer-col h5 { 
    color: var(--white); 
    font-size: 1.15rem; 
    margin-bottom: 25px; 
    position: relative;
    padding-bottom: 10px;
}

/* Başlıkların altına şık bir mavi çizgi */
.footer-col h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-blue);
    border-radius: 2px;
}

.footer-col p.footer-desc { 
    color: var(--text-muted); 
    font-size: 0.95rem; 
    line-height: 1.8;
    max-width: 450px;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 15px; }

.footer-col ul li a { 
    color: var(--text-muted); 
    font-size: 0.95rem; 
    transition: 0.3s; 
    display: inline-block;
}

/* Linklerin üzerine gelince sağa doğru zarifçe kayması */
.footer-col ul li a:hover { 
    color: var(--accent-blue); 
    transform: translateX(8px);
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-contact-list li i {
    color: var(--accent-blue);
    font-size: 1.1rem;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .footer-content { grid-template-columns: 1fr; gap: 40px; }
}

/* --- KURUMSAL İSTATİSTİKLER BÖLÜMÜ --- */
.stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    padding: 60px 50px;
    background: linear-gradient(90deg, var(--primary-bg), var(--secondary-bg));
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-blue);
    margin-bottom: 5px;
    text-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
}

.stat-text {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- BUTONLAR İÇİN KURUMSAL PARLAMA EFEKTİ --- */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shine 6s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}


/* --- ALT SAYFALAR İÇİN PROFESYONEL KART STANDARDI --- */
.services-pro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 50px;
}

.service-card-pro {
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Hover (Üzerine Gelme) Efekti */
.service-card-pro:hover {
    border-color: var(--accent-blue);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 10, 20, 0.6);
    background: linear-gradient(145deg, var(--secondary-bg) 0%, rgba(0, 210, 255, 0.05) 100%);
}

.service-card-pro .icon-box {
    font-size: 35px;
    margin-bottom: 25px;
    background: rgba(0, 210, 255, 0.1);
    width: 75px; 
    height: 75px;
    display: flex; 
    align-items: center; 
    justify-content: center;
    border-radius: 16px;
    color: var(--accent-blue);
    transition: 0.4s;
}

.service-card-pro:hover .icon-box {
    transform: scale(1.1);
    background: var(--accent-blue);
    color: var(--primary-bg);
}

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

.service-card-pro p { 
    color: var(--text-muted); 
    margin-bottom: 30px; 
    flex-grow: 1; /* Butonu her zaman en alta iter */
    font-size: 0.95rem;
}

.service-card-pro a {
    color: var(--accent-blue); 
    font-weight: 600; 
    display: inline-flex; 
    align-items: center; 
    transition: 0.3s;
}

/* Ok işareti animasyonu */
.service-card-pro a span {
    margin-left: 8px;
    transition: 0.3s;
}

.service-card-pro:hover a span {
    margin-left: 15px; /* Ok işareti sağa kayar */
}

/* Mobil Uyum */
@media (max-width: 768px) {
    .services-pro-grid { padding: 40px 20px; }
    .service-card-pro { padding: 30px; }
}



/* --- ALT SAYFA BAŞLIKLARI (INNER HERO) VE MENÜ ÇAKIŞMA ÇÖZÜMÜ --- */
.inner-hero {
    background: linear-gradient(135deg, var(--secondary-bg) 0%, var(--primary-bg) 100%);
    /* padding değerinin ilk rakamını (üst boşluk) 140px yaparak yazıyı menünün altından kurtarıyoruz */
    padding: 140px 50px 60px; 
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.inner-hero h1 { 
    font-size: 2.5rem; 
    color: var(--white); 
    margin-bottom: 15px; 
}

.inner-hero p { 
    color: var(--text-muted); 
    margin-top: 15px; 
    max-width: 600px; 
    margin-left: auto; 
    margin-right: auto; 
}

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

.breadcrumb a { 
    color: var(--accent-blue); 
    transition: 0.3s;
}

.breadcrumb a:hover { 
    text-decoration: underline; 
    color: var(--white);
}


/* --- HİZMET DETAY SAYFALARI (ALT SAYFALAR) ÖZEL STİLLERİ --- */
.service-details-container {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 50px;
    padding: 60px 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.content-area .lead-text {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Özellikler için Izgara Yapısı (Sıkıcı listeler yerine) */
.features-grid-detail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.feature-box-detail {
    background: var(--secondary-bg);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--accent-blue);
    transition: 0.3s;
}

.feature-box-detail:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    border-color: var(--white);
}

.feature-box-detail h4 {
    color: var(--white);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.feature-box-detail p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Vurgu / Dikkat Kutusu */
.highlight-box {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.05) 0%, rgba(58, 123, 213, 0.1) 100%);
    border: 1px solid rgba(0, 210, 255, 0.2);
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
}

.highlight-box h3 { color: var(--accent-blue); margin-bottom: 15px; }

/* Sağ Menü (Sidebar) Özelleştirmeleri */
.sidebar { display: flex; flex-direction: column; gap: 30px; }

.sidebar-widget {
    background-color: var(--secondary-bg);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.sidebar-widget h3 { 
    color: var(--white); 
    margin-bottom: 20px; 
    font-size: 1.2rem; 
    border-bottom: 2px solid var(--border-color); 
    padding-bottom: 15px; 
}

.sidebar-menu li { margin-bottom: 10px; }
.sidebar-menu a { 
    display: flex; 
    align-items: center; 
    color: var(--text-muted); 
    transition: 0.3s; 
    padding: 10px 15px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
}

.sidebar-menu a:hover { 
    color: var(--white); 
    background: rgba(0, 210, 255, 0.05);
    padding-left: 20px; 
}

.sidebar-menu a.active {
    background: rgba(0, 210, 255, 0.1);
    color: var(--white);
    border-left: 4px solid var(--accent-blue);
}

.contact-widget { 
    background: linear-gradient(135deg, var(--secondary-bg) 0%, var(--primary-bg) 100%); 
    text-align: center; 
    border: 1px solid var(--accent-dark);
}

.contact-widget h4 { color: var(--white); margin-bottom: 15px; font-size: 1.3rem;}
.contact-widget p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 25px; }

.btn-widget {
    display: inline-block; 
    background-color: var(--accent-blue); 
    color: #000;
    padding: 12px 25px; 
    border-radius: 6px; 
    font-weight: 800; 
    transition: 0.3s;
    width: 100%;
}
.btn-widget:hover { background-color: var(--white); transform: translateY(-2px); }

/* Mobil Uyum */
@media (max-width: 900px) {
    .service-details-container { grid-template-columns: 1fr; padding: 40px 20px; }
}


/* =======================================================
   MOBİL UYUMLULUK (RESPONSIVE TASARIM) GÜNCELLEMESİ
   Tüm ekran boyutları için esnek yapı kuralları
   ======================================================= */

/* 1. Sayfanın sağa sola kaymasını (yatay scroll) kesin olarak engeller */
html, body {
    overflow-x: hidden;
    width: 100%;
}

/* Tüm elemanların kutu modelini standartlaştırır (taşmaları önler) */
* {
    box-sizing: border-box;
}

/* --- TABLET VE TELEFON EKRANLARI (768px ve altı) --- */
@media screen and (max-width: 768px) {
    
    /* 1. MENÜ (NAVBAR) DÜZENLEMESİ */
    #navbar {
        flex-direction: column; /* Logoyu ve menüyü alt alta alır */
        padding: 15px 10px;
        text-align: center;
    }
    
    #navbar .logo {
        margin-bottom: 10px;
    }

    .nav-links {
        flex-wrap: wrap; /* Sığmayan linkleri alt satıra atar */
        justify-content: center;
        gap: 12px;
        width: 100%;
    }

    .nav-links li a {
        font-size: 0.9rem;
        padding: 5px;
    }

    /* 2. BAŞLIKLAR VE İÇ BOŞLUKLAR (HERO) */
    .inner-hero {
        padding: 150px 20px 40px !important;
    }

    .inner-hero h1 {
        font-size: 1.8rem !important;
    }

    /* 3. TÜM IZGARA (GRID) YAPILARINI TEK SÜTUNA DÜŞÜRME */
    /* Hizmetler, Hakkımızda, İletişim ve Footer alt alta dizilir */
    .services-pro-grid, 
    .about-grid, 
    .contact-container, 
    .service-details-container, 
    .footer-content,
    .form-row,
    .about-grid .values-grid {
        display: flex !important;
        flex-direction: column !important;
        padding: 40px 20px !important;
        gap: 25px !important;
    }

    /* 4. KUTU VE KART İÇ BOŞLUKLARI */
    .service-card-pro, 
    .value-item, 
    .contact-info-card, 
    .contact-form-card,
    .feature-box-detail,
    .sidebar-widget,
    .highlight-box,
    .sla-card,
    .support-card {
        padding: 25px !important;
        width: 100% !important; /* Ekran dışına taşmayı önler */
    }

    /* 5. METİN BOYUTLARI (Mobilde okunabilirliği artırır) */
    h2 { font-size: 1.5rem !important; }
    h3 { font-size: 1.3rem !important; }
    p, .lead-text { font-size: 0.95rem !important; }
    
    /* 6. FOOTER (ALT BİLGİ) MOBİL DÜZENİ */
    .footer-col {
        text-align: center; /* Mobilde yazıları ortala */
    }
    
    .footer-col h5::after {
        left: 50%;
        transform: translateX(-50%); /* Mavi alt çizgiyi ortala */
    }

    .footer-contact-list li {
        justify-content: center; /* İletişim ikonlarını ortala */
    }
}

/* --- ÇOK KÜÇÜK EKRANLAR (Telefonlar - 480px ve altı) --- */
@media screen and (max-width: 480px) {
    .inner-hero h1 {
        font-size: 1.5rem !important;
    }
    
    .inner-hero p {
        font-size: 0.9rem !important;
    }

    .nav-links {
        gap: 8px;
    }
    
    .nav-links li a {
        font-size: 0.85rem;
    }
}