/* ===== Genel ===== */
:root {
    --mavi: #1e3a5f;
    --mavi-koyu: #152a45;
    --acik-mavi: #d4e8f7;
    --acik-mavi-2: #b8d9f0;
    --sari: #f0b429;
    --sari-koyu: #d49a1a;
    --beyaz: #ffffff;
    --siyah: #1a1a1a;
    --gri: #2d2d2d;
    --gri-acik: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--siyah);
    background: var(--beyaz);
}

.siyah-metin { color: var(--siyah); }
.beyaz-metin { color: var(--beyaz); }

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container--metin {
    max-width: 800px;
}

/* Sayfa başlığı (alt sayfaların üst bandı) */
.sayfa-baslik {
    padding: 2rem 0;
}

.sayfa-baslik .bolum-baslik {
    margin-bottom: 0.25rem;
}

/* Bölüm başlığına tıklanabilir link (ana sayfa) */
.bolum-link {
    color: inherit;
    text-decoration: none;
}

.bolum-link:hover {
    text-decoration: underline;
}

.bolum-link--beyaz {
    color: var(--beyaz);
}

/* ===== Header - Mavi, beyaz yazı ===== */
.site-header {
    background: var(--mavi);
    color: var(--beyaz);
    padding: 0.75rem 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.header-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--beyaz);
}

.logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 6px;
    background: var(--beyaz);
}

.firma-adi {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.ana-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
}

.ana-nav a {
    color: var(--beyaz);
    text-decoration: none;
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
    font-size: 0.95rem;
    transition: background 0.2s;
}

.ana-nav a:hover {
    background: rgba(255,255,255,0.15);
}

/* Sidebar overlay (mobilde menü açıkken arka plan karartma) */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 98;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-overlay.aciq {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

@media (min-width: 769px) {
    .sidebar-overlay {
        display: none !important;
    }
}

/* Hamburger bar (3 çizgi) - header içinde z-index ile her zaman üstte */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    position: relative;
    z-index: 102;
}

.menu-toggle:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--beyaz);
}

.hamburger-bar {
    display: block;
    width: 22px;
    height: 2.5px;
    background: var(--beyaz);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle.aciq .hamburger-bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle.aciq .hamburger-bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.aciq .hamburger-bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ===== Butonlar - Sarı ===== */
.btn {
    display: inline-block;
    padding: 0.65rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s, transform 0.15s;
}

.btn-sari {
    background: var(--sari);
    color: var(--siyah);
}

.btn-sari:hover {
    background: var(--sari-koyu);
    color: var(--siyah);
    transform: translateY(-1px);
}

/* ===== Ana ekran: Tam ekran slider ===== */
.slider-section {
    margin: 0;
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 400px;
    overflow: hidden;
}

.slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.slide.aktif {
    opacity: 1;
    z-index: 1;
}

.slider-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 2;
    pointer-events: none;
}

.slider-icerik {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1rem;
    pointer-events: none;
}

.slider-icerik .btn {
    pointer-events: auto;
}

.hero-baslik {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    color: var(--beyaz);
    margin-bottom: 0.75rem;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero-aciklama {
    color: rgba(255,255,255,0.95);
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    margin-bottom: 1.25rem;
    line-height: 1.7;
    max-width: 700px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.slider-noktalar {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem;
}

.slider-nokta {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.slider-nokta.aktif {
    background: var(--sari);
    transform: scale(1.2);
}

/* ===== Bölümler ===== */
.bolum {
    padding: 3rem 0;
}

.bolum--gri {
    background: var(--gri-acik);
}

.bolum--mavi {
    background: var(--mavi);
    color: var(--beyaz);
}

.bolum-baslik {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--mavi);
    margin-bottom: 0.5rem;
}

.bolum-baslik--beyaz {
    color: var(--beyaz);
}

.bolum-alt-baslik {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* ===== Kartlar - Açık mavi ===== */
.kart {
    background: var(--acik-mavi);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid var(--acik-mavi-2);
}

.kart--buyuk {
    max-width: 800px;
    margin: 0 auto;
}

.kart-baslik {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--mavi);
    margin-bottom: 0.5rem;
}

.kart-icerik p {
    margin-bottom: 0.75rem;
}

.kart-icerik .btn {
    margin-top: 0.5rem;
}

.kart-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.kart-grid--4 {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

/* Hizmet kartı + üstte fotoğraf */
.kart--foto {
    padding: 0;
    overflow: hidden;
}

.kart--foto img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.kart--foto .kart-baslik,
.kart--foto .siyah-metin {
    padding: 0 1.25rem;
}

.kart--foto .kart-baslik {
    padding-top: 1rem;
}

.kart--foto .siyah-metin {
    padding-bottom: 1.25rem;
}

.kart--kucuk {
    text-align: center;
    padding: 1rem;
    font-weight: 600;
    color: var(--mavi);
}

/* İlçe grid */
.ilce-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
}

/* ===== Yapılan İşler - Foto + alt yazı ===== */
.isler-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.is-karti {
    margin: 0;
    background: var(--acik-mavi);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid var(--acik-mavi-2);
}

.is-karti img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.is-karti figcaption {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: var(--siyah);
    font-weight: 500;
    text-align: center;
}

/* ===== Müşteri Memnuniyeti - İstatistik ===== */
.istatistik-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.istatistik-karti {
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(255,255,255,0.12);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.2);
}

.istatistik-sayi {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--sari);
    display: block;
    line-height: 1.2;
}

