/* 1. TÜM SİTE FONT AYARI */
body {
    font-family: 'Inter', sans-serif;
    color: #2c3e50;
    /* Fontun daha net ve pürüzsüz görünmesini sağlar */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.navbar-nav .nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-size: 15px;
    color: #2c3e50 !important;
    transition: all 0.3s ease;

    /* BOŞLUK AYARLARI */
    padding: 10px 20px !important;
    /* Sağdan ve soldan boşluğu 20px yaptık */
    margin-left: 10px;
    /* Linklerin arasına ekstra mesafe koyduk */
}

/* Teklif Al Butonu için ek mesafe */
.btn-teklif-al {
    margin-left: 25px;
    /* Menü bittikten sonra butonun biraz daha açıkta durması iyidir */
}

/* 3. ACTIVE CLASS (Hangi Sayfadaysak) */
.navbar-nav .nav-link.active {
    color: #FFB347 !important;
    /* Logonun Turuncusu */
}

/* 4. BİLGİSAYARDA (LG ve üzeri) HOVER ANİMASYONU */
@media (min-width: 992px) {
    .navbar-nav .nav-link:hover:not(.active) {
        color: #060649 !important;
        /* Logonun Laciverti */
        transform: translateY(-3px);
        /* Yukarı zıplama */
    }
}

/* 5. MOBİLDE (SM) DOKUNMA AYARI */
@media (max-width: 991.98px) {
    .navbar-nav .nav-link:active {
        background-color: #f8f9fa;
        color: #FFB347 !important;
    }
}

/* 6. BAŞLIKLAR (HERO VE DİĞERLERİ) */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Inter', sans-serif;
    line-height: 1.2;
    /* Başlıklar her zaman gövde metninden daha dar harf aralığına sahip olmalı */
    letter-spacing: -0.04em;
    font-weight: 800;
}

/* 7. HERO ALANI STİLLERİ */
/* HERO ALANI ANA AYARLARI */
.hero-area {  position: relative;
    min-height: 90vh; /* height yerine min-height kullan */
    background-image: url(../img/indeximg/hero.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    overflow: hidden;
}
@media (max-width: 576px) {
    .hero-overlay {
        /* Buraya o alanın class ismini yazmalısın */
        background-size: contain !important;
        /* Resmi sığdırır, kesmez */
        background-repeat: no-repeat;
        background-position: center top;
        /* Resmi yukarıya yaslar */
        min-height: 300px;
        /* Resmin görünmesi için bir yükseklik ver */
    }
}

/* Siyah Perde (Overlay) - Resmin üzerine biner, yazıyı okunur yapar */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(6, 6, 73, 0.9), rgba(6, 6, 73, 0.4));
    /* Lacivert ağırlıklı geçiş */
    z-index: 1;
}

/* İçeriği Perdenin Önüne Çıkar */
.hero-area .container {
    position: relative;
    z-index: 2;
}

/* Turuncu Buton ve Metinler */
.text-orange {
    color: #FFB347;
}

.btn-orange-lg {
    background-color: #FFB347;
    color: #060649;
    font-weight: 700;
    border-radius: 8px;
    transition: 0.3s;
}

.btn-orange-lg:hover {
    background-color: #e5a140;
    transform: translateY(-5px);
    color: #060649;
}

/* Giriş Animasyonu */
.animate-fade-in {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-outline-orange-hero {
    border: 2px solid #FFB347 !important;
    color: #FFB347 !important;
    font-weight: 700;
    background: transparent;
}

.btn-outline-orange-hero:hover {
    background-color: #FFB347 !important;
    color: #060649 !important;
}

.hero-badge-scan {
    position: relative;
    overflow: hidden;
    /* Işığın dışarı taşmaması için */
    background: rgba(6, 6, 73, 0.6);
    /* Lacivert şeffaflık */
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 179, 71, 0.3);
    /* Turuncu ince kenarlık */
    padding: 8px 20px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
}

/* Soldan sağa geçen ışık */
.hero-badge-scan::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-25deg);
    animation: scan-light 3s infinite;
}

