﻿.projects-sec{
  padding:70px 20px;
  background:#f9f7f3;
}

.container{
  max-width:1200px;
  margin:auto;
}

/* HEADER */
.projects-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:30px;
}

.projects-head h3{
  font-size:14px;
  letter-spacing:2px;
  color:#2f5d50;
}

.projects-head a{
  font-size:12px;
  color:#2f5d50;
  text-decoration:none;
}

/* GRID */
.projects-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:20px;
}

/* CARD */
.project-card{
  position:relative;
  border-radius:14px;
  overflow:hidden;
  cursor:pointer;
}

/* IMAGE */
.project-card img{
  width:100%;
  height:260px;
  object-fit:cover;
  transition:0.4s;
}

/* DARK OVERLAY */
.overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
    to top,
    rgba(0,0,0,0.7),
    transparent 60%
  );
}

/* TEXT */
.project-info{
  position:absolute;
  bottom:20px;
  left:20px;
  color:#fff;
}

.project-info h4{
  font-size:18px;
  margin-bottom:5px;
}

.project-info p{
  font-size:12px;
  opacity:0.8;
}

.project-info span{
  font-size:11px;
  opacity:0.7;
}

/* STATUS BADGE */
.status{
  position:absolute;
  bottom:20px;
  right:20px;
  padding:6px 12px;
  border-radius:6px;
  font-size:11px;
  font-weight:600;
}

/* COLORS */
.ready{
  background:#2f5d50;
  color:#fff;
}

.ongoing{
  background:#3a7c5a;
  color:#fff;
}

.upcoming{
  background:#c9a74d;
  color:#fff;
}

/* HOVER */
.project-card:hover img{
  transform:scale(1.05);
}

@media(max-width:768px){

  .projects-grid{
    grid-template-columns:1fr;
    gap:15px;
  }

  .project-card img{
    height:220px;
  }

}