/* YBS Footer Block — site geneli footer
   HTML class'lari: ybs-footer-info, ybs-footer-info__icon/label/value,
                    ybs-footer-h, ybs-footer-link, ybs-footer-cta-wa, ybs-footer-map
   Tailwind utility class'lar partial icinde ek olarak kullaniliyor (bg-slate-900 vs).
   Bu CSS ozel ybs-* class'lara stil verir.
   ============================================================ */

/* Bilgi karti (adres, telefon, email, calisma saatleri) */
.ybs-footer-info {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0.875rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.18s ease, border-color 0.18s ease;
}

.ybs-footer-info:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(245, 158, 11, 0.3);
}

.ybs-footer-info__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
}

.ybs-footer-info__icon svg {
    width: 1.125rem;
    height: 1.125rem;
    stroke-width: 1.6;
    fill: none;
    stroke: currentColor;
}

.ybs-footer-info__label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.125rem;
}

.ybs-footer-info__value {
    display: block;
    font-size: 0.875rem;
    line-height: 1.45;
    color: #e2e8f0;
    text-decoration: none;
    word-break: break-word;
}

a.ybs-footer-info__value:hover {
    color: #f59e0b;
}

/* Baslik */
.ybs-footer-h {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.075em;
    margin: 0 0 1rem;
    padding-bottom: 0.625rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Link listesi */
.ybs-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: #cbd5e1;
    text-decoration: none;
    padding: 0.25rem 0;
    transition: color 0.15s ease, transform 0.15s ease;
}

.ybs-footer-link:hover {
    color: #f59e0b;
    transform: translateX(2px);
}

.ybs-footer-link::before {
    content: '→';
    font-size: 0.875rem;
    color: #475569;
    transition: color 0.15s ease;
}

.ybs-footer-link:hover::before {
    color: #f59e0b;
}

/* WhatsApp CTA */
.ybs-footer-cta-wa {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 12px -4px rgba(37, 211, 102, 0.4);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ybs-footer-cta-wa:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px -4px rgba(37, 211, 102, 0.55);
    color: #ffffff;
}

.ybs-footer-cta-wa svg {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
}

/* Maps embed wrapper */
.ybs-footer-map {
    position: relative;
    border-radius: 0.875rem;
    overflow: hidden;
    background: #1e293b;
}

/* Footer ana wrapper varsa stil */
footer.ybs-footer,
.ybs-footer-wrap {
    background: #0f172a;
    color: #cbd5e1;
}

/* Mobile */
@media (max-width: 640px) {
    .ybs-footer-info {
        padding: 0.625rem 0.75rem;
    }
    .ybs-footer-info__icon {
        width: 1.75rem;
        height: 1.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ybs-footer-link:hover,
    .ybs-footer-cta-wa:hover {
        transform: none;
    }
}