@keyframes scan-light {
    0% {
        left: -100%;
    }

    20% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

/* 2. HERO ALANI */
/* --- HİZMETLER BÖLÜMÜ (RESİMLİ) --- */
.services-section {
    background-color: #ffffff;
    /* Temiz beyaz arka plan */
}

.text-navy {
    color: #060649;
}

/* Kurumsal Lacivert */

.service-card {
    background: #fff;
    padding: 30px;
    /* İç boşluğu biraz azalttık, resim çok büyük durmasın */
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    /* Tıklanabilir hissi verelim */
}

/* RESİM SARICI (IMAGE WRAPPER) */
.service-img-wrap {
    width: 100%;
    height: 180px;
    /* Sabit yükseklik - TÜM RESİMLERİ EŞİTLER */
    overflow: hidden;
    /* Resmin dışarı taşmasını engeller */
    border-radius: 15px;
    /* Şık yuvarlak köşeler */
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    /* Hafif derinlik */
    border-radius: 12px;
    /* Resmin köşelerini biraz daha yuvarlatır */
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Resmin etrafına çok ince bir çerçeve atar, netlik kazandırır */
}

.service-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Resmin en-boy oranını bozmadan sığdırır - ÇOK ÖNEMLİ */
    transition: transform 0.6s ease;
    /* Hover animasyonu için */
}

.service-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: #060649;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
}

.service-card p {
    font-size: 14.5px;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0;
}

/* HOVER EFEKTLERİ */
.service-card:hover {
    transform: translateY(-12px);
    /* Kartın yükselmesi */
    box-shadow: 0 20px 40px rgba(6, 6, 73, 0.1);
    border-color: rgba(255, 179, 71, 0.5);
    /* Hafif turuncu kenarlık */
}

/* Hover'da Resmin Kendi İçinde Zoom Yapması */
.service-card:hover .service-img-wrap img {
    transform: scale(1.1);
    /* Resme hafifçe yaklaşır */
}

/* 2. HERO ALANI SONU */


/* EKRAN KAYDIĞINDA KAYAN RESİM */
/* ekran kaydığında kayan resim */

.parallax-container {
    height: 500px;
    /* Tam ekran yüksekliği */
    background-image: url(../img/indeximg/computer.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Paralaks efekti için */
    background-repeat: no-repeat;
    position: relative;
}

/* İçerik için yarı saydam katman */
.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.638);
    /* Siyah yarı saydam */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* EKRAN KAYDĞINDA KAYAN RESİM SONU */


/* Animasyon Tanımı */
@keyframes modernFloat {
    0% {
        transform: translateY(0px);
        filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.1));
    }

    50% {
        transform: translateY(-10px);
        /* 10px yukarı kayar */
        filter: drop-shadow(0 20px 10px rgba(0, 0, 0, 0.05));
        /* Yukarıdayken gölge yumuşar */
    }

    100% {
        transform: translateY(0px);
        filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.1));
    }
}

/* Sınıf Uygulaması */
.floating-icon {
    display: inline-block;
    animation: modernFloat 3s ease-in-out infinite;
    /* 2s yerine 3s yaparak daha sakin bir süzülme sağladık */
    will-change: transform;
    /* Tarayıcı performansını artırır */
}



.adana {
    position: relative;
    background-image: url("/img/indeximg/bgdark.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    padding: 70px;
}


/* Başlık harf aralığı */
.ls-2 {
    letter-spacing: 2px;
}

/* Ana Aksiyon Butonu */
.btn-main-action {
    background-color: #df7d06;
    color: #fff;
    padding: 15px 35px;
    border-radius: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
}

.btn-main-action:hover {
    background-color: #060649;
    color: #fff;
    transform: translateX(5px);
    box-shadow: 0 10px 20px rgba(223, 125, 6, 0.3);
}

.btn-main-action i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.btn-main-action:hover i {
    transform: rotate(-45deg);
}

/* Telefon Butonu */
.btn-call-action {
    border: 2px solid #e9ecef;
    color: #060649;
    padding: 15px 35px;
    border-radius: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.btn-call-action:hover {
    border-color: #df7d06;
    background-color: #fffaf5;
    color: #df7d06;
}

/* Metin Alanına Sol Çizgi (Vurgu) */
.about-content {
    border-left: 4px solid #ab6004;
    border-radius: 30px;
    padding-left: 30px;
}

@media (max-width: 576px) {
    .about-content {
        border-left: none;
        padding-left: 0;
        text-align: center;
    }

    .btn-main-action,
    .btn-call-action {
        justify-content: center;
    }
}


/* İLETİŞİM NASIL İLERLİYOR */
/* Genel Değişkenler (Eğer yoksa) */
:root {
    --navy: #060649;
    --orange: #df7d06;
}

.text-navy {
    color: var(--navy) !important;
}

.text-orange {
    color: var(--orange) !important;
}

.ls-2 {
    letter-spacing: 2px;
}

/* Süreç Kartları Stili */
.process-card {
    transition: all 0.4s ease;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.02) !important;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important;
}

/* Kartın altındaki turuncu çizgi (Loader) */
.process-loader {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    /* Başlangıçta gizli */
    height: 4px;
    border-radius: 0 0 20px 20px;
    transition: width 0.4s ease;
}

.process-card:hover .process-loader {
    width: 100%;
    /* Üzerine gelince tamamını kaplar */
}

/* İkon Kutusu */
.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

/* Adım Numarası (01, 02...) */
.step-number {
    font-size: 3.5rem;
}

/* İLETİŞİM NASIL İLERLİYOR SONU */

/* SIKÇA SORULAN SORULAR */

/* acoridon  */
/* Akordiyon Konteyner */
.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 12px !important;
    /* Köşeleri yumuşat */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    /* Hafif gölge */
    overflow: hidden;
}

