/* Shahmukhi (Nastaliq) ishqganj logo — Nastaliq above, romanized below. */
@import url('https://fonts.googleapis.com/css2?family=Noto+Nastaliq+Urdu:wght@400;500;600;700&display=swap');

.ishqganj-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none; color: inherit;
  line-height: 1;
}
.ishqganj-logo svg {
  display: block;
  height: 60px; width: auto;
  overflow: visible;          /* Nastaliq descenders extend below baseline */
}
.ishqganj-logo--sm svg { height: 36px; }
.ishqganj-logo--xl svg { height: 140px; }
.ishqganj-romanized {
  font: 600 13px/1 "Iowan Old Style", Georgia, serif;
  color: #d28f3c;
  letter-spacing: 0.32em;
  padding-left: 0.32em;       /* letter-spacing optical correction */
  text-transform: lowercase;
}
.ishqganj-logo--sm .ishqganj-romanized { font-size: 10px; letter-spacing: 0.28em; padding-left: 0.28em; }
.ishqganj-logo--xl .ishqganj-romanized { font-size: 22px; letter-spacing: 0.36em; padding-left: 0.36em; }

/* projects landing page */
body.projects-page {
  background: radial-gradient(ellipse at top, #15171f 0%, #0a0c12 60%);
  color: var(--text, #e8e8ef);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  margin: 0; min-height: 100vh;
}
.ishq-header {
  border-bottom: 1px solid #2a2f3d;
  background: rgba(15,17,22,0.7);
  backdrop-filter: blur(8px);
}
.ishq-header-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 10px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.ishq-nav {
  display: flex; gap: 14px; align-items: center;
  font-size: 13px; color: #8a92a3;
}
.ishq-nav a { color: #62baff; text-decoration: none; }
.ishq-nav a:hover { text-decoration: underline; }
.user-pill {
  display: inline-flex; align-items: center; gap: 6px;
  color: #c8cdda;
}
.role-tag {
  display: inline-block; padding: 1px 6px; border-radius: 4px;
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em;
}
.role-admin  { background: rgba(243,168,87,0.15); color: #f3a857; }
.role-editor { background: rgba(98,186,255,0.15); color: #62baff; }
.role-viewer { background: rgba(138,146,163,0.15); color: #8a92a3; }

.projects-main {
  max-width: 1100px; margin: 0 auto;
  padding: 36px 24px 64px;
}
.projects-hero { text-align: center; padding: 30px 0 50px; }
.projects-hero .hero-sub {
  margin: 8px 0 0; color: #8a92a3; font-size: 14px; letter-spacing: 0.04em;
}

.projects-heading {
  font-size: 13px; color: #8a92a3; letter-spacing: 0.18em;
  text-transform: uppercase; margin: 0 0 14px;
  border-bottom: 1px solid #2a2f3d; padding-bottom: 10px;
}

.project-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.project-card {
  display: block; padding: 18px 20px;
  background: rgba(29,34,48,0.6);
  border: 1px solid #2a2f3d; border-radius: 10px;
  text-decoration: none; color: inherit;
  transition: transform .12s, border-color .12s, background .12s;
  position: relative;
}
.project-card:hover {
  border-color: #d28f3c;
  background: rgba(38,43,58,0.7);
  transform: translateY(-2px);
}
.project-card .pc-name {
  font: 600 18px/1.3 "Iowan Old Style", Georgia, serif;
  color: #e0e0e8;
}
.project-card .pc-author {
  font-size: 13px; color: #8a92a3; margin-top: 2px;
}
.project-card .pc-language {
  font-size: 11px; color: #d28f3c; margin-top: 6px;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.project-card .pc-desc {
  font-size: 13px; color: #c8cdda; line-height: 1.5;
  margin: 10px 0 12px;
}
.project-card .pc-stats {
  font-size: 11px; color: #8a92a3;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.project-card .pc-cta {
  margin-top: 14px; font-size: 12px; color: #62baff;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.project-empty {
  grid-column: 1 / -1; text-align: center; padding: 60px;
  color: #8a92a3; font-style: italic;
}

/* The auth pages get a small dose of the gold accent too */
main.auth h1 { font-family: "Iowan Old Style", Georgia, serif; }
.ishq-auth-logo {
  display: flex; justify-content: center; margin: 0 0 18px;
}
