/* Primeviare — kurumsal site (index, emlak) */
:root {
    --xy-brand: #059669;
    --xy-brand-dark: #047857;
    --xy-brand-light: #10b981;
    --xy-brand-muted: rgba(5, 150, 105, 0.12);
    --xy-navy: #0c1222;
    --xy-navy-mid: #151d33;
    --xy-navy-dark: #080c16;
    --xy-blue: #2563eb;
    --xy-blue-soft: #3b7cff;
    --xy-emerald: #059669;
    --xy-emerald-deep: #047857;
    --xy-emerald-light: #34d399;
    --xy-slate: #64748b;
    --xy-border: rgba(148, 163, 184, 0.22);
    --xy-radius: 16px;
}

body.xy-site {
    font-family: "DM Sans", system-ui, -apple-system, sans-serif;
    background: #f4f6fa;
    color: #1e293b;
    min-height: 100vh;
}

body.xy-site h1,
body.xy-site h2,
body.xy-site h3,
body.xy-site .font-outfit {
    font-family: "Outfit", "DM Sans", sans-serif;
}

.xy-topbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--xy-border);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset, 0 8px 32px rgba(12, 18, 34, 0.05);
}

.xy-topbar .container { max-width: 1140px; }

.xy-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    color: var(--xy-navy);
    min-width: 0;
}

.xy-logo:hover { color: var(--xy-navy); }

.xy-logo__img {
    display: block;
    height: 56px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    flex-shrink: 0;
}

.xy-logo__text {
    display: none;
    flex-direction: column;
    line-height: 1.15;
    gap: 0.1rem;
    min-width: 0;
}

@media (min-width: 576px) {
    .xy-logo__text { display: flex; }
}

.xy-logo__text strong {
    display: block;
    font-family: "Outfit", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--xy-brand);
    white-space: nowrap;
}

.xy-logo__text span {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--xy-slate);
    line-height: 1.35;
}

.xy-logo__mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(145deg, var(--xy-navy) 0%, #1e3a5f 100%);
    color: #fff;
    font-family: "Outfit", sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(12, 18, 34, 0.22);
}

.xy-logo__text { line-height: 1.1; }
.xy-logo__text strong { display: block; font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; }
.xy-logo__text span { font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--xy-slate); }

.xy-nav-link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--xy-slate);
    text-decoration: none;
    padding: 0.4rem 0.65rem;
    border-radius: 8px;
    transition: color 0.15s, background 0.15s;
}

.xy-nav-link:hover,
.xy-nav-link.is-active {
    color: var(--xy-navy);
    background: rgba(37, 99, 235, 0.07);
}

.xy-nav-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 8px;
    color: var(--xy-brand);
    background: var(--xy-brand-muted);
    text-decoration: none;
    font-size: 1.05rem;
    transition: transform 0.15s, background 0.15s, color 0.15s;
}

.xy-nav-social:hover {
    color: #fff;
    background: #c13584;
    transform: translateY(-1px);
}

/* Mobil menü (yandan offcanvas) */
.xy-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border: 1px solid var(--xy-border);
    border-radius: 12px;
    background: #fff;
    color: var(--xy-brand);
    font-size: 1.45rem;
    line-height: 1;
    padding: 0;
}

.xy-menu-toggle:hover {
    background: var(--xy-brand-muted);
}

.xy-head-btn--compact {
    padding: 0.45rem 0.65rem !important;
}

.xy-offcanvas {
    width: min(88vw, 320px);
    border-left: 1px solid var(--xy-border);
}

.xy-offcanvas-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    color: #0c1222;
    font-weight: 600;
    font-size: 0.95rem;
}

.xy-offcanvas-link i {
    color: var(--xy-brand);
    font-size: 1.1rem;
    width: 1.25rem;
    text-align: center;
}

.xy-offcanvas-link:hover,
.xy-offcanvas-link.is-active {
    background: var(--xy-brand-muted);
    color: var(--xy-brand);
}

@media (max-width: 575.98px) {
    .xy-logo__img {
        height: 44px;
        max-width: 96px;
    }
    .xy-topbar .container {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }
}

.xy-footer-social {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255,255,255,.9);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
}

.xy-footer-social:hover { color: #fff; }

.xy-head-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.15s, box-shadow 0.15s;
}

