:root {
    --primary-color: #004AAD; /* Ana Mavi */
    --secondary-color: #00B4D8; /* Canlı Mavi */
    --accent-color: #4CAF50; /* Yeşil Vurgu */
    --dark-color: #0A1931; /* Koyu Lacivert */
    --light-color: #f8f9fa;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--dark-color);
    font-weight: 600;
}

/* Header (Navbar) Stilleri */
.navbar {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
}

.nav-link {
    color: var(--dark-color) !important;
    font-weight: 500;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

.dropdown-menu {
    border-radius: 10px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.dropdown-item:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

.btn-primary-custom {
    background-image: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    border: none;
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 74, 173, 0.4);
    color: white;
}

/* Hero Section */
#hero {
    height: 100vh;
    /* YENİ RESİM BURAYA EKLENDİ */
    background: url('https://bilgener.com/wp-content/uploads/2024/03/solar-panels-meadow.jpg') no-repeat center center/cover;
    position: relative;
    color: white;
    display: flex;
    align-items: center;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* KATMAN DAHA ŞEFFAF HALE GETİRİLDİ */
    background: rgba(10, 25, 49, 0.4); 
}

#hero .container {
    position: relative;
    z-index: 1;
}

#hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
}

#hero p {
    font-size: 1.2rem;
    max-width: 600px;
}

/* Section Başlıkları */
.section-title {
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Hizmet Kartları */
.card-custom {
    background: #fff;
    border: none;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.card-custom:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}
.card-custom .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.card-custom-body {
    flex-grow: 1;
}
.card-custom-footer {
    margin-top: auto;
    padding-top: 1rem;
}
.card-custom-footer a {
    text-decoration: none;
    font-weight: 600;
    color: var(--primary-color);
}
.card-custom-footer a:hover {
    color: var(--secondary-color);
}

/* Blog Kartları */
.blog-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}
.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}
.blog-card .card-body a {
    text-decoration: none;
    font-weight: 600;
    color: var(--primary-color);
}

/* Proje Kartları */
.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}
.project-card img {
    transition: transform 0.5s ease;
}
.project-card:hover img {
    transform: scale(1.1);
}
.project-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 25, 49, 0.9), transparent);
    color: white;
    padding: 40px 20px 20px 20px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: rgba(255,255,255,0.8);
}
footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}
footer a:hover {
    color: white;
}
footer .social-icons a {
    font-size: 1.5rem;
    margin-right: 15px;
}

/* =================================== */
/* Kurumsal Sayfası Ek Stilleri      */
/* =================================== */

/* Yeni Breadcrumb Stili */
.breadcrumb-area {
    background-color: var(--light-color);
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
    margin-top: 65px; 
}
.breadcrumb {
    margin-bottom: 0;
}
.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}
.breadcrumb-item a:hover {
    color: var(--dark-color);
}

.section-title.text-start h2::after {
    left: 0;
    transform: translateX(0);
}
.info-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.info-card .icon-box {
    margin: 0 auto 25px auto;
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
}
.value-card {
    padding: 30px;
    background: var(--light-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}
.value-card:hover {
    background: var(--primary-color);
    color: white;
}
.value-card:hover i, .value-card:hover h4 {
    color: white;
}
.value-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}
.value-card h4 {
    transition: color 0.3s ease;
}
/* =================================== */
/* Hizmetler Sayfası Stilleri          */
/* =================================== */

.service-card {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.service-card img {
    width: 100%;
    height: 200px; /* Sabit bir yükseklik veya "object-fit: cover;" kullanabilirsiniz */
    object-fit: cover;
}

.service-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-body h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.btn-outline-primary-custom {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    align-self: flex-start; /* Butonu sola yaslar */
}

.btn-outline-primary-custom:hover {
    background-color: var(--primary-color);
    color: white;
}

/* =================================== */
/* Hizmet Detay Sayfası Stilleri       */
/* =================================== */

.text-primary-custom {
    color: var(--primary-color) !important;
}

.text-primary-custom:hover {
    color: var(--secondary-color) !important;
}
/* =================================== */
/* Blog Sayfaları Stilleri           */
/* =================================== */

.blog-card-full {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-radius: 15px;
    background: #fff;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
}
.blog-card-full:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}
.blog-card-img {
    position: relative;
}
.blog-card-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.blog-card-category {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: var(--primary-color);
    color: white;
    padding: 3px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
}
.blog-card-body {
    padding: 25px;
}
.blog-card-meta {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 15px;
}
.blog-card-meta span {
    margin-right: 15px;
}
.blog-card-title a {
    text-decoration: none;
    color: var(--dark-color);
    transition: color 0.3s ease;
}
.blog-card-title a:hover {
    color: var(--primary-color);
}
.blog-card-text {
    color: #6c757d;
}

/* Sayfalama Stilleri */
.pagination .page-link {
    color: var(--primary-color);
}
.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.pagination .page-item.disabled .page-link {
    color: #888;
}

/* Blog Detay Sayfası Stilleri */
.post-title {
    font-size: 2.5rem;
    margin-top: 20px;
    margin-bottom: 15px;
}
.post-meta {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 30px;
}
.post-meta span {
    margin-right: 20px;
}
.post-content p {
    margin-bottom: 1.5rem;
}
.post-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 10px 20px;
    background: var(--light-color);
    font-style: italic;
    margin: 2rem 0;
}

/* Sidebar Stilleri */
.sidebar-widget {
    padding: 25px;
    background: var(--light-color);
    border-radius: 15px;
    margin-bottom: 30px;
}
.sidebar-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ddd;
}
.recent-posts .post-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.recent-posts img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 15px;
}
.recent-posts h4 {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
}
.recent-posts h4 a {
    text-decoration: none;
    color: var(--dark-color);
    transition: color 0.3s ease;
}
.recent-posts h4 a:hover {
    color: var(--primary-color);
}
/* =================================== */
/* İletişim Sayfası Stilleri         */
/* =================================== */

