/* ============================================================
   Ajvika Labs — server-rendered SEO pages
   (/projects, /projects/{slug}, /ece-projects ...)
   Builds on style.css variables and the universal font.
   ============================================================ */

.seo-page { padding-top: 64px; }

/* Nav */
.seo-nav { height: 64px; }
.seo-nav .nav-brand { color: var(--primary); }
.seo-nav-links { display: flex; gap: 6px; }
.seo-nav-links a {
  color: var(--text-muted); font-weight: 500; font-size: 14px;
  padding: 6px 12px; border-radius: var(--radius); transition: var(--transition);
}
.seo-nav-links a:hover { color: var(--primary); background: rgba(0,212,255,0.08); }
.seo-nav-cta { padding: 8px 16px; color: #000; }
.seo-nav-cta:hover { color: #000; }

/* Headings & text */
.seo-hero { padding: 48px 0 32px; }
.seo-h1 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 700; color: #fff; margin: 8px 0 14px; line-height: 1.25; }
.seo-intro { color: var(--text-muted); max-width: 820px; font-size: 16px; line-height: 1.8; margin-bottom: 8px; }
.seo-count { color: var(--text-dim); font-size: 14px; margin-bottom: 22px; }
.seo-hero .seo-domain-links { justify-content: flex-start; }
.seo-list-section { padding-top: 40px; }

.seo-breadcrumb { font-size: 13px; color: var(--text-dim); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.seo-breadcrumb a { color: var(--text-muted); }
.seo-breadcrumb a:hover { color: var(--primary); }

/* Cards are real links */
.seo-card .btn-view { display: inline-flex; margin-top: 12px; }

/* Pagination as links */
.pagination a.page-btn { display: inline-flex; align-items: center; justify-content: center; color: var(--text); }
.pagination a.page-btn.active { color: #000; }

/* CTA box */
.seo-cta-box {
  margin-top: 56px; padding: 32px; border-radius: var(--radius-lg);
  background: var(--bg-card); border: 1px solid var(--border); text-align: center;
}
.seo-cta-box h2 { color: #fff; font-size: 1.4rem; margin-bottom: 10px; }
.seo-cta-box p { color: var(--text-muted); max-width: 680px; margin: 0 auto 20px; }
.seo-cta-box .btn-primary, .seo-cta-box .btn-outline { margin: 4px; }
.seo-cta-box .btn-primary { color: #000; }

/* Project page */
.seo-project { padding-top: 32px; }
.seo-project-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 40px; margin-top: 20px; align-items: start;
}
.seo-gallery .gallery-main {
  width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--bg-card);
}
.seo-gallery .gallery-thumbs { margin-top: 10px; }
.seo-lead { color: var(--text); font-size: 17px; line-height: 1.75; margin-bottom: 20px; }
.seo-facts { list-style: none; display: grid; gap: 10px; margin-bottom: 24px; }
.seo-facts li {
  display: grid; grid-template-columns: 22px 120px 1fr; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: var(--radius); background: var(--bg-card); border: 1px solid var(--border);
  font-size: 14px;
}
.seo-facts i { color: var(--primary); }
.seo-facts span { color: var(--text-muted); }
.seo-facts strong { color: var(--text); font-weight: 600; }
.seo-project-info .detail-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.seo-project-info .btn-primary { color: #000; }

.seo-project-body { max-width: 860px; margin-top: 48px; }
.seo-project-body section { margin-bottom: 32px; }
.seo-project-body h2, .seo-related h2 { color: #fff; font-size: 1.3rem; font-weight: 600; margin-bottom: 12px; }
.seo-project-body .detail-desc { color: var(--text-muted); line-height: 1.85; }
.seo-list { list-style: none; display: grid; gap: 8px; }
.seo-list li { position: relative; padding-left: 22px; color: var(--text-muted); }
.seo-list li::before { content: ''; position: absolute; left: 4px; top: 0.7em; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
.seo-checks li::before { content: '\2713'; width: auto; height: auto; background: none; color: var(--accent2); top: 0; left: 0; font-weight: 700; }
.seo-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.seo-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.seo-related { margin-top: 56px; }
.seo-more { margin-top: 20px; font-weight: 500; }

/* Footer */
.seo-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.seo-footer-links { list-style: none; display: grid; gap: 6px; font-size: 14px; }
.seo-footer-links a, .site-footer .footer-tag a { color: var(--text-muted); }
.seo-footer-links a:hover, .site-footer .footer-tag a:hover { color: var(--primary); }
.site-footer .footer-tag { margin-top: 10px; line-height: 1.7; }

@media (max-width: 900px) {
  .seo-project-grid { grid-template-columns: 1fr; gap: 24px; }
  .seo-footer-grid { grid-template-columns: 1fr 1fr; }
  .seo-footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .seo-nav-links { display: none; }
  .seo-facts li { grid-template-columns: 22px 1fr; }
  .seo-facts strong { grid-column: 2; }
  .seo-footer-grid { grid-template-columns: 1fr; }
  .seo-cta-box { padding: 24px 16px; }
}
