.portfolio-page {
    background: #fafafa;
    padding: 100px 20px;
  }
  
  .portfolio-header {
    text-align: center;
    max-width: 800px;
    margin: auto;
  }
  
  .portfolio-eyebrow {
    color: #f5a200;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
  }
  
  .portfolio-header h1 {
    font-size: 48px;
    margin: 15px 0;
    font-weight: 800;
  }
  
  .portfolio-header h1 span {
    color: #f5a200;
  }
  
  .portfolio-header p {
    color: #777;
    line-height: 1.6;
  }
  
  /* Filters */
  .portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 50px 0;
  }
  
  .filter-btn {
    padding: 10px 20px;
    border-radius: 25px;
    border: none;
    background: #eee;
    color: #333;
    cursor: pointer;
    font-weight: 500;
    transition: 0.3s;
  }
  
  .filter-btn.active,
  .filter-btn:hover {
    background: #f5a200;
    color: #fff;
  }
  
  /* Grid */
  .portfolio-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  
  /* Card */
  .portfolio-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  }
  
  /* Image */
  .portfolio-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.4s ease;
  }
  
  /* Overlay */
  .portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to top,
      rgba(0,0,0,0.75),
      rgba(0,0,0,0.2)
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
  }
  
  /* Text */
  .portfolio-overlay h3 {
    color: #fff;
    margin: 8px 0 4px;
    font-size: 18px;
  }
  
  .portfolio-overlay small {
    color: #ddd;
  }
  
  .portfolio-overlay .tag {
    background: #f5a200;
    color: #fff;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 12px;
    align-self: flex-start;
  }
  .lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }
  
  .lightbox img,
  .lightbox video {
    max-width: 90%;
    max-height: 90%;
    display: none;
  }
  
  .lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
  }
  
  /* Allow clicks to pass through overlay */
.portfolio-overlay {
  pointer-events: none;
}

/* Cursor hint */
.portfolio-card {
  cursor: pointer;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.lightbox img,
.lightbox video {
  max-width: 90%;
  max-height: 90%;
  display: none;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}
/* Carousel Card */
.video-carousel-card {
  height: 320px;
  overflow: hidden;
}

.carousel-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.carousel-video.active {
  opacity: 1;
  pointer-events: auto;
}

/* Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.carousel-arrow:hover {
  background: #f5a200;
}

.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }

/* Dots */
.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 10;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transition: background 0.3s;
}

.carousel-dot.active {
  background: #f5a200;
}

/* Expand/lightbox button */
.carousel-expand {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 5px 9px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-expand:hover {
  background: #f5a200;
}

  /* Hover Effects */
  .portfolio-card:hover img {
    transform: scale(1.08);
  }
  
  .portfolio-card:hover .portfolio-overlay {
    opacity: 1;
    transform: translateY(0);
  }
  .portfolio-card {
    position: relative;
    height: 320px;
    overflow: hidden;
  }
  
  .portfolio-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  /* Responsive */
  @media (max-width: 1024px) {
    .portfolio-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 600px) {
    .portfolio-grid {
      grid-template-columns: 1fr;
    }
  
    .portfolio-header h1 {
      font-size: 36px;
    }
  }
  