/* ========================================
   FOOTER STYLES - Modern & Professional
   ======================================== */

/* Footer Base */
.site-footer {
    background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
    color: #e0e0e0;
    margin-top: 80px;
}

/* Footer Top */
.footer-top {
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

/* Footer Column */
.footer-col {
    padding: 0;
}

/* Footer Logo & About */
.footer-logo {
    margin-bottom: 20px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
}

.footer-brand--image {
    display: inline-block;
}

.footer-logo-img {
    max-width: 180px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.footer-logo-img:hover {
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(201, 169, 97, 0.5));
    transform: scale(1.02);
}

/* Logo light versiyonu varsa filter'ı kaldır */
.footer-brand--image.no-filter .footer-logo-img {
    filter: none;
}

.footer-brand .brand-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary, #1a472a) 0%, #2d5a3d 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-brand .brand-text {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #a0a0a0;
    margin-bottom: 24px;
}

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

.social-link {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary, #1a472a);
    color: #fff;
    transform: translateY(-3px);
}

.social-link--whatsapp:hover {
    background: #25D366;
}

/* Footer Titles */
.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 24px 0;
    padding-bottom: 12px;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary, #c9a961), transparent);
    border-radius: 3px;
}

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

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

.footer-menu a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-menu a::before {
    content: '';
    width: 0;
    height: 2px;
    background: var(--secondary, #c9a961);
    transition: width 0.3s ease;
}

.footer-menu a:hover {
    color: #fff;
    padding-left: 8px;
}

.footer-menu a:hover::before {
    width: 12px;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary, #c9a961);
    flex-shrink: 0;
}

.contact-item span,
.contact-item a {
    color: #a0a0a0;
    text-decoration: none;
    line-height: 36px;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--secondary, #c9a961);
}

/* Footer Bottom */
.footer-bottom {
    padding: 24px 0;
    background: rgba(0, 0, 0, 0.3);
}

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

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

.footer-legal {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.footer-legal a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--secondary, #c9a961);
}

.footer-legal .separator {
    color: #555;
}

.footer-badges .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    color: #22c55e;
}

/* ========================================
   RESPONSIVE FOOTER
   ======================================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }
    
    .footer-col--about {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .footer-top {
        padding: 40px 0 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-col--about {
        grid-column: span 1;
        text-align: center;
    }
    
    .footer-logo {
        display: flex;
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-menu,
    .footer-contact {
        text-align: center;
    }
    
    .footer-menu a::before {
        display: none;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-legal {
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-legal .separator {
        display: none;
    }
    
    .footer-credit {
        flex-direction: column;
        gap: 5px;
    }
}

/* ========================================
   iDealSunucu Credit Styles
   ======================================== */
.footer-credit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
}

.credit-text {
    color: rgba(255,255,255,0.5);
}

.credit-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    position: relative;
}

.credit-brand {
    font-weight: 700;
    font-size: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

.credit-brand .ideal {
    font-style: italic;
}

.credit-brand .sunucu {
    font-weight: 800;
}

.credit-sparkle {
    animation: sparkle 1.5s ease-in-out infinite;
    font-size: 12px;
}

.credit-link:hover .credit-brand {
    animation: gradientShift 1s ease infinite, textPulse 0.5s ease;
}

.credit-link:hover .credit-sparkle {
    animation: sparkleHover 0.3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.7; transform: scale(1.2) rotate(15deg); }
}

@keyframes sparkleHover {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.3) rotate(-10deg); }
    50% { transform: scale(1) rotate(10deg); }
    75% { transform: scale(1.3) rotate(-5deg); }
}

@keyframes textPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
