/* Genel site kabuğu (landing ana sayfa) — app.css’in hafif alt kümesi */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #1d2327;
    background: #f0f0f1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: #135e96;
    text-decoration: underline;
    text-underline-offset: 2px;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid #e8eaed;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    gap: 20px;
    max-width: 1180px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.125rem;
    color: #0f172a;
    text-decoration: none;
    min-width: 0;
    line-height: 1;
    flex-shrink: 0;
}

.brand:hover {
    color: #145c42;
    text-decoration: none;
}

.brand-text {
    white-space: nowrap;
    letter-spacing: -0.02em;
}

.brand--logo .brand-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    min-width: 0;
    flex-wrap: nowrap;
    gap: 12px 18px;
}

.site-nav-links,
.site-nav-actions {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 2px;
}

.site-nav-actions {
    gap: 8px;
    margin-left: 4px;
    padding-left: 14px;
    border-left: 1px solid #e2e8f0;
}

.nav a,
.site-nav a {
    text-decoration: none;
    color: #334155;
    min-height: 36px;
    padding: 0 11px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    transition: color 0.15s ease, background 0.15s ease;
}

.nav a:not(.btn):hover,
.nav a:not(.btn):focus-visible,
.site-nav a:not(.btn):hover,
.site-nav a:not(.btn):focus-visible {
    color: #0f172a;
    background: #f1f5f9;
    text-decoration: none;
}

.site-nav-panel {
    font-weight: 600 !important;
    color: #145c42 !important;
    background: #ecfdf5;
}

.site-nav-panel:hover,
.site-nav-panel:focus-visible {
    background: #d1fae5 !important;
    color: #0f4834 !important;
}

.nav-user {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #64748b;
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0 4px;
}

.site-nav-cikis {
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #475569;
    border-color: #cbd5e1;
    background: #fff;
}

.site-nav-cikis:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
}

.inline-form {
    display: inline;
    margin: 0;
}

.site-main {
    flex: 1;
    padding: 0;
}

.site-footer {
    background: #fff;
    border-top: 1px solid #c3c4c7;
    padding: 20px 0;
    color: #50575e;
    font-size: 0.875rem;
}

.site-footer p {
    margin: 0;
}

.site-logo {
    display: block;
    height: 44px;
    width: auto;
    max-width: 200px;
    max-height: 44px;
    object-fit: contain;
    object-position: left center;
    vertical-align: middle;
    margin-right: 0;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .site-logo {
        height: 40px;
        max-height: 40px;
        max-width: 160px;
    }
}

.site-nav {
    flex-wrap: nowrap;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 16px;
}

.footer-nav a {
    color: #135e96;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-size: 0.875rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.footer-custom {
    margin-bottom: 16px;
    font-size: 0.875rem;
}

.footer-android {
    margin: 0 0 14px;
}

.footer-android-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: 1px solid #dde3df;
    border-radius: 8px;
    background: #f4faf7;
    color: #145c42;
    text-decoration: none;
    max-width: 100%;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.footer-android-link:hover,
.footer-android-link:focus-visible {
    background: #e8f5ef;
    border-color: #1a805b;
    color: #0f4834;
    text-decoration: none;
}

.footer-android-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: block;
}

.footer-android-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    line-height: 1.25;
    min-width: 0;
}

.footer-android-text strong {
    font-size: 0.875rem;
    font-weight: 600;
}

.footer-android-meta {
    color: #64748b;
    font-size: 0.75rem;
}

.footer-copy {
    color: #50575e;
}

.footer-copy a {
    color: #135e96;
    text-decoration: underline;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 4px;
    border: 1px solid transparent;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    line-height: 1.4;
    background: transparent;
    color: #135e96;
    min-height: 44px;
}

.btn:hover {
    text-decoration: none;
}

.btn-primary {
    background: #135e96;
    color: #fff;
    border-color: #135e96;
}

.btn-primary:hover {
    background: #0c4a6e;
    border-color: #0c4a6e;
    color: #fff;
}

.btn-ghost {
    color: #50575e;
    border-color: #c3c4c7;
}

.btn-sm {
    padding: 8px 14px;
    font-size: 0.875rem;
}

.alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin: 16px 20px;
}

.alert-error {
    background: #fcf0f1;
    border: 1px solid #d63638;
    color: #8a2424;
}

.alert-success {
    background: #edfaef;
    border: 1px solid #00a32a;
    color: #00661a;
}

.alert-info {
    background: #f0f6fc;
    border: 1px solid #72aee6;
    color: #1e3a5f;
}

.site-nav-toggle {
    display: none;
}

@media (max-width: 1024px) {
    .site-nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin-left: auto;
        padding: 0;
        border: 1px solid #c3c4c7;
        border-radius: 10px;
        background: #fff;
        font-size: 1.25rem;
        cursor: pointer;
    }

    .header-inner {
        flex-wrap: wrap;
        gap: 10px;
    }

    .site-header .site-nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        order: 3;
        gap: 10px;
        padding: 12px 0 8px;
        border-top: 1px solid #e2e8f0;
    }

    .site-header.nav-open .site-nav {
        display: flex;
    }

    .site-nav-links,
    .site-nav-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 4px;
        margin-left: 0;
        padding-left: 0;
        border-left: none;
    }

    .site-nav-actions {
        padding-top: 8px;
        border-top: 1px solid #e2e8f0;
    }

    .site-nav a,
    .site-nav .btn {
        width: 100%;
        min-height: 44px;
        justify-content: center;
    }

    .nav-user {
        max-width: none;
        text-align: center;
        padding: 8px;
    }
}
