/* Business — kurumsal koyu tema */
.template-business {
    --t-bg: #060608;
    --t-gray: #0c0c10;
    --t-surface: rgba(255, 255, 255, 0.04);
    --t-surface-hover: rgba(255, 255, 255, 0.07);
    --t-text: #fafafa;
    --t-muted: #a1a1aa;
    --t-border: rgba(255, 255, 255, 0.08);
    --t-header-h: 72px;
    background: var(--t-bg);
    color: var(--t-text);
    font-family: Inter, system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

.template-business::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 50% at 10% -5%, color-mix(in srgb, var(--tenant-accent) 14%, transparent), transparent 55%),
        radial-gradient(ellipse 50% 40% at 95% 5%, rgba(99, 102, 241, 0.07), transparent 50%);
    z-index: 0;
}

.template-business > * { position: relative; z-index: 1; }

/* Header */
.template-business .t-header {
    position: sticky;
    top: 0;
    z-index: 200;
    height: var(--t-header-h);
    background: rgba(6, 6, 8, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--t-border);
}

.template-business .t-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--t-header-h);
    gap: 1.5rem;
}

.template-business .t-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
    text-decoration: none;
    color: var(--t-text);
}

.template-business .t-brand-logo {
    height: var(--tenant-logo-h, 40px);
    width: auto;
    max-width: var(--tenant-logo-w, 140px);
    object-fit: contain;
}

.template-business .t-brand-name {
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
}

.template-business .t-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.template-business .t-menu a {
    padding: 0.5rem 0.85rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--t-muted);
    border-radius: 6px;
    text-decoration: none;
    transition: color 0.15s, background 0.15s;
}

.template-business .t-menu a:hover {
    color: var(--t-text);
    background: var(--t-surface);
}

.template-business .t-menu-cta {
    background: var(--tenant-accent) !important;
    color: #fff !important;
    margin-left: 0.5rem;
    padding: 0.5rem 1.1rem !important;
}

.template-business .t-menu-cta:hover {
    filter: brightness(1.1);
    background: var(--tenant-accent) !important;
    color: #fff !important;
}

.template-business .t-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: var(--t-surface);
    border: 1px solid var(--t-border);
    border-radius: 8px;
    cursor: pointer;
}

.template-business .t-menu-btn span {
    display: block;
    height: 2px;
    background: var(--t-text);
    border-radius: 1px;
}

/* Hero */
.template-business .t-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.template-business .t-hero-default {
    background: linear-gradient(160deg, #0a0a0f 0%, #060608 50%, #0d0d14 100%);
}

.template-business .t-hero-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(6, 6, 8, 0.92) 0%, rgba(6, 6, 8, 0.7) 55%, rgba(6, 6, 8, 0.45) 100%);
}

.template-business .t-hero-inner {
    position: relative;
    z-index: 1;
    padding: 4rem 0;
}

.template-business .t-hero-text { max-width: 620px; }

.template-business .t-hero-badge {
    display: inline-block;
    margin: 0 0 1rem;
    padding: 0.35rem 0.85rem;
    background: color-mix(in srgb, var(--tenant-accent) 15%, transparent);
    color: var(--tenant-accent);
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--tenant-accent) 35%, transparent);
}

.template-business .t-hero h1 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--t-text);
}

.template-business .t-hero-desc {
    margin: 0 0 2rem;
    font-size: 1.125rem;
    color: var(--t-muted);
    line-height: 1.7;
    max-width: 520px;
}

.template-business .t-hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Buttons */
.template-business .t-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}

.template-business .t-btn-primary {
    background: var(--tenant-accent);
    color: #fff;
    box-shadow: 0 4px 20px color-mix(in srgb, var(--tenant-accent) 40%, transparent);
}

.template-business .t-btn-primary:hover {
    color: #fff;
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.template-business .t-btn-secondary {
    background: transparent;
    color: var(--t-text);
    border: 1px solid var(--t-border);
}

.template-business .t-btn-secondary:hover {
    background: var(--t-surface);
    border-color: rgba(255, 255, 255, 0.18);
    color: var(--t-text);
}

.template-business .t-btn-block { width: 100%; }

/* Sections */
.template-business .t-section { padding: 5rem 0; }

.template-business .t-section-gray {
    background: var(--t-gray);
    border-top: 1px solid var(--t-border);
    border-bottom: 1px solid var(--t-border);
}

.template-business .t-section-head { margin-bottom: 2.5rem; }
.template-business .t-section-head-center { text-align: center; }

.template-business .t-section-tag {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--tenant-accent);
    margin-bottom: 0.5rem;
}

