/* Laravel projesine özel ek stiller — eski theme CSS'i bozmadan üzerine biner */

/* Blog liste ve detay kartlarında kapak görseli her zaman aynı oranda kırpılsın */
.th-blog .blog-img {
    overflow: hidden;
    border-radius: 12px;
}
.th-blog .blog-img a {
    display: block;
    width: 100%;
}
.th-blog .blog-img img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .45s ease;
}
.th-blog .blog-img:hover img {
    transform: scale(1.04);
}

/* Mobilde biraz kısalsın */
@media (max-width: 991.98px) {
    .th-blog .blog-img img { height: 320px; }
}
@media (max-width: 575.98px) {
    .th-blog .blog-img img { height: 240px; }
}

/* Kapak görseli olmayan yazılarda kart üst boşluğunu düzelt */
.th-blog.blog-single:not(.has-post-thumbnail) .blog-content {
    padding-top: 0;
}

/* Sidebar son yazı küçük resimleri */
.recent-post {
    display: flex;
    align-items: center;
    gap: 14px;
}
.recent-post .media-img {
    width: 85px;
    min-width: 85px;
    height: 85px;
    overflow: hidden;
    border-radius: 8px;
    background: #f3f4f6;
}
.recent-post .media-img a,
.recent-post .media-img picture {
    display: block;
    width: 100%;
    height: 100%;
}
.recent-post .media-img img {
    width: 85px;
    height: 85px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    display: block;
    font-size: 0;
    color: transparent;
}
.recent-post .media-body {
    min-width: 0;
    flex: 1;
}
.recent-post .post-title {
    margin: 0 0 6px;
    line-height: 1.35;
}
.recent-post .post-title a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Blade pagination → tema "th-btn" görünümünü taklit */
.pagination {
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}
.pagination .page-item .page-link {
    border-radius: 6px;
    border: 1px solid #d9d9d9;
    color: #1c2540;
    padding: 8px 14px;
}
.pagination .page-item.active .page-link {
    background-color: #b68c5a;
    border-color: #b68c5a;
    color: #fff;
}

/* AJAX 'Daha Fazla Yükle' yükleniyor efekti */
#load-more-btn[disabled] { opacity: .6; cursor: wait; }

/* Blog okuma meta pill'leri */
.blog-reading-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.reading-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #6b7280;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 4px 12px;
    line-height: 1.4;
    font-weight: 500;
}
.reading-pill i {
    font-size: 12px;
    opacity: .75;
}

/* WhatsApp floating buton */
.wa-float {
    position: fixed;
    left: 22px;
    bottom: 28px;
    min-width: 154px;
    height: 58px;
    padding: 0 20px 0 18px;
    border-radius: 999px;
    background-color: #25D366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 14px 34px rgba(37, 211, 102, .36);
    z-index: 9997;
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
}
.wa-float:hover,
.wa-float:focus {
    transform: translateY(-3px);
    background-color: #20bb5a;
    color: #fff;
    box-shadow: 0 18px 40px rgba(37, 211, 102, .48);
}
.wa-float i {
    font-size: 28px;
    line-height: 1;
}
.wa-float span {
    color: inherit;
    line-height: 1;
    white-space: nowrap;
}
@media (max-width: 575.98px) {
    .wa-float {
        left: 14px;
        bottom: 20px;
        width: 54px;
        min-width: 54px;
        height: 54px;
        padding: 0;
        border-radius: 50%;
    }
    .wa-float i { font-size: 26px; }
    .wa-float span { display: none; }
}

/* Picture / WebP kapak görselleri eski img kuralları ile uyumlu olsun */
.th-blog .blog-img picture {
    display: block;
    width: 100%;
}
.th-blog .blog-img picture img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .45s ease;
}
@media (max-width: 991.98px) {
    .th-blog .blog-img picture img { height: 320px; }
}
@media (max-width: 575.98px) {
    .th-blog .blog-img picture img { height: 240px; }
}
.recent-post .media-img picture img {
    width: 85px;
    height: 85px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
}
.home-recent-post picture .post-thumb {
    width: 100%;
    height: 230px;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
}

