/* GENEL AYARLAR */
* { margin:0; padding:0; box-sizing:border-box; }

/* Menü tıklandığında başlığın header altında kalmasını önler */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; 
}

body { font-family: Arial, sans-serif; color: #333; line-height: 1.6; background: #f8f9fa; }

/* HEADER & NAV */
header.nav-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 133, 51, 0.98); /* Daha net bir turuncu */
    padding: 10px 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo img {
    height: 60px;
    width: auto;
    display: block;
}
nav ul {
    display: flex;
    list-style: none;
}
nav ul li { margin: 0 15px; }
nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: 0.3s;
}
nav ul li a:hover { color: #333; }

.nav-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}
.nav-whatsapp, .nav-maps {
    padding: 8px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.3s;
}
.nav-whatsapp { background: #25D366; color: white; }
.nav-maps { background: #4285F4; color: white; }
.nav-whatsapp:hover, .nav-maps:hover { transform: translateY(-2px); opacity: 0.9; }

/* HERO SLIDER */
.hero-slider {
    position: relative;
    height: 80vh;
    overflow: hidden;
    background: #000;
}
.slides {
    position: relative;
    width: 100%;
    height: 100%;
}
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}
.slide.active { opacity: 1; }
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmi ekranı kaplayacak şekilde yayar */
    display: block;
}
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.8);
    z-index: 10;
    width: 90%;
}
.hero-content h1 { font-size: 3.5em; margin-bottom: 15px; letter-spacing: 2px; }
.hero-content p { font-size: 1.5em; margin-bottom: 30px; }

/* SLIDER KONTROLLERİ */
.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 20;
    padding: 0 20px;
    pointer-events: none;
}
.slider-prev, .slider-next {
    pointer-events: auto;
    background: rgba(0,0,0,0.4);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}
.slider-prev:hover, .slider-next:hover { background: #ff8533; }

/* BÖLÜMLER GENEL */
.container { max-width: 1200px; margin: 0 auto; padding: 20px; }
section { padding: 80px 0; }
h2 { text-align: center; color: #ff8533; margin-bottom: 40px; font-size: 2.2em; }

/* YETKİLİ SERVİSLER */
.yetkili-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); 
    gap: 20px; 
}
.yetkili-item { 
    text-align: center; 
    background: #fff; 
    border-radius: 10px; 
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.yetkili-item img { 
    width: 100%; 
    height: 100px; 
    object-fit: contain; /* Logoların kesilmesini önler, tam gösterir */
    margin-bottom: 10px;
}
.yetkili-item p { font-weight: bold; color: #555; font-size: 0.9em; }

/* HİZMETLER */
.hizmetler-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px; 
}
.hizmet-card { 
    background: white; 
    padding: 25px; 
    border-radius: 15px; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.05); 
    text-align: center;
    transition: 0.3s;
}
.hizmet-card:hover { transform: translateY(-5px); }
.hizmet-card img { 
    width: 100%; 
    height: 200px; 
    object-fit: cover; 
    border-radius: 10px; 
    margin-bottom: 20px; 
}
.hizmet-card h3 { color: #ff8533; margin-bottom: 15px; }

/* BUTONLAR */
.btn { 
    display: inline-block;
    background: #ff8533; 
    color: white; 
    padding: 14px 28px; 
    border-radius: 8px; 
    text-decoration: none; 
    font-weight: bold; 
    transition: 0.3s;
    border: none;
    cursor: pointer;
}
.btn:hover { background: #e55a00; transform: scale(1.05); }
.btn-whatsapp { background: #25D366; }
.btn-maps { background: #4285F4; }

/* İLETİŞİM */
#iletisim { background: #222; color: white; }
#iletisim h2 { color: #ff8533; }
#iletisim ul { list-style: none; margin-bottom: 40px; }
#iletisim ul li { margin: 20px 0; font-size: 1.2em; }
#iletisim a { color: white; text-decoration: none; }
#iletisim a:hover { color: #ff8533; }

/* FOOTER */
footer { background: #111; color: #777; text-align: center; padding: 25px; font-size: 0.9em; }

/* MOBİL UYUMLULUK - FİNAL DÜZENLEME */
@media (max-width: 768px) {
    /* Header alanını çok daha kompakt hale getiriyoruz */
    header.nav-header { 
        padding: 5px 0; 
    }
    
    .nav-container { 
        flex-direction: column; 
        gap: 2px; 
    }

    .logo img { 
        height: 35px; /* Logoyu daha da küçülttük */
    }

    /* Menü yazılarını mobilde gizleyerek slider'a yer açıyoruz */
    /* Kullanıcılar zaten aşağı kaydırarak bölümleri görecektir */
    nav ul { 
        display: none; 
    }
    
    .nav-buttons { 
        width: 100%; 
        justify-content: center; 
        gap: 5px; 
        padding: 5px 0;
    }

    .nav-whatsapp, .nav-maps { 
        font-size: 0.7rem; 
        padding: 5px 8px; 
        flex: 1;
        text-align: center;
        justify-content: center;
    }

    /* Slider'ın görünürlüğünü artırmak için yükseklik ve boşluk ayarı */
    .hero-slider { 
        height: 40vh; /* Yüksekliği biraz azalttık */
        margin-top: 80px; /* Header küçüldüğü için boşluğu da azalttık */
    }

    .hero-content h1 { font-size: 1.5em; }
    .hero-content p { font-size: 0.9em; }

    /* Yetkili Servisler - 3'lü yan yana düzeni koruyoruz */
    .yetkili-grid { 
        grid-template-columns: repeat(3, 1fr); 
        gap: 8px; 
    }
    
    .yetkili-item img { height: 50px; }
    
    /* Hizmet Kartları */
    .hizmet-card img { height: 140px; }
}/* CANLI DESTEK TASARIMI */
.wa-toggle { 
    position: fixed; bottom: 20px; right: 20px; 
    background: #25d366; color: white; border: none; 
    padding: 12px 25px; border-radius: 50px; 
    cursor: pointer; z-index: 9999 !important; 
    font-weight: bold; box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    display: flex; align-items: center; gap: 8px;
}

.wa-chat-box { 
    position: fixed; bottom: 85px; right: 20px; 
    width: 300px; background: white; border-radius: 12px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); 
    display: none; z-index: 9999 !important; overflow: hidden;
    font-family: sans-serif;
}

.wa-header { 
    background: #075e54; color: white; padding: 15px; 
    display: flex; align-items: center; gap: 10px; position: relative; 
}

.wa-header strong { display: block; font-size: 15px; }
.wa-header p { font-size: 12px; margin: 0; opacity: 0.8; }

.wa-close { 
    position: absolute; right: 15px; top: 15px; 
    cursor: pointer; font-size: 20px; 
}

.wa-body { padding: 15px; }
.wa-body textarea { 
    width: 100%; height: 90px; padding: 10px; 
    border: 1px solid #ddd; border-radius: 8px; 
    resize: none; font-size: 14px; margin-bottom: 10px;
}

.wa-send-btn { 
    width: 100%; background: #25d366; color: white; 
    border: none; padding: 12px; border-radius: 8px; 
    cursor: pointer; font-weight: bold; font-size: 15px;
    transition: 0.3s;
}
.wa-send-btn:hover { background: #1ebe57; }