.contact-info-box .info-item {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    background-color: var(--light-color);
    border-radius: 10px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.contact-info-box .info-item:hover {
    background-color: #e9ecef;
}

.contact-info-box .info-item .icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 20px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.contact-info-box .info-item h3 {
    font-size: 1.2rem;
    margin: 0 0 5px 0;
}

.contact-info-box .info-item p {
    margin: 0;
    color: #6c757d;
}

.contact-form-box {
    padding: 30px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    height: 100%;
}

/* =================================== */
/* Teklif Al Sayfası Stilleri        */
/* =================================== */

.why-us-list .info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.why-us-list .info-item .icon {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.why-us-list .info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.why-us-list .info-item p {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
}

/* =================================== */
/* WhatsApp Destek Butonu Stilleri   */
/* =================================== */

.whatsapp-button {
  position: fixed; /* Sayfada sabit kalır */
  bottom: 25px; /* Alttan boşluk */
  right: 25px; /* Sağdan boşluk */
  width: 60px; /* Genişlik */
  height: 60px; /* Yükseklik */
  background-color: #25D366; /* WhatsApp yeşili */
  color: #FFF; /* İkon rengi (beyaz) */
  border-radius: 50%; /* Yuvarlak yapar */
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2); /* Hafif gölge */
  z-index: 1000; /* Diğer elementlerin üzerinde kalmasını sağlar */
  
  /* İkonu ortalamak için */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem; /* İkon boyutu */
  
  text-decoration: none; /* Link alt çizgisini kaldırır */
  transition: all 0.3s ease; /* Yumuşak geçiş efekti */
}

.whatsapp-button:hover {
  transform: scale(1.1); /* Üzerine gelince hafifçe büyür */
  box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.3); /* Gölgeyi belirginleştirir */
  color: #FFF; /* Hover durumunda da ikon rengi beyaz kalır */
}

/* Proje Kartı Yazı Rengi Düzeltmesi */
.project-card .overlay h5,
.project-card .overlay p {
    color: white;
}

/* index.html Danışmanlık Kartı Link Stili */
.project-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.project-card-link:hover .project-card {
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
	transition:all 250ms;
}

/* =================================== */
/* YENİ Yatay Blog Kartı Stilleri      */
/* =================================== */

.blog-card-horizontal {
    display: flex;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    border: 1px solid #e9ecef;
    align-items: center; /* YENİ: Resim ve metin alanını dikeyde ortalar */
}	

.blog-card-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.blog-card-horizontal .blog-card-img-wrapper {
    max-height: 300px;
    max-width: 300px;
    object-fit: cover;
}

.blog-card-horizontal .blog-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; /* YENİ: Resmin her zaman merkezden ölçeklenmesini garanti eder */
}

.blog-card-horizontal .card-body {
    display: flex;
    flex-direction: column; /* İçerikleri dikeyde hizalar */
    padding: 25px 30px;
}

.blog-card-horizontal .card-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}
.blog-card-horizontal .card-title a {
    text-decoration: none;
    color: var(--dark-color);
    transition: color 0.3s ease;
}
.blog-card-horizontal .card-title a:hover {
    color: var(--primary-color);
}


.blog-card-horizontal .card-text {
    font-size: 0.95rem;
    color: #6c757d;
    flex-grow: 1; /* Açıklama alanının mevcut boşluğu doldurmasını sağlar */
}

.blog-card-horizontal .card-meta {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 15px;
}

.blog-card-horizontal .card-footer-btn {
    margin-top: 15px; /* Buton ile açıklama arasına boşluk koyar */
    align-self: flex-start; /* Butonu sola yaslar */
}

/* Mobil cihazlar için yatay kartı dikey hale getir */
@media (max-width: 768px) {
    .blog-card-horizontal {
        flex-direction: column;
    }
    .blog-card-horizontal .blog-card-img-wrapper {
        flex-basis: 220px; /* Mobil dikey görünümde resim yüksekliği */
    }
}


/* Mevcut style.css içeriğiniz buraya kadar devam etmeli */

/* =================================== */
/* GLOBAL MOBİL OPTİMİZASYON BAŞLANGICI*/
/* =================================== */

/* Genel Ayarlamalar */
body {
    -webkit-text-size-adjust: 100%; /* Metin boyutunu otomatik ayarlamayı engelle */
    scroll-behavior: smooth; /* Yumuşak kaydırma efekti */
}

/* Tüm butonlar ve dokunulabilir alanlar için minimum boyut */
button,
a.btn,
.nav-link,
.whatsapp-button,
.card-custom-footer a,
.project-card-link,
.service-body a,
.blog-card .card-body a {
    min-height: 48px;
    min-width: 48px;
    display: inline-flex; /* İçeriğin ortalanması için */
    align-items: center;
    justify-content: center;
}

