/* Footer Styles */
.footer-section {
    background: linear-gradient(135deg, var(--primary-dark), #0a1625);
    color: #e2e8f0;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

/* Background Pattern Overlay */
.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 80% 80%, rgba(14, 165, 233, 0.05) 0%, transparent 20%);
    pointer-events: none;
}

.main-footer {
    padding: 50px 0 30px;
    position: relative;
    z-index: 1;
}

/* Brand Column */
.footer-brand {
    padding-right: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    max-width: 240px;
}

.footer-logo:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1), 0 8px 12px rgba(0, 0, 0, 0.2);
}

.footer-logo img {
    height: 130px;
    width: auto;
    margin: -35px -15px;
    object-fit: contain;
}

.footer-desc {
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

/* Column Titles */
.footer-title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary-color);
    border-radius: 2px;
}

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

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-links a i {
    font-size: 9px;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-links a:hover i {
    transform: translateX(3px);
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-contact .icon-box {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--secondary-color);
    font-size: 12px;
}

.footer-contact .text-box {
    flex: 1;
}

.footer-contact .text-box span,
.footer-contact .text-box a {
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.footer-contact .text-box a:hover {
    color: #fff;
}

/* Bottom Footer */
.bottom-footer {
    background: rgba(0, 0, 0, 0.2);
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

.bottom-footer .row {
    row-gap: 12px;
}

.copyright {
    margin: 0;
    font-size: 12px;
    color: #64748b;
}

/* Bottom Footer Links */
.bottom-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px 16px;
    flex-wrap: wrap;
}

.bottom-footer .footer-links li {
    margin-bottom: 0;
}

.bottom-footer .footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
    padding: 4px 0;
    display: inline-block;
    white-space: nowrap;
}

.bottom-footer .footer-links a:hover {
    color: #fff;
    padding-left: 0;
}

/* Separator dots between links */
.bottom-footer .footer-links li:not(:last-child)::after {
    content: '•';
    color: #475569;
    margin-left: 16px;
    font-size: 8px;
}

.footer-legal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legal a {
    color: #64748b;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

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

/* Medium screens - stack on two rows if needed */
@media (max-width: 991px) and (min-width: 768px) {
    .bottom-footer .footer-links {
        justify-content: center;
    }

    .bottom-footer .col-md-6 {
        text-align: center !important;
    }
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .main-footer {
        padding: 40px 0 20px;
    }

    .footer-brand {
        padding-right: 0;
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .main-footer {
        text-align: center;
        padding: 40px 0 15px;
    }

    .footer-brand {
        display: block;
        margin-bottom: 32px;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .footer-logo {
        margin: 0 auto 18px;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
        max-width: 200px;
    }

    .footer-logo img {
        height: 100px;
        margin: -28px -10px;
    }

    .footer-desc {
        font-size: 13.5px;
        margin-bottom: 20px;
        text-align: center;
        line-height: 1.6;
    }

    .footer-social {
        justify-content: center;
        margin-bottom: 10px;
        gap: 10px;
    }

    .footer-social a {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    /* Yan yana bölümler için wrapper */
    .main-footer .row {
        display: flex;
        flex-wrap: wrap;
    }

    /* Hızlı Erişim ve Hizmetlerimiz yan yana */
    .main-footer .col-lg-2,
    .main-footer .col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
        padding-left: 10px;
        padding-right: 10px;
    }

    .footer-title {
        margin-top: 10px;
        margin-bottom: 18px;
        font-size: 15px;
        text-align: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
        width: 38px;
    }

    .footer-links {
        margin-bottom: 30px;
        text-align: center;
        display: inline-block;
    }

    .footer-links li {
        margin-bottom: 8px;
        text-align: left;
    }

    .footer-links a {
        justify-content: flex-start;
        padding: 7px 0;
        font-size: 13px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.02);
        display: inline-flex;
        width: 100%;
    }

    .footer-links a i {
        width: 20px;
        flex-shrink: 0;
        font-size: 10px;
    }

    .footer-contact {
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        width: 100%;
        padding: 0;
    }

    .footer-contact li {
        display: flex;
        justify-content: flex-start;
        margin-bottom: 10px;
        align-items: center;
        gap: 10px;
        width: 100%;
    }

    .footer-contact .icon-box {
        width: 28px;
        height: 28px;
        background: rgba(255, 255, 255, 0.08);
        font-size: 11px;
        flex-shrink: 0;
    }

    .footer-contact .text-box {
        text-align: left;
    }

    .footer-contact .text-box span,
    .footer-contact .text-box a {
        font-size: 12px;
    }

    /* İletişim bölümü - tam genişlik ve ortalanmış */
    .main-footer .row> :nth-child(4) {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0 15px;
        margin-top: 10px;
    }

    .footer-contact {
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        padding: 0;
    }

    .footer-contact li {
        display: flex;
        justify-content: center;
        margin-bottom: 10px;
        align-items: center;
        gap: 10px;
        width: auto;
    }

    .footer-contact .icon-box {
        width: 28px;
        height: 28px;
        background: rgba(255, 255, 255, 0.08);
        font-size: 11px;
        flex-shrink: 0;
    }

    .footer-contact .text-box {
        text-align: left;
    }

    .footer-contact .text-box span,
    .footer-contact .text-box a {
        font-size: 12px;
    }

    /* Yasal linkler - tam genişlik, ortalanmış yatay düzen */
    .mobile-footer-bottom-wrapper {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        display: flex !important;
        padding: 0 15px !important;
        margin-top: 20px;
        padding-top: 20px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .mobile-footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .mobile-footer-bottom .footer-legal {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 0;
        margin-bottom: 0;
        padding: 0;
        list-style: none;
    }

    .mobile-footer-bottom .footer-legal li {
        display: inline-flex;
        align-items: center;
        width: auto;
    }

    .mobile-footer-bottom .footer-legal li:not(:last-child)::after {
        content: '•';
        color: #475569;
        margin: 0 10px;
        font-size: 8px;
    }

    .mobile-footer-bottom .footer-legal a {
        color: #94a3b8;
        font-size: 11px;
        padding: 4px 0;
        display: inline;
        border-bottom: none;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .mobile-footer-bottom .footer-legal a::before {
        display: none;
    }

    .mobile-footer-bottom .footer-legal a:hover {
        color: #fff;
        padding-left: 0;
    }

    /* Alt footer'ı gizle (mobil için yukarı aldık) */
    .bottom-footer {
        display: none;
    }

    /* Mobil Copyright - Tam Genişlik Ortalı */
    .mobile-copyright-wrapper {
        margin-top: 20px;
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .mobile-copyright {
        text-align: center;
        font-size: 11px;
        color: #64748b;
        margin: 0;
        line-height: 1.5;
    }
}