/* --- PROFESYONEL AVUKAT SİTESİ TASARIMI (FINAL V17 - WHITE EDITION & COMPACT) --- */

/* FONT PAKETİ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Roboto:wght@300;400;500&display=swap');

:root {
    --lacivert: #1c2331;
    --altin: #c5a059;
    --koyu-gri: #222;
    --acik-gri: #fcfcfc;
    --border-gri: #ebebeb;
    --sidebar-genislik: 280px;
    
    /* FONT AYARLARI */
    --font-baslik: 'Playfair Display', serif; 
    --font-metin: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0; padding: 0;
    font-family: var(--font-metin);
    background-color: var(--acik-gri);
    color: var(--koyu-gri);
    display: flex; min-height: 100vh;
    line-height: 1.7; 
    font-size: 15px;
    font-weight: 400;
}

a { text-decoration: none; color: inherit; transition: 0.3s ease; }
img { max-width: 100%; display: block; }

/* Masaüstünde gereksiz boşlukları gizle */
@media (min-width: 769px) { .d-lg-none { display: none !important; } }

/* --- SIDEBAR & MENÜ --- */
.mobile-top-bar { display: none; background-color: var(--lacivert); color: #fff; padding: 15px 20px; align-items: center; justify-content: space-between; position: fixed; top: 0; left: 0; width: 100%; z-index: 2000; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.mobile-brand { font-family: var(--font-baslik); font-size: 1.3rem; font-weight: 700; color: #fff; }
.menu-toggle { font-size: 1.5rem; color: var(--altin); cursor: pointer; border: 1px solid rgba(255,255,255,0.1); padding: 5px 10px; border-radius: 4px; }

.sidebar { width: var(--sidebar-genislik); background-color: var(--lacivert); color: #fff; position: fixed; height: 100vh; left: 0; top: 0; display: flex; flex-direction: column; padding: 35px 0; z-index: 1000; box-shadow: 5px 0 20px rgba(0,0,0,0.15); transition: transform 0.3s ease-in-out; }

.profile-area { text-align: center; padding: 0 25px 30px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.profile-img { width: 100%; height: 350px; object-fit: cover; border-radius: 3px; border: 1px solid rgba(255,255,255,0.15); margin-bottom: 25px; box-shadow: 0 10px 40px rgba(0,0,0,0.5); filter: brightness(0.95); }
.profile-name { font-family: var(--font-baslik); font-size: 1.5rem; font-weight: 700; margin: 0; color: #fff; line-height: 1.3; letter-spacing: 0.5px; }
.profile-title { font-family: var(--font-metin); font-size: 0.75rem; color: var(--altin); margin-top: 10px; text-transform: uppercase; letter-spacing: 2px; font-weight: 600; }

.nav-menu { flex-grow: 1; padding-top: 35px; display: flex; flex-direction: column; gap: 5px; overflow-y: auto; }
.nav-menu a { position: relative; padding: 15px 40px; color: rgba(255, 255, 255, 0.75); font-size: 0.85rem; font-weight: 600; letter-spacing: 1px; display: flex; align-items: center; transition: all 0.3s ease; border-left: 3px solid transparent; font-family: var(--font-metin); text-transform: uppercase; }
.nav-menu a i { width: 25px; font-size: 1.1rem; margin-right: 15px; text-align: center; color: rgba(255, 255, 255, 0.4); transition: all 0.3s ease; }
.nav-menu a:hover, .nav-menu a.active { background: linear-gradient(90deg, rgba(197, 160, 89, 0.12) 0%, transparent 100%); color: #fff; border-left-color: var(--altin); padding-left: 45px; }
.nav-menu a:hover i, .nav-menu a.active i { color: var(--altin); transform: scale(1.1); text-shadow: 0 0 15px rgba(197, 160, 89, 0.6); }

.social-links { padding: 25px 30px; text-align: center; border-top: 1px solid rgba(255,255,255,0.06); }
.social-links a { margin: 0 12px; font-size: 1.1rem; color: rgba(255,255,255,0.5); transition: 0.3s; }
.social-links a:hover { color: var(--altin); transform: translateY(-3px); }

/* --- ANA İÇERİK --- */
.main-content { 
    margin-left: var(--sidebar-genislik); 
    flex: 1; 
    padding: 0; /* Sayfa kenar boşlukları sıfırlandı, içerik tam oturacak */
    width: calc(100% - var(--sidebar-genislik)); 
    display: flex; 
    flex-direction: column; 
}
.mobile-hero-image { display: none; width: 100%; height: 350px; object-fit: cover; object-position: top center; border-bottom: 4px solid var(--altin); margin-bottom: 0; margin-top: 60px; }

/* İçerik kapsayıcısı (Grid ve diğer içerikler için padding) */
.content-wrapper {
    padding: 0 60px 60px 60px;
}

/* --- SLIDER (SIFIR BOŞLUK) --- */
.hero-slider-container { 
    width: 100%; 
    height: 550px; 
    margin-bottom: 0; /* Alt boşluk sıfırlandı */
    margin-top: 0; 
    overflow: hidden; 
    position: relative; 
    background: #000; 
}
.swiper, .swiper-slide { width: 100%; height: 100%; }
.slider-image { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: transform 1.5s ease; }
.swiper-slide:hover .slider-image { transform: scale(1.03); opacity: 0.75; }
.slider-content { position: absolute; bottom: 0; left: 0; width: 100%; padding: 60px; background: linear-gradient(to top, rgba(28, 35, 49, 0.95), transparent); color: #fff; z-index: 10; }
.slider-title { font-family: var(--font-baslik); font-size: 3rem; margin: 0 0 20px 0; text-shadow: 0 5px 15px rgba(0,0,0,0.3); font-weight: 700; line-height: 1.1; letter-spacing: -0.5px; }
.slider-btn { border: 1px solid rgba(255,255,255,0.6); color: #fff; padding: 12px 35px; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 2px; transition: 0.3s; display: inline-block; font-weight: 600; font-family: var(--font-metin); }
.slider-btn:hover { background: var(--altin); border-color: var(--altin); color: #1c2331; }

.swiper-pagination-bullet { width: 12px !important; height: 12px !important; background: #fff !important; opacity: 0.4; transition: all 0.3s ease; margin: 0 8px !important; }
.swiper-pagination-bullet-active { background: var(--altin) !important; opacity: 1; transform: scale(1.4); }

/* --- HİZMETLER BANDI (BEYAZ ARKA PLAN & SIFIR BOŞLUK) --- */
.hizmetler-bandi {
    background-color: #ffffff; /* Beyaz yapıldı */
    padding: 40px 60px; /* İç boşluk */
    width: 100%;
    border-bottom: 1px solid #eee;
    margin-top: -5px; /* Slider ile arada çizgi kalmaması için */
    position: relative;
    z-index: 20;
}
.hizmet-container {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}
.hizmet-kutu {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex: 1;
    padding: 25px;
    transition: all 0.4s ease;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #f0f0f0; /* Beyaz zeminde kutuyu belli etmek için sınır */
    box-shadow: 0 5px 15px rgba(0,0,0,0.03); /* Hafif gölge */
}
.hizmet-kutu:hover {
    background: #fff;
    transform: translateY(-7px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: var(--altin);
}
.hizmet-ikon {
    background-color: var(--altin);
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
    border-radius: 4px;
    transition: transform 0.3s ease;
}
.hizmet-kutu:hover .hizmet-ikon { transform: scale(1.1); }
.hizmet-detay h3 {
    color: var(--lacivert); /* Koyu Lacivert Başlık */
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px 0;
    font-family: 'Inter', sans-serif;
}
.hizmet-detay p {
    color: #666; /* Koyu Gri Metin */
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* --- HAKKIMDA BÖLÜMÜ (SIFIR BOŞLUK) --- */
.hakkimizda-section {
    background-color: #fdfdfd; /* Çok hafif gri tonu */
    padding: 60px;
    width: 100%;
    border-bottom: 1px solid #eee;
}
.hakkimizda-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}
.hakkimizda-text { flex: 1; }
.hakkimizda-img {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}
.hakkimizda-img img {
    width: 100%;
    max-width: 450px;
    height: 500px;
    object-fit: cover;
    object-position: top center;
    border-radius: 6px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Tipografi (Hakkımızda için) */
.sub-header {
    font-size: 13px;
    color: var(--altin);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
    font-family: 'Roboto', sans-serif;
}
.main-header {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: var(--lacivert);
    font-style: italic;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}
.main-header::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--altin);
    margin-top: 10px;
}
.hakkimizda-desc {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 35px;
    font-family: 'Roboto', sans-serif;
    text-align: justify;
}

/* Buton Tasarımı (Altın) */
.btn-gold {
    background-color: var(--altin);
    color: #fff;
    padding: 14px 35px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}
.btn-gold:hover {
    background-color: #a48240;
    transform: translateX(5px);
}

/* --- BLOG BAŞLIK ALANI --- */
.blog-header-section {
    padding: 40px 0 20px 0;
}
.blog-title { font-family: var(--font-baslik); font-size: 2.5rem; color: var(--lacivert); margin-bottom: 10px; }
.blog-subtitle { color: #777; font-size: 1.1rem; }

/* --- GRID SİSTEMİ (Makaleler) --- */
.articles-grid-wrapper { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; 
    margin-top: 40px;
    width: 100%;
}

.article-card { background: #fff; border-radius: 4px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.02); transition: all 0.4s ease; display: flex; flex-direction: column; height: 100%; border: 1px solid var(--border-gri); }
.article-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.article-image-wrapper { width: 100%; height: 210px; overflow: hidden; position: relative; }
.article-image-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.article-card:hover .article-image-wrapper img { transform: scale(1.1); }
.date-badge { display: none !important; }

.article-content { padding: 30px 25px; display: flex; flex-direction: column; flex-grow: 1; }
.article-meta-row { display: flex; align-items: center; margin-bottom: 15px; font-size: 0.85rem; color: #888; font-weight: 500; font-family: var(--font-metin); }
.meta-author-icon { width: 26px; height: 26px; background: rgba(197, 160, 89, 0.15); border-radius: 50%; color: var(--altin); display: flex; align-items: center; justify-content: center; margin-right: 10px; font-size: 0.8rem; }
.article-title { font-family: var(--font-baslik); font-size: 1.35rem; color: var(--lacivert); margin: 0 0 15px 0; line-height: 1.4; transition: 0.3s; font-weight: 700; min-height: 3.8rem; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.article-title:hover { color: var(--altin); }
.article-excerpt { font-size: 0.9rem; line-height: 1.6; color: #666; margin-bottom: 25px; flex-grow: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-weight: 400; }
.read-more-btn { align-self: flex-start; color: var(--lacivert); font-weight: 700; font-size: 0.75rem; display: flex; align-items: center; transition: 0.3s; border-bottom: 2px solid rgba(28,35,49,0.1); padding-bottom: 2px; text-transform: uppercase; letter-spacing: 1px; font-family: var(--font-metin); margin-top: auto; }
.read-more-btn:hover { color: var(--altin); border-color: var(--altin); }

/* --- DİĞER SAYFALAR --- */
.detail-layout { display: grid; grid-template-columns: 2.5fr 1fr; gap: 60px; max-width: 1400px; margin: 0 auto; }
.detail-main { background: #fff; padding: 60px; border-radius: 4px; box-shadow: 0 10px 40px rgba(0,0,0,0.04); position: relative; }
.detail-title { font-family: var(--font-baslik); font-size: 2.5rem; color: var(--lacivert); line-height: 1.2; margin: 0 0 25px 0; font-weight: 700; letter-spacing: -0.5px; }
.detail-meta-top { font-size: 0.9rem; color: #999; margin-bottom: 35px; display: flex; gap: 25px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-family: var(--font-metin); border-bottom: 1px solid #eee; padding-bottom: 25px; }
.detail-meta-top i { color: var(--altin); margin-right: 8px; }
.detail-main-image { width: 100%; height: auto; max-height: 600px; object-fit: cover; border-radius: 4px; margin-bottom: 50px; box-shadow: 0 15px 40px rgba(0,0,0,0.08); }
.detail-content { font-family: var(--font-metin); font-size: 1.2rem; line-height: 1.8; color: #333; font-weight: 400; }
.detail-content h2, .detail-content h3 { font-family: var(--font-baslik); color: var(--lacivert); margin-top: 50px; margin-bottom: 20px; font-size: 2rem; font-weight: 700; position: relative; padding-left: 20px; border-left: 4px solid var(--altin); }
.detail-sidebar { position: sticky; top: 40px; height: fit-content; }
.sidebar-widget { background: #fff; padding: 40px; border-radius: 4px; box-shadow: 0 5px 20px rgba(0,0,0,0.03); margin-bottom: 40px; }
.widget-title { font-family: var(--font-baslik); font-size: 1.5rem; color: var(--lacivert); margin: 0 0 30px 0; padding-bottom: 15px; border-bottom: 2px solid var(--altin); display: block; font-weight: 700; letter-spacing: 0.5px; }

/* SAYFALAMA */
.pagination { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 50px 0; width: 100%; clear: both; }
.page-link { width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; background-color: #ffffff; color: var(--lacivert); border: 1px solid #ddd; border-radius: 50%; font-weight: 700; font-size: 0.9rem; text-decoration: none; transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.03); }
.page-link:hover { background-color: var(--altin); color: #ffffff; border-color: var(--altin); transform: translateY(-3px); }
.page-link.active { background-color: var(--lacivert); color: #ffffff; border-color: var(--lacivert); cursor: default; }

/* FOOTER */
.site-footer { margin-top: 0; padding: 40px 0; border-top: 1px solid var(--border-gri); text-align: center; color: #999; font-size: 0.9rem; font-family: var(--font-metin); background-color: #fff; width: 100%; }

/* RESPONSIVE */
@media (max-width: 1200px) {
    .articles-grid-wrapper { grid-template-columns: repeat(2, 1fr); }
    .content-wrapper { padding: 40px; }
    .hizmetler-bandi { padding: 40px; }
    .hakkimizda-section { padding: 40px; }
    .detail-layout { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 992px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.active { transform: translateX(0); }
    .mobile-top-bar { display: flex; }
    .main-content { margin-left: 0; width: 100%; padding: 0; }
    .content-wrapper { padding: 20px; margin-top: 20px; } /* Mobilde içerik boşluğu */
    .mobile-hero-image { display: block; margin-top: 60px; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .hero-slider-container { margin-top: 0; height: 400px; } 
    
    .hizmet-container { flex-direction: column; }
    .hizmet-kutu { width: 100%; }
    
    .hakkimizda-wrapper { flex-direction: column-reverse; gap: 30px; }
    .main-header { font-size: 32px; }
    .hakkimizda-img img { height: auto; max-height: 400px; }
}

@media (max-width: 768px) {
    .articles-grid-wrapper { grid-template-columns: 1fr; }
    .page-link { width: 35px; height: 35px; font-size: 0.8rem; }
    .slider-title { font-size: 2rem; }
    .slider-content { padding: 20px; }
    .hizmetler-bandi, .hakkimizda-section { padding: 30px 20px; }
}