/* =================================== */
/* MEDYA SORGULARI */
/* Küçük cihazlar için (Mobil - 767.98px ve altı) */
/* =================================== */
@media (max-width: 767.98px) {
    /* Header (Navbar) */
    .navbar {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.98); /* Açılan menüye hafif bir arka plan */
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        padding-bottom: 15px;
        position: absolute; /* Menü açıldığında içeriği kaydırmamak için */
        top: 100%; /* Navbar'ın hemen altında başlasın */
        left: 0;
        width: 100%;
        z-index: 999;
    }
    .navbar-nav {
        padding: 10px 0;
        width: 100%;
    }
    .nav-item {
        margin: 5px 15px;
    }
    .nav-link {
        padding: 10px 15px !important; /* Mobil menü linklerinin dokunma alanı */
        border-radius: 5px;
        transition: background-color 0.3s ease;
        text-align: left; /* Metin sola hizalı olsun */
        display: block !important; /* Tam genişliği kaplasın */
    }
    .nav-link:hover {
        background-color: var(--light-color);
    }
    .navbar-brand {
        padding: .5rem 1rem; /* Logo için daha geniş dokunma alanı */
    }
    .dropdown-menu {
        position: static !important; /* Mobil menüde dropdown'ın akışta kalmasını sağlar */
        float: none !important;
        width: 100%;
        margin-top: 5px;
        border-top: 1px solid #eee;
        padding-left: 20px; /* Alt menü elemanlarını içeride tut */
        background-color: var(--light-color); /* Açılır menü arka planı */
    }
    .dropdown-item {
        padding: 8px 15px; /* Dropdown öğelerinin dokunma alanı */
    }
    .btn-primary-custom.ms-lg-3 { /* Teklif Al butonu mobil menüde tam genişlikte */
        width: calc(100% - 30px);
        margin-left: 15px !important;
        margin-right: 15px;
        margin-top: 10px;
    }

    /* Breadcrumb Area */
    .breadcrumb-area {
        margin-top: 70px; /* Navbar yüksekliğine göre ayarla */
        padding: 15px 0;
    }
    .breadcrumb-item {
        font-size: 0.9rem;
    }

    /* Hero Section */
    #hero {
        height: 70vh; /* Mobil ekranlarda daha az yer kaplasın */
        background-position: 70% center; /* Resmin mobil uyumlu kısmını göster */
        text-align: center !important; /* Metinleri ortala */
    }
    #hero::before {
        background: rgba(10, 25, 49, 0.6); /* Mobil için biraz daha koyu overlay */
    }
    #hero .container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%; /* İçeriği dikeyde ortala */
    }
    #hero h1 {
        font-size: 2.5rem; /* Mobil başlık boyutu */
        line-height: 1.2;
        margin-bottom: 1rem !important;
    }
    #hero p {
        font-size: 1rem; /* Mobil paragraf boyutu */
        margin-bottom: 1.5rem !important;
        max-width: 90%; /* Metni daralt */
    }
    #hero .btn-lg {
        padding: 12px 25px; /* Buton boyutunu küçült */
        font-size: 1rem;
    }

    /* Section Başlıkları */
    .section-title {
        margin-bottom: 30px; /* Mobil için boşluğu azalt */
    }
    .section-title h2 {
        font-size: 2rem;
    }
    .section-title h2::after {
        width: 40px; /* Alt çizgi boyutunu küçült */
    }
    .section-title p {
        font-size: 0.95rem;
    }

    /* Hizmet ve Blog Kartları (Genel) */
    .card-custom, .card, .service-card, .blog-card-full {
        padding: 20px; /* Mobil kart paddingini azalt */
        border-radius: 10px; /* Hafif yuvarlak köşeler */
        box-shadow: 0 5px 15px rgba(0,0,0,0.08); /* Hafif gölge */
    }
    /* Hover efektlerini mobil cihazlarda devre dışı bırak (dokunmatik ekranlar için) */
    .card-custom:hover, .blog-card:hover, .service-card:hover, .blog-card-full:hover, .project-card-link:hover .project-card {
        transform: none; /* Transform efekti kaldırıldı */
        box-shadow: 0 5px 15px rgba(0,0,0,0.08); /* Orjinal gölgeyi koru */
    }
    .card-custom .icon {
        font-size: 2.5rem; /* İkon boyutunu küçült */
        margin-bottom: 15px;
    }
    .card-custom h3, .card .card-title, .service-body h3, .blog-card-full h3 {
        font-size: 1.25rem; /* Başlık boyutunu küçült */
    }
    .card-custom p, .card .card-text, .service-body p, .blog-card-full p {
        font-size: 0.9rem; /* Metin boyutunu küçült */
        line-height: 1.6;
    }
    .card-custom-footer a, .service-body .btn, .blog-card .card-body .btn {
        font-size: 0.9rem;
        padding: 8px 15px;
    }

    /* Hakkımızda Bölümü */
    #hakkimizda .row {
        flex-direction: column-reverse; /* Metin resmin üstünde olsun */
    }
    #hakkimizda .col-lg-6 {
        text-align: center;
    }
    #hakkimizda img {
        margin-bottom: 25px; /* Resim ile metin arasına boşluk */
        border-radius: 10px; /* Görsel için yuvarlak köşeler */
    }
    #hakkimizda h2 {
        font-size: 2rem;
        margin-top: 20px;
    }
    #hakkimizda p {
        font-size: 0.95rem;
    }

    /* Projeler (Danışmanlık Kartları) */
    .project-card img {
        height: 220px !important; /* Mobil için daha uygun yükseklik */
        border-radius: 10px 10px 0 0; /* Üst köşeler yuvarlak */
    }
    .project-card .overlay {
        padding: 20px 15px; /* Mobil için paddingi ayarla */
    }
    .project-card .overlay h5 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    .project-card .overlay p {
        font-size: 0.85rem; /* Mobil cihazlarda açıklamayı göster, küçük fontla */
        display: block !important; /* d-none d-md-block'ı geçersiz kılar */
        max-height: 3.5em; /* Belirli bir satır sayısından sonra kes */
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal; /* Metni sarmala */
        -webkit-line-clamp: 2; /* Webkit tabanlı tarayıcılar için satır sayısı */
        -webkit-box-orient: vertical;
        display: -webkit-box;
    }

    /* Blog Listeleme Kartları (Blog.php) */
    .blog-card-full .blog-card-img img {
        height: 180px; /* Mobil için daha düşük yükseklik */
    }
    .blog-card-full .blog-card-body {
        padding: 20px;
    }
    .blog-card-full .blog-card-category {
        font-size: 0.75rem;
        padding: 2px 8px;
    }
    .blog-card-full .blog-card-title {
        font-size: 1.1rem;
    }
    .blog-card-full .blog-card-text {
        font-size: 0.85rem;
    }
    .blog-card-full .blog-card-meta {
        font-size: 0.8rem;
    }

    /* Yatay Blog Kartları (Mobil dikey hale getiriliyor) */
    .blog-card-horizontal {
        flex-direction: column;
        align-items: flex-start; /* İçeriği sola hizala */
    }
    .blog-card-horizontal .blog-card-img-wrapper {
        width: 100%; /* Resim tam genişliği kaplasın */
        max-height: 200px; /* Mobil dikey görünümde resim yüksekliği */
        border-radius: 10px 10px 0 0;
    }
    .blog-card-horizontal .card-body {
        padding: 20px;
        width: 100%; /* Metin içeriği tam genişliği kaplasın */
    }
    .blog-card-horizontal .card-title {
        font-size: 1.2rem;
    }
    .blog-card-horizontal .card-text {
        font-size: 0.9rem;
    }
    .blog-card-horizontal .card-footer-btn {
        width: 100%;
        text-align: center;
    }

    /* Hizmet Detay / Blog Detay İçerik Alanı */
    .service-details img.img-fluid, article img.img-fluid, .post-content img { /* Detay sayfalarındaki ana görseller ve içerik içi görseller */
        margin-bottom: 20px !important;
        border-radius: 10px;
    }
    .service-details h2, article h2 {
        font-size: 1.8rem;
        margin-top: 15px;
    }
    .post-content p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    .post-content blockquote {
        padding: 8px 15px;
        margin: 1.5rem 0;
        font-size: 0.9rem;
    }

    /* Sidebarlar (Hizmet/Blog Detayda) */
    .sidebar {
        margin-top: 30px; /* Üstteki içerikle boşluk bırak */
    }
    .sidebar-widget {
        padding: 20px;
        border-radius: 10px;
        margin-bottom: 20px;
    }
    .sidebar-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    .recent-posts .post-item {
        margin-bottom: 10px;
    }
    .recent-posts img {
        width: 70px;
        height: 50px;
    }
    .recent-posts h4 {
        font-size: 0.9rem;
    }
    .sidebar-widget .btn-primary-custom {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    /* İletişim ve Teklif Al Formları */
    .card.p-4.p-md-5 {
        padding: 25px !important; /* Form kartının paddingini ayarla */
    }
    .form-label {
        font-size: 0.9rem;
    }
    .form-control, .form-select {
        height: 45px; /* Input alanlarının yüksekliği */
        font-size: 0.95rem;
    }
    .form-group.mb-3, .form-group.mb-4 {
        margin-bottom: 20px !important; /* Form grupları arasına boşluk */
    }
    .contact-info-box .info-item {
        flex-direction: column; /* İkon ve metin alt alta gelsin */
        text-align: center;
        padding: 20px;
    }
    .contact-info-box .info-item .icon {
        margin: 0 auto 15px auto; /* İkonu ortala */
    }
    .contact-info-box .info-item h3 {
        font-size: 1.1rem;
    }
    .contact-info-box .info-item p {
        font-size: 0.85rem;
    }

    /* Kurumsal Sayfası Ek Stiller */
    .feature-icon {
        font-size: 2rem !important;
        width: 3.5rem !important;
        height: 3.5rem !important;
        margin-bottom: 20px !important;
    }
    .card.h-100.p-4 {
        padding: 25px !important;
    }
    .card.h-100.p-4 h3 {
        font-size: 1.25rem;
    }
    .card.h-100.p-4 p {
        font-size: 0.9rem;
    }
    /* Kurumsal sayfadaki görsel için özel kural (clearfix içinde) */
    .clearfix img {
        float: none !important; /* float özelliğini kaldır */
        margin-right: 0 !important; /* Sağdaki boşluğu kaldır */
        margin-left: 0 !important; /* Soldaki boşluğu kaldır */
        margin-bottom: 20px !important; /* Alt boşluk ekle */
        max-width: 100% !important; /* Tam genişlikte olsun */
        height: auto;
        display: block; /* Yeni satıra geçsin */
    }
    .clearfix .post-content {
        text-align: center; /* İçeriği ortala */
    }


    /* CTA Section */
    #cta h2 {
        font-size: 1.8rem;
    }
    #cta p {
        font-size: 0.95rem;
    }
    #cta .btn-lg {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    /* Footer */
    footer .col-lg-4, footer .col-lg-2, footer .col-lg-3 {
        margin-bottom: 30px; /* Sütunlar arasına mobil boşluk */
        text-align: center; /* Metinleri ortala */
    }
    footer .social-icons {
        justify-content: center; /* İkonları ortala */
        display: flex; /* Flexbox ile hizala */
        margin-top: 15px !important;
    }
    footer .list-unstyled li {
        display: flex;
        align-items: flex-start;
        justify-content: center; /* Liste öğelerini ortala */
        margin-bottom: 8px;
        font-size: 0.9rem;
    }
    footer .list-unstyled li i {
        margin-right: 10px; /* İkon ile metin arasına boşluk */
    }
    footer .list-unstyled a {
        padding: 5px 0; /* Dokunma alanını genişlet */
        display: inline-block;
    }
    footer p {
        font-size: 0.85rem;
    }

    /* WhatsApp Butonu */
    .whatsapp-button {
        width: 55px; /* Mobil için biraz küçült */
        height: 55px;
        font-size: 1.8rem;
        bottom: 20px;
        right: 20px;
    }
}

