/* ===========================================================
   Bulyap.com — Ortak stil dosyası
   Tüm sayfalar bu dosyayı kullanır.
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Renk paleti */
  --brand:        #1f6feb;   /* ana mavi */
  --brand-dark:   #1858c4;
  --brand-soft:   #e8f1fe;
  --ink:          #14181f;   /* koyu metin */
  --ink-soft:     #5a6472;   /* gri metin */
  --ink-faint:    #97a0ad;   /* açık gri / placeholder */
  --line:         #e7eaf0;   /* kenarlık */
  --bg:           #f6f8fb;   /* sayfa arka planı */
  --white:        #ffffff;
  --success:      #1d9e75;
  --success-soft: #e1f5ee;
  --warning:      #ba7517;

  /* Kategori renkleri (soft fill / koyu metin çiftleri) */
  --c-coral-bg:#faece7; --c-coral-fg:#993c1d;
  --c-blue-bg:#e6f1fb;  --c-blue-fg:#185fa5;
  --c-teal-bg:#e1f5ee;  --c-teal-fg:#0f6e56;
  --c-amber-bg:#faeeda; --c-amber-fg:#854f0b;
  --c-purple-bg:#eeedfe;--c-purple-fg:#534ab7;
  --c-green-bg:#eaf3de; --c-green-fg:#3b6d11;
  --c-pink-bg:#fbeaf0;  --c-pink-fg:#993556;
  --c-gray-bg:#f1efe8;  --c-gray-fg:#5f5e5a;

  --radius:   12px;
  --radius-sm:8px;
  --radius-pill:999px;
  --shadow-sm:0 1px 2px rgba(20,24,31,.05);
  --shadow:   0 6px 24px rgba(20,24,31,.08);
  --maxw:     1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Üst menü (navbar) ---------- */
.nav {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo { display: flex; align-items: center; gap: 9px; font-size: 21px; font-weight: 800; }
.logo-mark {
  width: 34px; height: 34px; border-radius: var(--radius-sm);
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 19px;
}
.logo .dim { color: var(--ink-soft); font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-size: 15px; color: var(--ink-soft); font-weight: 500; transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: none; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 15px; padding: 11px 20px;
  transition: transform .1s, background .15s, box-shadow .15s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--bg); border-color: var(--ink-faint); }
.btn-block { width: 100%; }
.btn-lg { padding: 14px 26px; font-size: 16px; }

/* ---------- Rozetler ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; padding: 5px 12px;
  border-radius: var(--radius-pill);
}
.badge-success { background: var(--success-soft); color: var(--success); }
.badge-brand   { background: var(--brand-soft); color: var(--brand); }

/* ---------- Footer ---------- */
.footer {
  background: var(--white); border-top: 1px solid var(--line);
  margin-top: 60px; padding: 40px 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px;
}
.footer h4 { font-size: 14px; margin-bottom: 14px; }
.footer ul li { margin-bottom: 9px; }
.footer ul li a { font-size: 14px; color: var(--ink-soft); }
.footer ul li a:hover { color: var(--brand); }
.footer-bottom {
  border-top: 1px solid var(--line); margin-top: 32px; padding-top: 22px;
  font-size: 13px; color: var(--ink-faint);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* ===========================================================
   ANASAYFA
   =========================================================== */
.hero { text-align: center; padding: 64px 0 48px; }
.hero h1 { font-size: 44px; font-weight: 800; line-height: 1.15; margin: 18px 0 14px; letter-spacing: -.02em; }
.hero h1 .accent { color: var(--brand); }
.hero p.sub { font-size: 18px; color: var(--ink-soft); max-width: 520px; margin: 0 auto 32px; }

.searchbar {
  display: flex; align-items: center; gap: 10px;
  max-width: 620px; margin: 0 auto 16px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-pill); padding: 7px 7px 7px 22px;
  box-shadow: var(--shadow);
}
.searchbar i { font-size: 20px; color: var(--ink-faint); }
.searchbar input {
  flex: 1; border: none; outline: none; font-size: 16px;
  font-family: inherit; background: transparent; color: var(--ink);
}
.searchbar input::placeholder { color: var(--ink-faint); }
.searchbar .btn { border-radius: var(--radius-pill); }

.popular { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; font-size: 13px; }
.popular .label { color: var(--ink-faint); align-self: center; }
.popular .chip {
  background: var(--white); border: 1px solid var(--line);
  padding: 5px 13px; border-radius: var(--radius-pill); color: var(--ink-soft);
  transition: all .15s;
}
.popular .chip:hover { border-color: var(--brand); color: var(--brand); }

.section-head {
  display: flex; align-items: baseline; justify-content: space-between; margin: 56px 0 22px;
}
.section-head h2 { font-size: 26px; font-weight: 700; letter-spacing: -.01em; }
.section-head a { font-size: 15px; color: var(--brand); font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }

.cat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.cat-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
  transition: transform .14s, box-shadow .14s, border-color .14s;
  display: block;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.cat-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; font-size: 23px;
  margin-bottom: 14px;
}
.cat-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 3px; }
.cat-card p { font-size: 13px; color: var(--ink-soft); }

