/* --- PREMIUM KURUMSAL FOOTER (WOW EDITION) --- */
.site-footer {
    background-color: #020617; /* Ultra Dark Slate */
    position: relative;
    overflow: hidden;
    z-index: 10;
    color: #cbd5e1;
    font-family: var(--font-main);
    /* Dinamik Arka Plan */
    background: radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.1), transparent 50%),
                radial-gradient(circle at 100% 100%, rgba(14, 165, 233, 0.1), transparent 50%),
                #020617;
    background-size: 150% 150%;
    animation: bgPulse 10s ease-in-out infinite alternate;
}

@keyframes bgPulse {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

/* Neon Lazer Çizgi */
.footer-top-border {
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 15px var(--secondary-color);
}

.footer-top-border::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    animation: laserShine 3s infinite;
}

@keyframes laserShine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.footer-top {
    padding: 90px 0 60px;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: space-between;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.brand-col {
    flex: 1.3;
}

/* --- LOGO ALANI (WOW EFFECT) --- */
.footer-logo {
    display: inline-block;
    margin-bottom: 35px;
    position: relative;
    perspective: 1000px; /* 3D etkisi için */
}

.f-logo-img {
    height: 60px; /* Boyutu biraz daha zarif yapalım */
    width: auto;
    /* Sanatsal Filtre: Logoyu beyaz ve yarı saydam yap */
    filter: brightness(0) invert(1) opacity(0.7);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.footer-logo:hover .f-logo-img {
    /* Hover'da logo canlanır ve parlar (WOW Effect) */
    filter: brightness(0) invert(1) opacity(1) drop-shadow(0 0 12px var(--secondary-color));
    transform: scale(1.05);
}

.footer-desc {
    font-size: 1rem;
    line-height: 1.8;
    color: #94a3b8;
    margin-bottom: 35px;
    max-width: 380px;
    font-weight: 400;
}

/* Sosyal Medya - Floating Icons */
.social-links {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 18px;
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), #3b82f6);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.social-btn:hover {
    color: #fff;
    transform: translateY(-5px) scale(1.1);
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.4);
}

.social-btn:hover::before {
    opacity: 1;
}

/* Başlıklar - Animated Underline */
.footer-title {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    letter-spacing: -0.5px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
    transition: width 0.4s ease;
    box-shadow: 0 0 10px var(--secondary-color);
}

.footer-col:hover .footer-title::after {
    width: 100%;
}

/* Linkler - Slide Effect */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    position: relative;
}

.footer-links a i {
    font-size: 10px;
    color: #475569;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(8px);
    text-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
}

.footer-links a:hover i {
    color: var(--secondary-color);
    transform: scale(1.3);
}

/* İletişim Listesi - Modern Cards */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 24px;
    group: hover;
}

.contact-list li i {
    color: var(--secondary-color);
    font-size: 18px;
    margin-top: 2px;
    background: rgba(37, 99, 235, 0.1);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
    border: 1px solid rgba(37, 99, 235, 0.2);
    transition: all 0.4s ease;
}

.contact-list li:hover i {
    background: var(--secondary-color);
    color: #fff;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.5);
    transform: rotate(15deg);
}

.c-info {
    display: flex;
    flex-direction: column;
    font-size: 0.95rem;
    color: #cbd5e1;
}

.c-info span {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.c-info a {
    color: #fff;
    font-weight: 500;
    transition: color 0.3s ease;
}

.c-info a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
    text-decoration-color: rgba(37, 99, 235, 0.5);
    text-underline-offset: 4px;
}

/* Alt Footer */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: #64748b;
}

.copyright strong {
    color: #fff;
    font-weight: 600;
}

.legal-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.legal-links a {
    color: #64748b;
    transition: color 0.3s ease;
    font-size: 0.85rem;
    position: relative;
}

.legal-links a:hover {
    color: var(--secondary-color);
}

.legal-links .sep {
    color: rgba(255, 255, 255, 0.1);
}

/* Footer Right Area & Developer Credit */
.footer-right-area {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.developer-credit {
    font-size: 0.8rem;
    color: #64748b;
}

.developer-credit a {
    color: #10b981; /* Zümrüt Yeşili */
    font-weight: 700;
    margin-left: 5px;
    transition: all 0.3s ease;
}

.developer-credit a:hover {
    color: #34d399;
    text-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

/* Scroll Top Button - Pulse Effect */
#scrollTopBtn {
    position: fixed;
    bottom: 110px; /* WhatsApp butonunun üstüne konumlandırıldı */
    left: 30px;
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--secondary-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

#scrollTopBtn:hover {
    background: var(--secondary-color);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(37, 99, 235, 0.6);
    border-color: var(--secondary-color);
}

/* --- ULTRA PREMIUM WHATSAPP WIDGET (CHAT STYLE) --- */
.pr-wa-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: 'Segoe UI', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

/* Sohbet Penceresi (Popup) */
.pr-wa-popup {
    width: 340px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15), 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-origin: bottom right;
    border: 1px solid rgba(0,0,0,0.05);
}

