/* footer.css — daha şık, ikonlu iletişim satırları + üst aksan çizgisi */

.site-footer {
    position: relative;
    background: var(--color-bg-dark);
    color: var(--color-text-muted);
    margin-top: 40px;
    border-radius: var(--radius-hero) var(--radius-hero) 0 0;
    overflow: hidden;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent) 35%, var(--color-accent) 65%, transparent);
    opacity: .8;
}

.footer-top {
    padding: 64px clamp(20px, 4vw, 64px) 32px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand p { font-size: 13px; line-height: 1.85; color: var(--color-text-muted); max-width: 320px; margin-top: 2px; }
.footer-logo { height: 32px; width: auto; margin-bottom: 18px; }

.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
    width: 36px; height: 36px;
    display: grid; place-items: center;
    border: 1px solid var(--color-border-light);
    border-radius: 50%;
    color: var(--color-text-muted);
    transition: border-color .25s ease, color .25s ease, transform .25s ease;
}
.footer-social a svg { width: 16px; height: 16px; }
.footer-social a:hover { border-color: var(--color-accent); color: #fff; transform: translateY(-2px); }

.footer-col h4 {
    color: var(--color-text-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}
.footer-col h4::after {
    content: '';
    position: absolute; left: 0; bottom: 0;
    width: 26px; height: 2px;
    background: var(--color-accent);
}
.footer-col a {
    display: block;
    font-size: 13.5px;
    line-height: 2.15;
    color: var(--color-text-muted);
    transition: color var(--dur-fast), transform var(--dur-fast);
}
.footer-col a:hover { color: var(--color-text-light); transform: translateX(3px); }

.footer-col a.footer-contact-line,
.footer-contact-line { display: flex; align-items: flex-start; gap: 10px; line-height: 1.7; }
.footer-contact-line:hover { transform: none; }
.footer-contact-line svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--color-accent); margin-top: 4px; }
.footer-contact-line address { font-style: normal; }

.footer-bottom {
    border-top: 1px solid var(--color-border-light);
    padding: 20px clamp(20px, 4vw, 64px) 24px;
    display: flex;
    justify-content: space-between;
    font-size: 11.5px;
    letter-spacing: .02em;
    flex-wrap: wrap;
    gap: 8px;
    color: rgba(255,255,255,.42);
}

@media (max-width: 1100px) {
    .footer-top { grid-template-columns: 1fr 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

/* ------------------------------------------------------------------
   MOBİL FOOTER
   Tek sütun, daha sıkı boşluklar, ortalanmış marka bloğu ve
   ortalanmış alt telif satırı.
   ------------------------------------------------------------------ */
@media (max-width: 700px) {
    .site-footer { margin-top: 24px; border-radius: 26px 26px 0 0; }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 44px 22px 26px;
    }

    .footer-brand { text-align: center; }
    .footer-brand p { max-width: none; font-size: 12.5px; }
    .footer-logo { height: 28px; margin-inline: auto; }
    .footer-social { justify-content: center; margin-top: 18px; }

    .footer-col h4 {
        margin-bottom: 14px;
        padding-bottom: 10px;
        font-size: 11px;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }
    .footer-col h4::after { bottom: -1px; }
    .footer-col a { font-size: 13px; line-height: 2.05; }
    .footer-col a:hover { transform: none; }
    /* Adres satırı diğerleriyle aynı puntoda kalsın */
    .footer-contact-line address { font-size: 12.5px; line-height: 1.7; }
    .footer-contact-line { margin-bottom: 4px; }

    .footer-bottom {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 6px;
        padding: 18px 22px 22px;
        font-size: 11px;
    }
}

/* ==================================================================
   Sabit (fixed) WhatsApp butonu — tüm sayfalarda sağ altta
   ================================================================== */
.whatsapp-fab{
    position:fixed;
    right:clamp(16px,2vw,26px);
    bottom:clamp(16px,2vw,26px);
    z-index:90;
    display:inline-flex;
    align-items:center;
    gap:0;
    height:56px;
    padding:0 16px;
    border-radius:999px;
    background:#25D366;
    color:#fff;
    box-shadow:0 10px 26px rgba(37,211,102,.38), 0 3px 10px rgba(0,0,0,.18);
    overflow:hidden;
    transition:gap .3s cubic-bezier(.2,.8,.2,1), padding .3s cubic-bezier(.2,.8,.2,1), transform .25s ease, box-shadow .25s ease;
}
.whatsapp-fab svg{width:28px;height:28px;flex-shrink:0}
.whatsapp-fab-label{
    max-width:0;
    opacity:0;
    white-space:nowrap;
    font-size:13px;
    font-weight:600;
    transition:max-width .35s cubic-bezier(.2,.8,.2,1), opacity .25s ease;
}
.whatsapp-fab:hover,.whatsapp-fab:focus-visible{
    gap:10px;
    transform:translateY(-2px);
    box-shadow:0 14px 32px rgba(37,211,102,.45), 0 4px 12px rgba(0,0,0,.2);
}
.whatsapp-fab:hover .whatsapp-fab-label,
.whatsapp-fab:focus-visible .whatsapp-fab-label{max-width:110px;opacity:1}

/* Dikkat çekmesi için hafif nabız halkası */
.whatsapp-fab::before{
    content:'';
    position:absolute;
    inset:0;
    border-radius:inherit;
    box-shadow:0 0 0 0 rgba(37,211,102,.55);
    animation:wa-pulse 2.6s ease-out infinite;
    pointer-events:none;
}
@keyframes wa-pulse{
    0%   {box-shadow:0 0 0 0 rgba(37,211,102,.5)}
    70%  {box-shadow:0 0 0 16px rgba(37,211,102,0)}
    100% {box-shadow:0 0 0 0 rgba(37,211,102,0)}
}

@media(max-width:650px){
    .whatsapp-fab{height:52px;padding:0 14px}
    .whatsapp-fab svg{width:26px;height:26px}
    .whatsapp-fab:hover .whatsapp-fab-label{max-width:0;opacity:0}
    .whatsapp-fab:hover{gap:0}
}
@media (prefers-reduced-motion: reduce){
    .whatsapp-fab::before{animation:none}
}