/* "Nasıl çalışır" şeridi */
.how { margin-top: 64px; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.how-step {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 24px; text-align: center;
}
.how-num {
  width: 44px; height: 44px; border-radius: var(--radius-pill);
  background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 800; margin: 0 auto 14px;
}
.how-step h3 { font-size: 18px; margin-bottom: 6px; }
.how-step p { font-size: 14px; color: var(--ink-soft); }

/* ===========================================================
   ÜYE OL
   =========================================================== */
.auth-wrap { min-height: calc(100vh - 68px); display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.auth-box { width: 100%; max-width: 760px; text-align: center; }
.auth-box h1 { font-size: 32px; font-weight: 800; margin: 18px 0 8px; letter-spacing: -.02em; }
.auth-box .sub { font-size: 16px; color: var(--ink-soft); margin-bottom: 34px; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; text-align: left; }
.choice {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; position: relative;
  transition: transform .14s, box-shadow .14s, border-color .14s;
}
.choice:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.choice.featured { border: 2px solid var(--brand); }
.choice .pop-tag {
  position: absolute; top: 16px; right: 16px;
  font-size: 11px; font-weight: 700; padding: 4px 11px;
  background: var(--brand-soft); color: var(--brand); border-radius: var(--radius-pill);
}
.choice .c-ico {
  width: 54px; height: 54px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; font-size: 27px; margin-bottom: 18px;
}
.choice h2 { font-size: 20px; margin-bottom: 6px; }
.choice .desc { font-size: 14px; color: var(--ink-soft); margin-bottom: 18px; }
.choice ul li {
  display: flex; align-items: center; gap: 9px;
  font-size: 14px; color: var(--ink-soft); margin-bottom: 10px;
}
.choice ul li i { color: var(--success); font-size: 18px; }
.choice ul { margin-bottom: 22px; }
.auth-foot { font-size: 14px; color: var(--ink-soft); margin-top: 26px; }
.auth-foot a { color: var(--brand); font-weight: 600; }

/* ===========================================================
   KATEGORİ SAYFASI
   =========================================================== */
.crumb { font-size: 13px; color: var(--ink-soft); padding: 18px 0 0; }
.crumb i { font-size: 13px; vertical-align: -1px; }
.crumb .here { color: var(--ink); font-weight: 600; }

.cat-hero {
  border-radius: var(--radius); padding: 32px; margin-top: 16px;
  display: flex; align-items: center; gap: 20px;
}
.cat-hero .big-ico {
  width: 64px; height: 64px; border-radius: var(--radius);
  background: rgba(255,255,255,.6); display: flex; align-items: center; justify-content: center;
  font-size: 34px; flex-shrink: 0;
}
.cat-hero h1 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.cat-hero p { font-size: 15px; opacity: .85; }

.block-title { font-size: 19px; font-weight: 700; margin: 36px 0 16px; }

.sub-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sub-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 16px; font-size: 14px; font-weight: 600;
  display: flex; align-items: center; justify-content: space-between;
  transition: border-color .14s, transform .14s;
}
.sub-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.sub-card i { color: var(--ink-faint); font-size: 16px; }

.filters { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 28px 0 18px; }
.filters .label { font-size: 13px; color: var(--ink-soft); }
.filters .f {
  font-size: 13px; padding: 7px 14px; border-radius: var(--radius-pill);
  background: var(--white); border: 1px solid var(--line); color: var(--ink-soft);
  font-weight: 500; transition: all .15s;
}
.filters .f.active, .filters .f:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

.pro-list { display: flex; flex-direction: column; gap: 12px; }
.pro {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; display: flex; align-items: center; gap: 16px;
  transition: box-shadow .14s, border-color .14s;
}
.pro:hover { box-shadow: var(--shadow); border-color: transparent; }
.pro .avatar {
  width: 52px; height: 52px; border-radius: var(--radius-pill);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; flex-shrink: 0;
}
.pro .info { flex: 1; min-width: 0; }
.pro .name-row { display: flex; align-items: center; gap: 9px; margin-bottom: 3px; flex-wrap: wrap; }
.pro .name-row .name { font-size: 16px; font-weight: 700; }
.pro .spec { font-size: 13px; color: var(--ink-soft); margin-bottom: 6px; }
.pro .meta { font-size: 13px; color: var(--ink-soft); display: flex; gap: 16px; flex-wrap: wrap; }
.pro .meta .star { color: var(--warning); }
.pro .meta i { font-size: 14px; vertical-align: -2px; }

/* ===========================================================
   DUYARLI (RESPONSIVE)
   =========================================================== */
@media (max-width: 900px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .sub-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 34px; }
}
@media (max-width: 560px) {
  .nav-links a:not(.btn) { display: none; }
  .cat-grid, .sub-grid, .choice-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 28px; }
  .searchbar { flex-wrap: wrap; border-radius: var(--radius); }
  .cat-hero { flex-direction: column; text-align: center; }
}