/* =================================== */
/* Tabletler için (768px - 991.98px arası) */
/* =================================== */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Header (Navbar) */
    .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        padding-bottom: 15px;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        z-index: 999;
    }
    .nav-item {
        margin: 5px 10px;
    }
    .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100%;
        margin-top: 5px;
        border-top: 1px solid #eee;
        padding-left: 15px;
        background-color: var(--light-color);
    }
    .btn-primary-custom.ms-lg-3 {
        width: calc(100% - 20px);
        margin-left: 10px !important;
        margin-right: 10px;
        margin-top: 10px;
    }

    /* Hero Section */
    #hero h1 {
        font-size: 3rem;
    }
    #hero p {
        font-size: 1.1rem;
        max-width: 80%; /* Metni biraz daralt */
    }

    /* Section Başlıkları */
    .section-title h2 {
        font-size: 2.2rem;
    }

    /* Hizmet Kartları */
    #hizmetler .col-lg-3 { /* Aslında col-md-6, bu kural md için geçerli */
        flex: 0 0 50%;
        max-width: 50%;
    }

    /* Projeler (Danışmanlık Kartları) */
    #projeler .col-lg-4 { /* col-md-6 */
        flex: 0 0 50%;
        max-width: 50%;
    }
    .project-card img {
        height: 280px !important;
    }
    .project-card .overlay p {
        font-size: 0.9rem;
        display: block !important;
        max-height: 4.5em; /* Belirli bir satır sayısından sonra kes */
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        display: -webkit-box;
    }

    /* Blog Kartları */
    #blog .col-lg-4 { /* col-md-6 */
        flex: 0 0 50%;
        max-width: 50%;
    }

    /* Kurumsal Sayfası Görsel */
    #kurumsal .clearfix img {
        max-width: 300px !important; /* Tabletlerde daha küçük kalabilir */
        margin-right: 25px !important;
        float: left !important;
    }
    #kurumsal .post-content {
        text-align: left;
    }
}