/* Başlık Butonu */
.accordion-button {
    font-weight: 600;
    color: #333;
    padding: 1.2rem;
    background-color: #fff;
}

/* Aktif (Açık) Durum */
.accordion-button:not(.collapsed) {
    background-color: #fff;
    color: #0d6efd;
    box-shadow: none;
}

/* Ok simgesini özelleştirme */
.accordion-button::after {
    background-size: 1rem;
}

/* İçerik Alanı */
.accordion-body {
    color: #470303;
    line-height: 1.6;
    padding-top: 0;
}

/*  SIKÇÇA SORULAN SORULAN ALANI SONU */



/* whatsapp icon */

/* Sabit WhatsApp Butonu Stilleri ve Animasyonu */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    /* WhatsApp Yeşili */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    /* Diğer tüm içeriklerin üzerinde kalmasını sağlar */
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: #1ebe57;
    /* Hover durumunda bir ton koyu yeşil */
    color: white;
    transform: scale(1.1);
    /* Hafifçe büyür */
}

/* Yuvarlak Daire Dağılan Animasyon (Pulse) */
.whatsapp-btn::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #25d366;
    border-radius: 50%;
    z-index: -1;
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* whatsap icons sonu */

/* iletişim formu */

.contact-form .form-control:focus {
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(223, 125, 6, 0.1) !important;
    border: 1px solid #df7d06 !important;
}

.btn-orange {
    background-color: #df7d06;
    color: white;
    transition: all 0.3s ease;
}

.btn-orange:hover {
    background-color: #c46b05;
    color: white;
    transform: translateY(-2px);
}

.text-navy {
    color: #060649;
}

.text-orange {
    color: #df7d06;
}

.iletisimbg {
    background-color: #f8f9fa;
    /* Çok hafif, kirli beyaz/gri */
    border-radius: 40px;
    /* Kenarları yumuşatmak modernlik katar */
    padding: 80px 0;
    /* İçeriden ferah bir boşluk */
    border: 1px solid rgba(0, 0, 0, 0.03);
    /* Çok ince, belli belirsiz bir çerçeve */
}




/* iletişim formu sonu */

