/*
Theme Name: bestlawdesign
Theme URI: https://bestlawdesign.com
Author: Memduh Remzi BAL
Author URI: https://bestlawdesign.com
Description: bestlawdesign için özel tasarlanmış WordPress teması.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bestlawdesign
*/

/* Genel Sıfırlama ve Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Bütün elementler için box-sizing */
}

html {
    font-size: 15px;
    scroll-behavior: smooth;
}

/* Genel Body Ayarları */
body {
    font-family: sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #263037;
    background-color: transparent !important;
    overflow-x: hidden;
    margin: 0 auto;
    max-width: 100%;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


p {
    margin-bottom: 1.2rem;
}

/* Başlıklar */
h1 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.6rem;
    line-height: 1.1;
    color: #223035;
    font-weight: normal;
    margin-bottom: 1.2rem;
}

h2, h3, h4, h5, h6 {
    font-family: 'DM Sans', sans-serif;
    font-weight: normal;
    color: #223035;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.5rem;
    line-height: 1.25;
}

h3 {
    font-size: 1.4rem;
    line-height: 1.25;
}

h4 {
    font-size: 1.3rem;
    line-height: 1.5;
}

h5 {
    font-size: 1rem;
    line-height: 1.6;
}

h6 {
    font-size: 0.7rem;
    line-height: 1.72;
    letter-spacing: 2px;
}


/* Linkler ve Butonlar */
a {
    color: #00529b;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #223035;
}


/* Tüm unordered list (ul) öğeleri için klasik madde işareti */
ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 15px;
}

/* Alt listelerde de klasik madde işareti kullan */
ul ul {
    list-style-type: disc;
    padding-left: 20px;
}

ul ul ul {
    list-style-type: disc;
    padding-left: 20px;
}


/* accent color #00529b */

/*
 * Yeni Eklenen Logo Yazısı Stilleri
 */
.site-title-text {
    color: #0D0E13; 
    font-size: 14px; 
    display: inline-block; 
    white-space: nowrap; 
}

/* Header linkine hover yapıldığında metin rengini değiştirmek isterseniz */
.site-logo:hover .site-title-text {
    color: #0D0E13;
}

/* Header Genel Stiller */
.site-header {
    width: 100%;
    background-color: ffffff;
    position: above;
    top: 0;
    left: 0;
    z-index: 1000;
}
.header-container {
    margin: 0 auto;
    padding: 50px 50px;
    align-items: center;
}
.inner-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px !important;
}
/* DİKKAT: Buradaki gereksiz } kapatma parantezi silindi. */

.header-left {
    display: flex;
    align-items: center;
}
.site-logo img {
    max-height: 32px;
}
.header-right {
    display: flex;
    align-items: center;
}
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 40px;
    padding: 0;
    margin: 0;
}
.main-navigation ul li {
    margin: 0;
}
.main-navigation ul li a {
    font-size: 15px !important;
    font-weight: 500;
    text-decoration: none;
    color: #0D0E13;
}

/* Mobil Menü Butonu */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 2px;
}
.menu-toggle .bar {
    width: 35px;
    height: 1px;
    background-color: #0D0E13;
}

/* Mobil Menü */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff !important;
    z-index: 999;
    align-items: center;
    justify-content: center;
}
.mobile-navigation ul {
    list-style: none;
    text-align: center;
}
.mobile-navigation ul li a {
    color: #223035;
    font-size: 17px;
    font-weight: 400;
    text-decoration: none;
}

@media (max-width: 1024px) {
    .header-container {
        padding: 50px 50px;
    }
    .inner-header {
        padding-top: 0;
        padding-bottom: 0px;
        padding-right: 0;
        padding-left: 0;
    }
    .main-navigation {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
    .site-logo img {
        max-height: 32px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 25px 25px;
    }
    .inner-header {
        padding-top: 0;
        padding-bottom: 20px;
        padding-right: 0;
        padding-left: 0;
    }
    .site-logo img {
        max-height: 65px;
    }
}

/* Mobil menü stilini kontrol et */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 999;
    align-items: center;
    justify-content: center;
}

.mobile-menu-overlay.active {
    display: flex;
}

/* Genel Ayarlar ve Font */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ===============================
   ANA FOOTER YAPISI
