/* ===================================
   pages.css — Shared inner-page styles
   Loaded after style.css on every page
   except index.html (hero-only).
=================================== */

/* ===================================
   PAGE HERO (replaces full hero)
=================================== */
.page-hero {
  padding: 140px 0 70px;
  background:
    radial-gradient(ellipse 700px 400px at 80% 50%, rgba(108,99,255,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 500px 300px at 5%  60%, rgba(0,212,170,0.07) 0%, transparent 70%),
    var(--dark);
  position: relative;
  border-bottom: 1px solid var(--border);
}
.page-hero-content {
  max-width: 680px;
}
.page-hero-content .section-tag {
  display: inline-block; margin-bottom: 16px;
}
.page-hero-content h1 {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800; line-height: 1.15; margin-bottom: 14px;
}
.page-hero-content > p {
  font-size: 17px; color: var(--text-muted); line-height: 1.7;
}

/* ===================================
   ABOUT PAGE EXTRAS
=================================== */
.about-cta-row {
  display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px;
}

/* Quick Nav Cards */
.quick-nav {
  margin-top: 28px;
  display: flex; flex-direction: column; gap: 10px;
}
.qn-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--text);
  transition: all var(--transition);
}
.qn-card:hover {
  border-color: var(--primary);
  transform: translateX(4px);
  background: rgba(108,99,255,0.05);
}
.qn-card > i:first-child {
  font-size: 18px; color: var(--primary); min-width: 22px;
}
.qn-card div { flex: 1; }
.qn-card div strong { display: block; font-size: 14px; font-weight: 700; }
.qn-card div span  { display: block; font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.qn-arrow { font-size: 12px; color: var(--text-muted); }

/* ===================================
   SKILLS PAGE — PROFICIENCY BARS
=================================== */
.proficiency-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
.prof-item { }
.prof-header {
  display: flex; justify-content: space-between;
  font-size: 14px; font-weight: 600;
  margin-bottom: 8px; color: var(--text);
}
.prof-header span:last-child { color: var(--primary); }
.prof-bar {
  height: 8px; background: var(--dark-3);
  border-radius: 50px; overflow: hidden;
  border: 1px solid var(--border);
}
.prof-fill {
  height: 100%; width: var(--w);
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 50px;
  animation: barGrow 1s ease forwards;
  transform-origin: left;
}
@keyframes barGrow {
  from { width: 0; }
  to   { width: var(--w); }
}

/* ===================================
   PROJECTS PAGE CTA
=================================== */
.projects-cta {
  margin-top: 60px;
}
.projects-cta-inner {
  display: flex; align-items: center; gap: 24px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 36px;
  flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.projects-cta-inner::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.projects-cta-icon {
  width: 60px; height: 60px; min-width: 60px;
  background: rgba(108,99,255,0.15);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: var(--primary);
}
.projects-cta-inner div { flex: 1; min-width: 200px; }
.projects-cta-inner h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.projects-cta-inner p  { font-size: 14px; color: var(--text-muted); }

/* ===================================
   CONTACT PAGE — REDESIGNED
=================================== */
.ct-avail-banner {
  display: flex; align-items: center; gap: 12px;
  background: rgba(0,212,170,0.07);
  border: 1px solid rgba(0,212,170,0.25);
  border-radius: var(--radius);
  padding: 16px 24px;
  font-size: 14px; color: var(--text-muted);
  margin-bottom: 40px;
}
.ct-avail-banner strong { color: var(--accent); }

.ct-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 780px; margin: 0 auto 48px;
}
.ct-card {
  display: flex; align-items: center; gap: 18px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  text-decoration: none;
  color: var(--text);
  transition: all var(--transition);
}
.ct-card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(108,99,255,0.12); }
.ct-card--static { cursor: default; }
.ct-card--static:hover { transform: none; box-shadow: none; border-color: var(--border); }

.ct-card-icon {
  width: 48px; height: 48px; min-width: 48px;
  background: var(--icon-color);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  color: var(--icon-fg);
}
.ct-card-body { flex: 1; }
.ct-card-label { display: block; font-size: 11px; color: var(--text-muted); font-weight: 500; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.6px; }
.ct-card-value { display: block; font-size: 14px; font-weight: 600; color: var(--text); }
.ct-card-arrow { color: var(--text-muted); font-size: 13px; transition: transform var(--transition); }
.ct-card:hover .ct-card-arrow { transform: translateX(4px); color: var(--primary); }

.ct-cta {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}
.btn-lg { padding: 14px 32px; font-size: 15px; }

/* ===================================
   CONTACT PAGE — AVAILABILITY CARD (legacy)
=================================== */
.availability-card {
  display: flex; align-items: flex-start; gap: 14px;
  background: rgba(0, 212, 170, 0.06);
  border: 1px solid rgba(0,212,170,0.25);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-top: 8px;
}
.avail-dot {
  width: 12px; height: 12px; min-width: 12px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 4px;
  animation: pulse 2s infinite;
}
.availability-card strong { display: block; color: var(--accent); font-size: 14px; margin-bottom: 4px; }
.availability-card p { font-size: 13px; color: var(--text-muted); }

/* ===================================
   RESPONSIVE
=================================== */
@media (max-width: 640px) {
  .ct-cards-grid { grid-template-columns: 1fr; }
  .ct-cta { flex-direction: column; align-items: center; }
  .page-hero { padding: 120px 0 50px; }
  .about-cta-row { flex-direction: column; }
  .projects-cta-inner { flex-direction: column; align-items: flex-start; }
}
