/* ============================
   PORTFOLIO SECTION
============================ */

.portfolio-section {
 
  background-color: #000;
  padding-bottom: 80px;
}

/* Fix 1: make sure closed dropdown can't block clicks */
.dropdown-menu {
  pointer-events: none;
}
.dropdown-menu.open,
.dropdown:hover .dropdown-menu {
  pointer-events: auto;
}

/* Fix 2: ensure strip sits above header stacking context */
.portfolio-strip {
  position: relative;
  z-index: 200; /* was 101 — now above header */
}

/* ============================
   CATEGORY STRIP
============================ */

.portfolio-strip {
  width: 100%;
  padding: 25px 0;
  background: linear-gradient(135deg, #000000, #1a1a1a, #111111);
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  position: relative;   /* ADD THIS */
  z-index: 101;
}

.strip-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  padding: 0 20px;    /* ADD THIS — prevents edge clipping on smaller screens */
  overflow: visible;
}

.strip-btn {
  background: transparent;
  border: none;
  color: #ccc;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  padding: 10px 5px;
  position: relative;
  transition: all 0.3s ease;
}
.strip-btn {
  cursor: pointer !important;
}
/* underline animation */
.strip-btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #FFD700, #CFAF67);
  transition: width 0.3s ease;
}

.strip-btn:hover {
  color: #FFD700;
}

.strip-btn:hover::after {
  width: 100%;
}

.strip-btn.active {
  color: #FFD700;
}

.strip-btn.active::after {
  width: 100%;
}
.hidden {
  display: none !important;
}
/* ============================
   PORTFOLIO GRID
============================ */
/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  padding: 40px 20px;
}

/* Portfolio Cards */
.portfolio-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  
  transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
  background-color: #111;
}

/* Portfolio card images */
.portfolio-card img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Apply grayscale ONLY to image cards (no data-video) */
/* .portfolio-card:not([data-video]) img {
  filter: grayscale(100%);
} */

/* Hover effect for all cards */
.portfolio-card:hover img {
  transform: scale(1.05);
}

/* Remove grayscale on hover for images */
.portfolio-card:not([data-video]):hover img {
  filter: grayscale(0%);
}

.portfolio-card:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 35px rgba(255, 215, 0, 0.2);
}

/* Play Icon */
.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 50px;
  color: rgba(255, 215, 0, 0.85);
  pointer-events: none;
  animation: pulse 1.5s infinite;
}

/* Pulse Animation */
@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.1); }
}

/* Modal Styling */
.video-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
}

.video-modal.show {
  display: flex;
  animation: fadeIn 0.4s forwards;
}

.video-modal .video-content {
  position: relative;
  width: 100%;
  max-width: 900px;
}

.video-modal iframe {
  width: 100%;
  height: 500px;
  border-radius: 12px;
}

.video-modal .close {
  position: absolute;
  top: -25px;
  right: -25px;
  font-size: 30px;
  color: #FFD700;
  cursor: pointer;
}

/* Fade In Animation */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}