/* ==================================================
   PORTFOLIO HERO – GLOBAL CONTAINER SAFE VERSION
================================================== */

:root {
  --prt-max-width: clamp(1280px, 92vw, 1680px);
  --prt-padding-x: clamp(24px, 4vw, 72px);
}

/* ================= HERO ================= */

.prt-hero {
  position: relative;
  width: 100%;
  min-height: 80vh;
  max-height: 900px;

  display: flex;
  align-items: center;

  overflow: hidden;
  background: #000;
}

/* ================= HERO SAFE OFFSET ================= */

.prt-hero {
  position: relative;
  padding-top: clamp(88px, 10vh, 120px);
}

/* ================= BACKGROUND ================= */

.prt-hero-bg {
  position: absolute;
  inset: 0;

  background-image: url("../../picture/images/portfolio/portfolio-header.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  opacity: 0.5;
  z-index: 0;
}

/* ================= CONTENT ================= */

.prt-hero-content {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: var(--prt-max-width);
  margin-inline: auto;

  padding-inline: var(--prt-padding-x);
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ================= TYPOGRAPHY ================= */

.prt-hero-title {
  color: #fff;
  font-size: clamp(36px, 4vw, 64px);
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.prt-hero-sub {
  color: rgba(255,255,255,.85);
  font-size: clamp(16px, 1.2vw, 20px);
  max-width: 720px;
  margin-bottom: 26px;
}

.prt-hero-meta {
  color: rgba(255,255,255,.7);
  font-size: clamp(12px, .9vw, 14px);
  letter-spacing: 3px;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

  .prt-hero {
    min-height: 64vh;
  }

  .prt-hero-content {
    padding-inline: 16px;
    text-align: center;
    align-items: center;
  }

  .prt-hero-sub {
    font-size: 16px;
  }

  .prt-hero-meta {
    font-size: 12px;
    letter-spacing: 2px;
  }

}