/* =================================== */
/* Genel Stil Düzeltmeleri ve Performans İyileştirmeleri */
/* =================================== */

/* Animasyonları ve geçişleri sadece hover durumunda etkinleştir */
@media (hover: hover) and (pointer: fine) {
    .card-custom, .blog-card, .service-card, .blog-card-full {
        transition: all 0.3s ease;
    }
    .card-custom:hover, .blog-card:hover, .service-card:hover, .blog-card-full:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    }
    .project-card img {
        transition: transform 0.5s ease;
    }
    .project-card:hover img {
        transform: scale(1.1);
    }
    .project-card-link:hover .project-card {
        box-shadow: 0 15px 40px rgba(0,0,0,0.12);
        transition:all 250ms;
    }
}
/* Mobil cihazlarda animasyonları kapatmak için */
@media (hover: none) or (pointer: coarse) {
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
    [data-aos^="fade"][data-aos^="fade"].aos-animate {
        opacity: 1 !important;
        transform: none !important;
    }
    [data-aos][data-aos][data-aos-easing="ease-out-cubic"].aos-animate,
    [data-aos][data-aos][data-aos-easing="ease-in-out"].aos-animate {
        transition-property: none !important;
    }
    body .aos-init[data-aos][data-aos-duration="1000"] {
        transition-duration: 0ms !important;
    }
    /* Hover efektlerini tamamen kaldır */
    .card-custom:hover, .blog-card:hover, .service-card:hover, .blog-card-full:hover,
    .project-card:hover img, .project-card-link:hover .project-card,
    .btn-primary-custom:hover, .btn-outline-primary-custom:hover,
    footer a:hover, .recent-posts h4 a:hover,
    .contact-info-box .info-item:hover, .value-card:hover {
        transform: none !important;
        box-shadow: none !important; /* Veya sadece varsayılan gölgeyi koru */
        background-color: initial !important;
        color: initial !important;
    }
}

/* Genel metin hizalamaları ve okunabilirlik */
.post-content p, .post-content li {
    word-break: break-word; /* Uzun kelimelerin taşmasını engelle */
    overflow-wrap: break-word; /* Daha iyi kelime kaydırma */
}

/* PHPMailer darken fonk. düzeltmesi */
.btn-primary-custom:hover {
    /* SCSS darken fonksiyonu saf CSS'te çalışmaz. Elle ayarlanmalı. */
    /* background-color: darken(var(--accent-color), 10%); */
    background-color: #449d44; /* Yaklaşık olarak %10 koyulaştırılmış hali */
    border-color: #449d44;
}

/* footer.php'deki hizmet listesi linkleri için hizalama düzeltmesi */
footer .list-unstyled li {
    display: flex; /* İçeriği yanyana hizala */
    align-items: flex-start; /* Üstten başlasın */
}

/* =================================== */
/* KURUMSAL SAYFASI ÖZEL MOBİL OPTİMİZASYON */
/* =================================== */

