/* ---- Resume Page Specific Styles ---- */
:root {
  --resume-bg: #eef1f6;
  --resume-surface: #ffffff;
  --resume-shadow: 0 18px 45px rgba(15, 23, 42, 0.05);
  --resume-border: rgba(15, 23, 42, 0.05);
  --resume-primary: #1f6feb;
  --resume-muted: #6b7280;
  --resume-radius: 1.25rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Page background */
body.resume-page {
  background: radial-gradient(circle at top, #f3f5fb 0%, var(--resume-bg) 50%, var(--resume-bg) 100%);
}

/* Main resume section container */
.resume-card {
  background: var(--resume-surface);
  border-radius: var(--resume-radius);
  box-shadow: var(--resume-shadow);
  padding: 2rem 1.8rem 2.3rem;
  max-width: 1080px;
  margin: 3rem auto;
}

/* Header area inside the card */
.resume-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.resume-head h1 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.9rem, 4vw, 2.4rem);
}

.resume-head p {
  color: var(--resume-muted);
  font-size: 0.95rem;
}

/* Download button */
.btn.primary {
  background: var(--resume-primary);
  color: #fff;
  border: none;
  padding: 0.65rem 1.25rem;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(31, 111, 235, 0.25);
}

/* PDF embed box */
.pdf-wrapper {
  background: #f8fafc;
  border-radius: 1.15rem;
  overflow: hidden;
  border: 1px solid var(--resume-border);
  margin-bottom: 1.7rem;
}

.pdf-wrapper.large iframe {
  width: 100%;
  height: 780px;
  border: none;
  display: block;
  background: #fff;
}

/* Quick Profile Box */
.resume-preview {
  background: var(--resume-surface);
  border: 1px solid var(--resume-border);
  border-radius: 1.15rem;
  padding: 1.25rem 1.4rem 1.4rem;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}

.resume-preview h2 {
  margin-top: 0;
  font-size: 1.4rem;
  color: #1f2937;
}

.resume-preview ul {
  padding-left: 1.2rem;
  margin-bottom: 0.9rem;
}

.resume-preview p {
  color: var(--resume-muted);
  font-size: 0.95rem;
}

/* Footer consistency */
.site-footer {
  margin-top: 3rem;
}

/* Responsive layout */
@media (max-width: 780px) {
  .resume-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .pdf-wrapper.large iframe {
    height: 540px;
  }
}
