/* ===== ROOT COLORS ===== */
:root {
  --black: #0b0b0b;
  --navy: #0f172a;
  --neon-blue: #00eaff;
  --yellow: #facc15;
  --orange: #ff7a00;
  --white: #ffffff;
}

/* ===== SECTION ===== */
.portfolio-section {
  background: var(--black);
  color: var(--white);
  padding: 80px 6%;
  min-height: 100vh;
}

/* ===== HEADER ===== */
.portfolio-header {
  text-align: center;
  margin-bottom: 50px;
}

.portfolio-header h1 {
  font-size: 42px;
  font-weight: 700;
}

.portfolio-header span {
  color: var(--orange);
}

.portfolio-header p {
  color: #aaa;
  margin-top: 10px;
}

/* ===== SERVICE BUTTONS ===== */
.services-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 50px;
}

.service-btn {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--orange);
  background: transparent;
  color: var(--orange);
  cursor: pointer;
  transition: 0.3s;
}

.service-btn:hover,
.service-btn.active {
  background: var(--white);
  color: var(--black);
}

/* ===== GRID ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

/* ===== CARD ===== */
.project-card {
  background: var(--navy);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .3s;
}

.project-card:hover {
  transform: translateY(-6px);
}

/* ===== IMAGE FIX SIZE ===== */
.project-card img ,.project-card video{
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* ===== CARD CONTENT ===== */
.project-info {
  padding: 15px;
}

.project-info h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.project-info span {
  color: var(--neon-blue);
  font-size: 13px;
}

/* ===== CTA ===== */
.portfolio-cta {
  text-align: center;
  margin-top: 60px;
}

.cta-btn {
  background: var(--yellow);
  color: var(--black);
  padding: 14px 34px;
  border-radius: 999px;
  font-weight: bold;
  text-decoration: none;
}

/* ===== MODAL ===== */
.image-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.image-modal img {
  max-width: 90%;
  max-height: 90%;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 32px;
  color: white;
  cursor: pointer;
}



.video-thumb {
  position: relative;
}

.play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 48px;
  color: white;
  background: rgba(0,0,0,0.4);
  pointer-events: none;
}