/* footer */
.blog-card {
    transition: all 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.bg-orange {
    background-color: #df7d06 !important;
    color: white;
}

.text-orange {
    color: #df7d06 !important;
}

.text-navy {
    color: #060649 !important;
}

.hover-orange:hover {
    color: #df7d06 !important;
    transition: 0.3s;
}

.ls-2 {
    letter-spacing: 2px;
}

.social-icons a:hover {
    color: #df7d06 !important;
    border-color: #df7d06 !important;
    transform: translateY(-3px);
    animation: backwards;
}

/* footer sonu */



/* ============================================ */
/* TABLET DÜZELTME (768px - 1024px) - ANA ÇÖZÜM */
/* ============================================ */

/* Tablet aralığı için özel düzeltmeler */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    
    /* 1. HERO ALANI DÜZELTMESİ - En kritik sorun burada */
    .hero-area {
        height: auto !important;
        min-height: 70vh !important;
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center !important;
        padding: 100px 0 !important;
    }
    
    .hero-overlay {
        background: rgba(6, 6, 73, 0.85) !important;
    }
    
    .hero-area h1.display-2 {
        font-size: 2.8rem !important;
    }
    
    .hero-area .fs-5 {
        font-size: 1.1rem !important;
    }
    
    /* 2. PARALLAX DÜZELTMESİ - Tablet'de fixed kaldır */
    .parallax-container {
        background-attachment: scroll !important;
        height: auto !important;
        min-height: 450px !important;
    }
    
    /* 3. SERVİS KARTLARI - Tablet'de 2'li görünmeli */
    .services-section .row {
        display: flex !important;
        flex-wrap: wrap !important;
    }
    
    .services-section .col-lg-4.col-md-6 {
        width: 48% !important;
        flex: 0 0 48% !important;
        margin: 1% !important;
    }
    
    .service-card {
        padding: 20px !important;
        height: 100% !important;
    }
    
    .service-img-wrap {
        height: 160px !important;
    }
    
    /* 4. "Neden Biz?" bölümü - Tablet'de alt alta */
    .my-3.py-3 .row {
        display: flex !important;
        flex-direction: column !important;
    }
    
    .my-3.py-3 .col-lg-6,
    .my-3.py-3 .col-md-6 {
        width: 100% !important;
    }
    
    .adana {
        padding: 50px 30px !important;
        margin-top: 40px !important;
    }
    
    /* 5. Süreç kartları (4 adım) - Tablet'de 2'li */
    .process-steps-container .col-lg-3.col-md-6 {
        width: 48% !important;
        flex: 0 0 48% !important;
        margin: 1% !important;
    }
    
    /* 6. Sıkça Sorulan Sorular - Alt alta */
    .black-bg .row {
        display: flex !important;
        flex-direction: column !important;
    }
    
    .black-bg .col-md-6 {
        width: 100% !important;
    }
    
    /* 7. İletişim formu - Alt alta */
    .contact-section .row {
        display: flex !important;
        flex-direction: column !important;
    }
    
    .contact-section .col-lg-5,
    .contact-section .col-lg-7 {
        width: 100% !important;
        margin-bottom: 30px !important;
    }
    
    /* 8. Footer - Tablet düzeni */
    .footer .row {
        display: flex !important;
        flex-wrap: wrap !important;
    }
    
    .footer .col-lg-4 {
        width: 100% !important;
        margin-bottom: 40px !important;
    }
    
    /* 9. 3'lü alan (istatistikler) - Tablet'de yan yana 2'li */
    .my-2.py-2 .row .col-lg-4 {
        width: 48% !important;
        flex: 0 0 48% !important;
        margin: 1% !important;
    }
    
    /* 10. Genel container padding düzeltmesi */
    .container {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
    
    /* 11. Tüm resimlerin taşmasını engelle */
    img, picture, video, iframe {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* 12. Body taşmasını engelle */
    body {
        overflow-x: hidden !important;
        width: 100% !important;
    }
    
    /* 13. Row flex düzeni */
    .row {
        display: flex !important;
        flex-wrap: wrap !important;
    }
}

/* ============================================ */
/* MOBİL DÜZELTME (576px ve altı) - Mevcut CSS'i güçlendir */
/* ============================================ */

@media (max-width: 576px) {
    .hero-area {
        height: auto !important;
        min-height: 100vh !important;
        background-attachment: scroll !important;
        background-size: cover !important;
        padding: 80px 0 !important;
    }
    
    .hero-area h1.display-2 {
        font-size: 1.8rem !important;
    }
    
    .hero-badge-scan {
        font-size: 0.7rem !important;
    }
    
    .services-section .col-lg-4.col-md-6 {
        width: 100% !important;
    }
    
    .process-steps-container .col-lg-3.col-md-6 {
        width: 100% !important;
    }
    
    .adana {
        padding: 30px 20px !important;
    }
    
    .about-content {
        border-left: none !important;
        padding-left: 0 !important;
        text-align: center !important;
    }
    
    .btn-main-action, .btn-call-action {
        justify-content: center !important;
        width: 100% !important;
    }
    
    .my-2.py-2 .row .col-lg-4 {
        width: 100% !important;
        margin-bottom: 15px !important;
    }
    
    .whatsapp-btn {
        width: 50px !important;
        height: 50px !important;
        bottom: 20px !important;
        right: 20px !important;
    }
}

/* ============================================ */
/* GENEL TAŞMA ÖNLEME (Tüm cihazlar için güvenlik) */
/* ============================================ */

* {
    max-width: 100%;
    box-sizing: border-box;
}

body {
    overflow-x: hidden !important;
    width: 100% !important;
}

.container, .container-fluid {
    overflow-x: hidden !important;
}

/* Bootstrap column taşmalarını engelle */
[class*="col-"] {
    overflow-x: hidden !important;
}

/* Hero overlay'in mobilde düzgün görünmesi için */
@media (max-width: 768px) {
    .hero-overlay {
        background: linear-gradient(to bottom, rgba(6, 6, 73, 0.85), rgba(6, 6, 73, 0.7)) !important;
    }
}