/* Ana sayfa (V2 görünümü). İkon animasyonları icons.css'te.: auth.css ile aynı yeşil/amber dil. Değişkenler v1.css :root'tan gelir. */
main { max-width: 1120px; }

/* karşılama */
.hero { position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(circle at 88% 10%, rgba(255,255,255,.14) 0 170px, transparent 171px),
              radial-gradient(circle at 6% 110%, rgba(255,255,255,.08) 0 220px, transparent 221px),
              linear-gradient(150deg, #16A062 0%, #0E7C47 60%, #0A5C35 100%); }
.hero-in { max-width: 1120px; margin: 0 auto; padding: 48px 16px 40px; }
.eyebrow { display: inline-block; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.15); font-weight: 700; font-size: 14px; }
.hero h1, .hero .h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; letter-spacing: -1.5px; margin: 0 0 12px; }
.hero h1 span, .hero .h1 > span:last-child { color: #FFD45C; }
.lead { font-size: 18px; max-width: 560px; margin: 0 0 24px; opacity: .95; }
.hero-search { display: flex; gap: 8px; background: #fff; padding: 8px; border-radius: 16px; box-shadow: 0 18px 40px rgba(4,40,22,.28); max-width: 900px; }
.hero-search .field { display: flex; align-items: center; gap: 6px; border-radius: 10px; background: #F4F8F6; padding: 0 10px; }
.hero-search .field.grow { flex: 1 1 260px; }
.hero-search .field span { font-size: 18px; }
.hero-search input, .hero-search select { border: 0; background: transparent; padding: 13px 4px; font-size: 16px; color: var(--ink); width: 100%; outline: none; }
.hero-search button { background: #FFD45C; color: #10251A; font-weight: 800; font-size: 16px; border-radius: 10px; padding: 0 26px; white-space: nowrap; }
.hero-search button:hover { background: #FFC933; }
.hero-stats { margin: 16px 0 0; font-size: 15px; opacity: .92; }
.hero-stats b { font-size: 18px; color: #FFD45C; }

/* kategoriler */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 24px 0 8px; }
.cat-card { display: grid; gap: 2px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-decoration: none; color: var(--ink);
  transition: transform .12s, box-shadow .12s, border-color .12s; }
.cat-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(16,37,26,.08); border-color: #BFDCCB; }
.cat-card.on { border-color: var(--brand); background: var(--brand-soft); }
.cat-ic { font-size: 26px; line-height: 1; margin-bottom: 6px; }
.cat-name { font-weight: 700; font-size: 15px; }
.cat-n { color: var(--muted); font-size: 13px; }

/* ilan kartları */
.list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 26px 0 12px; }
.list-head h2 { margin: 0; font-size: 24px; letter-spacing: -.5px; }
.list-head small { font-size: 15px; color: var(--muted); font-weight: 600; margin-left: 4px; }
.clear { font-size: 14px; }
.job-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.job { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px 18px 16px; border: 1px solid var(--line); border-radius: 18px; background: #fff;
  text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s, border-color .15s; }
.job:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(16,37,26,.10); border-color: color-mix(in srgb, var(--c1, #0E7C47) 40%, #fff); }
/* kategori renginde ince üst şerit; son 2 günün ilanında "Yeni" etiketi */
.job { overflow: hidden; }
.job::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--c1, #22B26E), var(--c2, #0A5C35)); opacity: .85; }
.job-new { position: absolute; top: 12px; right: -30px; z-index: 1; width: 110px; padding: 3px 0; transform: rotate(35deg); text-align: center;
  font-size: 11px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: #5A3E00; background: #FFD45C; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.job.fresh .job-top > .chip { margin-right: 26px; }
.job-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.job-ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: color-mix(in srgb, var(--c1, #0E7C47) 13%, #fff); }
.job-ic .ai-emoji { font-size: 24px; }
.job-cat { display: grid; line-height: 1.25; margin-right: auto; min-width: 0; }
.job-cat b { font-size: 13.5px; color: var(--c2, #0A5C35); }
.job-cat small { font-size: 12.5px; color: var(--muted); }
.chip { font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #F2F5F3; color: #3B5247; white-space: nowrap; }
.chip.amber { background: #FFF4D6; color: #8A5A00; }
.chip.soft { background: var(--brand-soft); color: var(--brand-dark); }
.job h3 { margin: 0; font-size: 19px; line-height: 1.25; letter-spacing: -.2px; }
.job .emp { margin: 0; color: var(--muted); font-weight: 600; font-size: 14px; }
.job .pay { margin: 10px 0 12px; font-size: 21px; font-weight: 800; color: var(--brand); letter-spacing: -.3px; }
.job .info { margin: auto 0 0; padding: 12px 36px 0 0; display: flex; flex-wrap: wrap; gap: 6px 16px; color: #3B5247; font-size: 14px; border-top: 1px solid #EEF2EF; }
.job .info span { display: inline-flex; align-items: center; gap: 5px; }
.job .info .ic { width: 16px; height: 16px; color: #8A9C93; }
.job .go { position: absolute; right: 14px; bottom: 12px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); transition: background .15s, color .15s, transform .15s; }
.job .go .ic { width: 16px; height: 16px; }
.job:hover .go { background: var(--brand); color: #fff; transform: translateX(2px); }
.ad-card { position: relative; padding: 0; overflow: hidden; }
.ad-card img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.ad-card span { position: absolute; top: 8px; right: 10px; font-size: 11px; background: rgba(255,255,255,.85); color: var(--muted); padding: 0 6px; border-radius: 4px; }
.empty-card { grid-column: 1 / -1; text-align: center; padding: 40px 16px; border: 1px dashed #BFDCCB; border-radius: 16px; background: #FBFEFC; }
.empty-card p { margin: 4px 0; }
.empty-card .big { font-size: 36px; }

/* işveren çağrısı */
.cta { margin: 36px 0 8px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 26px 28px;
  border-radius: 20px; background: linear-gradient(120deg, #10251A 0%, #173A28 100%); color: #fff; }
.cta h2 { margin: 0 0 4px; font-size: 24px; }
.cta p { margin: 0; opacity: .85; }
.cta-btn { background: #FFD45C; color: #10251A; font-weight: 800; text-decoration: none; padding: 13px 24px; border-radius: 12px; white-space: nowrap; }
.cta-btn:hover { background: #FFC933; }

@media (max-width: 760px) {
  .hero-in { padding: 30px 16px 28px; }
  .lead { font-size: 16px; }
  .hero-search { flex-direction: column; }
  .hero-search .field.grow { flex: none; }
  .hero-search button { padding: 13px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .job-grid { grid-template-columns: 1fr; }
  .cta { padding: 22px 20px; }
}

/* karşılama: sağdaki hareketli sahne (kurye Tarsus'ta yolda; kategoriler baloncukta) */
.hero-text { grid-area: text; align-self: center; }
.hero-art { grid-area: art; width: 100%; max-width: 470px; justify-self: end; margin: -18px 0 4px; overflow: visible; }
.ai-city { animation: city 7s linear infinite; }
.ha-road { animation: road 0.6s linear infinite; }
.ha-bubble { animation: float 4s ease-in-out infinite; }
@keyframes city { to { transform: translateX(-480px); } }
/* kurye: gaza basıp yavaşlar, öne eğilir; tekerlek hızlı, egzoz dumanı, far yanıp söner, rüzgâr çizgileri */
.ha-ride { animation: ride 3.2s ease-in-out infinite; transform-origin: 250px 300px; }
.hero-art .ai-spin { animation-duration: .22s; }
.hero-art .ai-bob { animation: jolt .5s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }  /* yol sarsıntısı: küçük zıplama + hafif yalpa */
.ha-wind { animation: wind 1.1s linear infinite; }
@keyframes ride { 0%, 100% { transform: translateX(-10px) rotate(0); } 35% { transform: translateX(22px) rotate(-2.5deg); } 60% { transform: translateX(14px) rotate(0); } }
@keyframes puff { 0% { transform: translate(0, 0) scale(.6); opacity: .9; } 100% { transform: translate(-16px, -6px) scale(2.2); opacity: 0; } }
@keyframes beam { 0%, 100% { opacity: .18; } 50% { opacity: .45; } }
@keyframes nod { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-6deg); } }
@keyframes wind { from { transform: translateX(40px); opacity: 0; } 30% { opacity: .6; } to { transform: translateX(-90px); opacity: 0; } }
@keyframes road { to { transform: translateX(-40px); } }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes jolt { 0%, 100% { transform: translateY(0) rotate(0); } 20% { transform: translateY(-1.6px) rotate(-1deg); } 45% { transform: translateY(.3px) rotate(.6deg); } 70% { transform: translateY(-.9px) rotate(-.4deg); } }

/* hareket azaltma açıkken (Windows'ta "Animasyon efektleri" kapalı) yalnızca ekranı kaydıran büyük hareketler durur;
   tekerlek, sarsıntı, egzoz, yol çizgileri ve boyacı sahnesi yerinde oynamaya devam eder */
@media (prefers-reduced-motion: reduce) {
  .ai-city, .ha-bubble, .ha-ride, .ha-wind { animation: none !important; }
}
@media (max-width: 900px) {
  .hero-art { display: none; }
}

/* bölüm başlığı (ortada, büyük) */
.sec-head { text-align: center; margin: 40px 0 22px; }
.sec-head h2 { margin: 0; font-size: clamp(30px, 4.4vw, 42px); letter-spacing: -1.2px; line-height: 1.1; }
.sec-head h2::after { content: ""; display: block; width: 64px; height: 5px; margin: 12px auto 0; border-radius: 3px; background: #FFD45C; }
.sec-head p { margin: 10px 0 0; color: var(--muted); font-size: 17px; }
.sec-ic { display: inline-flex; margin-bottom: 6px; }
.hero-stats a { color: #fff; font-weight: 700; }

/* devamını gör + üyelik duvarı */
.more { text-align: center; margin: 26px 0 8px; display: grid; justify-items: center; gap: 8px; }
.more-btn { display: inline-block; background: var(--brand); color: #fff; font-weight: 800; font-size: 17px; text-decoration: none; padding: 14px 30px; border-radius: 14px; box-shadow: 0 10px 24px rgba(14,124,71,.25); }
.more-btn:hover { background: var(--brand-dark); }
.more small { color: var(--muted); }
.gate { position: relative; margin: -60px 0 10px; padding: 90px 20px 30px; text-align: center; border-radius: 0 0 20px 20px;
  background: linear-gradient(rgba(255,255,255,0), #fff 70px); }
.gate h2 { margin: 0 0 6px; font-size: 28px; letter-spacing: -.6px; }
.gate p { margin: 4px auto; max-width: 520px; color: var(--muted); }
.gate-ic { font-size: 36px; margin: 0 !important; }
.gate-btns { display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 14px !important; }

/* arama çubuğu ve filtreler (/ilanlar, /kategoriler) */
.search-bar { display: flex; gap: 8px; max-width: 720px; margin: 22px auto 0; padding: 7px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(16,37,26,.06); }
.search-bar .field { display: flex; align-items: center; gap: 6px; flex: 1; border-radius: 10px; background: #F4F8F6; padding: 0 10px; }
.search-bar input { border: 0; background: transparent; padding: 12px 4px; font-size: 16px; width: 100%; outline: none; }
.search-bar button { background: #FFD45C; color: #10251A; font-weight: 800; border-radius: 10px; padding: 0 24px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: -6px 0 22px; }
.filters a { padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14px; }
.filters a.on { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); }
.filters a.x { background: #FFF4D6; border-color: #F5D98A; color: #8A5A00; }
.filters .cats-link { border-style: dashed; color: var(--brand-dark); }
.pager { display: flex; gap: 18px; justify-content: center; align-items: center; margin: 26px 0; font-weight: 700; }

/* /kategoriler */
.cat-group h3 { margin: 30px 0 10px; font-size: 19px; }
.cat-filter { margin-bottom: 8px; }

/* karşılama slaytları: sekmeler ortada, slaytlar üst üste (yükseklik zıplamaz), arama ortada */
.hero-in { padding-top: 26px; }
.hero-tabs { display: flex; justify-content: center; gap: 6px; width: max-content; max-width: 100%; margin: 0 auto 18px; padding: 5px; border-radius: 999px; background: rgba(0,0,0,.16); }
.hero-tabs button { background: transparent; color: #fff; font-weight: 800; font-size: 15px; padding: 10px 18px; border-radius: 999px; transition: background .2s, color .2s; }
.hero-tabs button:hover { background: rgba(255,255,255,.12); }
.hero-tabs button.on { background: #fff; color: var(--brand-dark); box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.hero-slides { display: grid; }
.hero-slide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); grid-template-areas: "text art" "bottom bottom"; column-gap: 24px;
  opacity: 0; visibility: hidden; transform: translateX(24px); transition: opacity .45s, transform .45s, visibility 0s .45s; }
.hero-slide.on { opacity: 1; visibility: visible; transform: none; transition: opacity .45s, transform .45s; }
.hero-text { grid-area: text; align-self: center; }
.hero .h1 { font-weight: 800; }
.hero-bottom { grid-area: bottom; display: grid; justify-items: center; align-content: start; text-align: center; }
.hero-bottom .hero-search { width: 100%; max-width: 760px; margin: 0 auto; }
.hero-stats { text-align: center; }
.rot { display: inline-block; color: #fff; border-bottom: 4px solid #FFD45C; }
.rot.in { animation: rot-in .45s ease-out; }
@keyframes rot-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes fade-in { from { opacity: 0; } }
.hero-steps { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 16px; padding: 0; }
.hero-steps li { display: flex; align-items: center; gap: 8px; padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(255,255,255,.14); font-weight: 700; }
.hero-steps b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #FFD45C; color: #10251A; }
.hero-cta { display: inline-block; background: #FFD45C; color: #10251A; font-weight: 800; font-size: 18px; text-decoration: none; padding: 15px 34px; border-radius: 14px; box-shadow: 0 18px 40px rgba(4,40,22,.28); }
.hero-cta:hover { background: #FFC933; }
/* boyacı sahnesi: duvar boyanır, rulo gezer, başvurular sırayla düşer */
.hb-paint { animation: paint 8s ease-in-out infinite; transform-origin: 72px 0; }
.hb-roller { animation: roll 8s ease-in-out infinite; }
.hb-app { animation: app 8s ease-out infinite backwards; }
.hb-note { animation: app 8s ease-out 5s infinite backwards; }
@keyframes paint { 0% { transform: scaleX(0); } 70%, 100% { transform: scaleX(1); } }
@keyframes roll { 0% { transform: translate(0, 0); } 12% { transform: translate(28px, -60px); } 24% { transform: translate(56px, 0); } 36% { transform: translate(84px, -60px); }
  48% { transform: translate(112px, 0); } 60% { transform: translate(140px, -60px); } 70% { transform: translate(160px, -20px); } 100% { transform: translate(0, 0); } }
@keyframes app { 0% { opacity: 0; transform: translateY(14px); } 6%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transform: none !important; }  /* kaymadan, yalnızca belirip kaybolur */
  .rot.in { animation-name: fade-in; }
}
@media (max-width: 900px) {
  .hero-slide { grid-template-columns: 1fr; grid-template-areas: "text" "bottom"; }
  .hero-text { text-align: center; }
  .hero-text .lead { margin-left: auto; margin-right: auto; }
}
@media (max-width: 480px) {
  .hero-tabs button { font-size: 13.5px; padding: 9px 12px; }
  .hero-steps li { font-size: 14px; }
}
@media (max-width: 560px) {
  .hero-tabs { width: 100%; box-sizing: border-box; }
  .hero-tabs button { flex: 1; padding: 9px 6px; }
  .hero-tabs .x { display: none; }
  .hero-steps { display: grid; justify-items: start; gap: 6px; }
  .hero-cta { width: 100%; box-sizing: border-box; }
}
/* /ilanlar: hızlı kategori şeridi */
.cat-rail { display: flex; gap: 8px; margin: -10px 0 22px; padding: 2px 2px 8px; overflow-x: auto; scrollbar-width: thin; justify-content: safe center; }
.cat-rail a { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 7px 8px 7px 12px; border-radius: 14px; border: 1.5px solid var(--line);
  background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; transition: border-color .15s, background .15s; }
.cat-rail a span { font-size: 17px; }
.cat-rail a b { min-width: 24px; padding: 1px 7px; border-radius: 999px; text-align: center; font-size: 12px;
  background: color-mix(in srgb, var(--c1) 14%, #fff); color: color-mix(in srgb, var(--c1) 70%, #10251A); }
.cat-rail a:hover { border-color: color-mix(in srgb, var(--c1) 50%, #fff); }
.cat-rail a.on { border-color: var(--c1); background: color-mix(in srgb, var(--c1) 10%, #fff); }
