/* ============================================================
   portfolio-profile.css
   Page-specific styles for the Individual Portfolio Profile page
   Structure Efficiency — structureefficiency.com
   ============================================================ */

:root {
  --se-orange:     #f60;
  --se-orange-dk:  #e05500;
  --se-black:      #111111;
  --se-dark:       #1a1a1a;
  --se-gray:       #555555;
  --se-light-gray: #f5f5f5;
  --se-border:     #e0e0e0;
  --se-white:      #ffffff;
  --font-main:     'Poppins', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-main);
  color: var(--se-dark);
  background: var(--se-white);
  line-height: 1.7;
}

/* ── Shared section wrapper ─────────────────────────────── */
.pf-section {
  padding: 80px 0;
}
.pf-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.pf-section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--se-orange);
  margin-bottom: 10px;
}
.pf-section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--se-dark);
  margin-bottom: 10px;
  line-height: 1.25;
}
.pf-section-title span {
  color: var(--se-orange);
}
.pf-section-sub {
  font-size: 0.95rem;
  color: var(--se-gray);
  margin-bottom: 48px;
  max-width: 580px;
}
.pf-divider {
  width: 44px;
  height: 3px;
  background: var(--se-orange);
  margin: 14px 0 20px;
  border-radius: 2px;
}

/* ── HERO ───────────────────────────────────────────────── */
.pf-hero {
  background: var(--se-black);
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}
.pf-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,102,0,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.pf-hero-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}
.pf-hero-img-wrap {
  flex: 0 0 auto;
  position: relative;
}
.pf-hero-img-wrap::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: 8px;
  bottom: 8px;
  border: 2px solid var(--se-orange);
  border-radius: 6px;
  z-index: 0;
}
.pf-hero-img {
  width: 260px;
  height: 310px;
  object-fit: cover;
  border-radius: 5px;
  display: block;
  position: relative;
  z-index: 1;
  background: #2a2a2a;
}
.pf-hero-img-placeholder {
  width: 260px;
  height: 310px;
  border-radius: 5px;
  background: #222;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #555;
  font-size: 0.8rem;
  position: relative;
  z-index: 1;
  gap: 10px;
}
.pf-hero-img-placeholder i {
  font-size: 3rem;
  color: #333;
}
.pf-hero-content {
  flex: 1;
}
.pf-hero-role {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--se-orange);
  margin-bottom: 14px;
}
.pf-hero-name {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--se-white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.pf-hero-summary {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 32px;
}
.pf-hero-cta {
  display: inline-block;
  background: var(--se-orange);
  color: var(--se-white);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
}
.pf-hero-cta:hover { background: var(--se-orange-dk); }

/* ── ABOUT ──────────────────────────────────────────────── */
.pf-about { background: var(--se-white); }
.pf-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.pf-about-text p {
  font-size: 0.95rem;
  color: var(--se-gray);
  margin-bottom: 16px;
}
.pf-about-text p:last-child { margin-bottom: 0; }
.pf-about-highlight {
  background: var(--se-light-gray);
  border-left: 4px solid var(--se-orange);
  border-radius: 0 6px 6px 0;
  padding: 24px 28px;
  margin-top: 32px;
}
.pf-about-highlight p {
  font-size: 0.9rem;
  color: var(--se-dark);
  font-weight: 500;
  margin: 0;
}

/* ── PROBLEMS ───────────────────────────────────────────── */
.pf-problems { background: var(--se-light-gray); }
.pf-problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.pf-problem-card {
  background: var(--se-white);
  border: 1px solid var(--se-border);
  border-radius: 6px;
  padding: 24px 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.2s;
}
.pf-problem-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.pf-problem-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  background: var(--se-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.pf-problem-icon i {
  font-size: 0.75rem;
  color: var(--se-white);
}
.pf-problem-text {
  font-size: 0.88rem;
  color: var(--se-dark);
  line-height: 1.6;
}

/* ── RESULTS ────────────────────────────────────────────── */
.pf-results { background: var(--se-black); }
.pf-results .pf-section-title { color: var(--se-white); }
.pf-results .pf-section-sub   { color: rgba(255,255,255,0.55); }
.pf-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.pf-result-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 24px 26px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: background 0.2s;
}
.pf-result-card:hover {
  background: rgba(255,102,0,0.07);
  border-color: rgba(255,102,0,0.3);
}
.pf-result-check {
  flex: 0 0 auto;
  color: var(--se-orange);
  font-size: 1rem;
  margin-top: 3px;
}
.pf-result-text {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
}

/* ── TOOLS ──────────────────────────────────────────────── */
.pf-tools { background: var(--se-white); }
.pf-tools-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.pf-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--se-light-gray);
  border: 1px solid var(--se-border);
  color: var(--se-dark);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 100px;
  transition: all 0.2s;
  cursor: default;
}
.pf-tag:hover {
  background: var(--se-orange);
  color: var(--se-white);
  border-color: var(--se-orange);
}
.pf-tag i {
  font-size: 0.8rem;
  color: var(--se-orange);
  transition: color 0.2s;
}
.pf-tag:hover i { color: var(--se-white); }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 860px) {
  .pf-hero-inner {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }
  .pf-hero-summary { margin: 0 auto 32px; }
  .pf-about-grid   { grid-template-columns: 1fr; gap: 32px; }
  .pf-divider { margin-left: auto; margin-right: auto; }
}
@media (max-width: 600px) {
  .pf-section { padding: 56px 0; }
  .pf-hero    { padding: 56px 0 48px; }
  .pf-hero-img-placeholder,
  .pf-hero-img { width: 220px; height: 260px; }
  .pf-problems-grid,
  .pf-results-grid { grid-template-columns: 1fr; }
}
