/* =========================================================
   CEPHE GİYDİRME SİSTEMLERİ - TAMİR VE ÖZELLEŞTİRME DOSYASI
   (Garanti Çözüm - v1.0)
   ========================================================= */

/* --- 1. EKSİK OLAN IZGARA (GRID) YAPISI --- */
/* HTML'de var olan ama CSS'te olmayan kutu yapısını oluşturur */

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Yan yana 3 kutu */
    gap: 30px;
    max-width: 1280px;
    margin: 50px auto; /* Üstten alttan boşluk, ortala */
    padding: 0 20px;
}

.cat-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none; /* Link alt çizgisini kaldır */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.cat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-color: var(--color-accent);
}

.cat-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.cat-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cat-card:hover .cat-image img {
    transform: scale(1.1); /* Resme zoom efekti */
}

.cat-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cat-content h3 {
    font-size: 20px;
    color: var(--color-primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.cat-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1; /* Butonu aşağı iter */
}

.cat-btn {
    display: inline-block;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cat-btn i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.cat-card:hover .cat-btn i {
    transform: translateX(5px);
}


/* --- 2. SAYFA İÇERİĞİ VE METİN DÜZENLEMELERİ --- */
/* Metinlerin kenara yapışmasını engeller ve ortalar */

.seo-content-section {
    background-color: #fff;
    padding: 60px 0;
}

.seo-container {
    max-width: 1100px; /* Okunabilirlik için ideal genişlik */
    margin: 0 auto;
    padding: 0 20px;
}

/* Başlık Boyutlarını Kontrol Altına Alma */
.seo-container h2 {
    font-size: 28px;
    color: var(--color-primary);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
    border-left: 4px solid var(--color-accent);
    padding-left: 15px;
}

.seo-container p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

/* Listeler */
.seo-container ul, 
.seo-container ol {
    margin-bottom: 25px;
    padding-left: 20px;
}

.seo-container li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #444;
}


/* --- 3. TEKNİK ÖZELLİKLER IZGARASI (Tech Grid) --- */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 50px;
}

.tech-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.tech-icon {
    font-size: 30px;
    color: var(--color-accent);
    min-width: 40px;
    text-align: center;
}

.tech-info h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--color-primary);
}

.tech-info p {
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

/* Teknik vurgular (Mavi yazılar) */
.tech-info p strong {
    color: var(--color-accent); 
    font-weight: 600;
}


/* --- 4. SIKÇA SORULAN SORULAR (Accordion) --- */
.faq-accordion details {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 5px;
    margin-bottom: 10px;
    padding: 15px;
    transition: all 0.3s;
}

.faq-accordion details[open] {
    border-color: var(--color-accent);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.faq-accordion summary {
    font-weight: 600;
    cursor: pointer;
    list-style: none; /* Üçgeni gizle (modern tarayıcılar) */
    position: relative;
    padding-right: 30px;
    color: var(--color-primary);
}

.faq-accordion summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 20px;
    font-weight: bold;
    color: var(--color-accent);
}

.faq-accordion details[open] summary::after {
    content: '-';
}

.faq-accordion p {
    margin-top: 15px;
    margin-bottom: 0;
    font-size: 15px;
    color: #555;
}


/* --- 5. CTA KUTUSU (Alt kısımdaki teklif alanı) --- */
.cta-box {
    background: var(--color-primary);
    color: #fff;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin-top: 50px;
    background-image: linear-gradient(135deg, var(--color-primary) 0%, #3a4b5c 100%);
}

.cta-box h3 {
    color: #fff !important;
    margin-bottom: 15px;
    border: none !important;
}

.cta-box p {
    color: #e0e0e0 !important;
    margin-bottom: 25px;
}

.cta-link {
    display: inline-block;
    background: var(--color-accent);
    color: #fff;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.cta-link:hover {
    background: #fff;
    color: var(--color-accent);
}


/* --- 6. MOBİL UYUMLULUK AYARLARI --- */
@media (max-width: 992px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr); /* Tablette 2'li */
    }
}

@media (max-width: 768px) {
    /* Grid tek sütuna düşsün */
    .category-grid {
        grid-template-columns: 1fr; 
        gap: 20px;
        margin: 30px auto;
    }

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

    /* Başlık boyutlarını mobilde küçült (Zorla Ezme - Override) */
    h1[style*="font-size: 54px"] {
        font-size: 32px !important;
        line-height: 1.3 !important;
    }
    
    .page-header p {
        font-size: 16px !important;
        padding: 0 10px;
    }

    .seo-container h2 {
        font-size: 24px;
    }
}


/* --- 7. MEVCUT ÖZEL BİLEŞENLER (Eski Dosyadan Korunanlar) --- */

/* Footer Logosu Beyaz Fon */
.main-footer .logo img {
    background-color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    box-sizing: content-box;
    max-height: 40px;
}

/* Sabit Butonlar (WhatsApp + Telefon) */
.static-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.whatsapp-static-btn, .phone-static-btn {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    font-size: 15px;
}

.whatsapp-static-btn {
    background-color: #25D366;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.phone-static-btn {
    background-color: var(--color-accent);
    box-shadow: 0 4px 10px rgba(51, 153, 255, 0.3);
}

.whatsapp-static-btn i, .phone-static-btn i {
    font-size: 20px;
    margin-right: 10px;
}

.whatsapp-static-btn:hover {
    background-color: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

.phone-static-btn:hover {
    background-color: #1a75ff; 
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(51, 153, 255, 0.4);
}

/* Mobilde Buton Ayarı */
@media (max-width: 76