/* Genel Sıfırlama */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #2d3436;
}

/* Navigasyon */
nav {
    background: #00468b;
    color: white;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav .logo {
    font-size: 1.5rem;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

nav ul li a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
}

.nav-call {
    background: #e67e22;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
}

/* Hero Bölümü Temel Yapısı */
.hero {
    position: relative;
    height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.507);
    text-align: center;
    overflow: hidden;
}
/* Ana Başlık (Klima Bakım & Onarım) */
.hero h1 {
    font-family: 'Montserrat', sans-serif; /* Daha güçlü ve kurumsal bir font */
    font-size: 3.5rem; /* Yazıyı büyütür */
    font-weight: 800; /* Daha kalın ve belirgin yapar */
    letter-spacing: 2px; /* Harfler arası boşluk ekler */
    text-transform: uppercase; /* Tüm harfleri büyük yapar */
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5); /* Okunurluğu artırmak için gölge */
}

/* Alt Metin (İstanbul Avrupa Yakası...) */
.hero p {
    font-size: 1.2rem;
    font-weight: 300; /* Daha ince ve zarif bir görünüm */
    font-style: italic; /* İtalik yaparak vurgular */
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 30px;
}
/* Arka Plan Görselleri ve Animasyon */
.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    background-size: cover;
    background-position: center;
    /* Buradaki saniye (15s) toplam döngü süresidir */
    animation: backgroundChange 15s infinite; 
    transition: all 1s ease-in-out;
}

/* Görsellerin üzerine gelen siyah transparan katman */
.hero::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Yazıların okunması için karartma */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

/* hero Arka Plan Değişme Animasyonu */
@keyframes backgroundChange {
    0%, 33% {
        /* Klima Ünitesi Görseli */
        background-image: url('https://www.tesisatcim.net/imaj/gorseller/kombi-bakimi-nasil-yapilir.jpg');
    }
    34%, 66% {
        /* Teknik Servis / Tamir Görseli */
        background-image: url('https://www.allianz.com.tr/tr_TR/seninle-guzel/kombi-bakimi-nasil-yapilir/_jcr_content/root/stage/stageimage.img.82.1920.jpeg/1747057258713/shutterstock-207837985-2920x1022.jpeg');
    }
    67%, 100% {
        /* Modern İç Mekan ve Klima */
        background-image: url('https://www.aksteknik.net/wp-content/uploads/2023/09/torbali-kombi-bakimi.jpg');
    }
}


/* WhatsApp Butonu Geliştirmesi */
.btn-whatsapp {
    background: #25d366;
    color: white;
    padding: 18px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: 0.3s;
    display: inline-block;
}

.btn-whatsapp:hover {
    transform: scale(1.05);
    background: #128c7e;
    box-shadow: 0 6px 20px rgba(18, 140, 126, 0.6);
}

/* Butonlar */
.btn-whatsapp {
    background: #25d366;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: 0.3s;
}

.btn-whatsapp:hover { background: #128c7e; }

/* Hizmetler Bölümü */
.services { padding: 80px 5%; background: white; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 2.5rem; color: #00468b; }

.container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.card {
    background: #f8f9fa;
    padding: 40px;
    width: 350px;
    text-align: center;
    border-radius: 15px;
    transition: 0.3s;
    border-bottom: 5px solid #00468b;
}

.card:hover { transform: translateY(-10px); background: #fff; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.card i { font-size: 50px; color: #00468b; margin-bottom: 20px; }
.card h3 { margin-bottom: 15px; }


.brands-slider {
    background: #fff;
    padding: 30px 0;
    overflow: hidden;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    position: relative;
}

/* Yanlara hafif gölge vererek logoların kaybolma efektini güzelleştirir */
.brands-slider::before, .brands-slider::after {
    content: "";
    position: absolute;
    top: 0; width: 100px; height: 100%;
    z-index: 2;
}
.brands-slider::before { left: 0; background: linear-gradient(to right, white, transparent); }
.brands-slider::after { right: 0; background: linear-gradient(to left, white, transparent); }

.brands-track {
    display: flex;
    width: calc(250px * 26); /* Toplam marka sayısı x genişlik */
    animation: scrollBrands 40s linear infinite;
}

.brand {
    width: 200px;
    flex-shrink: 0;
    text-align: center;
    font-weight: 800;
    color: #b2bec3; /* Logoları hafif gri yaparak şık durmasını sağlar */
    font-size: 1.2rem;
    letter-spacing: 2px;
    transition: 0.3s;
}

.brand:hover {
    color: #00468b; /* Üzerine gelince markanın rengi canlanır */
    transform: scale(1.1);
}

@keyframes scrollBrands {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-200px * 13)); } /* Yarısına gelince başa sarar */
}