@media (max-width: 767.98px) {
    /* Genel Başlık ve Alt Başlıklar */
    #kurumsal h1.display-5 {
        font-size: 1.8rem; /* Mobil başlık boyutunu küçült */
        margin-bottom: 1rem !important;
    }
    #kurumsal p.lead {
        font-size: 0.95rem; /* Mobil alt başlık boyutunu küçült */
        margin-bottom: 2rem !important;
    }

    /* Kurumsal Ana İçerik ve Görsel */
    #kurumsal .clearfix {
        display: flex;
        flex-direction: column; /* İçeriği dikey sırala */
        align-items: center; /* Ortala */
    }
    #kurumsal .clearfix img {
        float: none !important; /* float özelliğini kaldır */
        margin-right: 0 !important; /* Sağdaki boşluğu kaldır */
        margin-left: 0 !important; /* Soldaki boşluğu kaldır */
        margin-bottom: 20px !important; /* Alt boşluk ekle */
        max-width: 90% !important; /* Görselin maksimum genişliği */
        height: auto;
        border-radius: 8px; /* Görsel için yuvarlak köşeler */
        box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* Gölge ekle */
    }
    #kurumsal .post-content {
        text-align: center; /* Metni ortala */
        font-size: 0.95rem; /* Metin boyutunu ayarla */
        line-height: 1.6;
    }

    /* Misyon ve Vizyon Kartları */
    #kurumsal .col-md-6.d-flex {
        flex: 0 0 100%; /* Mobil cihazlarda tam genişlik */
        max-width: 100%;
        margin-bottom: 20px; /* Kartlar arasına boşluk */
    }
    #kurumsal .card.h-100.p-4 {
        padding: 25px !important; /* Kart içi boşluğu azalt */
    }
    #kurumsal .feature-icon {
        font-size: 2rem !important;
        width: 3.5rem !important;
        height: 3.5rem !important;
        margin-bottom: 15px !important;
    }
    #kurumsal .card h3 {
        font-size: 1.2rem; /* Kart başlık boyutunu ayarla */
    }
    #kurumsal .card p {
        font-size: 0.88rem; /* Kart metin boyutunu ayarla */
    }
}

/* Tabletler için (768px - 991.98px arası) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Kurumsal Ana İçerik ve Görsel */
    #kurumsal .clearfix img {
        max-width: 250px !important; /* Tabletlerde daha küçük kalabilir */
        margin-right: 25px !important;
        float: left !important; /* Geri float'ı etkinleştir */
        border-radius: 8px;
    }
    #kurumsal .post-content {
        text-align: left; /* Metni sola hizala */
        font-size: 0.98rem;
    }

    /* Misyon ve Vizyon Kartları */
    #kurumsal .col-md-6.d-flex {
        flex: 0 0 50%; /* Tabletlerde yarı genişlik */
        max-width: 50%;
    }
    #kurumsal .card h3 {
        font-size: 1.3rem;
    }
    #kurumsal .card p {
        font-size: 0.9rem;
    }
}

/* =================================== */
/* HİZMETLER SAYFASI ÖZEL MOBİL OPTİMİZASYON */
/* =================================== */

@media (max-width: 767.98px) {
    /* Genel Başlık ve Alt Başlık */
    #tum-hizmetler .section-title h2 {
        font-size: 2rem;
    }
    #tum-hizmetler .section-title p {
        font-size: 0.95rem;
    }

    /* Hizmet Kartları */
    #tum-hizmetler .col-lg-4.col-md-6.col-12 {
        flex: 0 0 100%; /* Mobil cihazlarda kartlar tam genişliği kapsar */
        max-width: 100%;
    }
    .service-card {
        border-radius: 10px; /* Daha küçük köşeler */
        box-shadow: 0 5px 15px rgba(0,0,0,0.08); /* Hafif gölge */
    }
    .service-card img {
        height: 180px; /* Mobil için daha düşük görsel yüksekliği */
        border-radius: 10px 10px 0 0; /* Sadece üst köşeler yuvarlak */
    }
    .service-body {
        padding: 20px; /* İçerik boşluğunu azalt */
    }
    .service-body h3 {
        font-size: 1.25rem; /* Başlık boyutunu küçült */
        margin-bottom: 8px;
    }
    .service-body .text-muted.small {
        font-size: 0.85rem; /* Açıklama metin boyutunu küçült */
        line-height: 1.5;
    }
    .service-body .btn-outline-primary-custom.btn-sm {
        font-size: 0.9rem; /* Buton font boyutunu küçült */
        padding: 8px 15px; /* Buton paddingini ayarla */
    }
}

/* Tabletler için (768px - 991.98px arası) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Hizmet Kartları */
    #tum-hizmetler .col-lg-4.col-md-6.col-12 {
        flex: 0 0 50%; /* Tabletlerde 2'li sıra */
        max-width: 50%;
    }
    .service-card img {
        height: 200px; /* Tablet için görsel yüksekliği */
    }
    .service-body h3 {
        font-size: 1.35rem;
    }
    .service-body .text-muted.small {
        font-size: 0.9rem;
    }
    .service-body .btn-outline-primary-custom.btn-sm {
        font-size: 0.95rem;
    }
}

/* =================================== */
/* HİZMET DETAY SAYFASI ÖZEL MOBİL OPTİMİZASYON */
/* =================================== */

@media (max-width: 767.98px) {
    /* Hizmet Detay Ana İçerik */
    .service-details img {
        border-radius: 8px; /* Görsel için yuvarlak köşeler */
        box-shadow: 0 5px 15px rgba(0,0,0,0.08); /* Hafif gölge */
        margin-bottom: 20px !important; /* Alt boşluğu ayarla */
    }
    .service-details h2 {
        font-size: 1.8rem; /* Başlık boyutunu küçült */
        margin-bottom: 15px !important;
    }
    .post-content {
        font-size: 0.95rem; /* İçerik metin boyutunu ayarla */
        line-height: 1.6;
    }
    .post-content p {
        margin-bottom: 1rem; /* Paragraflar arasına boşluk */
    }

    /* Sidebar */
    #hizmet-detay-icerik .col-lg-4 {
        margin-top: 30px; /* Ana içerikle sidebar arasına boşluk */
    }
    .sidebar-widget {
        padding: 20px; /* Widget paddingini azalt */
        border-radius: 8px; /* Yuvarlak köşeler */
        box-shadow: 0 5px 15px rgba(0,0,0,0.05); /* Hafif gölge */
    }
    .sidebar-title {
        font-size: 1.1rem; /* Sidebar başlık boyutunu küçült */
        margin-bottom: 15px;
    }
    .sidebar .list-unstyled li {
        margin-bottom: 8px !important; /* Liste öğeleri arasına boşluk */
    }
    .sidebar .list-unstyled a {
        font-size: 0.9rem; /* Liste linklerinin boyutunu ayarla */
        padding: 5px 0; /* Dokunma alanını genişlet */
        display: block;
    }
    .sidebar .text-primary-custom {
        color: var(--primary-color) !important; /* Renk sabit kalsın */
    }
    .sidebar .btn-primary-custom {
        padding: 10px 20px; /* Buton paddingini ayarla */
        font-size: 0.95rem; /* Buton font boyutunu ayarla */
    }
}

