﻿ @charset "UTF-8";

/* --- FONT TANIMLARI (servisinibul.org.tr/lib/fonts/) --- */
@font-face {
    font-family: 'FontAwesome';
    src: url('https://servisinibul.org.tr/lib/fonts/fontawesome-webfont.eot');
    src: url('https://servisinibul.org.tr/lib/fonts/fontawesome-webfont.eot?#iefix') format('embedded-opentype'),
         url('https://servisinibul.org.tr/lib/fonts/fontawesome-webfont.woff2') format('woff2'),
         url('https://servisinibul.org.tr/lib/fonts/fontawesome-webfont.woff') format('woff'),
         url('https://servisinibul.org.tr/lib/fonts/fontawesome-webfont.ttf') format('truetype'),
         url('https://servisinibul.org.tr/lib/fonts/fontawesome-webfont.svg#fontawesomeregular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Linea';
    src: url('https://servisinibul.org.tr/lib/fonts/linea-basic-10.eot');
    src: url('https://servisinibul.org.tr/lib/fonts/linea-basic-10.eot?#iefix') format('embedded-opentype'),
         url('https://servisinibul.org.tr/lib/fonts/linea-basic-10.woff') format('woff'),
         url('https://servisinibul.org.tr/lib/fonts/linea-basic-10.ttf') format('truetype'),
         url('https://servisinibul.org.tr/lib/fonts/linea-basic-10.svg#linea-basic-10') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html {
    scroll-behavior: smooth;
}

/* --- MODERN TASARIM VE SIFIRLAMA --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header'ı sabitle ve arka planını ver */
.main-header {
    background-color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* SİHİRLİ DOKUNUŞ: Aynı hizada ve iki uçta tutar */
.header-flex {
    display: flex !important; /* Esnek yapıyı zorla */
    justify-content: space-between; /* Birini sola, diğerini sağa yasla */
    align-items: center; /* Dikeyde tam ortala (yukarı-aşağı kaymasınlar) */
    width: 100%;
}

/* Logo kısmını sola yaslı tut */
.logo-area {
    flex-shrink: 0; /* Logonun ezilmesini engelle */
}

/* Logo metni: H1 semantiği kaldırıldı, görsel stil korundu */
.logo-text {
    margin: 0;
    font-size: 30px;
    color: #e31e24;
    font-weight: 700;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Hamburger Menu Toggle Button (Hidden on Desktop) */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Menü listesini yan yana diz */
.main-nav ul {
    display: flex !important;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 25px; /* Linkler arasındaki mesafe */
}

.main-nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 700;
    font-size: 15px;
    transition: 0.3s;
    text-transform: uppercase;
}

.main-nav ul li a:hover {
    color: #e31e24;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        padding-top: 80px;
    }

    .main-nav.open {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }

    .main-nav ul li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .main-nav ul li a {
        display: block;
        padding: 15px 20px;
        font-size: 16px;
        color: #333;
    }

    .main-nav ul li a:hover {
        background: #f8f8f8;
        color: #e31e24;
    }
}


/* --- BANNER --- */
.hero-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- NEDEN BİZ (MODERN TAM GENİŞLİK) --- */
.cta-section {
    padding: 60px 0;
    background: #ffffff;
}

.col-12 {
    width: 100%;
    padding: 0 15px;
}

.why-us-box {
    background: #fcfcfc;
    padding: 40px;
    border-radius: 15px;
    border-top: 4px solid #e31e24; /* _TRMarka Kırmızısı Üst Çizgi */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.why-us-box h2 {
    color: #222;
    margin-bottom: 30px;
    font-size: 28px;
    text-align: center;
}

.benefits-grid ul {
    display: grid;
    /* Masaüstünde tam 4 sütun olması için zorluyoruz */
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
    list-style: none;
    padding: 0;
}

.benefits-grid ul li {
    background: white;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 10px;
    font-size: 16px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.benefits-grid ul li:hover {
    transform: translateY(-5px);
    border-color: #e31e24;
}

.benefits-grid ul li strong {
    color: #e31e24;
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
}

/* --- MOBİL UYUMLULUK (BURASI ÇOK ÖNEMLİ) --- */

/* Tabletlerde 2x2 düzeni (Ekran orta boya gelince) */
@media (max-width: 992px) {
    .benefits-grid ul {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Telefonlarda tam alt alta (Ekran iyice küçülünce) */
@media (max-width: 600px) {
    .benefits-grid ul {
        grid-template-columns: 1fr;
    }
}

/* --- SERVİSLER (GRID DÜZENİ) --- */
.services {
    padding: 50px 0;
    text-align: center;
}

.services h1 {
    margin-bottom: 30px;
    font-size: 32px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-item {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.service-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.service-item img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background-color: #fff;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 15px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* --- HARİTA BÖLÜMÜ --- */
.map-section {
    padding: 50px 0;
    background-color: #fff;
    border-top: 1px solid #eee;
}

.map-section h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.map-section p {
    text-align: center;
    color: #666;
    margin-bottom: 25px;
    font-size: 15px;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    max-width: 900px;
    margin: 0 auto;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: 0;
}

@media (max-width: 768px) {
    .map-container iframe {
        height: 280px;
    }
}

/* --- FOOTER --- */
.main-footer {
    background: #222;
    color: #fff;
    padding: 40px 0;
    margin-top: 50px;
}

.footer-info h3 {
    margin-bottom: 15px;
    color:#e0e0e0;    
}

.copyright {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 14px;
}

/* --- MOBİL UYUMLULUK --- */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
    }
    .col-6 {
        width: 100%;
    }
}

.whatsapp-fixed {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: 0.3s;
}
.whatsapp-fixed img { width: 30px; height: 30px; border-radius: 0; }
.whatsapp-fixed:hover { transform: scale(1.1); background-color: #128c7e; }

@media (max-width: 768px) {
    .whatsapp-fixed span { display: none; } /* Mobilde sadece ikon görünsün */
}

.districts { padding: 30px 0; background: #eee; text-align: center; font-size: 14px; color: #666; }
.districts h3 { font-size: 18px; margin-bottom: 10px; color: #333; }

/* --- MOBİL ALT BAR (SADECE TELEFONLARDA GÖRÜNÜR) --- */
.mobile-call-bar {
    display: none; /* Masaüstünde gizle */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

/* Mobil bar – telefon arama yarısı (%50) */
.mobile-call-link {
    width: 50%;
    background: #e31e24;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    text-align: center;
    padding: 15px 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobil bar – WhatsApp kayıt yarısı (%50) */
.mobile-wa-link {
    width: 50%;
    background: #25d366;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    text-align: center;
    padding: 15px 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- WHATSAPP SABİT BUTON --- */
.whatsapp-fixed {
    position: fixed;
    bottom: 70px; /* Arama çubuğunun hemen üzerinde durması için */
    right: 20px;
    background-color: #25d366;
    color: white;
    padding: 10px 18px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: bold;
    z-index: 9998;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: 0.3s;
}

.whatsapp-fixed img {
    width: 25px;
    height: 25px;
}

/* --- MASAÜSTÜ TELEFON ARAMA BUTONU (WhatsApp'ın üstünde) --- */
.desktop-call-fixed {
    position: fixed;
    bottom: 130px; /* whatsapp-fixed (70px) üzerinde */
    right: 20px;
    background-color: #e31e24;
    color: white;
    padding: 10px 18px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: bold;
    z-index: 9998;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: 0.3s;
}

.desktop-call-fixed:hover { transform: scale(1.1); background-color: #c41920; color: white; }

/* --- EKRAN AYARI (MEDIA QUERY) --- */
@media (max-width: 768px) {
    .mobile-call-bar {
        display: flex; /* Sadece mobilde göster, iki yarıya bölünmüş */
    }

    .desktop-call-fixed {
        display: none; /* Masaüstü buton mobilde gizli */
    }

    .whatsapp-fixed {
        display: none; /* Mobil bar içinde WhatsApp linki var, tekrarı gizle */
    }

    body {
        padding-bottom: 60px; /* Buton içeriği kapatmasın diye sayfa altına boşluk */
    }
}

.service-areas {
    padding: 50px 0;
    background-color: #f9f9f9;
    text-align: center;
    border-top: 1px solid #eee;
}

.service-areas h3 {
    margin-bottom: 25px;
    font-size: 22px;
    color: #333;
}

.area-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.area-list span {
    background: #fff;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 14px;
    color: #555;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.area-list span:hover {
    color: #e31e24;
    border-color: #e31e24;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}




/* Servis Detay Sayfası Tasarımı */
.service-hero {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 50px 0;
}

.hero-content { flex: 1; }
.hero-image { flex: 1; }

.service-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-text h2 {
    color: #e31e24;
    margin: 40px 0 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.info-item {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.service-gallery {
    margin: 40px 0;
    text-align: center;
}

.gallery-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.img-caption {
    font-size: 14px;
    color: #777;
    margin-top: 10px;
    font-style: italic;
}

.cta-box {
    background: #e31e24;
    color: white;
    text-align: center;
    padding: 50px;
    border-radius: 20px;
    margin-top: 50px;
}

.big-call-btn {
    display: inline-block;
    background: white;
    color: #e31e24;
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    margin-top: 20px;
    transition: 0.3s;
}

.big-call-btn:hover { transform: scale(1.05); }

/* Mobil Uyum */
@media (max-width: 768px) {
    .service-hero, .info-grid {
        flex-direction: column;
        grid-template-columns: 1fr;
    }
}

/* MOBİL UYUMLULUK AYARLARI (Responsive Design) */

@media (max-width: 768px) {
    /* 1. Hero Alanını Üst Üste Getir */
    .service-hero {
        flex-direction: column !important;
        text-align: center;
        padding: 30px 15px;
    }

    .hero-image {
        order: -1; /* Resmi mobilde yazının üstüne çıkarır */
        margin-bottom: 20px;
    }

    /* 2. Bilgi Kutularını (Grid) Tek Sütun Yap */
    .info-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }

    /* 3. Başlık Boyutlarını Küçült */
    h1 {
        font-size: 24px !important;
    }

    h2 {
        font-size: 20px !important;
    }

    /* 4. Butonu Ele Sığdır */
    .big-call-btn {
        width: 100%;
        font-size: 18px !important;
        padding: 15px 10px;
    }

    /* 5. Resimleri Ekran Genişliğine Göre Sınırla */
    .service-img {
        max-width: 100%;
        height: auto;
    }
}



/* Hizmet Kutularındaki Butonların Yeni Hali */
.detail-btn {
    display: inline-block;
    background-color: #e31e24; /* _TRMarka Kırmızısı */
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 50px; /* Tam yuvarlak köşeler daha moderndir */
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase; /* Yazıları büyük harf yapar, daha ciddi durur */
    letter-spacing: 1px; /* Harf aralarını biraz açar */
    transition: all 0.3s ease; /* Her türlü değişimi yumuşak yapar */
    border: 2px solid #e31e24;
    margin-top: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Hafif gölge derinlik katar */
}

/* Fareyle Üzerine Gelince (Hover) */
.detail-btn:hover {
    background-color: transparent; /* Arka planı boşalt */
    color: #e31e24; /* Yazıyı kırmızı yap */
    transform: translateY(-3px); /* Butonu hafifçe yukarı zıplatır */
    box-shadow: 0 6px 12px rgba(227, 30, 36, 0.2); /* Kırmızımsı bir gölge yayar */
}

/* Butona tıklandığında hafifçe içeri çökme efekti */
.detail-btn:active {
    transform: translateY(-1px);
}



.detail-btn::after {
    content: ' →'; /* Yazının sonuna ok ekler */
    transition: margin-left 0.3s ease;
}

.detail-btn:hover::after {
    margin-left: 8px; /* Üzerine gelince ok sağa doğru kayar */
}


/* --- _TRBolge _TRMarka SERVİSİ FOOTER --- */
.main-footer a:hover {
    color: #e31e24 !important;
    text-decoration: underline;
}

/* --- FAQ BÖLÜMÜ --- */
.faq-section {
    padding: 50px 0;
    background: #fff;
    border-top: 1px solid #eee;
}

.faq-section h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #222;
    text-align: center;
}

.faq-item {
    background: #f9f9f9;
    border-left: 4px solid #e31e24;
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 0 8px 8px 0;
}

.faq-item h3 {
    font-size: 17px;
    color: #222;
    margin-bottom: 10px;
}

.faq-item p {
    color: #555;
    line-height: 1.7;
    font-size: 15px;
}

/* Servis detay sayfasındaki FAQ uyumu */
.service-text .faq-item {
    margin-top: 15px;
}

.service-text h2 + .faq-item {
    margin-top: 20px;
}

/* --- BREADCRUMB --- */
.breadcrumb {
    padding: 15px 0 5px;
    font-size: 14px;
    color: #888;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 0;
    margin: 0;
}

.breadcrumb ol li + li::before {
    content: "›";
    margin-right: 5px;
    color: #bbb;
}

.breadcrumb ol li a {
    color: #e31e24;
    text-decoration: none;
}

.breadcrumb ol li a:hover {
    text-decoration: underline;
}

/* --- ANA SAYFA H1 (CTA BÖLÜMÜ) --- */
.cta-section h1 {
    font-size: 26px;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}
/* --- LOGO ALANI --- */
.logo-area a {
    text-decoration: none;
}

.logo-area p {
    margin: 0;
    font-size: 13px;
    color: #666;
}

/* --- FOOTER BİLGİ --- */
.footer-info a {
    color: #ccc;
}

.footer-address {
    margin-top: 10px;
    font-size: 13px;
    color: #aaa;
}

.footer-hours {
    font-size: 13px;
    color: #aaa;
}

/* --- KONTROL LİSTESİ (Bizi aramadan önce) --- */
.checklist-section {
    margin-top: 20px;
    background: #fff;
    border-radius: 8px;
    padding: 20px 25px;
    border: 1px solid #e8e8e8;
}

.checklist-section h4 {
    font-size: 17px;
    color: #222;
    margin-bottom: 18px;
    border-bottom: 2px solid #e31e24;
    padding-bottom: 8px;
}

.checklist {
    list-style: none;
    counter-reset: checklist-counter;
    padding: 0;
    margin: 0;
}

.checklist li {
    counter-increment: checklist-counter;
    display: flex;
    flex-direction: column;
    padding: 12px 12px 12px 50px;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
    color: #333;
}

.checklist li:last-child {
    border-bottom: none;
}

.checklist li::before {
    content: counter(checklist-counter);
    position: absolute;
    left: 10px;
    top: 12px;
    background: #e31e24;
    color: white;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 13px;
    font-weight: bold;
    line-height: 26px;
    text-align: center;
}

.checklist li strong {
    color: #222;
    margin-bottom: 5px;
    display: block;
}

.checklist-tip {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
    display: block;
    line-height: 1.6;
    background: #f5f5f5;
    padding: 6px 10px;
    border-radius: 5px;
    border-left: 3px solid #e31e24;
}

/* --- PARÇA VE FİYAT BÖLÜMÜ --- */
.parts-info {
    border-left-color: #1a73e8 !important;
}

.parts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.parts-option {
    background: #fff;
    padding: 15px 18px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.parts-option h4 {
    color: #1a73e8;
    margin-bottom: 8px;
    font-size: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 6px;
}

.parts-option p {
    color: #555;
    line-height: 1.65;
    font-size: 14px;
}

.wa-btn {
    display: inline-block;
    background: #25d366;
    color: #fff !important;
    padding: 7px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    margin-top: 10px;
    transition: background 0.3s, transform 0.3s;
}

.wa-btn:hover {
    background: #128c7e;
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .checklist li {
        padding-left: 44px;
    }
    .parts-grid {
        grid-template-columns: 1fr;
    }
}