================================= */
.footer-container {
    background-color: #223035;
    color: #f2f2f2 !important;
    padding: 50px;
}

/* Bölümler arası görsel ayrım */
.footer-top,
.footer-middle {
    padding-bottom: 50px;
    margin-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===============================
   1. ÜST CONTAINER
================================= */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Menü */
.footer-menu ul {
    display: flex;
    gap: 40px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-menu a {
    color: inherit;
    transition: color 0.3s;
    text-decoration: none;
}

.footer-menu a:hover {
    color: #f2f2f2;
}

/* Üst kısım: iletişim */
.footer-top-contact {
    display: flex;
    gap: 25px;
}

.footer-top-contact a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-top-contact a:hover {
    color: #0056b3;
}

/* ===============================
   2. ORTA CONTAINER
================================= */
.footer-middle {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-about {
    flex: 1 1 0%;
    min-width: 0;
}

.logo-text {
    font-size: 24px;
    margin: 0 0 10px 0;
    color: #667073;
}

/* Link sütunları */
.footer-links {
    flex: 1 1 0%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.footer-links-column h4 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 16px;
    color: #ffffff;
}

.footer-links-column p,
.footer-links-column a {
    margin-bottom: 10px;
    font-size: 14px;
    color: #dcdcdc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links-column a:hover {
    color: #ffffff;
}

/* ===============================
   SOSYAL MEDYA
================================= */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #d5dede;
    color: white;
    font-size: 18px;
    transition: background-color 0.3s, transform 0.3s;
}

.social-icon:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}

/* ===============================
   3. ALT KISIM (OPSİYONEL)
================================= */
.footer-bottom {
    text-align: center;
    font-size: 14px;
    color: #a9a9a9;
    margin-top: 40px;
}

/* ===============================
   MOBİL UYUMLULUK (RESPONSIVE)
================================= */
@media (max-width: 768px) {
    .footer-container {
        padding-right: 25px;
		padding-left: 25px;
		padding-top: 50px;
		padding-bottom: 50px;
        text-align: left;
    }

    .footer-top,
    .footer-middle,
    .footer-links {
        flex-direction: column;
        width: 100%;
        gap: 25px;
        align-items: flex-start; /* ✅ sola hizalama */
    }

    .footer-menu ul {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start; /* ✅ sola hizalama */
    }

    .footer-top-contact {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start; /* ✅ sola hizalama */
    }

    .social-icons {
        justify-content: flex-start;
    }
}



.best-outer-container {
    width: 100%;
	min-height: 100px !important;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    background-color: #ffffff;
}

.best-inner-container {
    width: 100%;
    height: 100%;
    padding: 50px 50px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
}

.best-inner-container .best-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 45px;
    font-weight: 400;
    color: #0D0E13;
    text-decoration: none;
    width: 100%;
    min-height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Tablet Ekranlar (1024px ve altı) */
@media (max-width: 1024px) {
    .best-inner-container {
        padding: 0 50px 30px;
    }
}

@media (max-width: 767px) {
    .best-inner-container {
        padding: 0 25px 30px;
    }

    .best-inner-container .best-title {
        font-size: 32px;
    }
}
    
/* --- Base Styling for .haber-posts container --- */
.haber-posts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

/* --- Tablet and Desktop (Two-Column Layout) --- */
@media (min-width: 768px) {
    .haber-posts {
        grid-template-columns: 1fr 1fr;
    }

    .haber-post {
        margin-bottom: 0;
    }
}

/* --- Styling for the Individual Posts --- */
.haber-post {
    display: block;
}

.haber-post-title {
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 10px;
}

.haber-post-title a {
    color: #223035;
    text-decoration: none;
    transition: color 0.2s ease;
}

.haber-post-title a:hover {
    color: #263037;
}


/* Optional: Better to hide the separator on mobile and let the gap handle it, or style it as a bottom border */
@media (max-width: 767px) {
    .separator {
        width: 100%;
        height: 1px;
        background-color: #eee;
        margin-bottom: 30px;
    }
}

.haber-posts-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin: 0 auto;
}

.haber-post-title {
    font-size: 28px;
    margin: 10px 0;
}

