:root {
    --ink: #1c2430;
    --muted: #6b7684;
    --line: #e4e8ee;
    --bg: #f5f7fa;
    --card: #ffffff;
    --accent: #0b7a75;
    --accent-ink: #ffffff;
    --accent-soft: #e3f3f2;
    --price: #c2410c;
    --radius: 14px;
}

html { font-size: 15px; }
body {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--ink);
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main { flex: 1; }
a { color: var(--accent); }

.topbar { background: var(--card); border-bottom: 1px solid var(--line); }
.brand { font-weight: 700; letter-spacing: -.02em; color: var(--ink) !important; }
.brand-mark { color: var(--accent); }
.topbar .nav-link { color: var(--muted); font-weight: 500; }
.topbar .nav-link:hover { color: var(--ink); }

.footer-note { color: var(--muted); font-size: .85rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }

.btn-accent { background: var(--accent); color: var(--accent-ink); border: none; }
.btn-accent:hover { background: #096661; color: var(--accent-ink); }

/* Arama paneli */
.search-panel {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.25rem;
    position: sticky;
    top: 1rem;
}
.search-panel .form-label { font-size: .8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: .25rem; }

.result-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem; margin-bottom: 1rem; }
.result-head h1 { font-size: 1.5rem; font-weight: 700; margin: 0; letter-spacing: -.02em; }
.result-head .count { color: var(--muted); }

/* Tur kartı */
.tour-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow .15s, transform .15s;
    color: inherit;
    text-decoration: none;
}
.tour-card:hover { box-shadow: 0 8px 24px rgba(28, 36, 48, .1); transform: translateY(-2px); color: inherit; }
.tour-card .thumb { aspect-ratio: 16 / 10; background: #dfe5ec center / cover no-repeat; position: relative; }
.tour-card .provider-badge {
    position: absolute; top: .6rem; left: .6rem;
    background: rgba(255,255,255,.92); color: var(--ink);
    font-size: .75rem; font-weight: 600; padding: .2rem .55rem; border-radius: 999px;
}
.tour-card .body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.tour-card .title { font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tour-card .meta { color: var(--muted); font-size: .85rem; }
.tour-card .footer { margin-top: auto; padding-top: .5rem; display: flex; justify-content: space-between; align-items: flex-end; gap: .5rem; }
.tour-card .date { font-size: .85rem; }
.tour-card .date small { color: var(--muted); display: block; }
.price { color: var(--price); font-weight: 700; font-size: 1.15rem; white-space: nowrap; }
.price-label { color: var(--muted); font-size: .72rem; display: block; text-align: right; font-weight: 500; }

.chip { display: inline-block; background: var(--accent-soft); color: var(--accent); font-size: .75rem; font-weight: 600; padding: .15rem .55rem; border-radius: 999px; }

.empty-state { background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); padding: 3rem 1rem; text-align: center; color: var(--muted); }

/* Detay */
.detail-hero { border-radius: var(--radius); overflow: hidden; background: #dfe5ec center / cover no-repeat; aspect-ratio: 16 / 9; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.dates-table td, .dates-table th { vertical-align: middle; }
.dates-table .past { color: var(--muted); text-decoration: line-through; }
.trend-down { color: #15803d; font-weight: 600; }
.trend-up { color: #b91c1c; font-weight: 600; }

/* Yönetim */
.status-dot { display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; margin-right: .35rem; }
.status-ok { background: #16a34a; }
.status-fail { background: #dc2626; }
.status-run { background: #f59e0b; }
.table-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.table-panel table { margin: 0; }
.table-panel th { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; background: #fafbfc; }
code.sel { font-size: .8rem; }

.pagination .page-link { color: var(--accent); }
.pagination .active .page-link { background: var(--accent); border-color: var(--accent); color: #fff; }