.istatistik-birim {
    font-size: 1.5rem;
    color: var(--beyaz);
    font-weight: 700;
}

.istatistik-label {
    color: var(--beyaz);
    margin-top: 0.25rem;
    font-size: 0.95rem;
}

/* ===== Müşteri Yorumları ===== */
.yorum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.yorum-karti {
    display: flex;
    flex-direction: column;
}

.yorum-yildiz {
    color: var(--sari);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.yorum-metin {
    flex: 1;
    font-style: italic;
    margin-bottom: 0.75rem;
}

.yorum-kisi {
    font-size: 0.9rem;
    color: var(--mavi);
    font-weight: 600;
}

/* ===== Çalışma Süreci ===== */
.surec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

.surec-adim {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--acik-mavi);
    border-radius: 10px;
    border: 1px solid var(--acik-mavi-2);
}

.surec-numara {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--mavi);
    color: var(--beyaz);
    font-weight: 800;
    font-size: 1.25rem;
    border-radius: 50%;
    margin-bottom: 0.75rem;
}

.surec-adim h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.surec-adim p {
    font-size: 0.95rem;
    color: var(--siyah);
}

/* ===== SSS ===== */
.sss-listesi {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sss-karti h3 {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.sss-karti p {
    margin: 0;
    font-size: 0.95rem;
}

/* ===== Google Maps ===== */
.harita-wrap {
    margin-top: 2.5rem;
}

.harita-cerceve {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    border: 1px solid var(--acik-mavi-2);
}

.harita-cerceve iframe {
    display: block;
}

/* ===== CTA Band (Son çağrı) ===== */
.cta-band {
    text-align: center;
}

.cta-band .bolum-baslik {
    margin-bottom: 0.5rem;
}

.cta-band p {
    margin-bottom: 1rem;
}

/* ===== İletişim ===== */
.iletisim-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.iletisim-karti h3,
.iletisim-form-karti h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.iletisim-karti p {
    margin-bottom: 0.5rem;
}

.iletisim-karti a {
    color: var(--mavi);
    text-decoration: none;
}

.iletisim-karti a:hover {
    text-decoration: underline;
}

.iletisim-form input,
.iletisim-form textarea {
    width: 100%;
    padding: 0.65rem;
    margin-bottom: 0.75rem;
    border: 1px solid var(--acik-mavi-2);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
}

.iletisim-form textarea {
    resize: vertical;
    min-height: 100px;
}

.iletisim-form button {
    width: 100%;
}

/* ===== Sağ alt: WhatsApp & Instagram sabit butonlar ===== */
.sosyal-sabit {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sosyal-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    transition: transform 0.2s, box-shadow 0.2s;
}

.sosyal-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}

.sosyal-whatsapp {
    background: #25d366;
}

.sosyal-whatsapp:hover {
    background: #20bd5a;
    color: #fff;
}

.sosyal-instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.sosyal-instagram:hover {
    color: #fff;
}

.sosyal-btn svg {
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .sosyal-sabit {
        bottom: 1rem;
        right: 1rem;
    }
    .sosyal-btn span {
        display: none;
    }
    .sosyal-btn {
        padding: 0.75rem;
        width: 56px;
        height: 56px;
        justify-content: center;
    }
}

/* ===== Footer ===== */
.site-footer {
    background: var(--mavi-koyu);
    color: var(--beyaz);
    padding: 2rem 1rem;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 6px;
    background: var(--beyaz);
}

.footer-copy {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ===== Mobil Uyumluluk ===== */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    /* Sidebar: sağdan açılan menü (display kullanmıyoruz, transform ile kaydırıyoruz) */
    .ana-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        max-width: 85vw;
        height: 100vh;
        flex-direction: column;
        gap: 0;
        padding: 4rem 1rem 1.5rem;
        background: var(--mavi);
        box-shadow: -4px 0 20px rgba(0,0,0,0.2);
        z-index: 99;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
    }

    .ana-nav.aciq {
        transform: translateX(0);
    }

    .ana-nav a {
        display: block;
        padding: 0.85rem 1rem;
        border-radius: 6px;
        font-size: 1rem;
    }

    .istatistik-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .iletisim-wrap {
        grid-template-columns: 1fr;
    }

    .ilce-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .yorum-grid {
        grid-template-columns: 1fr;
    }

    .surec-grid {
        grid-template-columns: 1fr;
    }

    .harita-cerceve iframe {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .firma-adi {
        font-size: 0.95rem;
    }

    .logo {
        width: 40px;
        height: 40px;
    }

    .slider-section {
        min-height: 100vh;
    }

    .bolum {
        padding: 2rem 0;
    }

    .kart-grid {
        grid-template-columns: 1fr;
    }

    .isler-grid {
        grid-template-columns: 1fr;
    }

    .istatistik-sayi {
        font-size: 2rem;
    }
}
