/* =========================================
   ALT SAYFALAR (UYGULAMA DETAY) STİLLERİ
   Dosya: practicesub1.css
   ========================================= */

/* --- SUB-HERO (Kapak Resmi Bölümü) --- */
.sub-hero {
    position: relative;
    width: 100%;
    height: 45vh; /* Boyut daha dengeli bir yüksekliğe çekildi */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    margin-bottom: 50px;
}

.sub-hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4; /* Reklam yasağına uygun loş ve kurumsal arka plan kaplaması */
}

.sub-hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    padding: 0 20px;
    max-width: 900px;
    text-align: center;
}

.sub-hero-content h1 {
    font-size: 3.2rem;
    font-weight: 700;
    border-bottom: 3px solid #800020; /* Altın/bordo dengeli şık çizgi */
    display: inline-block;
    padding-bottom: 12px;
    margin-bottom: 18px;
    text-shadow: 2px 3px 15px rgba(0,0,0,0.7);
}

.sub-hero-content p {
    font-size: 1.3rem;
    font-weight: 300;
    text-shadow: 1px 2px 8px rgba(0,0,0,0.6);
    opacity: 0.95;
    letter-spacing: 0.5px;
}

/* --- İÇERİK METNİ VE TİPOGRAFİ (Akademik & Kurumsal) --- */
.content-text p {
    text-align: justify;
    line-height: 1.95; /* Okunabilirliği maksimuma çıkaran satır aralığı */
    margin-bottom: 25px;
    font-size: 1.08rem;
    color: #3f4e5e; /* Gözü yormayan koyu antasit/gri tonu */
}

.content-text strong {
    color: #800020; /* Metin içindeki UYAP vb. vurgular kurumsal bordo renginde */
    font-weight: 600;
}

.content-text .lead {
    color: #800020 !important; /* Büyük vurgulu giriş paragrafı */
    font-weight: 600;
    font-size: 1.22rem;
    border-left: 4px solid #800020;
    padding-left: 20px;
    margin-bottom: 35px;
    background-color: #fdfafb; /* Hafif kırık beyaz arka plan vurgusu */
    padding-top: 15px;
    padding-bottom: 15px;
    border-radius: 0 8px 8px 0;
}

/* --- YAN PANEL (Avukat Kartı) --- */
.key-contacts {
    background-color: #ffffff;
    border-top: 4px solid #800020; /* Kurumsal Kimlik Şeridi */
    position: -webkit-sticky;
    position: sticky;
    top: 110px; /* Navbar'ın altında kusursuz kilitlenip kayar */
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.key-contacts h3 {
    font-size: 1.3rem;
    color: #800020;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.contact-person img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid #fcf4f6;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.contact-person img:hover {
    transform: scale(1.06) translateY(-2px);
}

.contact-person h5 {
    font-weight: 700;
    margin-top: 15px;
    color: #2c3e50;
    font-size: 1.15rem;
    margin-bottom: 5px;
}

/* Yan Panel Buton Özelleştirmesi */
.key-contacts .btn-custom-modern {
    background-color: #800020;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 25px;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.key-contacts .btn-custom-modern:hover {
    background-color: #ffffff;
    color: #800020;
    border-color: #800020;
    box-shadow: 0 5px 15px rgba(128, 0, 32, 0.15);
}

/* Mobil Responsive Ayarları */
@media (max-width: 991px) {
    .key-contacts {
        position: static; /* Mobilde yapışkanlık iptal, alta düzgünce listelenir */
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .sub-hero { height: 35vh; margin-bottom: 35px; }
    .sub-hero-content h1 { font-size: 2.2rem; padding-bottom: 8px; }
    .sub-hero-content p { font-size: 1.05rem; }
    .content-text p { font-size: 1.02rem; line-height: 1.85; }
    .content-text .lead { font-size: 1.12rem; padding-left: 15px; }
}