/* CoreXL Mega Footer Styles */

/* Font Awesome CDN */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* Mevcut WordPress footer'ını gizle */
footer:not(.corexl-mega-footer),
#footer,
.site-footer,
.footer,
.main-footer {
    display: none !important;
}

.corexl-mega-footer ~ footer,
.corexl-mega-footer ~ #footer,
.corexl-mega-footer ~ .site-footer,
.corexl-mega-footer ~ .footer,
.corexl-mega-footer ~ .footer-info,
.corexl-mega-footer ~ .main-footer {
    display: none !important;
}

.corexl-mega-footer {
    background: #fff;
    color: var(--footer-text, #333333);
    font-family: Poppins, Arial, Helvetica, sans-serif;
    margin-top: 0.5rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid #e5e5e5;
}


.corexl-mega-footer {
    --footer-bg: #ffffff;
    --footer-text: #333333;
    --footer-primary: #ff6600;
    --footer-text-secondary: #666666;
    --footer-bottom-bg: #f8f9fa;
}

.corexl-mega-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #ff6600;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Ana Footer Bölümü */
.footer-main {
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Footer Bölümleri */
.footer-section h5 {
    color: #000 !important;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--footer-primary, #ff6600);
    border-radius: 1px;
}

/* Logo ve Marka Bölümü */
.footer-brand .footer-logo h5 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000 !important;
}

.footer-brand .footer-logo p {
    color: var(--footer-text-secondary, #666666);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Sosyal Medya Linkleri */
.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #f8f9fa;
    color: #666666;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-link:hover {
    transform: translateY(-3px);
    border-color: var(--footer-primary, #ff6600);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
}

.social-link.instagram:hover {
    background: #ff6600;
}

.social-link.facebook:hover {
    background: #ff6600;
}

.social-link.twitter:hover {
    background: #ff6600;
}

.social-link.youtube:hover {
    background: #ff6600;
}

.social-link.linkedin:hover {
    background: #ff6600;
}

.social-link i {
    font-size: 1.2rem;
}

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

/* Footer'da strong taglarını gizle */
.footer-links strong,
.footer-section strong {
    font-weight: normal !important;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--footer-text-secondary, #666666);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
    cursor: pointer;
}

.footer-links a::before {
    content: '→';
    color: var(--footer-primary, #ff6600);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--footer-primary, #ff6600);
    padding-left: 0.5rem;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Footer Bölümleri - Eşit Genişlik */
.footer-section {
    min-height: 200px;
}



/* İletişim Bilgileri */
.contact-info p {
    color: var(--footer-text-secondary, #666666);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.contact-info i {
    color: var(--footer-primary, #ff6600);
    width: 20px;
    text-align: center;
}

/* Alt Footer */
.footer-bottom {

    padding: 2rem 0;
    border-top: 1px solid #e5e5e5;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.legal-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.legal-links a {
    color: #666666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: var(--footer-primary, #ff6600);
}

.copyright p {
    color: #999999;
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Tasarım */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .footer-main {
        padding: 2rem 0 1rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
        gap: 1rem;
    }
    
    .social-links {
        justify-content: center;
    }

    .footer-section img{
        width: 30%;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 0 15px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-section h5 {
        font-size: 1.1rem;
    }
    
    .footer-brand .footer-logo h5 {
        font-size: 1.5rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-link i {
        font-size: 1rem;
    }
    .footer-section img{
        width: 30%;
    }
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-section {
    animation: fadeInUp 0.6s ease-out;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }
.footer-section:nth-child(5) { animation-delay: 0.5s; }

/* Hover Efektleri */
.footer-section:hover h5::after {
    width: 60px;
    transition: width 0.3s ease;
}

/* Footer bölümlerine hover efekti */
.footer-section:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

/* Scroll Bar Stilleri */
.corexl-mega-footer::-webkit-scrollbar {
    width: 8px;
}

.corexl-mega-footer::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.corexl-mega-footer::-webkit-scrollbar-thumb {
    background: var(--footer-primary, #ff6600);
    border-radius: 4px;
}

.corexl-mega-footer::-webkit-scrollbar-thumb:hover {
    background: var(--footer-primary-hover, #e55a00);
}