.pr-wa-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Header Kısmı */
.pr-wa-header {
    background: #075e54; /* WhatsApp Dark Green */
    background: linear-gradient(135deg, #075e54 0%, #128c7e 100%);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
    position: relative;
}

.pr-wa-avatar {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    padding: 4px; /* Logo biraz daha büyük ve net görünsün */
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pr-wa-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Logo kesilmeden tam otursun */
    border-radius: 0; /* Kare logolar için yuvarlatmayı kaldırdık, avatar yuvarlak zaten */
}

/* Çevrimiçi Noktası */
.pr-wa-avatar::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #25d366;
    border: 2px solid #fff;
    border-radius: 50%;
}

.pr-wa-info h4 { margin: 0; font-size: 16px; font-weight: 700; }
.pr-wa-info span { font-size: 12px; opacity: 0.9; }
.pr-wa-info span.typing { color: #25d366; font-weight: 600; background: rgba(255,255,255,0.9); padding: 2px 6px; border-radius: 4px; }

.pr-wa-close {
    position: absolute;
    top: 15px; right: 15px;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    font-size: 20px;
    transition: color 0.3s;
}
.pr-wa-close:hover { color: #fff; }

/* Mesaj Alanı */
.pr-wa-body {
    padding: 20px;
    background-color: #e5ddd5; /* WhatsApp Chat BG */
    background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
    background-size: 300px;
    height: 200px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Yazıyor Animasyonu (Typing Indicator) */
.pr-wa-typing {
    background: #fff;
    padding: 10px 15px;
    border-radius: 0 15px 15px 15px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    width: fit-content;
    margin-bottom: 10px;
    display: none; /* JS ile açılacak */
    align-items: center;
    gap: 4px;
}
.pr-wa-typing .dot { width: 6px; height: 6px; background: #b4b4b4; border-radius: 50%; animation: wa-typing 1.4s infinite ease-in-out both; }
.pr-wa-typing .dot:nth-child(1) { animation-delay: -0.32s; }
.pr-wa-typing .dot:nth-child(2) { animation-delay: -0.16s; }
@keyframes wa-typing { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1); } }

.pr-wa-msg {
    background: #fff;
    padding: 10px 15px;
    border-radius: 0 15px 15px 15px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    max-width: 90%;
    position: relative;
    font-size: 14px;
    color: #111b21;
    line-height: 1.4; /* Daha kompakt metin */
    animation: msg-pop 0.3s ease-out;
}

@keyframes msg-pop { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.pr-wa-time { font-size: 10px; color: #999; float: right; margin-top: 5px; margin-left: 10px; }

/* Footer Buton */
.pr-wa-footer { padding: 15px; background: #f0f2f5; }
.pr-wa-btn-send {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    background: #25d366; color: #fff; text-decoration: none;
    padding: 12px; border-radius: 50px; font-weight: 600;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
    transition: all 0.3s;
}
.pr-wa-btn-send:hover { background: #128c7e; transform: translateY(-2px); }

/* Ana Yuvarlak Buton */
.pr-wa-main-btn {
    width: 60px; height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 32px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}
.pr-wa-main-btn:hover { transform: scale(1.1); box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5); }

.pr-wa-badge {
    position: absolute; top: -5px; right: -5px;
    background: #ef4444; color: #fff;
    font-size: 11px; font-weight: 700;
    width: 20px; height: 20px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid #fff;
    opacity: 0; transform: scale(0);
    transition: all 0.3s;
}
.pr-wa-badge.show { opacity: 1; transform: scale(1); }


/* Responsive */
@media (max-width: 992px) {
    .footer-top {
        padding: 60px 0 30px;
    }

    .footer-row {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-col {
        width: 100%;
        min-width: auto;
        text-align: center;
        padding-bottom: 40px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Modern Ayırıcı */
    }

    .footer-col:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .footer-logo {
        margin: 0 auto 25px;
        display: inline-block;
    }

    .footer-desc {
        margin: 0 auto 30px;
        font-size: 1rem;
        padding: 0 15px;
    }

    .social-links {
        justify-content: center;
        gap: 15px;
    }

    .social-btn {
        width: 50px; /* Mobilde daha büyük dokunma alanı */
        height: 50px;
        font-size: 20px;
    }

    .footer-title {
        font-size: 1.4rem;
        margin-bottom: 25px;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 4px;
    }

    .footer-links a {
        justify-content: center;
        padding: 12px 15px;
        font-size: 1.05rem;
        background: rgba(255, 255, 255, 0.03); /* Hafif kart görünümü */
        border-radius: 12px;
        margin-bottom: 10px;
        border: 1px solid rgba(255, 255, 255, 0.02);
    }
    
    .footer-links a:hover {
        background: rgba(255, 255, 255, 0.08);
        transform: scale(1.02);
    }

    .contact-list li {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        align-items: center;
        background: rgba(255, 255, 255, 0.03); /* İletişim Kartları */
        padding: 25px;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.05);
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .contact-list li i {
        width: 55px;
        height: 55px;
        font-size: 24px;
        margin: 0;
        background: rgba(37, 99, 235, 0.15);
        border-color: rgba(37, 99, 235, 0.3);
        color: #fff;
    }
    
    .bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-right-area {
        align-items: center;
        width: 100%;
    }
    
    .legal-links {
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: 10px;
    }
}