/* ===================================================================
   MODERN PREMIUM FOOTER DESIGN
   =================================================================== */

.footer {
    background: var(--gradient-dark);
    color: var(--gray-300);
    position: relative;
    overflow: hidden;
    margin-top: var(--space-20);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.6;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(37, 99, 235, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.footer .container {
    position: relative;
    z-index: 2;
    padding-top: var(--space-16);
    padding-bottom: var(--space-8);
}

.footer h5 {
    font-size: var(--text-lg);
    font-weight: 600;
    color: white;
    margin-bottom: var(--space-6);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: -var(--space-2);
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
}

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

.footer-links li {
    margin-bottom: var(--space-3);
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    font-size: var(--text-sm);
    line-height: 1.6;
}

.footer-links a:hover {
    color: white;
    transform: translateX(4px);
}

.footer-links a i {
    color: var(--primary-color);
    margin-right: var(--space-2);
    font-size: var(--text-xs);
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-6);
}

.social-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon:hover {
    transform: translateY(-2px);
    color: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.social-icon i {
    position: relative;
    z-index: 1;
    font-size: var(--text-lg);
}

/* Newsletter Form */
.newsletter-form {
    margin-top: var(--space-4);
    margin-bottom: var(--space-6);
}

.newsletter-form .input-group {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.newsletter-form .input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.newsletter-form .form-control {
    background: transparent;
    border: none;
    color: white;
    padding: var(--space-4);
    font-size: var(--text-sm);
}

.newsletter-form .form-control::placeholder {
    color: var(--gray-400);
}

.newsletter-form .form-control:focus {
    background: transparent;
    border: none;
    box-shadow: none;
    color: white;
}

.newsletter-form .btn {
    background: var(--gradient-accent);
    border: none;
    padding: var(--space-4);
    border-radius: 0;
}

.newsletter-form .btn:hover {
    background: var(--gradient-primary);
    transform: none;
}

/* Footer CTA Button */
.footer .btn-light {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: var(--radius-lg);
    padding: var(--space-4) var(--space-6);
    transition: var(--transition);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer .btn-light:hover {
    background: var(--gradient-accent);
    border-color: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Footer Bottom */
.footer hr {
    border: none;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    margin: var(--space-8) 0 var(--space-6) 0;
}

.footer .text-light {
    color: var(--gray-400) !important;
    font-size: var(--text-sm);
}

.footer .text-light a {
    color: var(--gray-300);
    text-decoration: none;
    transition: var(--transition);
}

.footer .text-light a:hover {
    color: white;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-full);
    color: white;
    font-size: var(--text-lg);
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-2xl);
    background: var(--gradient-accent);
    color: white;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer .container {
        padding-top: var(--space-12);
    }
    
    .social-icons {
        justify-content: center;
        margin-top: var(--space-4);
    }
    
    .newsletter-form {
        margin-top: var(--space-3);
        margin-bottom: var(--space-4);
    }
    
    .footer .btn-light {
        margin-top: var(--space-4);
    }
    
    .back-to-top {
        bottom: var(--space-4);
        right: var(--space-4);
        width: 45px;
        height: 45px;
    }
}

/* Logo Styling in Footer */
.footer-logo img {
    max-height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: var(--space-4);
}

.footer-logo {
    margin-bottom: var(--space-6);
}

/* Enhanced Description Text */
.footer p {
    line-height: 1.7;
    color: var(--gray-400);
    font-size: var(--text-sm);
    margin-bottom: var(--space-6);
}



/* Preloader Enhancement kaldırıldı - main CSS'te modern loader var */