/* Sayfa genelinde sağa kaymayı kesin olarak engeller */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Footer içindeki taşmaları da kontrol altına alalım */
.site-footer, .footer-container {
    overflow: hidden;
}


/* Footer Genel Ayarlar */
.site-footer {
    background-color: #121212; /* Sitenin karanlık alt temasına uygun */
    position: relative;
    padding-top: 80px;
    border-top: 2px solid var(--yellow); /* Üstteki ince sarı çizgi */
    color: #aaa;
    font-family: 'Poppins', sans-serif;
}

/* Üst Ortadaki Sarı V Çentik (CSS ile sıfır resim kullanılarak yapıldı) */
.footer-v-notch {
    position: absolute;
    top: -11px; /* Çizginin tam ortasına oturması için */
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--yellow);
    border-bottom: 2px solid var(--yellow);
    background-color: #121212; /* İçini footer rengiyle doldurup boşluk hissi veriyoruz */
    z-index: 10;
}

/* 1600px Sınır Kapsayıcısı */
.footer-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- MASAÜSTÜ GRID YAPISI --- */
.footer-main-grid {
    display: grid;
    /* 1. kolon logolu olduğu için biraz daha geniş, diğerleri eşit */
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr; 
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col {
    position: relative;
}

/* Kolonlar arasındaki dikey ayrım çizgileri (Son kolon hariç) */
.footer-col:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -20px; /* Gap (40px) değerinin yarısı */
    top: 10%;
    height: 80%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.05);
}

/* Ortak Başlık Tasarımı */
.footer-title {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    letter-spacing: 0.5px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--yellow);
}

/* 1. Kolon: Hakkımızda */
.footer-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 25px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Sade Sosyal Medya İkonları */
.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--yellow);
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background-color: var(--yellow);
    color: #000;
    border-color: var(--yellow);
}

/* 2. ve 3. Kolonlar: Linkler ve İletişim */
.footer-links, .footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li, .footer-contact-list li {
    margin-bottom: 15px;
}

.footer-links a, .footer-contact-list a, .footer-contact-list span {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover, .footer-contact-list a:hover {
    color: var(--yellow);
}

.footer-links i {
    color: var(--yellow);
    font-size: 12px;
    margin-top: 3px;
}

.footer-contact-list i {
    color: var(--yellow);
    font-size: 14px;
    margin-top: 4px;
    width: 15px; /* İkonların alt alta hizalı durması için */
    text-align: center;
}

/* 4. Kolon: 7/24 Alanı */
.footer-724-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.badge-icon {
    font-size: 55px;
    color: var(--yellow);
}

.badge-text-group {
    display: flex;
    flex-direction: column;
}

.badge-text-group .big-724 {
    font-size: 38px;
    font-weight: 900;
    color: var(--yellow);
    line-height: 1;
}

.badge-text-group .small-text {
    font-size: 11px;
    color: #fff;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.footer-action-desc {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-footer-call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    border: 1px solid var(--yellow);
    border-radius: 30px;
    color: var(--yellow);
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-footer-call:hover {
    background-color: var(--yellow);
    color: #000;
}

/* --- EN ALT KISIM (Telif & Peksoft) --- */
.footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr; /* Sol boşluk, orta telif, sağ imza */
    align-items: center;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 13px;
    color: #888;
}

.copyright {
    text-align: center;
}

.copyright i {
    margin-right: 5px;
}

.developer {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* PEKSOFT'u en sağa yaslar */
    gap: 8px;
}

.peksoft-link {
    color: var(--yellow);
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.5px;
}


/* ========================================== */
/* === MOBİL VE TABLET TASARIMI ============= */
/* ========================================== */

@media (max-width: 1100px) {
    /* Tablet için 2x2 düzeni */
    .footer-main-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px 30px;
    }
    
    /* Dikey çizgileri tablette kaldırıp temiz bir görünüm veriyoruz */
    .footer-col::after {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding-top: 60px;
    }

    /* Mobilde her kolon alt alta gelir */
    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Mobilde kolonların arasına yatay çizgi atıyoruz (en son kolon hariç) */
    .footer-col:not(:last-child) {
        padding-bottom: 40px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .footer-logo {
        max-width: 180px;
    }

    /* En alt barı mobilde ortalayarak alt alta alıyoruz */
    .footer-bottom {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px 0 30px 0;
    }

    .developer {
        justify-content: center;
    }
}