html, body {
    overflow-x: hidden; /* Yatay taşmaları tamamen keser */
    width: 100%;
}
:root {
    --nowtech-blue: #1A4295;
    --light-blue: #eef4ff;
    --dark-blue: #0a1931;
    --text-color: #333;
    --bg-light: #f9f9fb;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: var(--text-color); line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header & Nav */
header { background: #fff; padding: 15px 0; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 100; }
nav { display: flex; justify-content: space-between; align-items: center; }
/* Logo ve Yazı Kısmını Büyütme */
.logo img {
    height: 70px;
    width: auto;       /* Yazının çok net okunması için genişliği 320px yaptık */
    min-width: auto;   /* Minimum okunabilirlik sınırı */
    display: block;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Mouse ile üzerine gelindiğinde premium bir efekt */
.logo img:hover {
    transform: scale(1.03);
    filter: brightness(1.1);
}

/* Menü linklerinin logonun yanında ortalı durması için */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Logoyu ve linkleri dikeyde aynı hizaya getirir */
}

/* Mobil cihazlarda logonun ekrandan taşmaması için */
@media (max-width: 768px) {
    nav {
        flex-direction: column; /* Logo ve menüyü alt alta dizer */
        gap: 15px;
        padding: 10px 0;
        text-align: center;
    }

    .logo img {
        height: 50px; /* Mobilde logoyu biraz küçültüyoruz */
        width: auto;
        min-width: unset !important; /* Sağa kaymayı engelleyen kritik satır */
    }

    .nav-links {
        justify-content: center;
        width: 100%;
        padding: 0;
    }

    .nav-links li {
        margin: 0 10px; /* Linkler arası boşluk */
    }

    .hero h1 {
        font-size: 30px; /* Başlığı mobilde küçültür */
    }
    .hero p {
        font-size: 16px;
    }
    .btn-outline {
        margin-left: 0;
        margin-top: 10px;
        display: block; /* Butonları alt alta dizer */
    }
    .bento-grid {
        grid-template-columns: 1fr; /* Sütunları teke düşürür */
        grid-template-rows: auto;
    }

    .bento-item.featured, .tech-highlight-advanced {
        grid-column: span 1; /* Geniş kartları daraltır */
        grid-row: auto;
    }

    .tech-categories {
        grid-template-columns: 1fr; /* Teknoloji ikonlarını alt alta dizer */
    }
    .contact-wrapper {
        grid-template-columns: 1fr; /* Form ve bilgiyi alt alta alır */
        gap: 30px;
    }

    .contact-info h1 {
        font-size: 32px;
    }

    .map-section {
        margin-top: 30px;
    }

}
/* Header alanını logonun yeni boyutuna göre genişletiyoruz */
header {
    background: #ffffff;
    padding: 0px 0; /* Üst ve alt boşluğu artırarak logoya alan açtık */
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03); /* Hafif bir gölge ile derinlik kattık */
}
.nav-links { list-style: none; display: flex; align-items: center; }
.nav-links li { margin-left: 30px; }
.nav-links a { text-decoration: none; color: #444; font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: var(--nowtech-blue); }
.btn-nav { background: var(--nowtech-blue); color: #fff !important; padding: 8px 20px; border-radius: 5px; }

/* Hero Section */
.hero {
    padding: 100px 0;
    /* Arka Plan Görseli Ekleme */
    background: url('hero-bg.jpg') no-repeat center center / cover;
    position: relative; /* Overlay için */
    color: #fff; /* Metin rengi okunabilirlik için */
}

/* Arka plan görseli üzerine hafif bir karartma/overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Yarı şeffaf siyah overlay */
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2; /* Metin ve butonların overlay'in üstünde olması için */
}

.badge { background: #fff; color: var(--nowtech-blue); padding: 5px 15px; border-radius: 20px; font-size: 12px; font-weight: 700; border: 1px solid var(--nowtech-blue); }
.hero h1 { font-size: 54px; margin: 20px 0; color: #fff; /* Metin rengi beyaza çevrildi */ }
.hero h1 span { color: var(--nowtech-blue); } /* Mavi vurgu korunuyor */
.hero p { font-size: 18px; max-width: 600px; margin-bottom: 30px; color: #eee; /* Metin rengi beyaza çevrildi */ }
.btn-primary { background: var(--nowtech-blue); color: #fff; padding: 15px 30px; text-decoration: none; border-radius: 5px; font-weight: 600; display: inline-block; }
.btn-outline { border: 2px solid #fff; color: #fff; padding: 13px 30px; text-decoration: none; border-radius: 5px; margin-left: 10px; font-weight: 600; }
.btn-outline:hover { background: #fff; color: var(--nowtech-blue); } /* Hover rengi değiştirildi */

/* Solutions Grid */
.solutions { padding: 80px 0; background: #fff; }
.section-header { text-align: center; margin-bottom: 50px; }
.solution-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.solution-card { padding: 40px; background: var(--bg-light); border-radius: 12px; transition: 0.3s; }
.solution-card:hover { transform: translateY(-10px); background: #fff; box-shadow: 0 15px 35px rgba(0,0,0,0.1); }
.icon-box { font-size: 35px; color: var(--nowtech-blue); margin-bottom: 20px; }
/* Partners Section */
.partners {
    padding: 80px 0;
    background: #fff;
    overflow: hidden; /* Taşmaları gizle */
}

.logo-slider {
    width: 100%;
    margin-top: 40px;
    position: relative;
    padding: 20px 0;
}

.logo-track {
    display: flex;
    width: calc(250px * 12); /* Logo genişliği * toplam logo sayısı */
    animation: scroll 40s linear infinite; /* 30 saniyede bir tam tur */
}

.slide {
    width: 250px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}

.slide img {
    width: 100%;
    max-width: 180px;
    filter: grayscale(0%); /* Logolar gri tonda başlar */
    opacity: 0.6;
    transition: 0.4s;
}

.slide img:hover {
    filter: grayscale(0%); /* Üzerine gelince renklenir */
    opacity: 1;
}

/* Kayma Animasyonu */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 10)); } /* İlk 6 logo bitince başa döner */
}

/* Kenarlara yumuşak geçiş (Gölge efekti) */
.logo-slider::before,
.logo-slider::after {
    content: "";
    height: 100%;
    position: absolute;
    width: 200px;
    z-index: 2;
    pointer-events: none;
}

.logo-slider::before {
    left: 0;
    top: 0;
    background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
}

.logo-slider::after {
    right: 0;
    top: 0;
    background: linear-gradient(to left, white 0%, rgba(255, 255, 255, 0) 100%);
}
/* Footer */
footer { background: var(--dark-blue); color: #fff; padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; border-bottom: 1px solid #222; padding-bottom: 40px; }
.footer-logo { height: 40px; filter: brightness(0) invert(1); margin-bottom: 20px; }
.copyright { text-align: center; padding-top: 20px; font-size: 14px; opacity: 0.6; }
/* İletişim Sayfası Tasarımı */
.contact-page { padding: 80px 0; background: #f9f9fb; min-height: 80vh; }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }

.contact-info h1 { font-size: 42px; color: var(--nowtech-blue); margin-bottom: 20px; }
.info-item { display: flex; align-items: flex-start; margin-bottom: 30px; }
.info-item i { 
    font-size: 20px; 
    color: var(--nowtech-blue); 
    background: var(--light-blue); 
    padding: 15px; 
    border-radius: 50%; 
    margin-right: 20px; 
}
.info-item h4 { margin-bottom: 5px; font-size: 18px; }

.contact-form-box { background: #fff; padding: 40px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 14px; }
.form-group input, .form-group textarea { 
    width: 100%; 
    padding: 12px; 
    border: 1px solid #ddd; 
    border-radius: 8px; 
    font-family: inherit; 
}

@media (max-width: 768px) {
    .contact-wrapper { grid-template-columns: 1fr; }
}
/* Harita Bölümü Stilleri */
.map-section {
    margin-top: 50px;
    margin-bottom: 80px;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.map-container iframe {
    display: block;
}
/* Hakkımızda Bölümü Stilleri */
.about-section { padding: 100px 0; background: #fff; }
.about-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.about-image { position: relative; }
.about-image img { 
    width: 100%; 
    border-radius: 20px; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.1); 
}

/* Görsel üzerindeki deneyim rozeti */
.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--nowtech-blue);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(26, 66, 149, 0.3);
}
.experience-badge span { font-size: 32px; font-weight: 700; display: block; }
.experience-badge p { font-size: 14px; margin: 0; opacity: 0.9; }

.about-text h2 { font-size: 38px; margin: 20px 0; line-height: 1.2; }
.about-text h2 span { color: var(--nowtech-blue); }
.about-text p { color: #666; font-size: 17px; margin-bottom: 25px; }

.about-features { list-style: none; margin-bottom: 35px; }
.about-features li { margin-bottom: 12px; font-weight: 500; display: flex; align-items: center; }
.about-features li i { color: var(--nowtech-blue); margin-right: 12px; font-size: 18px; }

.about-stats { display: flex; gap: 40px; margin-bottom: 35px; border-top: 1px solid #eee; padding-top: 30px; }
.stat h3 { font-size: 28px; color: var(--nowtech-blue); margin-bottom: 5px; }
.stat p { font-size: 14px; color: #888; margin: 0; }

@media (max-width: 992px) {
    .about-wrapper { grid-template-columns: 1fr; gap: 50px; }
    .experience-badge { right: 20px; bottom: 20px; }
}
/* Trust Section Yenilenen Tasarım */
.trust-section {
    padding: 100px 0;
    background-color: #fcfdfe;
    background-image: radial-gradient(#1a429505 1px, transparent 1px); /* Çok hafif teknolojik nokta deseni */
    background-size: 20px 20px;
    position: relative;
}

.trust-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.trust-content h2 { font-size: 42px; margin: 15px 0; color: #0a1931; }
.trust-content h2 span { color: var(--nowtech-blue); }
.trust-content p { font-size: 18px; color: #666; margin-bottom: 30px; }

.trust-points { display: flex; gap: 20px; }
.point {
    background: #fff;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    color: var(--nowtech-blue);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Kayar Kart Tasarımı */
.trust-logos { overflow: hidden; position: relative; }

.logo-carousel {
    display: flex;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-track {
    display: flex;
    animation: scrollLogos 25s linear infinite;
}

.partner-card {
    background: #fff;
    width: 200px;
    height: 100px;
    margin: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    padding: 20px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.02);
    transition: 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
    border-color: var(--nowtech-blue);
    box-shadow: 0 15px 30px rgba(26, 66, 149, 0.1);
}

.partner-card img {
    max-width: 130px;
    filter: grayscale(0); /* Net ve renkli */
}

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-230px * 5)); } /* Kart genişliği + margin * logo sayısı */
}

@media (max-width: 992px) {
    .trust-wrapper { grid-template-columns: 1fr; text-align: center; }
    .trust-points { justify-content: center; }
}
/* Bento Grid Tasarımı */
.solutions-bento { padding: 100px 0; background: #fff; }

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 25px;
    margin-top: 50px;
}

.bento-item {
    background: #f8fafd;
    border-radius: 30px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Ana Öne Çıkan Kart (Sol Taraf Büyük) */
.featured {
    grid-row: span 2;
    background: linear-gradient(135deg, #f8fafd 0%, #ffffff 100%);
    border: 2px solid #eef2f8;
}

.featured .icon-circle { background: var(--nowtech-blue); color: #fff; }

/* Küçük Kartlar */
.bento-item.normal { background: #ffffff; }

/* Teknoloji Highlight Kartı */
.tech-highlight {
    background: var(--nowtech-blue);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.tech-icons {
    display: flex;
    gap: 20px;
    font-size: 30px;
    margin-top: 15px;
    opacity: 0.8;
}

/* İçerik Stilleri */
.icon-circle {
    width: 60px;
    height: 60px;
    background: #eef2f8;
    color: var(--nowtech-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-size: 24px;
    margin-bottom: 25px;
}

.bento-item h3 { font-size: 22px; margin-bottom: 15px; color: #0a1931; }
.bento-item p { color: #666; font-size: 15px; line-height: 1.6; }

.learn-more {
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    color: var(--nowtech-blue);
    font-weight: 700;
    font-size: 14px;
}

/* Dekoratif Arka Plan İkonu */
.bento-decor {
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 120px;
    color: var(--nowtech-blue);
    opacity: 0.03;
    transform: rotate(-15deg);
}

/* Hover Efektleri */
.bento-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border-color: var(--nowtech-blue);
}

/* Mobil Uyumluluk */
@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .featured { grid-row: auto; }
}
/* Gelişmiş Teknoloji Kartı Stilleri */
.tech-highlight-advanced {
    grid-column: span 2; /* Bento grid içinde 2 sütun kaplaması daha şık durur */
    background: #0a1931; /* Koyu lacivert arka plan */
    color: #fff;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tech-header { margin-bottom: 30px; }
.tech-badge { color: #4facfe; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.tech-header h3 { color: #fff; font-size: 26px; margin-top: 10px; }
.tech-header p { color: #a0aec0; font-size: 14px; margin-top: 10px; }

.tech-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tech-cat h4 {
    font-size: 13px;
    color: #4facfe;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 5px;
}

.tech-icons-row { display: flex; flex-wrap: wrap; gap: 15px; }

.t-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.05);
    padding: 8px 12px;
    border-radius: 8px;
    transition: 0.3s;
}

.t-icon:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }

.t-icon i { font-size: 18px; color: #fff; }
.t-icon span { font-size: 12px; font-weight: 500; color: #cbd5e0; }

@media (max-width: 768px) {
    .tech-categories { grid-template-columns: 1fr; }
    .tech-highlight-advanced { grid-column: span 1; }
}
/* Başlık Standartları (Tüm bölümler için) */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 42px;
    margin: 15px 0;
    color: #0a1931;
    line-height: 1.2;
}

.section-header p {
    color: #666;
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

/* Bento Grid Yerleşimi */
.solutions-bento {
    padding: 80px 0; /* Boşlukları dengeledik */
    background: #fff;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto; /* Yüksekliği içeriğe göre ayarlar */
    gap: 25px;
}

/* Öne çıkan kart 2 satır kaplasın */
.bento-item.featured {
    grid-row: span 2;
}

/* Teknoloji kartı 2 sütun kaplasın */
.tech-highlight-advanced {
    grid-column: span 2;
}

/* Mobil için düzelme (Kaymayı önler) */
@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .bento-item.featured, .tech-highlight-advanced {
        grid-row: auto;
        grid-column: auto;
    }
    .section-header h2 {
        font-size: 32px;
    }
}
/* Referanslar Bölümü Genel Düzen */
.trust-section {
    padding: 80px 0;
    background: #fbfcfd;
}

.logo-matrix {
    display: grid;
    /* 1fr yerine piksel bazlı sınırlama getirerek taşmayı önlüyoruz */
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); 
    gap: 20px;
    width: 100%;
}

.partner-card {
    background: #fff;
    height: 100px; /* Yüksekliği biraz azalttık */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 15px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.partner-card img {
    max-width: 85%; /* Logonun dışarı taşmasını engeller */
    max-height: 50px;
    object-fit: contain;
}

/* Yan yana duracaksa trust-wrapper'ı güncelle */
.trust-wrapper {
    display: flex;
    flex-wrap: wrap; /* Sığmazsa aşağı atar */
    gap: 40px;
    align-items: center;
}

.trust-content {
    flex: 1;
    min-width: 300px; /* Metin alanı çok daralmasın */
}

.trust-logos {
    flex: 1.5; /* Logolara daha fazla alan ver */
    min-width: 300px;
}
/* Yenilenmiş Footer Tasarımı */
footer {
    background: #0a1931; /* Koyu Lacivert - Netlik sağlar */
    color: #ffffff;
    padding: 80px 0 30px;
}


.footer-logo {
    max-width: 180px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1); /* Logoyu beyaz yapar (Eğer logo renkliyse) */
}

footer h4 {
    color: #4facfe; /* Başlıklar için açık mavi */
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: 700;
}

.footer-links p {
    color: #cbd5e0; /* Metinler için açık gri/beyaz */
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-links i {
    color: #4facfe; /* İkonlar belirgin açık mavi */
    font-size: 18px;
}

/* LinkedIn Buton Tasarımı */
.footer-social a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 20px;
    border-radius: 8px;
    color: #ffffff !important;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.footer-social a:hover {
    background: #0077b5; /* LinkedIn Mavisinde parlar */
    border-color: #0077b5;
    transform: translateY(-3px);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: #718096;
    font-size: 14px;
}