.contact-map {
    padding: 60px 0 0 0; /* Alt boşluğu sıfırladık çünkü harita tam oturmalı */
    background: #fff;
}

.map-container {
    width: 100%;
    line-height: 0; /* Harita altında garip bir boşluk kalmasını engeller */
    filter: grayscale(10%); /* Haritayı biraz daha modern gösterir */
    transition: 0.3s;
}

.map-container:hover {
    filter: grayscale(0%);
}

/* Bölge Kaydırıcı Alanı */
.bolge-kaydirici {
    background: #2d3436; /* Koyu gri/siyah tonu */
    color: #fff;
    overflow: hidden; /* Dışarı taşanları gizle */
    white-space: nowrap; /* Yazıları tek satıra zorla */
    padding: 15px 0;
    border-top: 2px solid #e67e22; /* Üstte ince turuncu bir çizgi */
}

.kayan-yazi {
    display: inline-block;
    padding-left: 100%; /* Başlangıç pozisyonu */
    animation: kaydir 50s linear infinite; /* 30 saniyede bir tur döner */
}

.kayan-yazi span {
    margin-right: 50px; /* İlçeler arası boşluk */
    font-size: 1.0rem;
    color: #dfe6e9;
}

.kayan-yazi b {
    color: #e67e22; /* "Hizmet Bölgelerimiz" yazısını turuncu yapar */
    text-transform: uppercase;
}

/* Kayma Animasyonu */
@keyframes kaydir {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-100%, 0);
    }
}

/* Fare üzerine gelince durması için (opsiyonel) */
.bolge-kaydirici:hover .kayan-yazi {
    animation-play-state: paused;
}


.error-codes {
    padding: 80px 5%;
    background: #f1f2f6;
}

.error-card {
    background: white;
    padding: 25px;
    width: 280px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.error-card h4 {
    color: #00468b;
    border-bottom: 2px solid #e67e22;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.error-card ul {
    list-style: none;
}

.error-card ul li {
    font-size: 0.9rem;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.error-card ul li strong {
    color: #d63031; /* Hata kodunu kırmızı yapalım */
}

.error-codes .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Yan yana otomatik dizilir */
    gap: 20px;
}

.error-card {
    border-left: 4px solid #e67e22; /* Her kartın yanına turuncu bir çizgi */
    transition: 0.3s ease;
}

.error-card:hover {
    border-left: 4px solid #00468b;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.error-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #333;
}
.error-codes .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Yan yana otomatik dizilir */
    gap: 20px;
}

.error-card {
    border-left: 4px solid #e67e22; /* Her kartın yanına turuncu bir çizgi */
    transition: 0.3s ease;
}