.haber-post-title a {
    text-decoration: none;
    color: #333;
}

.haber-post-meta {
    font-size: 14px;
    color: #20282D;
    margin-bottom: 10px;
}

.haber-post-excerpt {
    font-size: 15px;
    color: #263037;
}

.haber-post-container img {
    width: 100%;
    height: 333px;
    object-fit: cover;
}

/* Single Post Sayfası */

.single-outer-container {
    min-height: 400px;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-bottom: 30px;
    overflow: hidden;
}

/* Koyu transparan overlay */
.single-outer-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.single-header-content {
    color: #ffffff;
    width: 100%;
    position: relative;
    z-index: 2;
}

.entry-title {
    font-size: 32px;
	font-family: 'DM Sans', sans-serif !important;
    color: #f1f1f1;
}


/* İçerik Konteynerı */
.single-content-container {
    padding-top: 50px;
    padding-bottom: 50px;
}

/* Masaüstü ve büyük ekranlar (1024px ve üzeri) */
@media (min-width: 1024px) {
    .single-header-content,
    .single-content-container {
        padding-left: 50px;
        padding-right: 50px;
    }
}

/* Tabletler (768px - 1023px) */
@media (min-width: 767px) and (max-width: 1023px) {
    .single-header-content,
    .single-content-container {
        padding-left: 25px;
        padding-right: 25px;
    }
}

/* Mobil cihazlar (767px ve altı) */
@media (max-width: 767px) {
    .single-header-content,
    .single-content-container {
        padding-left: 25px;
        padding-right: 25px;
    }

    .entry-title {
        font-size: 2rem;
    }
}

.glassy-button {
    display: inline-block !important;
    width: fit-content !important;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: none;
    border-radius: 30px;
    padding-bottom: 8px;
    padding-left: 40px !important;
    padding-top: 7px;
    padding-right: 40px !important;	
    color: #f2f2f2 !important;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    text-decoration: none !important;
    cursor: pointer;
    transition: background 0.3s ease;
}

.glassy-button:hover {
    background: rgba(255, 255, 255, 0.35);
}

.glassy-button a {
    color: inherit !important;
    text-decoration: none !important;
}

.border-button {
    display: inline-block !important;
    width: fit-content !important;
    background: transparent;	
    border: 1px solid #20282D;	
    border-radius: 30px;
    padding-bottom: 8px;
    padding-left: 40px !important;
    padding-top: 6px;
    padding-right: 40px !important;	
    color: #20282D !important;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.3s ease;	
}

.border-button:hover {
    background: #20282D;
    border-color: #20282D;
    color: #f2f2f2 !important;
}

.border-button a {
    color: inherit !important;
    text-decoration: none !important;
}

/* FILLED BUTTON ÖZELLİKLERİ DEĞİŞTİRİLMEDEN KORUNDU */
.filled-button {
    display: inline-block !important;
    width: fit-content !important;
    background: #223035;
    border: none;
    border-radius: 30px;
    padding-bottom: 8px;
    padding-left: 40px !important;
    padding-top: 7px;
    padding-right: 40px !important;	
    color: #f2f2f2 !important;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    text-decoration: none !important;
    cursor: pointer;
    transition: background 0.3s ease;
}

.filled-button:hover {
    background: rgba(255, 255, 255, 0.35);
    color: #223035 !important;
}

.filled-button a {
    color: inherit !important;
    text-decoration: none !important;
}

