
/* ========== FOOTER ========== */
.footer {
    background: var(--gray-900);
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 84, 0, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.footer::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 84, 219, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* Footer CTA */
.footer-cta {
    padding: 56px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.footer-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(0, 84, 219, 0.12);
    color: var(--orange-light);
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-cta h3 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.footer-cta p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.55);
    max-width: 520px;
    margin: 0 auto 28px;
    line-height: 1.7;
}

.footer-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-cta .btn-primary {
    padding: 13px 32px;
    font-size: 15px;
    border-radius: var(--radius-md);
}

.footer-cta .btn-ghost {
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 28px;
    font-size: 15px;
    border-radius: var(--radius-md);
}

.footer-cta .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

/* Footer Main */
.footer-main {
    padding: 60px 0 40px;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr;
    gap: 40px;
}

.footer-brand p {
    font-size: 13.5px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 18px;
    margin-bottom: 24px;
    max-width: 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 3px;
}

.footer-logo .logo-text .site-name {
    color: var(--white);
}

.footer-logo .logo-text .site-domain {
    color: rgba(255, 255, 255, 0.35);
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition);
}

.footer-social-link:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: white;
    transform: translateY(-2px);
}

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

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: var(--orange);
}

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

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

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

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

.footer-contact-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--teal-light);
}

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

.footer-contact-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

.footer-contact-text strong {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    margin-bottom: 2px;
}

/* Footer Bottom */
.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

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

.footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
}

.footer-copyright a {
    color: var(--orange-light);
    font-weight: 600;
    transition: color var(--transition);
}

.footer-copyright a:hover {
    color: var(--orange);
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    transition: color var(--transition);
}

.footer-bottom-links a:hover {
    color: rgba(255, 255, 255, 0.7);
}

.footer-payment {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-left: auto;
}

.footer-payment-logos {
    width: 360px;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.footer-payment-icon {
    height: 24px;
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.02em;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .main-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .header-actions .btn-outline,
    .header-actions .btn-ghost {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 32px;
    }

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

@media (max-width: 768px) {
    .topbar-static {
        display: none;
    }

    .topbar-actions {
        display: none;
    }

    .topbar {
        height: 32px;
    }

    :root {
        --topbar-height: 32px;
    }

    .bottom-nav {
        display: block;
    }

    body {
        padding-bottom: 60px;
    }

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

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

    .footer-cta {
        padding: 40px 0;
    }

    .footer-main {
        padding: 40px 0 32px;
    }

    .header-actions .btn-primary span {
        display: none;
    }

    .header-actions .btn-primary {
        padding: 10px 12px;
    }

    .footer-bottom-inner {
        justify-content: center;
        text-align: center;
    }

    .footer-payment {
        justify-content: center;
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-brand {
        grid-column: 1;
    }

    .footer-cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .footer-cta-actions .btn {
        width: 100%;
    }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header {
    animation: fadeInUp 0.5s ease;
}

/* WhatsApp Float — konum inline style ile destek ayarlarından gelir; aşağıdaki right/bottom yedek değer */
.whatsapp-float {
    position: fixed;
    bottom: 80px;
    right: 20px;
    left: auto;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
    z-index: 997;
    transition: all var(--transition);
}

.whatsapp-float--left + .scroll-top {
    right: 20px;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.45);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

@media (min-width: 769px) {
    /* Alt boşluk artık admin’den (inline) gelir; yalnızca inline yoksa eski masaüstü varsayılanı */
    .whatsapp-float:not([style*='bottom']) {
        bottom: 24px;
    }
}

/* Scroll to top */
.scroll-top {
    position: fixed;
    bottom: 80px;
    right: 84px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gray-800);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 997;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
}

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

.scroll-top:hover {
    background: var(--teal);
    transform: translateY(-2px);
}

.scroll-top svg {
    width: 18px;
    height: 18px;
}

@media (min-width: 769px) {
    .scroll-top {
        bottom: 24px;
        right: 84px;
    }
}
