/**
 * Service Single Footer Fix
 * Footer'ın görünmesini sağlamak için düzeltmeler
 */

/* Footer'ı kesinlikle göster */
.site-footer {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10 !important;
    margin-top: 50px !important;
    clear: both !important;
}

/* Contact section sonrası temizlik */
.contact.contact-pt {
    position: relative !important;
    z-index: 1 !important;
    overflow: visible !important;
}

/* Body wrap düzeltmesi */
.vt-body-wrap {
    position: relative !important;
    overflow: visible !important;
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Footer'ı en alta it */
.site-footer {
    margin-top: auto !important;
}

/* Sidebar sticky kaldırma */
.sidebar-inner {
    position: relative !important;
    top: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Fixed pozisyonları kaldır */
.sidebar-column * {
    position: relative !important;
}

/* Z-index düzeltmeleri */
.service-single-wrapper {
    position: relative !important;
    z-index: 1 !important;
}

/* Footer'dan önce boşluk */
section:last-of-type {
    margin-bottom: 0 !important;
    padding-bottom: 50px !important;
}

/* Mobile'da da footer görünsün */
@media (max-width: 991px) {
    .site-footer {
        display: block !important;
        visibility: visible !important;
        margin-top: 40px !important;
    }
}

/* Preloader sonrası overflow düzeltmesi */
body:not(.preloader-active) {
    overflow: visible !important;
}

/* Debug için footer arka plan */
footer.site-footer {
    background-color: #1a1a1a !important;
    min-height: 200px !important;
}