/* ════════════════════════════════════════════
   Pages & Multi-page additions — alphajun v2
   ════════════════════════════════════════════ */

/* ── Active nav state ───────────────────────────────────────── */
.nav-links a.nav-active {
  color: var(--accent);
}

/* ── Page Hero (inner pages) ─────────────────────────────────── */
.page-hero {
  padding: clamp(6rem, 14vw, 10rem) 0 clamp(3rem, 6vw, 5rem);
  position: relative;
}
.page-hero .section-label {
  display: block;
  margin-bottom: 1rem;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 1.5rem;
  max-width: 18ch;
}
.page-hero-desc {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 60ch;
  margin: 0;
  line-height: 1.7;
}
.page-hero-desc a {
  color: var(--accent);
  text-decoration: none;
}

/* ── Skills grouped layout ───────────────────────────────────── */
.skills-columns {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 2rem;
}
.skills-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.skills-group-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

/* ── Section "see all" link row ───────────────────────────────── */
.section-see-all {
  margin-top: 3rem;
  text-align: center;
}

/* ── Services full page cards ────────────────────────────────── */
.service-full-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  margin-bottom: 1.5rem;
  background: var(--bg3);
  transition: border-color 0.25s;
}
.service-full-card:hover {
  border-color: rgba(0, 245, 196, 0.25);
}
.service-full-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.service-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  opacity: 0.6;
  letter-spacing: 0.05em;
}
.service-full-title {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
}
.service-full-short {
  color: var(--accent);
  font-size: 0.9rem;
  font-family: var(--font-mono);
  margin: 0 0 1rem;
  line-height: 1.6;
}
.service-full-long {
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 1.25rem;
}
.service-includes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.service-includes li {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.25rem 0.65rem;
}
.service-includes li::before {
  content: '↳ ';
  color: var(--accent);
  opacity: 0.6;
}

/* ── Blog empty state ─────────────────────────────────────────── */
.blog-empty {
  text-align: center;
  padding: 4rem 0;
}

/* ── Portfolio "more coming" callout ─────────────────────────── */
.portfolio-more {
  padding: 2.5rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  text-align: center;
}

/* ── Responsive tweaks ───────────────────────────────────────── */
@media (max-width: 640px) {
  .page-hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
  .service-full-card {
    padding: 1.75rem;
  }
  .skill-tag {
    font-size: 0.68rem;
    padding: 0 0.8rem;
  }
}

/* ════════════════════════════════════════════
   Contact Page Redesign
   ════════════════════════════════════════════ */

/* ── Layout ──────────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ── Info column ─────────────────────────────────────────────── */
.contact-info-col h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 2rem 0;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}
.contact-detail-item:first-child { border-top: 1px solid var(--border); }
a.contact-detail-item:hover { color: var(--accent); }
a.contact-detail-item:hover .contact-detail-icon { color: var(--accent); border-color: rgba(0,245,196,0.3); }

.contact-detail-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg3);
  color: var(--muted);
  flex-shrink: 0;
  transition: color 0.2s, border-color 0.2s;
}

.contact-detail-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.1rem;
}
.contact-detail-value {
  display: block;
  font-size: 0.88rem;
  color: var(--text);
}

/* ── Availability badge ──────────────────────────────────────── */
.contact-availability {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  background: rgba(0, 245, 196, 0.07);
  border: 1px solid rgba(0, 245, 196, 0.2);
  border-radius: 100px;
  padding: 0.4rem 0.9rem;
}
.availability-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* ── Form card ───────────────────────────────────────────────── */
.contact-form-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
}
@media (max-width: 480px) {
  .contact-form-card { padding: 1.5rem; }
}

/* ── Field layout ────────────────────────────────────────────── */
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 560px) {
  .cf-row { grid-template-columns: 1fr; }
}

.cf-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
}

/* ── Labels ──────────────────────────────────────────────────── */
.cf-field label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
}
.cf-field label svg { color: var(--accent); flex-shrink: 0; }

/* ── Inputs & Textarea ───────────────────────────────────────── */
.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  box-sizing: border-box;
}
.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder {
  color: var(--muted);
  opacity: 0.6;
}
.contact-form-card input:focus,
.contact-form-card textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 245, 196, 0.1);
}
.contact-form-card textarea {
  resize: vertical;
  min-height: 130px;
}

/* ── Submit button ───────────────────────────────────────────── */
.cf-submit {
  width: 100%;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  letter-spacing: 0.03em;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.cf-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 245, 196, 0.2);
}
.cf-submit:active {
  transform: translateY(0);
}

/* ── Form feedback message ───────────────────────────────────── */
.form-message {
  margin-top: 1rem;
  font-size: 0.85rem;
  border-radius: 8px;
  padding: 0;
  transition: all 0.3s;
}
.form-message.success {
  color: var(--accent);
  background: rgba(0, 245, 196, 0.07);
  border: 1px solid rgba(0, 245, 196, 0.2);
  padding: 0.75rem 1rem;
}
.form-message.error {
  color: #f87171;
  background: rgba(248, 113, 113, 0.07);
  border: 1px solid rgba(248, 113, 113, 0.2);
  padding: 0.75rem 1rem;
}

/* ── Social Share Buttons ─────────────────────────────────── */
.share-post {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  max-width: 75ch;
}
.share-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}
.btn-share {
  padding: 0.45rem 0.9rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}
@media (max-width: 480px) {
  .btn-share { padding: 0.4rem 0.75rem; font-size: 0.7rem; }
}