/* Tabletler için (768px - 991.98px arası) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .service-details h2 {
        font-size: 2.2rem;
    }
    .sidebar-widget {
        padding: 25px;
    }
    .sidebar-title {
        font-size: 1.2rem;
    }
    .sidebar .list-unstyled a {
        font-size: 0.95rem;
    }
}

/* =================================== */
/* DANIŞMANLIK HİZMETLERİ SAYFASI ÖZEL MOBİL OPTİMİZASYON */
/* =================================== */

@media (max-width: 767.98px) {
    /* Genel Başlık ve Alt Başlık */
    #tum-hizmetler .section-title h2 { /* Buradaki ID çakışıyor, Hizmetler sayfasıyla aynı ID'yi kullanıyor. */
        font-size: 2rem;
    }
    #tum-hizmetler .section-title p {
        font-size: 0.95rem;
    }

    /* Danışmanlık Kartları */
    #tum-hizmetler .col-lg-4.col-md-6.col-12 { /* Yine aynı ID ve sütun yapısı */
        flex: 0 0 100%; /* Mobil cihazlarda kartlar tam genişliği kapsar */
        max-width: 100%;
    }
    .service-card {
        border-radius: 10px; /* Daha küçük köşeler */
        box-shadow: 0 5px 15px rgba(0,0,0,0.08); /* Hafif gölge */
    }
    .service-card img {
        height: 180px; /* Mobil için daha düşük görsel yüksekliği */
        border-radius: 10px 10px 0 0; /* Sadece üst köşeler yuvarlak */
    }
    .service-body {
        padding: 20px; /* İçerik boşluğunu azalt */
    }
    .service-body h3 {
        font-size: 1.25rem; /* Başlık boyutunu küçült */
        margin-bottom: 8px;
    }
    .service-body .text-muted.small {
        font-size: 0.85rem; /* Açıklama metin boyutunu küçült */
        line-height: 1.5;
    }
    .service-body .btn-outline-primary-custom.btn-sm {
        font-size: 0.9rem; /* Buton font boyutunu küçült */
        padding: 8px 15px; /* Buton paddingini ayarla */
    }
}

/* Tabletler için (768px - 991.98px arası) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Danışmanlık Kartları */
    #tum-hizmetler .col-lg-4.col-md-6.col-12 { /* Aynı ID ve sütun yapısı */
        flex: 0 0 50%; /* Tabletlerde 2'li sıra */
        max-width: 50%;
    }
    .service-card img {
        height: 200px; /* Tablet için görsel yüksekliği */
    }
    .service-body h3 {
        font-size: 1.35rem;
    }
    .service-body .text-muted.small {
        font-size: 0.9rem;
    }
    .service-body .btn-outline-primary-custom.btn-sm {
        font-size: 0.95rem;
    }
}

/* =================================== */
/* BLOG SAYFASI ÖZEL MOBİL OPTİMİZASYON */
/* =================================== */

@media (max-width: 767.98px) {
    /* Genel Başlık ve Alt Başlık */
    .section.py-5 .text-center h2 {
        font-size: 2rem;
    }
    .section.py-5 .text-center p {
        font-size: 0.95rem;
    }

    /* Blog Kartları (Yatay Düzenden Dikeye Geçiş) */
    .col-lg-6 { /* Bu, blog kartlarının kapsayıcısıdır. */
        flex: 0 0 100%; /* Mobil cihazlarda tam genişlik */
        max-width: 100%;
    }
    .card.shadow-sm.border-0.h-100 { /* Her bir blog kartı */
        flex-direction: column; /* İçeriği dikey sırala */
        border-radius: 10px; /* Köşeleri yuvarla */
        box-shadow: 0 5px 15px rgba(0,0,0,0.08) !important; /* Hafif gölge */
    }
    .card.shadow-sm.border-0.h-100 .row.g-0 {
        flex-direction: column; /* İçteki row'u da dikey sırala */
    }
    .card.shadow-sm.border-0.h-100 .col-md-5 { /* Resim alanı */
        width: 100%;
        max-width: 100%;
        margin-bottom: 0; /* Alt boşluk */
    }
    .card.shadow-sm.border-0.h-100 .col-md-5 img {
        height: 200px !important; /* Resim yüksekliğini ayarla */
        border-radius: 10px 10px 0 0 !important; /* Sadece üst köşeler yuvarlak */
        object-fit: cover;
    }
    .card.shadow-sm.border-0.h-100 .col-md-7 { /* Metin alanı */
        width: 100%;
        max-width: 100%;
    }
    .card.shadow-sm.border-0.h-100 .card-body {
        padding: 20px; /* İçerik paddingini ayarla */
    }
    .card.shadow-sm.border-0.h-100 .mb-2 .badge {
        font-size: 0.75rem; /* Kategori etiketi boyutunu küçült */
        padding: 4px 8px;
    }
    .card.shadow-sm.border-0.h-100 .card-title {
        font-size: 1.25rem; /* Başlık boyutunu küçült */
        margin-bottom: 8px;
    }
    .card.shadow-sm.border-0.h-100 .card-text.small.text-muted {
        font-size: 0.85rem; /* Özet metin boyutunu küçült */
        line-height: 1.5;
        margin-bottom: 15px;
    }
    .card.shadow-sm.border-0.h-100 .card-footer {
        padding: 0 20px 20px 20px !important; /* Footer paddingini ayarla */
        background-color: transparent !important; /* Arka planı şeffaf yap */
    }
    .card.shadow-sm.border-0.h-100 .btn.btn-outline-primary.btn-sm {
        font-size: 0.9rem; /* Buton font boyutunu küçült */
        padding: 8px 15px; /* Buton paddingini ayarla */
        width: auto; /* Genişliği içeriğe göre ayarla */
        display: inline-block; /* Yanına başka element gelirse düzgün hizala */
    }
}

