/* Ortak tenant site temeli — Bootstrap'e bagimli degil */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { text-decoration: none; color: inherit; }

.tenant-wrap {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.tenant-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 2.5rem;
    align-items: start;
}

.tenant-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.tenant-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.tenant-form-field { margin-bottom: 1rem; }

.tenant-form-field label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: inherit;
    opacity: 0.75;
}

.tenant-form-field input,
.tenant-form-field textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    font-family: inherit;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #111;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.tenant-form-field input:focus,
.tenant-form-field textarea:focus {
    outline: none;
    border-color: var(--tenant-accent, #2563eb);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--tenant-accent, #2563eb) 20%, transparent);
}

.tenant-form-field textarea { resize: vertical; min-height: 120px; }

.tenant-alert {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.tenant-alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.tenant-alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

@media (max-width: 900px) {
    .tenant-grid-2,
    .tenant-grid-3,
    .tenant-form-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .tenant-grid-3 { grid-template-columns: 1fr; }
}

.t-stats-band {
    padding: 3.5rem 0;
    background: linear-gradient(135deg, color-mix(in srgb, var(--tenant-accent, #2563eb) 8%, #fff) 0%, #fff 100%);
    border-block: 1px solid color-mix(in srgb, var(--tenant-accent, #2563eb) 12%, transparent);
}

.t-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
}

.t-stat-card {
    text-align: center;
    padding: 1.75rem 1.25rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid color-mix(in srgb, var(--tenant-accent, #2563eb) 18%, #e5e7eb);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.t-stat-value {
    display: block;
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.1;
    font-weight: 800;
    color: var(--tenant-accent, #2563eb);
    letter-spacing: -0.03em;
}

.t-stat-label {
    display: block;
    margin-top: 0.5rem;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.4;
}

.t-references-band {
    padding: 4rem 0;
    background: #fafafa;
}

.t-references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}

.t-reference-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110px;
    padding: 1.5rem 1.75rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.t-reference-card:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--tenant-accent, #2563eb) 35%, #e5e7eb);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.t-reference-card img {
    max-height: 56px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.88;
    transition: filter 0.2s ease, opacity 0.2s ease;
}

.t-reference-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.t-reference-name {
    font-weight: 700;
    color: #475569;
    text-align: center;
    font-size: 0.95rem;
}

.t-lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: 0.75rem;
    padding: 0.2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.t-lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.4rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    color: inherit;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    opacity: 0.72;
    transition: background 0.15s ease, opacity 0.15s ease, color 0.15s ease;
}

.t-lang-btn:hover {
    opacity: 1;
    color: inherit;
}

.t-lang-btn.is-active {
    background: var(--tenant-accent, #2563eb);
    color: #fff;
    opacity: 1;
}

.t-cta-band { background: var(--tenant-accent, #2563eb); color: #fff; text-align: center; }
.t-cta-inner { padding: 2.5rem 1rem; }
.t-cta-band h2 { margin-bottom: 1rem; }

.t-map-embed iframe { width: 100%; height: 220px; border: 0; border-radius: 8px; }

.t-card-price { font-weight: 700; color: var(--tenant-accent, #2563eb); margin-top: 0.5rem; }
