/*
 * Akpınar Hukuk Bürosu - Faaliyet Alanı Sayfaları Özel CSS
 * Bu dosyayı WordPress temanıza ekleyin.
 * Yol: wp-content/themes/[tema-adı]/custom-practice-areas.css
 * veya style.css dosyasının sonuna ekleyin.
 */

/* ========================================
   GENEL SAYFA YAPISI
   ======================================== */
.practice-area-content {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    line-height: 1.8;
}

/* ========================================
   BAŞLIKLAR
   ======================================== */
.practice-area-content h1 {
    color: #1a2a3a;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    border-bottom: 3px solid #2980b9;
    padding-bottom: 15px;
}

.practice-area-content h2 {
    color: #1a2a3a;
    font-size: 24px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 15px;
}

.practice-area-content h3 {
    color: #2980b9;
    font-size: 20px;
    font-weight: 600;
    margin-top: 25px;
}

/* ========================================
   GİRİŞ METNİ
   ======================================== */
.intro-text {
    font-size: 17px;
    color: #555;
    border-left: 4px solid #2980b9;
    padding-left: 20px;
    margin: 25px 0;
}

/* ========================================
   İSTATİSTİK KARTLARI
   ======================================== */
.stats-row {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin: 35px 0;
    flex-wrap: wrap;
}

.stat-card {
    background: #f8f9fa;
    border-top: 4px solid #2980b9;
    padding: 25px 20px;
    text-align: center;
    flex: 1;
    min-width: 200px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.stat-card .number {
    font-size: 28px;
    font-weight: 700;
    color: #2980b9;
    display: block;
}

.stat-card .label {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
    display: block;
}

.stat-card .source {
    font-size: 12px;
    color: #999;
    font-style: italic;
    display: block;
}

/* ========================================
   METODOLOJİ ADIMLARI
   ======================================== */
.methodology-steps {
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
}

.methodology-steps li {
    counter-increment: step-counter;
    position: relative;
    padding: 25px 25px 25px 80px;
    margin-bottom: 20px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-left: 4px solid #2980b9;
    transition: box-shadow 0.2s ease;
}

.methodology-steps li:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.methodology-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 20px;
    top: 25px;
    font-size: 28px;
    font-weight: 700;
    color: #2980b9;
}

.methodology-steps li h3 {
    margin-top: 0;
    margin-bottom: 8px;
    color: #1a2a3a;
    font-size: 18px;
}

/* ========================================
   MEVZUAT TABLOSU
   ======================================== */
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
}

.legal-table th {
    background: #1a2a3a;
    color: #fff;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

.legal-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e8e8e8;
    font-size: 14px;
}

.legal-table tr:nth-child(even) {
    background: #f8f9fa;
}

.legal-table tr:hover {
    background: #eef5fb;
}

/* ========================================
   HİZMET KARTLARI (2 SÜTUN GRID)
   ======================================== */
.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 25px 0;
}

.service-card {
    background: #f8f9fa;
    padding: 20px;
    border-left: 3px solid #2980b9;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
    background: #eef5fb;
    transform: translateY(-2px);
}

.service-card h4 {
    color: #1a2a3a;
    margin-top: 0;
    font-size: 16px;
    margin-bottom: 8px;
}

.service-card p {
    font-size: 14px;
    color: #555;
    margin: 0;
}


/* ========================================
   İLGİLİ HİZMETLER BAĞLANTILARI
   ======================================== */
.related-services {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e8e8e8;
}

.related-services h3 {
    color: #1a2a3a;
    font-size: 20px;
    margin-bottom: 15px;
}

.service-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.service-links a {
    display: inline-block;
    padding: 8px 16px;
    background: #f8f9fa;
    color: #2980b9;
    text-decoration: none;
    border: 1px solid #e0e0e0;
    font-size: 14px;
    transition: all 0.2s ease;
}

.service-links a:hover {
    background: #2980b9;
    color: #fff;
    border-color: #2980b9;
}

/* ========================================
   MOBİL UYUMLULUK
   ======================================== */
@media (max-width: 768px) {
    .practice-area-content {
        padding: 20px 15px;
    }

    .practice-area-content h1 {
        font-size: 24px;
    }

    .practice-area-content h2 {
        font-size: 20px;
    }

    .stats-row {
        flex-direction: column;
    }

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

    .methodology-steps li {
        padding-left: 60px;
    }

    .methodology-steps li::before {
        left: 15px;
        font-size: 22px;
    }

    .legal-table {
        font-size: 13px;
    }

    .legal-table th,
    .legal-table td {
        padding: 8px 10px;
    }

    .service-links {
        flex-direction: column;
    }

    .service-links a {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .practice-area-content h1 {
        font-size: 22px;
    }

    .stat-card .number {
        font-size: 22px;
    }

    .legal-table {
        display: block;
        overflow-x: auto;
    }
}
