/*
 * TÜRKONFED Footer - Clean Modern Design
 */

/* ============================================
   FOOTER BASE
   ============================================ */

.site-footer {
    background: #1a1f2e;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
}

/* ============================================
   FOOTER MAIN CONTENT
   ============================================ */

.footer-main {
    padding: 4rem 0 2.5rem;
    border-top: 3px solid var(--color-accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 3rem;
}

/* Footer Brand Column */
.footer-brand {
    max-width: 340px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1.25rem;
}

.footer-logo img {
    height: 44px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: opacity 0.3s ease;
}

.footer-logo:hover img {
    opacity: 0.8;
}

.footer-description {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 0.625rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.25s ease;
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.social-link:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
    transform: translateY(-2px);
}

/* Footer Navigation Columns */
.footer-nav-column {
    display: flex;
    flex-direction: column;
}

.footer-nav-title {
    font-family: var(--font-family-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(237, 27, 47, 0.4);
    display: inline-block;
}

.footer-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-link {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    padding: 0.375rem 0;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: block;
}

.footer-nav-link:hover {
    color: #fff;
    padding-left: 6px;
}

/* Contact Info */
.footer-contact {
    display: flex;
    flex-direction: column;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-item {
    display: flex;
    gap: 0.875rem;
    align-items: flex-start;
}

.footer-contact-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(237, 27, 47, 0.12);
    border-radius: 8px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.footer-contact-icon svg {
    width: 18px;
    height: 18px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.footer-contact-label {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

.footer-contact-value {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.footer-contact-value a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-value a:hover {
    color: var(--color-accent);
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */

.footer-newsletter {
    margin-top: 2.5rem;
    padding-top: 2rem;
}

.footer-newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.footer-newsletter-text {
    flex-shrink: 0;
}

.footer-newsletter-title {
    font-family: var(--font-family-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
}

.footer-newsletter-desc {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

.footer-newsletter-form {
    display: flex;
    gap: 0.625rem;
    flex: 1;
    max-width: 460px;
}

.footer-newsletter-input-wrapper {
    flex: 1;
}

.footer-newsletter-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.footer-newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.footer-newsletter-input:focus {
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.1);
}

.footer-newsletter-btn {
    padding: 0.75rem 1.5rem;
    font-family: var(--font-family-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    background: var(--color-accent);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-newsletter-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.footer-newsletter-btn:hover {
    background: #d4172a;
    transform: translateY(-1px);
}

.footer-newsletter-btn:hover svg {
    transform: translateX(3px);
}

/* ============================================
   FOOTER BOTTOM
   ============================================ */

.footer-bottom {
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.15);
}

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

.footer-copyright {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-link {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal-link:hover {
    color: #fff;
}

/* ============================================
   SCROLL TO TOP
   ============================================ */

.scroll-to-top,
.scroll-to-top-footer {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(237, 27, 47, 0.3);
}

.scroll-to-top-footer {
    position: absolute;
    bottom: calc(100% + 2rem);
    right: 2rem;
}

.scroll-to-top.visible,
.scroll-to-top-footer.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover,
.scroll-to-top-footer:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(237, 27, 47, 0.4);
}

.scroll-to-top svg,
.scroll-to-top-footer svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

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

    .footer-brand {
        max-width: none;
        grid-column: 1 / -1;
    }

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

    .footer-newsletter-form {
        max-width: none;
        width: 100%;
    }
}

@media (max-width: 639px) {
    .footer-main {
        padding: 2.5rem 0 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-newsletter-form {
        flex-direction: column;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .footer-legal-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    .social-link,
    .footer-nav-link,
    .footer-newsletter-btn,
    .scroll-to-top,
    .scroll-to-top-footer {
        transition: none;
    }
}