/* Tabletler için (768px - 991.98px arası) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .col-lg-6 {
        flex: 0 0 100%; /* Tabletlerde de tam genişlik */
        max-width: 100%;
    }
    .card.shadow-sm.border-0.h-100 {
        flex-direction: row; /* Tekrar yatay düzene geçebilir */
    }
    .card.shadow-sm.border-0.h-100 .col-md-5 {
        flex: 0 0 40%; /* Resim için yüzde ayarı */
        max-width: 40%;
    }
    .card.shadow-sm.border-0.h-100 .col-md-5 img {
        height: 100% !important; /* Yüksekliği tekrar 100% yap */
        border-radius: 10px 0 0 10px !important; /* Sol köşeleri yuvarlak */
    }
    .card.shadow-sm.border-0.h-100 .col-md-7 {
        flex: 0 0 60%; /* Metin için yüzde ayarı */
        max-width: 60%;
    }
    .card.shadow-sm.border-0.h-100 .card-body {
        padding: 25px;
    }
    .card.shadow-sm.border-0.h-100 .card-title {
        font-size: 1.35rem;
    }
    .card.shadow-sm.border-0.h-100 .card-text.small.text-muted {
        font-size: 0.9rem;
    }
    .card.shadow-sm.border-0.h-100 .card-footer {
        padding: 0 25px 25px 25px !important;
    }
}

/* =================================== */
/* BLOG DETAY SAYFASI ÖZEL MOBİL OPTİMİZASYON */
/* =================================== */

@media (max-width: 767.98px) {
    /* Blog Detay Ana İçerik */
    .service-details img { /* Aslında bu makale detayı ama aynı stil kullanılıyor */
        border-radius: 8px; /* Görsel için yuvarlak köşeler */
        box-shadow: 0 5px 15px rgba(0,0,0,0.08); /* Hafif gölge */
        margin-bottom: 20px !important; /* Alt boşluğu ayarla */
    }
    .service-details h2 { /* Makale başlığı */
        font-size: 1.8rem; /* Başlık boyutunu küçült */
        margin-bottom: 15px !important;
    }
    .mb-4.text-muted.small { /* Kategori ve tarih bilgisi */
        font-size: 0.85rem;
        margin-bottom: 20px !important;
    }
    .post-content {
        font-size: 0.95rem; /* İçerik metin boyutunu ayarla */
        line-height: 1.6;
    }
    .post-content p {
        margin-bottom: 1rem; /* Paragraflar arasına boşluk */
    }

    /* Sidebar (Son Yazılar ve Teklif Al) */
    #blog-detay-icerik .col-lg-4 {
        margin-top: 30px; /* Ana içerikle sidebar arasına boşluk */
    }
    .sidebar .sidebar-widget {
        padding: 20px; /* Widget paddingini azalt */
        border-radius: 8px; /* Yuvarlak köşeler */
        box-shadow: 0 5px 15px rgba(0,0,0,0.05); /* Hafif gölge */
        background: #fff; /* Arka planı beyaz yap (mevcut stil #f8f9fa) */
    }
    .sidebar .sidebar-title {
        font-size: 1.1rem; /* Sidebar başlık boyutunu küçült */
        margin-bottom: 15px;
        padding-bottom: 10px; /* Alt çizgi için padding */
        border-bottom: 1px solid #eee; /* Daha ince çizgi */
    }
    .sidebar .list-unstyled li {
        margin-bottom: 8px !important; /* Liste öğeleri arasına boşluk */
    }
    .sidebar .list-unstyled a {
        font-size: 0.9rem; /* Liste linklerinin boyutunu ayarla */
        padding: 5px 0; /* Dokunma alanını genişlet */
        display: block;
    }
    .sidebar .text-primary-custom {
        color: var(--primary-color) !important; /* Renk sabit kalsın */
    }
    .sidebar .btn-primary-custom {
        padding: 10px 20px; /* Buton paddingini ayarla */
        font-size: 0.95rem; /* Buton font boyutunu ayarla */
        background-color: var(--primary-color); /* Mevcut dosyadaki gibi #0d6efd */
        border-color: var(--primary-color);
    }
    .sidebar .btn-primary-custom:hover {
        background-color: #0a58ca; /* Hover rengi (mevcut dosyadaki gibi) */
        border-color: #0a58ca;
    }
}

/* Tabletler için (768px - 991.98px arası) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .service-details h2 {
        font-size: 2.2rem;
    }
    .sidebar .sidebar-widget {
        padding: 25px;
    }
    .sidebar .sidebar-title {
        font-size: 1.2rem;
    }
    .sidebar .list-unstyled a {
        font-size: 0.95rem;
    }
}

/* Sayfanın altındaki <style> bloğunu KALDIRIN ve bu CSS'i ana style.css'e entegre edin. */
/* Örneğin, bu kodları style.css dosyanızın en altına ekleyebilirsiniz. */

.py-5 {
	padding-top: 1rem!important;
}

