/* Temel Ayarlar */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: #333; line-height: 1.6; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.logo img {
    height: 80px; /* Header yüksekliğine göre burayı ayarlayabilirsin */
    width: auto;  /* En-boy oranını koruması için */
    display: block;
}

.contact-link {
    text-decoration: none; /* Alt çizgiyi kaldırır */
    color: inherit;        /* P etiketinin rengini korur */
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #c5a059;        /* Üzerine gelince senin Gold rengine dönsün */
}




/* --- Hamburger Menü Buton Tasarımı --- */
.menu-toggle {
    display: none; /* Masaüstünde gizli */
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 4px 0;
    transition: 0.4s;
    border-radius: 2px;
}

/* --- Mobil Uyumluluk (Responsive Navbar) --- */
@media (max-width: 768px) {
    /* Butonu görünür yap */
    .menu-toggle {
        display: flex; 
        position: absolute;
        right: 20px; /* Sağ tarafa sabitle */
    }

    /* Menü listesini başlangıçta gizle ve mobilde dikey yap */
    .nav-menu {
        position: absolute;
        top: 80px; /* Header yüksekliği kadar aşağıdan başla */
        left: -100%; /* Ekranın soluna sakla */
        width: 100%;
        background-color: #fff;
        border-top: 1px solid #eee;
        transition: 0.4s ease-in-out;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }

    /* Menü aktif olduğunda (JS ile eklenecek class) */
    .nav-menu.active {
        left: 0; /* Ekrana getir */
    }

    .nav-menu ul {
        flex-direction: column; /* Linkleri alt alta diz */
        width: 100%;
        text-align: center;
        padding: 20px 0;
    }

    .nav-menu ul li {
        margin: 15px 0; /* Linkler arası boşluk */
    }
}

/* --- Bonus: Hamburger Butonunu X'e Dönüştürme Animasyonu --- */
.menu-toggle.is-active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* İki kolonu eşit genişliğe böler */
    gap: 20px; /* Kartlar arası boşluk */
    align-items: stretch; /* Kartların yüksekliklerini de otomatik eşitler */
}

.grid a {
    text-decoration: none; /* Alt çizgiyi kaldırır */
    display: block; /* Linkin tüm alanı kaplamasını sağlar */
}

.card {
    height: 100%; /* İçerik az olsa bile kartın boyunu tam doldurur */
    text-align: center;
}

/* Navbar */
.navbar {
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #eee;
    z-index: 1000;
}
.navbar .container { display: flex; justify-content: space-between; width: 100%; align-items: center; }
.logo { font-size: 24px; font-weight: bold; letter-spacing: 2px; }
nav ul { display: flex; list-style: none; }
nav ul li { margin-left: 30px; }
nav ul li a { text-decoration: none; color: #333; font-weight: 500; font-size: 14px; text-transform: uppercase; }

/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('assets/images/slider.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}
.hero h1 { font-family: 'Playfair Display', serif; font-size: 48px; margin-bottom: 20px; }
.btn { 
    display: inline-block; padding: 12px 30px; border: 1px solid #fff; 
    color: #fff; text-decoration: none; margin-top: 20px; transition: 0.3s;
}
.btn:hover { background: #fff; color: #000; }

/* Grid / Kartlar */
.services {
    padding: 80px 0;
    background: #ffffff; /* Temiz bir görünüm için arka plan beyaz */
}
.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #001f3f; /* Başlık Lacivert */
}
/* Grid Yapısı - Kartları Yan Yana Getirir */
@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr; /* Mobilde tek sütuna düşer */
    }
}

/* Mobil Uyum (Responsive) */
@media (max-width: 992px) {
    .grid {
        grid-template-columns: repeat(2, 1fr); /* Tablette 2'li görünüm */
    }
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr; /* Mobilde tekli görünüm */
    }
}
/* Kartların İlk Hali */
.card {
    background: #fff;
    padding: 40px;
    border: 1px solid #e0e0e0; /* Hafif bir çerçeve */
    border-top: 4px solid #001f3f; /* Üstte lacivert vurgu çizgisi */
    transition: all 0.4s ease; /* Geçişin yumuşak olması için */
    cursor: pointer;
}

/* Kart İçindeki Yazılar (Varsayılan: Lacivert) */
.card h3, .card p {

    color: #001f3f; 
    transition: color 0.4s ease;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

/* --- MOUSE ÜZERİNE GELDİĞİNDE (HOVER) --- */

.card:hover {
    background-color: #001f3f; /* Arka plan lacivert olur */
    transform: translateY(-10px); /* Hafif yukarı kalkma efekti */
    box-shadow: 0 10px 30px rgba(0, 31, 63, 0.3); /* Lacivert tonlu gölge */
}

.card:hover h3, 
.card:hover p {
    color: #ffffff; /* Yazılar beyaz olur */
}

/* --- HİZMETLER SAYFASI ÖZEL --- */
.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 18px;
    color: #555;
    line-height: 1.8;
}

