/* Modern Footer Styles */
.modern-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
    margin-bottom: 0 !important; /* Alt boşluğu kaldır */
    padding-bottom: 0; /* Alt padding'i kaldır */
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer-main {
    padding: 4rem 0 2rem;
}

.footer-main .row {
    align-items: stretch;
}

.footer-brand {
    position: relative;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.brand-description {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    color: #b0b0b0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    transform: translateY(-3px);
    color: white;
    text-decoration: none;
}

.social-link.facebook:hover {
    background: #1877f2;
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.3);
}

.social-link.twitter:hover {
    background: #1da1f2;
    box-shadow: 0 8px 25px rgba(29, 161, 242, 0.3);
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    box-shadow: 0 8px 25px rgba(188, 24, 136, 0.3);
}

.social-link.telegram:hover {
    background: #0088cc;
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.3);
}

.footer-section {
    position: relative;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 10px;
    text-decoration: none;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-links a:hover::before {
    width: 6px;
}

.sponsors-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sponsor-item {
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.sponsor-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.sponsor-link {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.sponsor-link:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.sponsor-link i {
    font-size: 0.8rem;
    opacity: 0.7;
}

.no-sponsors {
    text-align: center;
    padding: 1rem;
    color: #666;
    font-style: italic;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .row {
    align-items: center;
}

.footer-bottom .col-md-6:last-child {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.copyright {
    color: #b0b0b0;
    font-size: 0.9rem;
    margin: 0;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.footer-legal a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.separator {
    color: #666;
}

/* Footer Sponsors */
.footer-sponsors {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-top: 0.5rem;
}

.footer-sponsor-link {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-sponsor-link:hover {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-main {
        padding: 2rem 0 1rem;
    }
    
    .footer-main .row {
        align-items: stretch;
        display: flex;
        flex-wrap: wrap;
    }
    
    .brand-logo {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .brand-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .brand-text {
        font-size: 1.3rem;
    }
    
    .brand-description {
        text-align: center;
        margin-bottom: 1.5rem;
        font-size: 0.9rem;
    }
    
    .social-links {
        justify-content: center;
        margin-bottom: 2rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .footer-section {
        margin-bottom: 2rem;
    }
    
    /* Mobilde 3'lü grid yapısı - Düzgün hizalı */
    .footer-main .col-6 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
        padding-left: 5px;
        padding-right: 5px;
        margin-bottom: 1.5rem;
        display: flex;
        align-items: flex-start;
        box-sizing: border-box;
    }
    
    .footer-main .col-6:last-child {
        margin-bottom: 1.5rem;
    }
    
    .col-6 .footer-section {
        margin-bottom: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        text-align: center;
        justify-content: flex-start;
        align-items: center;
        min-height: auto;
    }
    
    .col-6 .section-title {
        font-size: 0.8rem;
        margin-bottom: 0.6rem;
        margin-top: 0;
        padding-top: 0;
        text-align: center;
        padding-bottom: 0.4rem;
        position: relative;
        width: 100%;
        flex-shrink: 0;
        line-height: 1.2;
        height: auto;
    }
    
    .col-6 .section-title::after {
        left: 50%;
        transform: translateX(-50%);
        width: 35px;
        height: 2px;
    }
    
    .col-6 .footer-links {
        text-align: center;
        width: 100%;
        list-style: none;
        padding: 0;
        margin: 0;
        flex-grow: 0;
    }
    
    .col-6 .footer-links li {
        margin-bottom: 0.35rem;
        text-align: center;
    }
    
    .col-6 .footer-links li:last-child {
        margin-bottom: 0;
    }
    
    .col-6 .footer-links a {
        font-size: 0.7rem;
        line-height: 1.3;
        text-align: center;
        padding-left: 0;
        display: inline-block;
        white-space: normal;
        word-break: break-word;
    }
    
    .col-6 .footer-links a::before {
        display: none;
    }
    
    .col-6 .footer-links a:hover {
        padding-left: 0;
        color: var(--primary-color);
    }
    
    /* Site bilgileri mobilde tam genişlik */
    .col-12 .footer-brand {
        margin-bottom: 1.5rem;
    }
    
    .col-12 .brand-logo {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .col-12 .brand-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .col-12 .brand-text {
        font-size: 1.3rem;
    }
    
    .col-12 .brand-description {
        text-align: center;
        margin-bottom: 1.5rem;
        font-size: 0.9rem;
    }
    
    .col-12 .social-links {
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .col-12 .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .sponsors-list {
        gap: 0.5rem;
    }
    
    .sponsor-item {
        padding: 0.5rem;
    }
    
    .sponsor-link {
        font-size: 0.8rem;
    }
    
    .footer-bottom {
        padding: 1.5rem 0;
    }
    
    .footer-bottom .row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-bottom .col-md-6 {
        width: 100%;
        text-align: center;
        margin-bottom: 0;
    }
    
    .footer-bottom .col-md-6:first-child {
        order: 1;
    }
    
    .footer-bottom .col-md-6:last-child {
        order: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .copyright {
        text-align: center;
        margin-bottom: 0;
        font-size: 0.85rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .footer-legal {
        flex-direction: row;
        gap: 0.5rem;
        justify-content: center;
        align-items: center;
        margin-bottom: 1rem;
        flex-wrap: wrap;
    }
    
    .footer-legal .separator {
        display: inline;
        color: #666;
        margin: 0 0.25rem;
    }
    
    .footer-legal a {
        font-size: 0.85rem;
        white-space: nowrap;
    }
    
    .footer-sponsors {
        justify-content: center;
        gap: 0.75rem;
        margin-top: 0;
        flex-wrap: wrap;
    }
    
    .footer-sponsor-link {
        font-size: 0.8rem;
        padding: 0.35rem 0.65rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 6px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }
    
    .footer-sponsor-link:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.2);
    }
}

@media (max-width: 480px) {
    .footer-main {
        padding: 1.5rem 0 0.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        gap: 0.75rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    /* Çok küçük ekranlarda da 3'lü grid koruyoruz */
    .footer-main .col-6 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
        padding-left: 4px;
        padding-right: 4px;
        margin-bottom: 1.5rem;
    }
    
    .col-6 .section-title {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .col-6 .section-title::after {
        width: 30px;
    }
    
    .col-6 .footer-links a {
        font-size: 0.65rem;
        line-height: 1.2;
    }
    
    .footer-bottom {
        padding: 1.25rem 0;
    }
    
    .copyright {
        font-size: 0.8rem;
        padding-bottom: 0.75rem;
    }
    
    .footer-legal {
        gap: 0.25rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-legal a {
        font-size: 0.8rem;
    }
    
    .footer-sponsors {
        gap: 0.5rem;
        justify-content: center;
    }
    
    .footer-sponsor-link {
        font-size: 0.75rem;
        padding: 0.3rem 0.5rem;
    }
}

/* Dark mode compatibility */
[data-theme="dark"] .modern-footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}


