/* ==========================================================================
   FOOTER.CSS - Site Footer ve İlgili Öğeler
   ========================================================================== */

/* Footer - Modern Minimalist Tasarım */
.site-footer {
    background-color: var(--header-bg);
    color: var(--header-text);
    margin-top: 60px;
    padding: 0;
    position: relative;
    overflow: hidden;
    transition: var(--theme-transition);
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

/* Footer Ana İçerik */
.footer-content {
    padding: 50px 0 30px;
    position: relative;
}

.footer-main {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

/* Footer Logo */
.footer-logo {
    margin-bottom: 25px;
}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--header-text);
    transition: all 0.3s ease;
}

.footer-logo-link:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.footer-logo-icon {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Footer Açıklama */
.footer-description {
    margin-bottom: 30px;
}

.footer-description p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--header-text);
    margin: 0;
    font-weight: 300;
    opacity: 0.9;
}

/* Sosyal Medya Butonları */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--header-text);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.social-icon {
    width: 20px;
    height: 20px;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.social-link:hover .social-icon {
    opacity: 1;
    transform: scale(1.1);
}

/* Footer Alt Kısım */
.footer-bottom {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Navigasyon */
.footer-menu {
    text-align: center;
    margin-bottom: 20px;
}

/* Footer navigasyon konteynerı */
.footer-navigation {
    display: flex;
    justify-content: center;
}

.footer-nav {
    display: flex !important;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none !important; /* Noktaları kaldır */
    margin: 0 !important;
    padding: 0 !important;
}

.footer-nav li {
    list-style: none !important; /* Li elemanlarından da noktaları kaldır */
    margin: 0 !important;
    padding: 0 !important;
}

.footer-nav-link,
.footer-nav a {
    color: var(--header-text) !important; /* Footer yazısı ile aynı renk */
    opacity: 0.8 !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    padding: 5px 0 !important;
    position: relative !important;
    transition: all 0.2s ease !important;
    display: inline-block !important;
}

.footer-nav-link::after,
.footer-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.footer-nav-link:hover,
.footer-nav a:hover {
    color: var(--header-text) !important; /* Yazı rengi beyaz kalacak */
    background-color: var(--accent-color) !important; /* Arka plan sarı */
    opacity: 1 !important;
    transform: translateY(-1px) !important;
    text-decoration: none !important;
    padding: 5px 8px !important; /* Hover'da biraz padding ekle */
    border-radius: 4px !important; /* Yuvarlatma */
}

.footer-nav-link:hover::after,
.footer-nav a:hover::after {
    width: 100%;
}

/* Copyright */
.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--header-text);
    opacity: 0.6;
    font-weight: 300;
}

/* Footer Widgets */
.footer-widgets {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 50px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widget-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-widget {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 25px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer-widget:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.footer-widget-title {
    color: var(--header-text);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
    position: relative;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-widget li {
    margin-bottom: 8px;
    position: relative;
}

.footer-widget a {
    color: var(--header-text);
    opacity: 0.8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
    display: inline-block;
}

.footer-widget a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-widget a:hover {
    color: var(--header-text);
    opacity: 1;
    transform: translateX(5px);
    text-decoration: none;
}

.footer-widget a:hover::before {
    opacity: 1;
    left: -20px;
}

/* Footer Links Listesi */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-links a {
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links a:hover {
    border-bottom-color: var(--accent-color);
}

/* Responsive Footer Tasarımı */
@media (max-width: 992px) {
    .footer-widget-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-widgets {
        padding: 40px 0 25px;
    }
    
    .footer-widget {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        padding: 40px 0 25px;
    }
    
    .footer-logo-text {
        font-size: 1.3rem;
    }
    
    .footer-description p {
        font-size: 0.9rem;
    }
    
    .footer-social {
        gap: 12px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-icon {
        font-size: 1.1rem;
    }
    
    .footer-nav {
        gap: 20px;
    }
    
    .footer-nav-link {
        font-size: 0.85rem;
    }
    
    .footer-widget-columns {
        gap: 20px;
    }
    
    .footer-widget {
        padding: 15px;
    }
    
    .footer-widget-title {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 35px 0 20px;
    }
    
    .footer-main {
        padding: 0 15px;
    }
    
    .footer-logo-icon {
        font-size: 1.5rem;
    }
    
    .footer-logo-text {
        font-size: 1.2rem;
    }
    
    .footer-description p {
        font-size: 0.85rem;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-bottom {
        padding: 20px 0;
    }
}

/* Yukarı çık butonu */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Mobil için yukarı çık butonu */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
