﻿/*
Theme Name: Usta Tamirci
Theme URI: https://www.ustatamirci.com
Author: Usta Tamirci
Description: Usta Tamirci Istanbul Kombi ve Klima Ozel Servis Temasi
Version: 3.0.0
*/

:root {
            --red: #e42628;
            --red-hover: #c81e20;
            --charcoal: #4f4f4f;
            --dark: #1f2937;
            --wa: #26d367;
            --wa-hover: #1fb858;
            --bg-soft: #f7f8fa;
            --border: #e5e7eb;
            --white: #ffffff;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        html, body {
            overflow-x: hidden !important;
            max-width: 100% !important;
            width: 100% !important;
            position: relative;
        }
        html { scroll-behavior: smooth; }
        body {
            font-family: 'Poppins', sans-serif;
            color: var(--charcoal);
            background: var(--white);
            line-height: 1.7;
            padding-bottom: 75px;
        }
        h1, h2, h3, h4 {
            font-family: 'Outfit', sans-serif;
            color: var(--dark);
            font-weight: 700;
        }
        a { text-decoration: none; color: inherit; }
        .container { max-width: 1220px; margin: 0 auto; padding: 0 24px; }

        /* Üst Bilgi Şeridi (Numaralar & Genel Hizmet) */
        .top-strip {
            background: #18181b;
            color: #f4f4f5;
            font-size: 12.5px;
            padding: 8px 0;
        }
        .top-strip-inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 10px;
        }
        .top-strip-left { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
        .top-strip-right { color: #fca5a5; font-weight: 600; }

        /* Header */
        header {
            background: var(--white);
            border-bottom: 1px solid var(--border);
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
        }
        .nav-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 98px;
            gap: 16px;
        }
        .brand-logo {
            display: flex;
            align-items: center;
            padding: 6px 0;
        }
        .brand-logo img {
            height: 76px;
            width: auto;
            object-fit: contain;
            display: block;
            image-rendering: -webkit-optimize-contrast;
            filter: contrast(1.45) saturate(1.75) brightness(0.88) drop-shadow(0 2px 5px rgba(0, 0, 0, 0.16));
            transition: transform 0.2s;
        }
        .brand-logo:hover img {
            transform: scale(1.03);
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 18px;
            align-items: center;
        }
        .nav-item { position: relative; }
        .nav-link {
            font-family: 'Outfit', sans-serif;
            font-size: 14.5px;
            font-weight: 600;
            color: var(--dark);
            padding: 14px 4px;
            display: flex;
            align-items: center;
            gap: 4px;
            transition: color 0.2s;
            white-space: nowrap;
        }
        .nav-link:hover { color: var(--red); }
        .nav-link.red-pill {
            color: var(--red);
            background: #fef2f2;
            padding: 7px 13px;
            border-radius: 6px;
        }

        /* Dropdown Menü (Standart & Çoklu Sütun) */
        .dropdown {
            position: absolute;
            top: 100%;
            left: 0;
            background: var(--white);
            min-width: 260px;
            border-radius: 10px;
            padding: 10px;
            border: 1px solid var(--border);
            box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
            opacity: 0;
            visibility: hidden;
            transform: translateY(8px);
            transition: all 0.2s ease;
            z-index: 1010;
        }
        .dropdown.mega-drop {
            min-width: 540px;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 4px;
            left: -120px;
        }
        .nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
        .drop-a {
            display: block;
            padding: 8px 12px;
            border-radius: 6px;
            font-size: 13px;
            font-weight: 500;
            color: var(--dark);
            transition: all 0.15s;
        }
        .drop-a:hover { background: #fef2f2; color: var(--red); }

        .header-call {
            background: var(--red);
            color: var(--white);
            padding: 11px 20px;
            border-radius: 6px;
            font-family: 'Outfit', sans-serif;
            font-weight: 700;
            font-size: 14.5px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            white-space: nowrap;
            transition: background 0.2s;
        }
        .header-call:hover { background: var(--red-hover); }

        /* Hero Bölümü */
        .hero {
            background: linear-gradient(135deg, #ffffff 0%, #f7f8fa 100%);
            padding: 60px 0 70px;
            border-bottom: 1px solid var(--border);
        }
        .hero-grid {
            display: grid;
            grid-template-columns: 1.15fr 0.85fr;
            gap: 48px;
            align-items: center;
        }
        .hero-tag {
            display: inline-block;
            background: #fef2f2;
            color: var(--red);
            border: 1px solid #fecaca;
            padding: 5px 14px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.4px;
            margin-bottom: 16px;
        }
        .hero h1 {
            font-size: 38px;
            line-height: 1.22;
            font-weight: 800;
            margin-bottom: 18px;
        }
        .hero h1 span { color: var(--red); }

        /* Şık Alt Yazı Kutusu */
        .hero-desc-card {
            background: var(--white);
            border-left: 4px solid var(--red);
            padding: 16px 20px;
            border-radius: 0 8px 8px 0;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
            margin-bottom: 26px;
            font-size: 15px;
            color: var(--charcoal);
        }

        .hero-btns {
            display: flex;
            gap: 14px;
            flex-wrap: wrap;
            margin-bottom: 28px;
        }
        .btn-red {
            background: var(--red);
            color: var(--white);
            padding: 14px 26px;
            border-radius: 6px;
            font-family: 'Outfit', sans-serif;
            font-weight: 700;
            font-size: 15px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: background 0.2s;
        }
        .btn-red:hover { background: var(--red-hover); }
        .btn-wa {
            background: var(--wa);
            color: var(--white);
            padding: 14px 24px;
            border-radius: 6px;
            font-family: 'Outfit', sans-serif;
            font-weight: 700;
            font-size: 15px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: background 0.2s;
        }
        .btn-wa:hover { background: var(--wa-hover); }

        /* Kaliteli Telefon Numaraları Vitrini */
        .phones-showcase {
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 16px 20px;
            box-shadow: 0 6px 20px rgba(0,0,0,0.03);
        }
        .phones-showcase-title {
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            color: var(--red);
            letter-spacing: 0.6px;
            margin-bottom: 10px;
        }
        .phones-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
        }
        .phone-chip {
            display: flex;
            align-items: center;
            gap: 7px;
            background: var(--bg-soft);
            border: 1px solid var(--border);
            padding: 8px 10px;
            border-radius: 6px;
            font-family: 'Outfit', sans-serif;
            font-weight: 700;
            font-size: 13.5px;
            color: var(--dark);
            transition: all 0.2s;
        }
        .phone-chip:hover { border-color: var(--red); color: var(--red); background: #fef2f2; }
        .phone-chip.mobile { background: #fef2f2; border-color: #fecaca; color: var(--red); }

        .hero-img-wrap {
            background: var(--white);
            padding: 12px;
            border-radius: 14px;
            border: 1px solid var(--border);
            box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
        }
        .hero-img-wrap img {
            width: 100%;
            height: 430px;
            object-fit: cover;
            border-radius: 10px;
            display: block;
        }

        /* Bölüm Genel */
        .section { padding: 75px 0; }
        .section-soft { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
        .sec-title-row {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            margin-bottom: 36px;
            gap: 20px;
            flex-wrap: wrap;
        }
        .sec-title {
            text-align: center;
            max-width: 720px;
            margin: 0 auto 42px;
        }
        .sec-tag {
            color: var(--red);
            font-size: 12.5px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            display: block;
            margin-bottom: 6px;
        }
        .sec-title h2, .sec-title-row h2 { font-size: 33px; font-weight: 800; margin-bottom: 8px; }
        .sec-title p, .sec-title-row p { font-size: 14.5px; color: var(--charcoal); }

        /* HİZMETLERİMİZ KAYDIRMALI SLIDER / CAROUSEL */
        .slider-controls { display: flex; gap: 10px; }
        .slider-btn {
            width: 44px; height: 44px;
            border-radius: 50%;
            border: 1px solid var(--border);
            background: var(--white);
            color: var(--dark);
            font-size: 20px;
            font-weight: 700;
            cursor: pointer;
            display: flex; align-items: center; justify-content: center;
            transition: all 0.2s;
            box-shadow: 0 4px 10px rgba(0,0,0,0.04);
        }
        .slider-btn:hover { background: var(--red); color: var(--white); border-color: var(--red); }

        .srv-carousel {
            display: flex;
            gap: 24px;
            overflow-x: auto;
            scroll-behavior: smooth;
            scrollbar-width: none;
            padding: 6px 4px 18px;
        }
        .srv-carousel::-webkit-scrollbar { display: none; }
        .srv-card {
            flex: 0 0 360px;
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: 12px;
            overflow: hidden;
            transition: all 0.25s;
            display: flex;
            flex-direction: column;
        }
        .srv-card:hover {
            border-color: var(--red);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.07);
            transform: translateY(-4px);
        }
        .srv-card img { width: 100%; height: 220px; object-fit: cover; display: block; }
        .srv-body { padding: 24px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
        .srv-body h3 { font-size: 19px; margin-bottom: 10px; }
        .srv-body p { font-size: 13.5px; color: var(--charcoal); margin-bottom: 16px; }
        .srv-link { font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 700; color: var(--red); }

        /* MARKALAR BÖLÜMÜ (ÇOĞALTILMIŞ - TÜM MARKALAR) */
        .brands-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 16px;
        }
        .brand-card {
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 16px 12px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 12px;
            min-height: 110px;
            transition: all 0.2s;
        }
        .brand-card:hover {
            border-color: var(--red);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
            transform: translateY(-2px);
        }
        .brand-logo-frame {
            width: 100%;
            height: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }
        .brand-card img {
            width: auto;
            height: auto;
            max-width: 110px;
            max-height: 38px;
            object-fit: contain;
            display: block;
            margin: 0 auto;
        }
        /* Normalizasyon: İç boşluğu fazla olan WebP logoları büyütüp eşitle */
        .brand-card.webp img {
            max-height: 44px;
            max-width: 125px;
            transform: scale(1.18);
        }
        /* Normalizasyon: Kenarlara sıfır oturan SVG logoları küçülterek diğerleriyle birebir eşitle */
        .brand-card.svg img {
            max-height: 24px;
            max-width: 88px;
        }
        .brand-card span { font-size: 13.5px; font-weight: 700; color: #1e293b; text-align: center; }

        /* AVRUPA YAKASI TÜM İLÇELER SEO AĞI */
        .all-districts-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 14px;
        }
        .dist-pill-card {
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 15px 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            transition: all 0.2s;
            font-family: 'Outfit', sans-serif;
            font-weight: 600;
            font-size: 14.5px;
            color: var(--dark);
        }
        .dist-pill-card:hover {
            border-color: var(--red);
            color: var(--red);
            background: #fef2f2;
            transform: translateY(-2px);
        }
        .dist-pill-card span { color: var(--red); font-weight: 700; }

        /* Tek Parça Profesyonel Çağrı Merkezi Şeridi */
        .call-ribbon {
            background: #18181b;
            color: var(--white);
            border-bottom: 3px solid var(--red);
        }
        .call-ribbon-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
        }
        .call-card {
            padding: 18px 16px;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            gap: 3px;
            border-right: 1px solid rgba(255, 255, 255, 0.1);
            transition: background 0.2s;
        }
        .call-card:first-child {
            border-left: 1px solid rgba(255, 255, 255, 0.1);
        }
        .call-card:hover {
            background: var(--red);
        }
        .call-card.highlight-mob {
            background: var(--red);
        }
        .call-card.highlight-mob:hover {
            background: var(--red-hover);
        }
        .call-card small {
            font-size: 11px;
            color: #d4d4d8;
            text-transform: uppercase;
            letter-spacing: 0.6px;
            font-weight: 600;
        }
        .call-card.highlight-mob small { color: #fee2e2; }
        .call-card strong {
            font-family: 'Outfit', sans-serif;
            font-size: 17px;
            font-weight: 700;
            color: var(--white);
            font-variant-numeric: tabular-nums;
            letter-spacing: 0.4px;
        }

        /* Özel Servis & Garanti Dışı Bilgilendirme Şeridi */
        .special-notice-strip {
            background: #fffbeb;
            border-top: 1px solid #fde68a;
            border-bottom: 1px solid #fde68a;
            padding: 16px 0;
        }
        .special-notice-inner {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            text-align: center;
            font-size: 13.5px;
            color: #78350f;
            font-weight: 500;
        }
        .special-notice-inner strong { color: #92400e; }

        /* Google Yorumları & Harita */
        .gm-grid {
            display: grid;
            grid-template-columns: 1.1fr 0.9fr;
            gap: 30px;
            align-items: stretch;
        }
        .g-bar {
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 16px 22px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
        }
        .rev-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
        .rev-card {
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 20px;
        }
        .rev-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
        .rev-top strong { font-size: 14.5px; color: var(--dark); }
        .rev-top span { font-size: 11px; background: var(--bg-soft); padding: 2px 8px; border-radius: 4px; font-weight: 600; }
        .rev-stars { color: #f59e0b; font-size: 14px; margin-bottom: 8px; }
        .rev-txt { font-size: 13px; color: var(--charcoal); }

        .map-box {
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: 10px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }
        .map-box iframe { flex: 1; min-height: 290px; border: 0; width: 100%; }
        .map-foot {
            padding: 16px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-top: 1px solid var(--border);
            gap: 10px;
        }

        /* Footer */
        footer { background: #18181b; color: #cbd5e1; padding: 55px 0 28px; }
        .ft-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 35px; }
        .ft-col h4 { color: var(--white); font-size: 16px; margin-bottom: 16px; }
        .ft-col ul { list-style: none; }
        .ft-col li { margin-bottom: 9px; font-size: 13.5px; }
        .ft-col a:hover { color: var(--red); }
        .ft-copy { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 12.5px; }

        /* Sticky Alt Bar (Mobilde Asla Taşmayan, %50-%50 Grid) */
        .sticky-bar {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            width: 100%;
            background: #18181b;
            border-top: 1px solid rgba(255,255,255,0.12);
            box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
            z-index: 9999;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
            padding: 8px 12px;
            box-sizing: border-box;
        }
        .st-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 12px 6px;
            border-radius: 8px;
            text-align: center;
            color: #ffffff;
            font-family: 'Outfit', sans-serif;
            font-weight: 700;
            font-size: 14px;
            white-space: nowrap;
            text-decoration: none;
            box-sizing: border-box;
            box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        }

        @media (max-width: 960px) {
            .hero-grid, .gm-grid, .rev-grid, .ft-grid { grid-template-columns: 1fr; }
            .brands-grid, .all-districts-grid, .call-ribbon-grid { grid-template-columns: repeat(2, 1fr); }
            .srv-card { flex: 0 0 85%; }
            .nav-menu { display: none; }
            .hero h1 { font-size: 28px; }
        }

        /* 100% Sorunsuz Mobil Cihaz Uyarlaması */
        @media (max-width: 768px) {
            body { padding-bottom: 75px; }
            .container { padding: 0 16px; }
            .top-strip { font-size: 11px; padding: 6px 0; }
            .top-strip-inner { justify-content: center; text-align: center; }
            .top-strip-right { display: none; }
            
            .header-call { padding: 8px 12px; font-size: 13px; }
            
            .hero {
                padding: 24px 0 28px;
            }
            .hero-tag {
                font-size: 11px;
                padding: 4px 10px;
                margin-bottom: 12px;
                display: inline-block;
                line-height: 1.4;
            }
            .hero h1 {
                font-size: 23px;
                line-height: 1.25;
                margin-bottom: 12px;
            }
            .hero-desc-card {
                font-size: 13.5px;
                line-height: 1.6;
                padding: 12px 14px;
                margin-bottom: 16px;
                border-radius: 6px;
            }
            .hero-btns {
                display: flex;
                flex-direction: column;
                gap: 10px;
                margin-bottom: 16px;
                width: 100%;
            }
            .btn-red, .btn-wa {
                width: 100%;
                padding: 13px 14px;
                font-size: 14px;
                justify-content: center;
                text-align: center;
                box-sizing: border-box;
            }
            .hero-checks {
                display: flex;
                flex-wrap: wrap;
                gap: 8px 12px;
                font-size: 12px;
                line-height: 1.5;
            }
            .hero-img-wrap {
                margin-top: 14px;
                padding: 6px;
                border-radius: 10px;
            }
            .hero-img-wrap img {
                height: auto;
                max-height: 240px;
            }
            
            .call-ribbon { padding: 8px 0; }
            .call-ribbon-grid { grid-template-columns: 1fr; }
            .call-card:not(.highlight-mob) { display: none; }
            
            .brands-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
            }
            .brand-card {
                padding: 10px 6px;
                min-height: 90px;
                gap: 6px;
            }
            .brand-logo-frame {
                height: 36px;
            }
            .brand-card img {
                max-width: 85px;
                max-height: 28px;
            }
            .brand-card span {
                font-size: 11.5px;
            }
            
            .all-districts-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 8px;
            }
            .dist-pill-card {
                padding: 10px 12px;
                font-size: 13px;
            }
        }