/* =========================================================
   Şehir Kamerası - Duyuru Sayfası
   Views/Content/CityCamera.cshtml
   ========================================================= */

/* =========================================================
   Değişkenler
   ========================================================= */
:root {
    --navy: #1f3f7a;
    --navy-deep: #142a55;
    --red: #d12134;
    --ink: #1c2433;
    --muted: #5b6577;
    --line: #e4e8ef;
    --surface: #ffffff;
    --page: #f3f5f9;
    --notice-bg: #fff6f6;
}

/* =========================================================
   Temel
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
    font-family: "Urbanist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    background: var(--page);
    color: var(--ink);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

/* =========================================================
   Üst bant
   ========================================================= */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
    color: #fff;
    padding: 56px 16px 120px;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -140px;
    width: 360px;
    height: 360px;
    border: 48px solid rgba(209, 33, 52, .35);
    border-radius: 40%;
    transform: rotate(45deg);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    /* Kartın dış genişliğiyle aynı (.wrap 880px - 2 x 16px iç boşluk) */
    max-width: 848px;
    margin: 0 auto;
}

.hero h1 {
    margin: 0 0 8px;
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 800;
    line-height: 1.2;
}

.hero p {
    margin: 0;
    font-size: 16px;
    opacity: .8;
}

/* =========================================================
   İçerik kartı
   ========================================================= */
.wrap {
    max-width: 880px;
    margin: -84px auto 0;
    padding: 0 16px 56px;
    position: relative;
    z-index: 2;
}

.card {
    background: var(--surface);
    border-radius: 18px;
    box-shadow: 0 1px 2px rgba(20, 42, 85, .06), 0 16px 40px -12px rgba(20, 42, 85, .18);
    overflow: hidden;
}

/* =========================================================
   Durum şeridi
   ========================================================= */
.status {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px 32px;
    background: var(--notice-bg);
    border-bottom: 1px solid #f6dcdf;
}

.status-icon {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--red);
    color: #fff;
    display: grid;
    place-items: center;
}

.status-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--red);
}

.status-label::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
}

.status h2 {
    margin: 2px 0 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
}

/* =========================================================
   Bilgi etiketleri
   ========================================================= */
.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px 32px 0;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    background: #fafbfd;
}

.chip svg { color: var(--navy); }

/* =========================================================
   Duyuru metni
   ========================================================= */
.body {
    padding: 24px 32px 8px;
    font-size: 16.5px;
}

.body .greeting {
    font-size: 19px;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 16px;
}

.body p { margin: 0 0 16px; color: #2f3a4d; }

.body mark {
    background: linear-gradient(transparent 60%, rgba(209, 33, 52, .16) 60%);
    color: inherit;
    font-weight: 700;
    padding: 0 2px;
}

/* =========================================================
   KVKK kaynak kutusu
   ========================================================= */
.source {
    margin: 8px 32px 0;
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--navy);
    border-radius: 12px;
    background: #f8fafd;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.source-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
    margin-bottom: 2px;
}

.source-name {
    font-weight: 700;
    font-size: 15px;
    line-height: 1.45;
    color: var(--ink);
}

/* =========================================================
   Butonlar
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.btn:focus-visible { outline: 3px solid rgba(31, 63, 122, .35); outline-offset: 2px; }

.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-1px); box-shadow: 0 6px 16px -6px rgba(20, 42, 85, .5); }

.btn-ghost { background: transparent; color: var(--navy); border: 1px solid var(--line); }
.btn-ghost:hover { background: #f3f6fb; }

/* =========================================================
   Kapanış
   ========================================================= */
.footer {
    margin-top: 28px;
    padding: 22px 32px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer > div { text-align: right; }

.thanks { margin: 0; color: var(--muted); font-size: 15px; }

.signature {
    margin: 2px 0 0;
    font-weight: 800;
    font-size: 17px;
    color: var(--navy);
}

/* =========================================================
   Mobil
   ========================================================= */
@media (max-width: 600px) {
    .hero { padding: 40px 16px 108px; }
    .status { padding: 20px; align-items: flex-start; }
    .status-icon { width: 46px; height: 46px; border-radius: 12px; }
    .status h2 { font-size: 17px; }
    .meta { padding: 18px 20px 0; }
    .body { padding: 20px 20px 4px; font-size: 16px; }
    .source { margin: 8px 20px 0; }
    .source .btn { width: 100%; justify-content: center; }
    .footer { padding: 20px; }
    .footer .btn { width: 100%; justify-content: center; order: 1; }
}

/* =========================================================
   Erişilebilirlik
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
    .btn { transition: none; }
    .btn-primary:hover { transform: none; }
}
