/* TurRadar giriş sayfası */

.home-hero {
    --hero-bg: #082a30;
    background:
        radial-gradient(circle at 80% 20%, rgba(11, 122, 117, .55), transparent 55%),
        radial-gradient(circle at 10% 90%, rgba(245, 158, 11, .14), transparent 45%),
        linear-gradient(160deg, #061e23 0%, var(--hero-bg) 55%, #0b4a4f 100%);
    color: #eaf6f5;
    padding: 4.5rem 0 4rem;
    overflow: hidden;
    position: relative;
}
.home-hero::before {
    /* ince ızgara deseni */
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07;
    background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
    background-size: 44px 44px;
}
.home-hero .container { position: relative; }
.hero-eyebrow {
    display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
    color: #7fe0d8; background: rgba(127, 224, 216, .1); border: 1px solid rgba(127, 224, 216, .25);
    padding: .3rem .75rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.home-hero h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 1rem; }
.home-hero h1 span { color: #7fe0d8; }
.home-hero .lead { color: #b9d6d3; font-size: 1.1rem; max-width: 34rem; margin-bottom: 1.6rem; }

.home-search { display: flex; gap: .5rem; max-width: 36rem; background: #fff; padding: .4rem; border-radius: 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); }
.home-search .form-control { border: none; box-shadow: none; font-size: 1.05rem; }
.home-search .btn { background: #f59e0b; color: #1c2430; font-weight: 700; border-radius: 12px; white-space: nowrap; }
.home-search .btn:hover { background: #d97706; }

.quick-links { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-top: 1rem; font-size: .88rem; }
.quick-links span { color: #8fb8b4; margin-right: .2rem; }
.quick-links a {
    color: #eaf6f5; text-decoration: none; padding: .22rem .7rem; border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .05);
}
.quick-links a:hover { background: rgba(255, 255, 255, .14); }

.hero-stats { display: flex; flex-wrap: wrap; gap: 2rem; margin: 2.2rem 0 0; }
.hero-stats dt { font-size: 1.8rem; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.hero-stats dd { margin: 0; color: #8fb8b4; font-size: .85rem; }

/* Radar */
.radar { position: relative; width: min(100%, 460px); aspect-ratio: 1; margin: 0 auto; border-radius: 50%;
    background: radial-gradient(circle, rgba(11, 122, 117, .28) 0%, rgba(6, 30, 35, .9) 70%);
    box-shadow: 0 0 0 1px rgba(127, 224, 216, .25), 0 0 80px rgba(11, 122, 117, .35) inset; }
.radar-ring { position: absolute; left: 50%; top: 50%; width: var(--s); height: var(--s); transform: translate(-50%, -50%);
    border-radius: 50%; border: 1px solid rgba(127, 224, 216, .22); }
.radar-cross::before, .radar-cross::after { content: ""; position: absolute; background: rgba(127, 224, 216, .14); }
.radar-cross::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.radar-cross::after { top: 50%; left: 0; right: 0; height: 1px; }
.radar-sweep { position: absolute; inset: 0; border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(127, 224, 216, .45), rgba(127, 224, 216, .08) 40deg, transparent 70deg);
    animation: sweep 6s linear infinite; }
.radar-center { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #7fe0d8; box-shadow: 0 0 16px #7fe0d8; }
@keyframes sweep { to { transform: rotate(360deg); } }

.blip { position: absolute; left: var(--x); top: var(--y); display: flex; align-items: center; gap: .5rem; text-decoration: none; z-index: 2; }
.blip-left { flex-direction: row-reverse; transform: translateX(-100%); }
.blip-dot { width: 12px; height: 12px; border-radius: 50%; background: #f59e0b; flex: none; position: relative;
    box-shadow: 0 0 12px #f59e0b; }
.blip-dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid #f59e0b;
    animation: ping 2.8s ease-out infinite; animation-delay: var(--delay); opacity: 0; }
@keyframes ping { 0% { transform: scale(.4); opacity: .9; } 80%, 100% { transform: scale(2.2); opacity: 0; } }
.blip-tag { display: flex; flex-direction: column; background: rgba(6, 30, 35, .85); border: 1px solid rgba(127, 224, 216, .3);
    padding: .3rem .6rem; border-radius: 10px; line-height: 1.2; backdrop-filter: blur(4px); white-space: nowrap; }
.blip-tag strong { color: #fff; font-size: .8rem; }
.blip-tag small { color: #7fe0d8; font-size: .72rem; }
.blip:hover .blip-tag { border-color: #f59e0b; }

/* Firma şeridi */
.provider-strip { background: #fff; border-bottom: 1px solid var(--line); padding: .9rem 0; overflow: hidden; }
.marquee { display: flex; width: max-content; animation: marquee 80s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee-track { display: flex; gap: 2.5rem; padding-right: 2.5rem; }
.marquee-track a { color: var(--muted); font-weight: 600; white-space: nowrap; font-size: .95rem; text-decoration: none; }
.marquee-track a:hover { color: var(--accent, #0d6efd); text-decoration: underline; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Bölümler */
.home-sections { padding-top: 2.5rem; padding-bottom: 3rem; }
.home-block { margin-bottom: 3rem; }
.block-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem; margin-bottom: 1rem; }
.block-head h2 { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; margin: 0; }
.block-head a { font-weight: 600; text-decoration: none; }
.kind-icon { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-size: 1rem; margin-right: .3rem; }

.region-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .9rem; }
.region-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.region-card { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; display: flex; align-items: flex-end;
    background: linear-gradient(160deg, #0b7a75, #0e5f73) center / cover no-repeat; color: #fff; text-decoration: none;
    transition: transform .2s, box-shadow .2s; }
.region-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(4, 20, 24, .85) 100%); }
.region-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(28, 36, 48, .22); color: #fff; }
.region-body { position: relative; padding: .9rem; display: flex; flex-direction: column; }
.region-name { font-weight: 700; font-size: 1.05rem; line-height: 1.2; }
.region-meta { font-size: .8rem; color: #d7ecea; margin-top: .2rem; }
@media (max-width: 1199.98px) { .region-grid, .region-grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .region-grid, .region-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.soon-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.soon-item { min-width: 0; display: flex; align-items: center; gap: .9rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: .6rem; color: inherit; text-decoration: none; transition: box-shadow .15s; }
.soon-item:hover { box-shadow: 0 8px 24px rgba(28, 36, 48, .1); color: inherit; }
.soon-img { flex: none; width: 84px; height: 64px; border-radius: 10px; background: #dfe5ec center / cover no-repeat; }
.soon-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.soon-date { font-size: .78rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .03em; }
.soon-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.soon-meta { font-size: .8rem; color: var(--muted); }
@media (max-width: 767.98px) { .soon-grid { grid-template-columns: minmax(0, 1fr); } }

.how { background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.5); padding: 2.5rem 1.5rem; }
.how h2 { font-weight: 700; letter-spacing: -.02em; }
.how-step { text-align: center; padding: 0 .5rem; }
.how-step h3 { font-size: 1.1rem; font-weight: 700; margin: .7rem 0 .4rem; }
.how-step p { color: var(--muted); margin: 0; }
.how-num { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; }

@media (max-width: 991.98px) {
    .home-hero { padding: 3rem 0 2.5rem; }
    .radar { width: min(100%, 360px); }
}
@media (max-width: 575.98px) {
    .blip-tag small { display: none; }
    .hero-stats { gap: 1.2rem; }
    .hero-stats dt { font-size: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
    .radar-sweep, .blip-dot::after, .marquee { animation: none; }
}
.home-budget-link { display: inline-block; margin-top: .9rem; color: inherit; text-decoration: none; opacity: .92; }
.home-budget-link:hover { opacity: 1; text-decoration: underline; }

/* Size özel: küçük kartlı, sağa sola kayan tek satır (iki bölüm birlikte yaklaşık bir büyük kart yüksekliğinde). */
.mini-blok { margin-bottom: 1.25rem; }
.mini-blok .block-head { margin-bottom: .5rem; }
.mini-blok .block-head h2 { font-size: 1.15rem; }
.mini-serit { position: relative; }
.mini-liste { display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 2px;
    padding: 2px 2px 6px; scrollbar-width: thin; }
.mini-kap { flex: 0 0 220px; scroll-snap-align: start; position: relative; }
.mini-kart { position: relative; display: flex; align-items: flex-end; height: 176px; border-radius: 12px; overflow: hidden;
    background: linear-gradient(160deg, #0b7a75, #0e5f73); color: #fff; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.mini-kart:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(16, 24, 40, .22); color: #fff; }
.mini-kart > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mini-kart > .thumb-empty { position: absolute; inset: 0; height: 100%; font-size: 0; justify-content: flex-start; padding-top: 34px; }
.mini-kart::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 20, 24, 0) 30%, rgba(4, 20, 24, .9) 100%); }
.mini-firma { position: absolute; left: 8px; top: 8px; z-index: 1; background: rgba(255, 255, 255, .92); color: var(--ink);
    font-size: .68rem; font-weight: 600; padding: .05rem .45rem; border-radius: 999px; }
.mini-govde { position: relative; z-index: 1; display: flex; flex-direction: column; gap: .05rem; padding: .6rem .65rem; min-width: 0; width: 100%; }
.mini-ad { font-size: .85rem; font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.mini-sure { font-size: .74rem; color: #d7ecea; }
.mini-fiyat { font-size: .74rem; color: #d7ecea; white-space: nowrap; }
.mini-fiyat b { color: #ffd28a; font-size: .95rem; font-weight: 700; }
.mini-neden { font-size: .68rem; color: #b9d6d3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: .1rem; }
.mini-neden::before { content: "✦ "; color: #7fe0d8; }
.mini-fav.fav-btn { top: 6px; right: 6px; width: 1.9rem; height: 1.9rem; font-size: .95rem; }
.mini-ok { position: absolute; top: 71px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
    background: var(--card); color: var(--ink); font-size: 1.3rem; line-height: 1; box-shadow: 0 2px 8px rgba(16, 24, 40, .15); }
.mini-ok.sol { left: -12px; }
.mini-ok.sag { right: -12px; }
@media (hover: none), (max-width: 575.98px) { .mini-ok { display: none; } .mini-kap { flex-basis: 180px; } .mini-kart { height: 160px; } }

/* Yapılandırılmış arama: Nereye (tam satır), Nereden / Ne zaman / Süre, düğme. */
.home-search.hs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 0; max-width: 40rem; padding: .35rem; align-items: stretch; }
.hs-alan { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: .35rem .75rem; margin: 0; color: #1c2430; cursor: text; }
.hs-alan + .hs-alan { border-left: 1px solid var(--line); }
.hs-alan > span { font-size: .7rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: #6b7684; }
.hs-alan input, .hs-alan select { border: 0; outline: 0; background: transparent; padding: .1rem 0; font-size: .95rem; color: #1c2430; min-width: 0; width: 100%; }
.hs-alan select { cursor: pointer; text-overflow: ellipsis; }
.hs-nereye { grid-column: 1 / -1; border-bottom: 1px solid var(--line); padding-bottom: .55rem; margin-bottom: .2rem; }
.hs-nereye input { font-size: 1.05rem; }
.hs-nereye + .hs-alan { border-left: 0; }
.home-search.hs .btn { align-self: center; margin: .2rem .15rem .2rem .4rem; padding: .7rem 1.2rem; }
.hs-alan:focus-within > span { color: var(--accent); }
@media (max-width: 575.98px) {
    .home-search.hs { grid-template-columns: 1fr 1fr; }
    .hs-alan:nth-child(4) { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
    .home-search.hs .btn { grid-column: 1 / -1; margin: .4rem .15rem .15rem; }
}

/* Değer şeridi: TurRadar'ın gerçekte yaptığı (satış yok, fiyat garantisi yok). */
.deger-seridi { background: var(--card); border-bottom: 1px solid var(--line); }
.deger-seridi ul { list-style: none; margin: 0; padding: 1rem 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.deger-seridi li { display: flex; gap: .7rem; align-items: center; min-width: 0; }
.ds-simge { flex: none; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-size: 1.1rem; }
.deger-seridi b { display: block; font-size: .9rem; }
.deger-seridi small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.3; }
@media (max-width: 991.98px) { .deger-seridi ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Öne çıkan rotalar: görselli kartlar, sağa sola kayan tek satır. */
.rota-serit { display: flex; gap: .9rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .4rem; scrollbar-width: thin; }
.rota-kart { flex: 0 0 172px; scroll-snap-align: start; position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
    display: flex; align-items: flex-end; background: linear-gradient(160deg, #0b7a75, #0e5f73) center / cover no-repeat; color: #fff;
    text-decoration: none; transition: transform .2s, box-shadow .2s; }
.rota-kart::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(4, 20, 24, .88) 100%); }
.rota-kart:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(28, 36, 48, .22); color: #fff; }
.rota-govde { position: relative; padding: .8rem; display: flex; flex-direction: column; gap: .1rem; }
.rota-ad { font-weight: 700; font-size: 1.05rem; line-height: 1.2; }
.rota-meta { font-size: .76rem; color: #d7ecea; }
.rota-fiyat { font-size: .85rem; font-weight: 700; color: #ffd28a; }
@media (max-width: 575.98px) { .rota-kart { flex-basis: 140px; } }

/* Fırsat bandı: gerçek fiyat düşüşü (eski fiyat yalnızca burada, düşüş verisiyle üstü çizili). */
.firsat-bandi { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 1.5rem; align-items: center; margin-bottom: 3rem;
    padding: 1.6rem; border-radius: calc(var(--radius) + 4px); color: #fff;
    background: radial-gradient(circle at 85% 30%, rgba(245, 158, 11, .25), transparent 55%), linear-gradient(135deg, #0b4a4f, #082a30); }
.fb-etiket { display: inline-block; background: #f59e0b; color: #1c2430; font-size: .72rem; font-weight: 700; padding: .15rem .6rem; border-radius: 999px; margin-bottom: .6rem; }
.firsat-bandi h2 { font-size: 1.45rem; font-weight: 700; letter-spacing: -.02em; margin: 0 0 .4rem; }
.firsat-bandi p { color: #b9d6d3; margin-bottom: 1rem; }
.fb-kart { display: flex; gap: .8rem; background: #fff; color: var(--ink); border-radius: var(--radius); padding: .6rem; text-decoration: none; min-width: 0;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .25); transition: transform .15s; }
.fb-kart:hover { transform: translateY(-2px); color: var(--ink); }
.fb-gorsel { flex: none; width: 112px; border-radius: 10px; background: #dfe5ec center / cover no-repeat; }
.fb-govde { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.fb-govde small { color: var(--muted); font-size: .72rem; }
.fb-ad { font-size: .92rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fb-meta { font-size: .76rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fb-fiyat { display: flex; flex-wrap: wrap; align-items: baseline; gap: .45rem; margin-top: .2rem; }
.fb-fiyat s { color: var(--muted); font-size: .82rem; }
.fb-fiyat b { color: var(--price); font-size: 1.1rem; }
.fb-yuzde { background: #dcfce7; color: #15803d; font-size: .72rem; font-weight: 700; padding: .1rem .45rem; border-radius: 999px; }
@media (max-width: 767.98px) { .firsat-bandi { grid-template-columns: 1fr; padding: 1.2rem; } }

/* Tazelik rozeti: son tarama zamanı, nabız atan yeşil nokta. */
.hero-eyebrow.canli { display: inline-flex; align-items: center; gap: .5rem; text-transform: none; letter-spacing: .01em; font-size: .85rem; }
.canli-nokta { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #34d399; animation: canli 1.8s ease-out infinite; }
@keyframes canli { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .75); } 70%, 100% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); } }

/* Radar açılışı: radar belirir, halkalar merkezden dışa açılır, tarama ışığı başlar, noktalar sırayla gelir. */
.radar { animation: radar-gel .7s ease-out both; }
@keyframes radar-gel { from { opacity: 0; transform: scale(.88); } to { opacity: 1; transform: none; } }
.radar-ring { animation: halka-ac 1s cubic-bezier(.2, .8, .2, 1) both; animation-delay: var(--d, 0s); }
@keyframes halka-ac { from { transform: translate(-50%, -50%) scale(0); opacity: 0; } to { transform: translate(-50%, -50%) scale(1); opacity: 1; } }
.radar-sweep { animation: sweep 6s linear infinite, tarama-gel 1.2s ease-out .35s both; }
@keyframes tarama-gel { from { opacity: 0; } to { opacity: 1; } }
.blip { animation: blip-gel .4s ease-out both; animation-delay: var(--gel, 1s); }
@keyframes blip-gel { from { opacity: 0; } to { opacity: 1; } }
.blip-tag { animation: etiket-gel .5s cubic-bezier(.2, 1.5, .4, 1) both; animation-delay: var(--gel, 1s); transform-origin: left center; }
.blip-left .blip-tag { transform-origin: right center; }
@keyframes etiket-gel { from { transform: scale(.55); } to { transform: none; } }

/* Telefonda radar en üstte, kompakt; arama kutusu yine ilk ekranda kalır. */
@media (max-width: 991.98px) {
    .home-hero .row { --bs-gutter-y: 1.25rem; }
    .radar { width: min(70vw, 280px); }
}
@media (max-width: 575.98px) {
    .home-hero { padding-top: 1.4rem; }
    .radar { width: min(66vw, 250px); }
    .radar a.blip:nth-of-type(n+5) { display: none; }
    .blip-tag { padding: .15rem .4rem; border-radius: 8px; }
    .blip-tag strong { font-size: .68rem; }
    .blip-dot { width: 9px; height: 9px; }
    .home-hero h1 { margin-bottom: .6rem; }
    .home-hero .lead { font-size: .97rem; margin-bottom: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
    .radar, .radar-ring, .blip, .blip-tag, .canli-nokta { animation: none; }
    .radar-sweep { animation: none; }
}