.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Sayfa içi 2'li düzen daha profesyonel durur */
    gap: 30px;
    margin-bottom: 80px;
}

.service-detail-card {
    background: #fcfcfc;
    padding: 35px;
    border-left: 5px solid #001f3f; /* Sol tarafa kalın lacivert çizgi */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.service-detail-card:hover {
    background: #fff;
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.service-detail-card h3 {
    font-family: 'Playfair Display', serif;
    color: #001f3f;
    margin-bottom: 15px;
    font-size: 22px;
}

.service-detail-card p {
    font-size: 15px;
    color: #666;
}

/* Mobilde tekli sütun */
@media (max-width: 768px) {
    .services-detail-grid {
        grid-template-columns: 1fr;
    }
}

/* Kart içindeki linklerin alt çizgisini kaldırır */
.services a {
    text-decoration: none; /* Alt çizgiyi kaldırır */
    color: inherit;        /* Yazı rengini kartın kendi renginden almasını sağlar */
    display: block;        /* Tüm kartın tıklanabilir alan olmasını sağlar */
}

/* Eğer kartın dışındaki tüm a etiketleri için genel bir çözüm istersen */
.card h3, .card p {
    text-decoration: none !important;
}

/* --- FOOTER TASARIMI --- */
footer {
    background-color: #001f3f; /* Lacivert */
    color: #fff;
    padding: 60px 0 20px;
    margin-top: auto; /* Sayfa içeriği azsa footer'ı aşağı iter */
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-col h4 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 10px;
    display: inline-block;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #ccc; text-decoration: none; transition: 0.3s; }
.footer-col ul li a:hover { color: #fff; padding-left: 5px; }

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding-top: 20px;
    font-size: 14px;
    color: #aaa;
}

/* Mobil Footer Ayarı */
@media (max-width: 768px) {
    .footer-container { grid-template-columns: 1fr; text-align: center; }

    .footer-col {
        align-items: center !important; /* Logoyu ve metinleri mobilde ortalar */
        text-align: center;
    }
}

/* --- ALT SAYFALAR İÇİN HEADER (Page Header) --- */
/* Ana sayfadaki .hero çok büyük, alt sayfalar için bunu kullanacağız */
.page-header {
    min-height: 180px; /* Yüksekliği çok az artırabiliriz ki uzun başlık sığsın */
    height: auto;      /* Sabit height yerine içeriğe göre büyüme payı bırakalım */
    padding: 80px 20px 40px 20px; /* Navbar payı + güvenli yan boşluklar */
    background: linear-gradient(rgba(0, 31, 63, 0.85), rgba(0, 31, 63, 0.75)), url('assets/images/office.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    box-sizing: border-box;
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(22px, 5vw, 38px); /* Esnek yazı boyutu */
    max-width: 900px; /* Çok geniş ekranlarda yazının çok dağılmasını önler */
    margin: 0 auto;
    word-wrap: break-word;
    line-height: 1.2;
}

/* İçerik Yazı Alanları */
.content-section {
    padding-bottom: 80px;
}
.content-section p {
    margin-bottom: 20px;
    font-size: 18px;
    color: #555;
}

/* Mobilde Page Header Başlıklarını Düzeltme */
@media (max-width: 768px) {
   .page-header {
        padding-top: 100px; /* Mobilde navbar genelde daha incedir */
    }

    .page-header h1 {
        font-size: 24px;
        padding: 0 20px;
        line-height: 1.2;
        
    }
}

/* --- İLETİŞİM SAYFASI ÖZEL --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 350px 1fr; /* Sidebar sabit genişlik, form kalan alan */
    gap: 40px;
    margin-bottom: 60px;
    align-items: start;
}

.contact-info-box {
    background: #001f3f;
    color: #fff;
    padding: 40px;
    border-radius: 5px;
}

.contact-info-box h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 10px;
}

.info-item {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.info-item span {
    font-weight: 600;
    color: #aaa;
    font-size: 12px;
    text-transform: uppercase;
}

.info-item p {
    font-size: 16px;
    margin-top: 5px;
}

/* Form Alanı */
.contact-form-container h2 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 30px;
    color: #001f3f;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
}

.btn-submit {
    background: #001f3f;
    color: #fff;
    padding: 15px 40px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    background: #003366;
}

/* Harita Alanı */
.map-container {
    width: 100%;
    height: 400px;
    margin-bottom: 80px;
    filter: grayscale(100%); /* Hukuk bürosu ciddiyeti için siyah-beyaz harita efekti */
    transition: 0.5s;
}

.map-container:hover {
    filter: grayscale(0%);
}

@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Ofis Görseli Alanı */
.office-image-container {
    width: 100%;
    height: 250px;
    border-radius: 5px 5px 0 0; /* Üst köşeler yuvarlak */
    overflow: hidden;
    margin-bottom: 0; /* Altındaki kutuyla birleşsin diye 0 yaptık */
}

.office-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hizmet Detay Sayfası Tasarımı */
.service-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    padding: 60px 0;
}