.template-business .t-section-head h2 {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--t-text);
}

.template-business .t-about-text {
    max-width: 720px;
    font-size: 1.0625rem;
    color: var(--t-muted);
    line-height: 1.85;
}

/* Cards */
.template-business .t-card {
    background: var(--t-surface);
    border: 1px solid var(--t-border);
    border-radius: 14px;
    padding: 2rem 1.75rem;
    backdrop-filter: blur(12px);
    transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.template-business .t-card:hover {
    transform: translateY(-3px);
    background: var(--t-surface-hover);
    border-color: color-mix(in srgb, var(--tenant-accent) 30%, transparent);
}

.template-business .t-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--tenant-accent) 15%, transparent);
    color: var(--tenant-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
}

.template-business .t-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--t-text);
}

.template-business .t-card p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--t-muted);
    line-height: 1.65;
}

.template-business .t-card-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.25rem;
}

/* Contact */
.template-business .t-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.template-business .t-contact-row {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.template-business .t-contact-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 10px;
    background: color-mix(in srgb, var(--tenant-accent) 15%, transparent);
    color: var(--tenant-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.template-business .t-contact-row strong {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--t-muted);
    margin-bottom: 0.15rem;
}

.template-business .t-contact-row a,
.template-business .t-contact-row span {
    font-size: 0.9375rem;
    color: var(--t-text);
    text-decoration: none;
}

.template-business .t-contact-row a:hover { color: var(--tenant-accent); }

.template-business .t-social {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.template-business .t-social a {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--t-surface);
    border: 1px solid var(--t-border);
    color: var(--t-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.template-business .t-social a:hover {
    background: var(--tenant-accent);
    border-color: var(--tenant-accent);
    color: #fff;
}

.template-business .t-form-box {
    background: var(--t-surface);
    border: 1px solid var(--t-border);
    border-radius: 14px;
    padding: 2rem;
    backdrop-filter: blur(12px);
}

/* Koyu tema form alanlari */
.template-business .tenant-form-field label { color: var(--t-muted); opacity: 1; }

.template-business .tenant-form-field input,
.template-business .tenant-form-field textarea {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--t-border);
    color: var(--t-text);
}

.template-business .tenant-form-field input::placeholder,
.template-business .tenant-form-field textarea::placeholder { color: #52525b; }

.template-business .tenant-form-field input:focus,
.template-business .tenant-form-field textarea:focus {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--tenant-accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--tenant-accent) 20%, transparent);
}

.template-business .tenant-alert-success {
    background: rgba(34, 197, 94, 0.12);
    color: #86efac;
    border-color: rgba(34, 197, 94, 0.25);
}

.template-business .tenant-alert-error {
    background: rgba(239, 68, 68, 0.12);
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.25);
}

/* Footer */
.template-business .t-footer {
    background: #030305;
    border-top: 1px solid var(--t-border);
    color: #71717a;
    padding: 2rem 0;
    font-size: 0.875rem;
}

.template-business .t-footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.template-business .t-footer p { margin: 0; }

.template-business .t-footer a {
    color: var(--tenant-accent);
    text-decoration: none;
}

.template-business .t-footer a:hover { color: #fff; }

.template-business .t-preview-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #f59e0b;
    color: #000;
    text-align: center;
    padding: 0.6rem;
    font-weight: 600;
    font-size: 0.875rem;
    z-index: 9999;
}

@media (max-width: 768px) {
    .template-business .t-menu-btn { display: flex; }

    .template-business .t-menu {
        display: none;
        position: absolute;
        top: var(--t-header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(6, 6, 8, 0.98);
        border-bottom: 1px solid var(--t-border);
        padding: 1rem 1.25rem;
    }

    .template-business .t-menu.open { display: flex; }

    .template-business .t-menu a {
        width: 100%;
        padding: 0.75rem 0;
    }

    .template-business .t-menu-cta {
        margin-left: 0 !important;
        text-align: center;
        margin-top: 0.5rem;
    }

    .template-business .t-header-inner { position: relative; }

    .template-business .t-brand-name {
        font-size: 0.95rem;
        max-width: 140px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .template-business .t-hero { min-height: 420px; }
    .template-business .t-hero-inner { padding: 3rem 0; }
    .template-business .t-section { padding: 3.5rem 0; }
}