/* ===== Blog yorum listesi ===== */
.comments-area .comment-list { padding-left: 0; }
.comments-area .comment .card { border: 1px solid #eaeaea; box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.comments-area .comment p { color: #444; font-size: 15px; line-height: 1.6; }
.comments-area .reply-btn { text-decoration: none; padding: 0; font-size: 13px; }
.comments-area .reply-btn:hover { text-decoration: underline; }
.comments-area .border-start { border-color: #e2e6ea !important; }
.comments-area .comment-form .form-control:focus { box-shadow: 0 0 0 .15rem rgba(13,110,253,.15); }

/* Blog detay - okuma süresi badge'leri */
.blog-reading-meta .badge { font-weight: 500; padding: .45em .7em; margin-right: .25rem; }
.blog-reading-meta .badge i { margin-right: 4px; }

/* İçerikteki etiket linkleri */
.content-tag-link { color: #c9a36a; border-bottom: 1px dashed #c9a36a; text-decoration: none; }
.content-tag-link:hover { color: #a07f47; }

/* İlgili yazılar kartları */
.related-posts .card { transition: transform .15s ease, box-shadow .15s ease; }
.related-posts .card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.related-posts .card-title a { color: #1a1a1a; }
.related-posts .card-title a:hover { color: #c9a36a; }

/* ===== Hizmetler: klasik tema bileşenleri ===== */
.services-directory .row > [class*="col-"] { display: flex; }
.service-directory-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 1px solid #ece6df;
    border-bottom: 4px solid var(--theme-color);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(1, 28, 26, .07);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-directory-card::after {
    content: "";
    position: absolute;
    top: -75px;
    right: -75px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: rgba(182, 140, 90, .08);
    transition: transform .35s ease;
}
.service-directory-cover {
    position: relative;
    z-index: 1;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #071a18;
}
.service-directory-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}
.service-directory-card:hover .service-directory-cover img { transform: scale(1.035); }
.service-directory-card:hover {
    transform: translateY(-7px);
    border-color: rgba(182, 140, 90, .4);
    box-shadow: 0 20px 45px rgba(1, 28, 26, .12);
}
.service-directory-card:hover::after { transform: scale(1.18); }
.service-directory-icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin-top: -31px;
    margin-bottom: 18px;
    border: 1px solid rgba(182, 140, 90, .3);
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(145deg, #c49b69, #9d7244);
    box-shadow: 0 10px 22px rgba(182, 140, 90, .25);
}
.service-directory-icon i { font-size: 25px; line-height: 1; color: inherit; }
.service-directory-content { position: relative; z-index: 2; display: flex; flex: 1; flex-direction: column; padding: 0 32px 30px; }
.service-directory-content .box-title { margin-bottom: 12px; font-size: 27px; }
.service-directory-content .box-title a { color: var(--title-color); }
.service-directory-content .service-card_text { flex: 1; margin-bottom: 22px; }
.service-directory-content .link-btn { align-self: flex-start; }

.legal-process-list { position: relative; max-width: 780px; }
.legal-process-list::before {
    content: "";
    position: absolute;
    top: 28px;
    bottom: 28px;
    left: 25px;
    width: 2px;
    background: linear-gradient(var(--theme-color), rgba(182, 140, 90, .16));
}
.legal-process-step { position: relative; display: flex; gap: 22px; padding-bottom: 18px; }
.legal-process-step:last-child { padding-bottom: 0; }
.legal-process-marker {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 5px solid #fff;
    border-radius: 50%;
    color: #fff;
    background: var(--theme-color);
    box-shadow: 0 5px 16px rgba(182, 140, 90, .28);
}
.legal-process-marker span { font-size: 16px; font-weight: 700; }
.legal-process-body {
    flex: 1;
    min-width: 0;
    padding: 17px 22px;
    border: 1px solid #ebe5df;
    border-radius: 14px;
    background: #faf9f7;
}
.legal-process-label {
    display: block;
    margin-bottom: 5px;
    color: var(--theme-color);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.legal-process-body p { margin: 0; color: var(--title-color); font-size: 16px; font-weight: 500; }

.service-contact-card {
    position: relative;
    overflow: hidden;
    padding: 34px 30px;
    border-radius: 22px;
    color: #fff;
    background: linear-gradient(145deg, #122c2a, #011c1a);
    box-shadow: 0 18px 42px rgba(1, 28, 26, .18);
}
.service-contact-card::after {
    content: "";
    position: absolute;
    right: -55px;
    bottom: -65px;
    width: 170px;
    height: 170px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
}
.service-contact-eyebrow { color: #d8b98f; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.service-contact-card h3 { position: relative; z-index: 1; margin: 10px 0 14px; color: #fff; font-size: 30px; line-height: 1.25; }
.service-contact-card p { position: relative; z-index: 1; margin-bottom: 24px; color: rgba(255, 255, 255, .76); }
.service-contact-button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 8px;
    color: #fff;
    background: var(--theme-color);
    font-weight: 700;
}
.service-contact-button:hover { color: #011c1a; background: #fff; transform: translateY(-2px); }

@media (max-width: 575.98px) {
    .service-directory-card { border-radius: 18px; }
    .service-directory-content { padding: 0 24px 25px; }
    .service-directory-icon { width: 56px; height: 56px; margin-bottom: 19px; border-radius: 16px; }
    .service-directory-content .box-title { font-size: 24px; }
    .legal-process-step { gap: 14px; }
    .legal-process-list::before { left: 22px; }
    .legal-process-marker { flex-basis: 46px; width: 46px; height: 46px; border-width: 4px; }
    .legal-process-body { padding: 14px 16px; }
    .service-contact-card { padding: 29px 24px; }
    .service-contact-card h3 { font-size: 26px; }
    .service-contact-button { width: 100%; }
}