.xy-head-btn--line {
    color: var(--xy-navy);
    background: #fff;
    border: 1px solid rgba(37, 99, 235, 0.28);
}

.xy-head-btn--line:hover { background: rgba(37, 99, 235, 0.05); color: var(--xy-blue); }

.xy-head-btn--fill {
    color: #fff;
    border: none;
    background: linear-gradient(135deg, var(--xy-emerald), var(--xy-emerald-deep));
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.3);
}

.xy-head-btn--fill:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--xy-emerald-light), var(--xy-emerald));
    box-shadow: 0 6px 22px rgba(5, 150, 105, 0.38);
}

.xy-head-account {
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--xy-border);
    background: #fff;
    color: var(--xy-navy);
}

.xy-dropdown-menu {
    min-width: 220px;
    padding: 0.5rem;
    border: 1px solid var(--xy-border);
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(12, 18, 34, 0.12);
}

.xy-dropdown-menu .dropdown-item { border-radius: 10px; font-size: 0.875rem; font-weight: 500; }

.xy-kicker {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--xy-blue);
    margin-bottom: 0.65rem;
}

.section-title {
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--xy-navy);
}

.section-sub {
    color: var(--xy-slate);
    font-size: 0.95rem;
    max-width: 40rem;
    line-height: 1.65;
}

.xy-footer {
    background: var(--xy-navy);
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.875rem;
}

.xy-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.xy-footer a:hover { color: #fff; }

.xy-footer-logo-wrap { display: none; }

.xy-footer-logo {
    height: 52px;
    width: auto;
    max-width: 100px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.92;
}

body.xy-site .btn-success {
    --bs-btn-bg: var(--xy-brand);
    --bs-btn-border-color: var(--xy-brand);
    --bs-btn-hover-bg: var(--xy-brand-dark);
    --bs-btn-hover-border-color: var(--xy-brand-dark);
    --bs-btn-active-bg: var(--xy-brand-dark);
    --bs-btn-active-border-color: var(--xy-brand-dark);
}

body.xy-site .badge.bg-success {
    background-color: var(--xy-brand) !important;
}

/* Vitrin kartları */
.ilan-vitrin-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: var(--xy-radius);
    border: 1px solid var(--xy-border);
    overflow: hidden;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.ilan-vitrin-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(12, 18, 34, 0.1);
    border-color: rgba(37, 99, 235, 0.28);
    color: inherit;
}

.ilan-vitrin-card__media {
    position: relative;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #eef2ff, #ffffff);
    overflow: hidden;
}

.ilan-vitrin-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ilan-vitrin-card__media .ilan-img--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 2.5rem;
    color: var(--xy-emerald);
    opacity: 0.35;
}

.ilan-vitrin-card__badges {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.ilan-vitrin-card__body { padding: 1.15rem 1.25rem 1.25rem; }

.ilan-vitrin-card__price {
    font-family: "Outfit", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--xy-navy);
}

.ilan-vitrin-card__meta {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--xy-slate);
}

.info-card {
    background: #fff;
    border: 1px solid var(--xy-border);
    border-radius: var(--xy-radius);
    padding: 1.5rem;
    height: 100%;
    transition: box-shadow 0.2s;
}

.info-card:hover { box-shadow: 0 12px 36px rgba(12, 18, 34, 0.06); }

.info-card .ic {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.info-card.ic-blue .ic { background: rgba(37, 99, 235, 0.1); color: var(--xy-blue); }
.info-card.ic-green .ic { background: rgba(5, 150, 105, 0.12); color: var(--xy-emerald); }

.product-card {
    border-radius: calc(var(--xy-radius) + 4px);
    border: 1px solid var(--xy-border);
    background: #fff;
    height: 100%;
}

.product-card.apartman { border-top: 4px solid var(--xy-blue); }
.product-card.emlak { border-top: 4px solid var(--xy-emerald); }

.product-card .icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.product-card.apartman .icon-wrap { background: rgba(37, 99, 235, 0.1); color: var(--xy-blue); }
.product-card.emlak .icon-wrap { background: rgba(5, 150, 105, 0.12); color: var(--xy-emerald); }

.product-card ul { padding-left: 1.1rem; color: var(--xy-slate); font-size: 0.9rem; }
.product-card ul li { margin-bottom: 0.35rem; }