.arka {
    display: inline-block !important;
    width: fit-content !important;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* REMZI KONTEYNERİ GENEL AYARLARI */
.remzi {
    display: flex;
    width: 100%; /* Tam genişlik garantisi */
    box-sizing: border-box; /* Padding'in genişliğe dahil olmasını sağlar */
}

/* YÜZDELİK GENİŞLİKLER VE BOX SIZING */
.remzisol {
    width: 70%; 
    box-sizing: border-box; /* %70 width hesaplamasına padding ve border dahil edilir */
	padding-right: 25px;
}

.remzisag {
    width: 30%; 
    box-sizing: border-box;
	padding-left: 25px;
}

/* -------------------------------------------------------------------------- */
/* REMZI KONTEYNERI PADDING VE DUYARLILIK (RESPONSIVE) KURALLARI */
/* -------------------------------------------------------------------------- */

/* Masaüstü ve Tablet (Genişlik 768px ve üzeri) */
@media (min-width: 768px) {
    .remzi {
        /* Sağdan, soldan, alttan, üstten 50px padding */
        padding: 50px; 
    }
}

/* Mobil (Genişlik 767px ve altı) */
@media (max-width: 767px) {
    .remzi {
        /* Sağdan soldan 25px, üstten alttan 50px padding */
        /* !important ile kuralın diğer stiller tarafından ezilmesi engellendi */
        padding: 50px 25px !important; 
        
        /* Mobil görünümde alt alta sıralanma */
        flex-direction: column;
    }
    
    /* Mobil görünümde alt alta sıralanınca tam genişlik kullanmaları için */
    .remzisol,
    .remzisag {
        width: 100%;  
        /* Ana konteyner (remzi) padding'i hallettiği için iç padding'ler sıfırlandı */
        padding: 0; 
        margin-bottom: 30px; 
    }
}

/* * WordPress Arama Çubuğu Stilleri 
 * Bu stiller, temanızdaki arama formuna ve input alanına uygulanmalıdır.
 */

/* 1. Input Alanı Stilleri (.wp-search-input sınıfı search input'a eklenmeli) */
.wp-search-input {
	width: 75% !important;
    background-color: transparent;
    border-color: #223035;
    color: #263037;
    border-radius: 0;
    border-style: solid;
    /* Yalnızca altta 1px sınır */
    border-width: 0 0 1px 0; 
    /* Metin girişi için varsayılan imleç kullanıldı (pointer'dan text'e çevrildi) */
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: inherit;
    line-height: 38px; 
    outline: 0;
}

/*
 * DİKKAT: Font dosyalarının style.css ile aynı dizindeki "fonts" klasöründe olduğu varsayılmıştır.
 * Eğer farklı bir konumdaysa, "fonts/" yerine doğru yolu (örn: "../fonts/") kullanmalısınız.
 */

@font-face {
    font-family: 'DM Sans';
    src: url('fonts/DMSans-Bold.woff2') format('woff2'),
         url('fonts/DMSans-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('fonts/DMSans-Italic.woff2') format('woff2'),
         url('fonts/DMSans-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('fonts/DMSans-ExtraBoldItalic.woff2') format('woff2'),
         url('fonts/DMSans-ExtraBoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('fonts/DMSans-SemiBoldItalic.woff2') format('woff2'),
         url('fonts/DMSans-SemiBoldItalic.woff') format('woff');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('fonts/DMSans-Regular.woff2') format('woff2'),
         url('fonts/DMSans-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('fonts/DMSans-ExtraLight.woff2') format('woff2'),
         url('fonts/DMSans-ExtraLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('fonts/DMSans-BoldItalic.woff2') format('woff2'),
         url('fonts/DMSans-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('fonts/DMSans-Black.woff2') format('woff2'),
         url('fonts/DMSans-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('fonts/DMSans-LightItalic.woff2') format('woff2'),
         url('fonts/DMSans-LightItalic.woff') format('woff');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('fonts/DMSans-BlackItalic.woff2') format('woff2'),
         url('fonts/DMSans-BlackItalic.woff') format('woff');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('fonts/DMSans-MediumItalic.woff2') format('woff2'),
         url('fonts/DMSans-MediumItalic.woff') format('woff');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('fonts/DMSans-ExtraLightItalic.woff2') format('woff2'),
         url('fonts/DMSans-ExtraLightItalic.woff') format('woff');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('fonts/DMSans-SemiBold.woff2') format('woff2'),
         url('fonts/DMSans-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('fonts/DMSans-ThinItalic.woff2') format('woff2'),
         url('fonts/DMSans-ThinItalic.woff') format('woff');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('fonts/DMSans-Thin.woff2') format('woff2'),
         url('fonts/DMSans-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('fonts/DMSans-Light.woff2') format('woff2'),
         url('fonts/DMSans-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('fonts/DMSans-Medium.woff2') format('woff2'),
         url('fonts/DMSans-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('fonts/DMSans-ExtraBold.woff2') format('woff2'),
         url('fonts/DMSans-ExtraBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}




