/* Planet tema – footer düzenlemeleri */

.planet-footer.bg_img {
    position: relative;
    overflow: visible;
    background-color: #0a2b50;
    background-image: url('../img/yeni/footer-1920x678.jpg');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    z-index: 2;
}

.planet-footer__crest {
    position: absolute;
    top: -67px;
    left: 50%;
    transform: translate(-50%);
    z-index: 3;
    width: min(42vw, 280px);
    pointer-events: none;
    line-height: 0;
}

.planet-footer__crest img {
    display: block;
    width: 100%;
    height: auto;
}

.planet-footer .xb-footer-wrap,
.planet-footer .container {
    position: relative;
    z-index: 2;
}

.planet-footer .xb-logo img {
    max-height: 58px;
    width: auto;
}

/* Logo altı detay – site 2. renk */
.planet-footer .xb-footer_widget .xb-content {
    color: var(--planet-brand-secondary);
    margin: 28px 0 36px;
}

/* Kolon başlıkları – büyük, uppercase, site 2. renk */
.planet-footer .xb-widget-title {
    color: var(--planet-brand-secondary);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

/* Linkler – beyaz + ICON C */
.planet-footer .xb-footer_widget .xb-list li a {
    align-items: center;
    gap: 10px;
    padding-left: 0;
    color: #ffffff;
}

.planet-footer .xb-footer_widget .xb-list li a::after {
    display: none;
}

.planet-footer .xb-footer_widget .xb-list li a:hover,
.planet-footer .xb-footer_widget .xb-list li a:focus-visible {
    color: var(--planet-brand-secondary);
}

.planet-footer__link-icon {
    display: block;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    object-fit: contain;
}

/* Sosyal medya – kare SVG ikonlar */
.planet-footer .xb-social_media .social-link {
    gap: 10px;
    flex-wrap: wrap;
}

.planet-footer .xb-social_media .social-link li a {
    height: 40px;
    width: 40px;
    background: transparent;
    border-radius: 0;
    color: var(--planet-brand-secondary);
}

.planet-footer .xb-social_media .social-link li a::before {
    display: none;
}

.planet-footer .xb-social_media .social-link li a:hover,
.planet-footer .xb-social_media .social-link li a:focus-visible {
    opacity: 0.85;
    color: var(--planet-brand-secondary);
}

.planet-footer__social-icon {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* İletişim ikonları – Font Awesome, site 2. renk */
.planet-footer.footer-style--three .xb-footer_contact ul li .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    height: auto;
    width: auto;
    min-width: 22px;
    margin-right: 16px;
    align-self: flex-start;
    padding-top: 3px;
    color: var(--planet-brand-secondary);
    font-size: 18px;
    line-height: 1;
}

.planet-footer.footer-style--three .xb-footer_contact ul li .icon i {
    display: block;
}

.planet-footer.footer-style--three .xb-footer_contact ul li .text {
    color: #ffffff;
    /* Tema .text'e 50px'lik ikona göre width: calc(100% - 64px) veriyor;
       burada ikon 22px + 16px olduğundan kalan alanı geri kazanıyoruz. */
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: break-word;
}

.planet-footer.footer-style--three .xb-footer_contact ul li .text a {
    color: #ffffff;
    transition: color 0.3s ease;
}

.planet-footer.footer-style--three .xb-footer_contact ul li .text a:hover,
.planet-footer.footer-style--three .xb-footer_contact ul li .text a:focus-visible {
    color: var(--planet-brand-secondary);
}

.planet-footer__bottom {
    gap: 20px 32px;
    align-items: center;
}

.planet-footer__bottom-main {
    gap: 16px 24px;
    flex-wrap: wrap;
    align-items: center;
}

.planet-footer__bottom-main p {
    margin: 0;
}

.planet-footer__legal {
    gap: 16px 24px;
    margin: 0;
    flex-wrap: wrap;
}

.planet-footer__legal li {
    position: relative;
}

.planet-footer__legal li:not(:last-child)::before {
    position: absolute;
    content: '';
    right: -12px;
    height: 62%;
    top: 6px;
    width: 1.5px;
    background: rgba(255, 255, 255, 0.7);
}

.planet-footer__legal a {
    font-weight: 500;
    font-size: 16px;
    line-height: 26px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.planet-footer__legal a:hover,
.planet-footer__legal a:focus-visible {
    color: #ffffff;
}

.planet-footer__fnp {
    flex-shrink: 0;
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

.planet-footer__fnp:hover,
.planet-footer__fnp:focus-visible {
    color: var(--planet-brand-secondary);
}

.footer-style--three .xb-footer_bottom {
    padding: 40px 0 40px;
}

@media (max-width: 991.98px) {
    .planet-footer__crest {
        width: min(48vw, 220px);
        top: -52px;
    }

    .planet-footer .xb-widget-title {
        font-size: 18px;
        margin-bottom: 20px;
    }
}

@media (max-width: 767.98px) {
    /* Mobil: dekoratif footer görseli kalkar, düz zemin kalır */
    .planet-footer.bg_img {
        background-image: none !important;
    }

    .planet-footer__crest {
        width: min(52vw, 170px);
        top: -40px;
    }

    .planet-footer .xb-logo img {
        max-height: 48px;
    }

    .planet-footer .xb-footer_widget .xb-content {
        margin: 20px 0 28px;
        font-size: 14px;
    }

    .planet-footer .xb-widget-title {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .planet-footer__link-icon {
        width: 16px;
        height: 16px;
    }

    .planet-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .planet-footer__bottom-main {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .planet-footer__legal {
        gap: 10px 18px;
    }

    .planet-footer__legal li:not(:last-child)::before {
        right: -10px;
    }

    .planet-footer__legal a,
    .planet-footer__fnp {
        font-size: 14px;
    }

    .planet-footer__fnp {
        align-self: flex-start;
    }

    .footer-style--three .xb-footer_bottom {
        padding: 28px 0;
    }
}

@media (max-width: 575.98px) {
    .planet-footer__crest {
        width: min(56vw, 140px);
        top: -32px;
    }

    .planet-footer .xb-social_media .social-link li a,
    .planet-footer__social-icon {
        width: 36px;
        height: 36px;
    }
}
