/* ===== DYNAMIC COURT TEMA - FOOTER ===== */

footer {
    background-color: var(--dark);
    padding: 3rem 0 1rem;
    color: var(--white);
    margin-top: 0;
    position: relative;
    overflow: hidden; /* Taşan dalga efektlerini gizle */
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 5; /* İçerik dalga animasyonunun üzerinde görünsün */
}

.footer-header {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-title {
    color: var(--white);
    font-size: 2.1rem;
    margin-bottom: 1rem;
    letter-spacing: 0.04em;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    border-radius: 3px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--white);
    transition: all var(--transition-normal);
    text-decoration: none;
}

.social-link:hover {
    background-color: var(--primary);
    transform: translateY(-5px);
    color: var(--white);
}

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

.footer-content {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    align-items: flex-start;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    padding: 0 15px;
}

.footer-section-title {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all var(--transition-normal);
    display: inline-block;
    position: relative;
    padding: 3px 0;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all var(--transition-normal);
}

.footer-links a:hover::before {
    opacity: 1;
    left: -15px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    color: var(--white);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: all var(--transition-normal);
}

.contact-link:hover {
    background-color: rgba(255, 107, 0, 0.2);
    transform: translateY(-3px);
    color: var(--white);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-content {
        gap: 2rem;
        padding: 0 20px;
    }
    
    .footer-section {
        flex: 1 1 48%; /* İki sütun yerine */
        min-width: 250px;
        text-align: left; /* Sol taraftaki yazıları sola hizala */
    }
    
    .footer-section-title::after {
        left: 0; /* Başlık altındaki çizgi solda başlasın */
        transform: none;
    }
    
    .contact-link {
        justify-content: flex-start; /* İletişim bağlantıları soldan başlasın */
    }

    .footer-title {
        font-size: 1.6rem;
        padding: 0 15px;
    }
    
    /* Footer header her zaman ortalı kalsın */
    .footer-header {
        text-align: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .footer-content {
        gap: 1.5rem;
        flex-direction: column;
    }
    
    /* Küçük ekranlarda her bölüm tam genişlikte ve ortalı olsun */
    .footer-section {
        flex: 1 1 100%;
        min-width: 100%;
        text-align: center;
        padding: 0 15px;
    }
    
    /* Başlık çizgileri ortalansın */
    .footer-section-title::after {
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
    }
    
    .footer-title {
        font-size: 1.3rem;
    }
    
    .social-icons {
        gap: 0.5rem;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
    }
    
    /* İletişim bağlantıları küçük ekranlarda merkezde görünsün */
    .contact-link {
        justify-content: center;
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
    
    .footer-bottom {
        font-size: 0.75rem;
        padding-top: 1.5rem;
        margin-top: 1.5rem;
    }
    
    /* Footer linkleri küçült */
    .footer-links a {
        font-size: 0.9rem;
    }
    
    .footer-text {
        font-size: 0.85rem;
    }
}

/* Animation */
footer .fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

/* Geri kalan animasyonlar wave-animation.css'ye taşındı */

/* Footer hover efektleri */
.footer-container .footer-title:hover {
    text-shadow: 0 0 8px rgba(45, 164, 255, 0.8);
}

.contact-link:hover i {
    transform: scale(1.2);
    transition: transform 0.3s ease;
}