.error-card:hover {
    border-left: 4px solid #00468b;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.error-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #333;
}
/* --- MOBİL UYUMLULUK AYARLARI --- */
@media (max-width: 768px) {
    
    /* 1. Menü Ayarı: Yazıları küçült ve ortala */
    nav {
        flex-direction: column;
        padding: 10px;
    }
    
    nav ul {
        margin-top: 10px;
    }
    
    nav ul li a {
        margin: 0 10px;
        font-size: 0.9rem;
    }

    /* 2. Hero (Giriş) Alanı: Yazıları telefona göre ölçekle */
    .hero h1 {
        font-size: 1.8rem; /* Mobilde devasa görünmesin */
        padding: 0 10px;
    }
    
    .hero p {
        font-size: 1rem;
        padding: 0 20px;
    }

    /* 3. Kartlar ve Arıza Kodları: Tek sütun yap */
    .container {
        display: block; /* Yan yana dizilmeyi iptal et */
        padding: 0 20px;
    }

    .card, .error-card {
        width: 100%; /* Kartlar ekranı tam kaplasın */
        margin: 15px 0;
    }

    /* 4. Marka Kaydırıcı: Mobilde biraz daha yavaş akabilir */
    .brand {
        width: 150px; /* Marka yazılarını küçült */
        font-size: 1rem;
    }

    /* 5. Neden Biz Bölümü: İkonları ve yazıları hizala */
    .benefit {
        margin-bottom: 30px;
    }
}
.fixed-call-button {
    display: none; /* Masaüstünde gizli */
}

@media (max-width: 768px) {
    .fixed-call-button {
        display: block;
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 9999;
    }


    }
    /* Genel Buton Tasarımı */
.float-btn {
    position: fixed;
    bottom: 30px; /* Aşağıdan yükseklik */
    width: 60px;
    height: 60px;
    border-radius: 50%; /* Tam yuvarlak */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Üzerine gelince büyüme efekti */
.float-btn:hover {
    transform: scale(1.1);
}

/* Sol Alt: Turuncu Arama Butonu */
.call-btn {
    left: 25px;
    background-color: #e67e22;
}

/* Sağ Alt: Yeşil WhatsApp Butonu */
.whatsapp-btn {
    right: 25px;
    background-color: #25d366;
}

/* Mobilde biraz daha küçük ve yukarıda olsunlar (Varsa alt barlar ile çakışmaması için) */
@media (max-width: 768px) {
    .float-btn {
        width: 55px;
        height: 55px;
        bottom: 25px;
        font-size: 24px;
    }
}

.site-footer {
    background-color: #2d3436; /* Koyu, asil bir gri */
    color: #dfe6e9;
    padding: 40px 20px 100px 20px; /* Alttan 100px boşluk bıraktık ki butonlar yazıları kapatmasın */
    text-align: center;
    border-top: 3px solid #e67e22; /* Turuncu ince bir çizgi ile butona uyum sağlar */
}

.footer-info h3 {
    color: white;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.footer-info p {
    font-size: 0.9rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-links span {
    display: block;
    font-size: 0.85rem;
    margin-top: 10px;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 0.75rem;
    opacity: 0.6;
}

/* Mobilde butonların yazıları örtmemesi için ekstra önlem */
@media (max-width: 768px) {
    .site-footer {
        padding-bottom: 120px; /* Butonlar için geniş bir kaçış alanı */
    }
}
/* Arama Kutusu Tasarımı */
.search-container {
    position: relative;
    max-width: 500px;
    margin: 20px auto 40px;
}

.search-container input {
    width: 100%;
    padding: 15px 20px 15px 45px;
    border-radius: 50px;
    border: 2px solid #00468b;
    font-size: 1rem;
    outline: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.search-container i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #00468b;
}

/* Kaydıran Ana Konteyner */
.animate-scroll {
    display: flex;
    gap: 25px;
    width: max-content;
    /* Animasyonu başlatıyoruz: 40 saniyede bir tur döner */
    animation: scrollErrors 20s linear infinite;
}

/* Mouse ile üzerine gelindiğinde akışı durdur (Okuma kolaylığı için) */
.error-slider-wrapper:hover .animate-scroll {
    animation-play-state: paused;
}

/* Sonsuz Kayma Animasyonu */
@keyframes scrollErrors {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Kartlarının toplam genişliğinin yarısı kadar sola kaymalı */
        transform: translateX(-50%); 
    }
}

/* Mobilde kaydırma çubuğunu gizleyelim, otomatik aksın */
.error-slider-wrapper {
    overflow: hidden; /* Manuel kaydırmayı kapatıp otomatiğe odaklanıyoruz */
    padding: 30px 0;
}
/* Navigasyon Arama Kutusu */
.nav-search {
    position: relative;
    flex: 1; /* Ortadaki boşluğu kaplaması için */
    max-width: 400px; /* Çok fazla uzamaması için */
    margin: 0 30px; /* Logo ve menüden uzaklık */
}

.nav-search input {
    width: 100%;
    padding: 10px 45px 10px 20px;
    border-radius: 25px;
    border: none;
    outline: none;
    font-size: 0.9rem;
}

.nav-search button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #e67e22; /* Turuncu buton rengi */
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.nav-search button:hover {
    background: #d35400;
}

/* Mobil için Düzenleme */
@media (max-width: 768px) {
    .nav-search {
        max-width: 100%;
        margin: 10px 0;
        order: 3; /* Mobilde en alta gelsin */
    }
    nav {
        flex-wrap: wrap; /* Mobilde alt alta geçmesi için */
    }
}
.area-services {
    padding: 60px 5%;
    background-color: #f1f2f6;
}

.area-services .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Kartları yan yana dizer */
    gap: 25px;
    justify-content: center;
}

.area-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-top: 5px solid #e67e22; /* Turuncu çizgi */
    transition: 0.3s;
    text-align: center;
}

