/**
 * iDealSunucu - Footer CSS
 * Version: 5.2.0
 * Kurumsal Tasarım
 */

/* ==========================================================================
   FOOTER CTA
   ========================================================================== */
.footer-cta {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(56, 189, 248, 0.05) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 40px 0;
}

.footer-cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.footer-cta-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.footer-cta-content p {
    font-size: 15px;
    color: var(--text-muted);
    margin: 0;
}

.footer-cta-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.btn-footer-primary,
.btn-footer-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-footer-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-primary);
}

.btn-footer-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    color: #fff;
}

.btn-footer-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-footer-secondary:hover {
    background: #25D366;
    border-color: #25D366;
    color: #fff;
}

/* ==========================================================================
   FOOTER MAIN
   ========================================================================== */
.footer-main {
    background: var(--bg-primary);
    padding: 60px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr repeat(4, 1fr);
    gap: 40px;
}

.footer-col {
    min-width: 0;
}

/* Footer Brand */
.footer-brand {
    padding-right: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 16px;
}

.footer-logo-img {
    height: 48px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
}

.footer-logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-logo-text span {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Trust Badges */
.footer-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 12px;
    color: var(--text-secondary);
}

.trust-badge i {
    color: var(--success);
    font-size: 14px;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 8px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-muted);
    font-size: 16px;
    transition: all 0.2s ease;
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* Footer Titles */
.footer-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.badge-new {
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 600;
    background: #EF4444;
    color: #fff;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Footer Contact Info */
.footer-contact-info {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-link i {
    width: 16px;
    color: var(--primary);
}

.contact-link:hover {
    color: var(--primary);
}

/* ==========================================================================
   FOOTER PARTNERS
   ========================================================================== */
.footer-partners {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 24px 0;
}

.partners-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.partners-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
}

.partners-logos {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.partners-logos img {
    height: 28px;
    width: auto;
    filter: grayscale(100%) brightness(0.7);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partners-logos img:hover {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

/* ==========================================================================
   FOOTER BOTTOM
   ========================================================================== */
.footer-bottom {
    background: var(--bg-secondary);
    padding: 20px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-copyright p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: var(--primary);
}

.footer-payment {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-payment span {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-payment i {
    font-size: 24px;
    color: var(--text-subtle);
    transition: color 0.2s ease;
}

.footer-payment i:hover {
    color: var(--text-secondary);
}

/* ==========================================================================
   WHATSAPP FLOAT
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #25D366;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-float i {
    font-size: 20px;
}

.whatsapp-float:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
    color: #fff;
}

/* ==========================================================================
   BACK TO TOP
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 16px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    
    .footer-brand {
        grid-column: span 2;
        padding-right: 0;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-badges {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-cta-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-title {
        display: block;
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .footer-links a:hover {
        padding-left: 0;
    }
    
    .footer-contact-info {
        align-items: center;
    }
    
    .partners-inner {
        flex-direction: column;
        gap: 16px;
    }
    
    .partners-logos {
        justify-content: center;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-footer-primary,
    .btn-footer-secondary {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-main {
        padding: 40px 0;
    }
    
    .footer-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .whatsapp-float span {
        display: none;
    }
    
    .whatsapp-float {
        padding: 14px;
        border-radius: 50%;
    }
    
    .whatsapp-float i {
        font-size: 24px;
    }
}
