/* =========================================
   ÇALIŞMA ALANLARI ANA SAYFA STİLİ
   Dosya: practices.css
   ========================================= */

/* --- GENEL AYARLAR --- */
body {
    background-color: #fafafa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}

/* --- HERO BÖLÜMÜ --- */
.practices-hero {
    position: relative;
    width: 100%;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #111;
    margin-bottom: 60px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45; /* Yazı okunurluğunu artırmak için ideal opaklık */
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(128, 0, 32, 0.5));
    z-index: 1;
}

.practices-hero .container {
    position: relative;
    z-index: 2; /* Yazıların overlay üstünde kalmasını sağlar */
}

/* --- KART TASARIMLARI (Modern Bordo & Beyaz) --- */
.home-service-card, .practice-card {
    background-color: #ffffff;
    padding: 45px 30px;
    border-radius: 12px; /* Daha modern ve keskin bir ovallik */
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

/* Kartın Altına İnce Bordo Çizgi Efekti */
.home-service-card::after, .practice-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background-color: #800020; /* Kurumsal Bordo */
    transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.home-service-card:hover::after, .practice-card:hover::after {
    width: 100%;
}

.home-service-card:hover, .practice-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(128, 0, 32, 0.12); /* Yumuşatılmış bordo gölge */
    border-color: rgba(128, 0, 32, 0.15);
}

/* İkon Kutusu (Bootstrap İkonları İçin) */
.home-service-card i, .icon-wrapper {
    background-color: #fcf4f6; /* Çok zarif bordo beyaz kırılımı */
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2.2rem; /* İkon boyutu netleştirildi */
    color: #800020; /* Bordo İkon */
    transition: all 0.4s ease;
}

/* Kart Hover Olunca İkon Animasyonu */
.home-service-card:hover i, .practice-card:hover .icon-wrapper {
    background-color: #800020;
    color: #ffffff;
    transform: scale(1.05);
}

.home-service-card h4, .practice-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c3e50;
}

.home-service-card p, .practice-card p {
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #666;
}

/* Kart Butonları ve Detay Linkleri */
.link-arrow, .practice-card .btn {
    font-size: 0.95rem;
    font-weight: 600;
    color: #800020;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid transparent;
}

.link-arrow i {
    background: transparent !important;
    width: auto !important;
    height: auto !important;
    font-size: 0.85rem !important;
    margin-bottom: 0 !important;
    color: inherit !important;
    transition: transform 0.3s ease;
}

.home-service-card:hover .link-arrow {
    background-color: #fcf4f6;
    border-color: rgba(128, 0, 32, 0.2);
}

.home-service-card:hover .link-arrow i {
    transform: translateX(4px); /* Ok işaretinin sağa kayma efekti */
}

/* Mobil Cihaz Optimizasyonları */
@media (max-width: 768px) {
    .practices-hero { height: 35vh; margin-bottom: 40px; }
    .display-3 { font-size: 2.2rem; }
    .home-service-card, .practice-card { padding: 35px 20px; }
}