/* Yan Menü (Sidebar) */
.service-sidebar h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    margin-bottom: 20px;
    color: #333;
}

.side-menu {
    list-style: none;
    padding: 0;
}

.side-menu li {
    border-bottom: 1px solid #eee;
}

.side-menu li a {
    display: block;
    padding: 15px 0;
    color: #555;
    text-decoration: none;
    font-weight: 400;
    transition: 0.3s;
}

.side-menu li a:hover, .side-menu li a.active {
    color: #b08d57; /* Altın/Bronz tonu - avukatlık bürosu temasına uygun */
    padding-left: 10px;
}

.sidebar-contact-card {
    background: #f9f9f9;
    padding: 25px;
    margin-top: 40px;
    border-left: 4px solid #b08d57;
}

.btn-sidebar {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #333;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

/* Ana İçerik */
.service-main-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    margin: 30px 0 20px;
}

.service-featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 4px;
}

.service-main-content p {
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.service-main-content ul {
    margin-bottom: 30px;
    padding-left: 20px;
}

.service-main-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

blockquote {
    border-left: 4px solid #b08d57;
    padding-left: 20px;
    font-style: italic;
    font-size: 20px;
    margin: 40px 0;
    color: #666;
}

/* Mobil Uyumluluk */
@media (max-width: 992px) {
    .service-layout {
        grid-template-columns: 1fr;
    }
    
    .service-sidebar {
        order: 2;
    }
    
    .service-main-content {
        order: 1;
    }
}




/* --- BLOG SAYFASI ÖZEL STİLLERİ --- */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.blog-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.blog-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid #001F3F; /* Ofis rengi lacivert */
}

.blog-content {
    padding: 20px;
}

.blog-date {
    font-size: 13px;
    color: #888;
    display: block;
    margin-bottom: 10px;
}

.blog-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    margin-bottom: 12px;
    color: #001F3F;
}

.blog-content p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    color: #001F3F;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s;
}

.read-more:hover {
    color: #d4af37; /* Altın rengi vurgusu */
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Kart linklerinin varsayılan dekorasyonunu kaldır */
.services-detail-grid a {
    text-decoration: none; /* Alt çizgiyi kaldırır */
    color: inherit; /* Yazı rengini kartın kendi renginden almasını sağlar */
    display: block; /* Kartın tamamının tıklanabilir alan olmasını garanti eder */
}

/* Kartın içindeki başlık ve paragrafların renklerini sabitle */
.service-detail-card h3 {
    color: #1a1a1a; /* Başlık rengin (veya temandaki ana renk) */
    margin-bottom: 15px;
}

.service-detail-card p {
    color: #555; /* Paragraf rengin */
    line-height: 1.6;
}

/* Hover (Üzerine gelince) efekti - Kullanıcıya tıklanabilir olduğunu hissettirelim */
.service-detail-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-detail-card:hover {
    transform: translateY(-5px); /* Hafif yukarı kalkma efekti */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); /* Hafif gölge */
}

/* Sayfa Düzeni Ayarı */
.blog-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 40px; /* Sütunlar arası boşluk */
    margin-top: 50px;
}

/* Sol taraf - Makale Alanı */
.blog-layout .service-main-content {
    flex: 1; /* Kalan tüm alanı doldurur */
    min-width: 0; /* Flexbox taşma sorunu için */
}

/* Sağ taraf - Sidebar */
.blog-layout .service-sidebar {
    width: 320px; /* Sidebar genişliği sabitlendi */
    flex-shrink: 0; /* Sidebar'ın küçülmesini engeller */
}

/* Görselin tam genişlikte ve düzgün durması için */
.service-featured-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 30px;
    object-fit: cover;
}

/* Mobil Uyum */
@media (max-width: 992px) {
    .blog-layout {
        flex-direction: column; /* Mobilde alt alta gelir */
    }
    .blog-layout .service-sidebar {
        width: 100%; /* Mobilde sidebar tam genişlik olur */
    }
}

