/* HERO */
.portfolio-hero {
    padding: 0;
    border-top: none;
    height: min(calc(100vw * 9 / 16), 420px);
    overflow: hidden;
  }
  
  .hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  /* INTRO */
  .portfolio-intro {
    padding: 48px 0 32px;
  }
  
  .portfolio-intro h1 {
    position: relative;
    display: inline-block;
    margin-bottom: 12px;
  }
  
  /* GRID */
  .portfolio-section {
    padding-bottom: 64px;
  }
  
  .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
  }
  
  /* CARD */
  .portfolio-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    border: 2px solid rgba(244, 185, 0, 0.5);
    background: #000;
    transition: box-shadow 0.3s ease;
  }
  
  .portfolio-card img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.4s ease;
  }
  
  .portfolio-card:hover img {
    transform: scale(1.06);
  }
  
  .portfolio-card:hover {
    box-shadow: 0 14px 32px rgba(133, 43, 35, 0.35);
  }
  
  /* OVERLAY */
  .portfolio-overlay {
    position: absolute;
    inset: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(
      to top,
      rgba(133, 43, 35, 0.5),
      rgba(133, 43, 35, 0.2)
    );
    color: #fff;
  }
  
  .portfolio-overlay h3 {
    margin: 0;
    font-size: 1.1rem;
  }
  
  .portfolio-overlay h3::after {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    background: var(--yellow);
    margin-top: 6px;
    border-radius: 2px;
  }
  
  .portfolio-overlay span {
    font-size: 0.85rem;
    color: var(--yellow);
    margin-top: 6px;
  }
  