/* portfolio_videos.css */
/* =========================
HERO
========================= */
.portfolio-hero {
  padding-top: 4rem;
  padding-bottom: 2rem;
}
.portfolio-hero h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.1;
  color: var(--nordsee-blau);
  margin-bottom: 1rem;
  max-width: 12ch;
}
.portfolio-lead {
  max-width: 40rem;
  color: var(--sturmwolke);
  font-size: 1rem;
}
/* =========================
GRID
========================= */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
/* =========================
VIDEO CARD
========================= */
.video-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  cursor: pointer;
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow:
    0 10px 28px rgba(0,0,0,0.08);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 18px 45px rgba(0,0,0,0.14);
}
/* IMAGE */
.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.video-card:hover img {
  transform: scale(1.04);
}
/* OVERLAY */
.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(
      to top,
      rgba(0,0,0,0.35),
      rgba(0,0,0,0.05)
    );
}
/* PLAY BUTTON */
.play-button {
  width: 82px;
  height: 82px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}
.video-card:hover .play-button {
  transform: scale(1.08);
  background: rgba(255,255,255,0.26);
}
/* =========================
VIDEO MODAL
========================= */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 2rem;
}
.video-container {
  width: min(1200px, 100%);
  aspect-ratio: 16 / 9;
}
.video-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 1rem;
}
/* =========================
RESPONSIVE
========================= */
@media (max-width: 900px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .portfolio-hero {
    padding-top: 2rem;
  }
}