.area-card:hover {
    transform: translateY(-5px);
}

.area-card h3 {
    color: #00468b;
    margin-bottom: 15px;
}

.area-card p {
    font-size: 0.95rem;
    color: #636e72;
    margin-bottom: 20px;
    line-height: 1.6;
}

.card-link {
    color: #e67e22;
    text-decoration: none;
    font-size: 1.1rem;
}
/* Kartların yan yana dizilimi */
.services .container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Mobilde alt alta geçer */
}

/* Tüm kartların boyunu eşitleme */
.card {
    flex: 1; /* Hepsine eşit alan ver */
    min-width: 250px;
    max-width: 300px;
    min-height: 320px; /* Sabit yükseklik vererek hizayı koruruz */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    /* Mevcut diğer stilleriniz burada kalsın */
}

/* Petek Temizliği Listesi Tasarımı */
.petek-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 15px;
    gap: 10px;
}

.petek-list span {
    font-size: 0.9rem;
    color: #2d3436;
    display: flex;
    align-items: center;
}

.petek-list i {
    font-size: 14px; /* Onay ikonlarını küçült */
    color: #00468b;
    margin-right: 10px;
    margin-bottom: 0; /* İkonların altındaki boşluğu sıfırla */
}
.kayan-yazi {
    display: inline-block;
    padding-left: 100%;
    /* 60s yerine 120s yaparak yazının daha sakin ve okunur akmasını sağladık */
    animation: kaydir 120s linear infinite; 
}

.kayan-yazi span {
    margin-right: 60px; /* Kelime grupları arası boşluk */
    font-weight: 500;
}
.error-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* İçerikleri kartın içine yayar */
    min-height: 450px; /* Tüm kartları bu yüksekliğe sabitler, hizayı korur */
    background: white;
    padding: 25px;
    border-radius: 12px;
    border-left: 5px solid #e67e22;
    transition: 0.3s;
}

.error-card ul {
    flex-grow: 1; /* Listeyi yukarı iter, uyarı yazısını aşağıda sabitler */
}
.contact-section {
    padding: 60px 0;
    background: #fff;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap; /* Mobilde alt alta geçmesi için */
    gap: 40px;
    align-items: center;
    justify-content: center;
}

/* Kare Harita Kutusu */
.map-box {
    flex: 1;
    min-width: 300px;
    max-width: 450px; /* Kare formunu korumak için */
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.map-box iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(10%); /* Haritayı daha modern gösterir */
}

/* Sağ Taraf Bilgiler */
.contact-info {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.contact-info h3 {
    color: #00468b;
    font-size: 2rem;
    margin-bottom: 25px;
    position: relative;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-info i {
    color: #e67e22;
    font-size: 1.3rem;
    width: 25px;
}

/* İletişim Butonları */
.contact-buttons {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.btn-call, .btn-whatsapp-small {
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    color: #fff;
}

.btn-call { background: #e67e22; }
.btn-whatsapp-small { background: #25d366; }