/* Ostim tarzı site footer — Burak Karapınar */
.site-footer {
    background: linear-gradient(180deg, #0a1f3d 0%, #061327 100%);
    color: rgba(255, 255, 255, 0.78);
    padding-top: 72px;
    margin-top: 0;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d52b1e, #1b3c74, #d52b1e);
}

.site-footer .container {
    max-width: 1280px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 52px;
}

.footer-col h4 {
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
    font-weight: 700;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 2px;
    background: #d52b1e;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    text-decoration: none;
    color: inherit;
}

.footer-logo {
    display: block;
    height: 52px;
    width: auto;
    max-width: 100%;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.footer-brand-name {
    font-weight: 800;
    font-size: 26px;
    letter-spacing: 0.5px;
    color: #fff;
}

.footer-brand-tag {
    margin-top: 6px;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #cfd6e1;
}

.footer-about {
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.78);
}

.footer-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.05rem;
    transition: all 0.25s ease;
}

.footer-social a:hover {
    background: #d52b1e;
    transform: translateY(-3px);
    color: #fff;
}

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

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

.site-footer .footer-links a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.site-footer .footer-links a::before {
    content: '\203A';
    font-size: 14px;
    font-weight: 700;
    opacity: 0.55;
    transition: all 0.25s ease;
}

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

.site-footer .footer-links a:hover::before {
    color: #d52b1e;
    opacity: 1;
}

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

.footer-contact-list li {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.78);
}

.footer-contact-list li:last-child {
    margin-bottom: 0;
}

.footer-contact-list .footer-contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
}

.footer-contact-list a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

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

.footer-contact-list strong {
    color: #fff;
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
    font-weight: 700;
}

.footer-contact-list span {
    line-height: 1.5;
}

.footer-regions {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 0 4px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    font-size: 13px;
}

.footer-regions-title {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-regions a {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 600;
    text-decoration: none;
}

.footer-regions a:hover {
    color: #d52b1e;
}

.site-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 22px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    background: transparent;
}

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

.site-footer .footer-bottom a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
}

.site-footer .footer-bottom a:hover {
    color: #d52b1e;
}

.footer-developer {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    width: 100%;
    text-align: center;
    margin-top: 6px;
}

.footer-developer a {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.footer-developer a:hover {
    color: #d52b1e;
}

/* Back to top — footer temasıyla uyumlu */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    background: #d52b1e;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 18px rgba(213, 43, 30, 0.35);
}

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

.back-to-top:hover {
    background: #a61d12;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(213, 43, 30, 0.45);
}

@media (max-width: 1199px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 767px) {
    .site-footer {
        padding-top: 48px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 36px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-regions {
        flex-direction: column;
        align-items: flex-start;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}
