

:root {
  --main-color: #f7f7f7;
  --primary-color: #242424;
  --secondary-color: #fe4c06;
  --secondary2-color: #cbebf6;
  --color: #e6e5e5b2;
  --color12: #ececec;
  --color1: #acacaca8;
  --color2: #111111;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
  list-style: none;
  text-decoration: none;
}

body {
  background-color: var(--main-color);
}


     .portfolio-header{
      
  display: flex;
  align-items: center;
  justify-content: center;
   background: linear-gradient(200deg, rgba(0, 0, 0, 0.6), #fe4c06), url("../Imgaes/bg arts.png");;
      /* background-image:  */
      background-position:center;
      background-size: cover;
      background-repeat: no-repeat;
      height: 40vh;
      width: 100vw !important;
      margin-left: -1.2em;
      margin-top: -1.2em;

}        
.portfolio-header-title{
  font-size: 2rem;
  color: var(--main-color);
}
.portfolio-header-title::after{
  display: none !important;
}

    .project-filter {
      display: flex;
      justify-content: center;
      gap: 1em;
      margin-top: 2em;
      margin-bottom: 2em;
      flex-wrap: wrap;
    }

    .project-filter a {
      text-decoration: none;
      padding: 0.5em 1em;
      border: 1px solid var(--secondary-color);
      color: var(--secondary-color);
      border-radius: 20px;
      cursor: pointer;
    }

    .project-filter a:hover {
      background: var(--secondary-color);
      color: var(--main-color);
    }

    .projects-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.5em;
    }

    .project-item {
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07);
      cursor: pointer;
      background: var(--main-color);
    }

    .project-item img,
    .project-item video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      aspect-ratio: 1 / 1;
        transition: transform 0.3s ease;
    }
    .project-item img:hover,   .project-item video:hover {
      transform: scale(1.05);
    }

    /* Modal */
    .video-modal {
      display: none;
      position: fixed;
      z-index: 9999;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background-color: rgba(0, 0, 0, 0.8);
      justify-content: center;
      align-items: center;
    }

    .video-modal video {
      max-width: 90%;
      max-height: 90%;
    }

    .close-btn {
      position: absolute;
      top: 20px;
      right: 40px;
      font-size: 3rem;
      color: var(--main-color);
      cursor: pointer;
      user-select: none;
    }

    .image-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.image-modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.image-modal .close-btn {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  user-select: none;
}












    @media (max-width: 920px) {
      .project-filter {
        display: flex;
        justify-content: center;
        align-items: center;
      gap: 1.5em;
    }
    .project-filter a {
      font-size: 1.2rem;
    }
    }