section {
  width: 100%;
  margin-top: clamp(50px, 5vw, 100px);
  display: flex;
  flex-direction: column;
}

#project-hero {
  text-align: center;
  padding: clamp(40px, 6vw, 80px) 0;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

#project-hero h4 {
  color: rgb(0, 0, 0, 0.5);
  text-transform: uppercase;
  font-size: clamp(14px, 2vw, 18px);
  letter-spacing: 2px;
  margin: 0 0 20px 0;
  font-weight: 600;
}

#project-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(36px, 6vw, 72px);
  margin: 0 0 30px 0;
  line-height: 1.2;
  font-weight: bold;
}

.project-meta {
  display: flex;
  justify-content: center;
  gap: clamp(40px, 8vw, 80px);
  flex-wrap: wrap;
  margin-top: 30px;
}

.meta-item {
  text-align: center;
}

.meta-item h4 {
  color: rgb(0, 0, 0, 0.5);
  text-transform: uppercase;
  font-size: clamp(12px, 2vw, 16px);
  letter-spacing: 1.5px;
  margin: 0 0 10px 0;
  font-weight: 600;
}

.meta-item p {
  font-size: clamp(16px, 2.5vw, 22px);
  margin: 0;
  color: rgb(0, 0, 0, 0.9);
  font-weight: 500;
}

#project-overview {
  width: 90%;
  background-color: rgba(162, 167, 167, 0.4);
  padding: clamp(40px, 6vw, 80px);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-top: clamp(50px, 6vw, 100px);
}

#project-overview h3 {
  font-size: clamp(24px, 4vw, 40px);
  margin: 0 0 25px 0;
  color: rgb(0, 0, 0, 0.9);
}

#project-overview p {
  line-height: 1.8;
  color: rgb(0, 0, 0, 0.7);
  margin: 0 0 30px 0;
}

.project-links {
  display: flex;
  gap: 20px;
  align-items: center;
  padding-top: clamp(25px, 4vw, 35px);
  border-top: 2px solid rgba(0, 0, 0, 0.08);
}

.project-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background-color: rgb(0, 0, 0);
  color: white;
  border-radius: 6px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-size: clamp(16px, 2vw, 20px);
}

.project-link-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.project-link-btn img {
  width: 20px;
  height: 20px;
  filter: invert(1);
}

#project-images {
  margin-top: clamp(50px, 6vw, 100px);
}

#project-images h3 {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 4vw, 48px);
  margin: 0 0 clamp(30px, 5vw, 60px) 0;
  text-align: center;
}

#project-images .gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 5vw, 60px);
}

#project-images img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

#project-images img:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.lead-text {
  font-size: clamp(17px, 2.5vw, 20px);
  line-height: 1.8;
  color: rgb(0, 0, 0, 0.75);
  margin: 0;
}

.features-section {
  padding-top: clamp(25px, 4vw, 35px);
  border-top: 2px solid rgba(0, 0, 0, 0.08);
}

.features-section h4 {
  font-size: clamp(24px, 3.5vw, 34px);
  margin: 0 0 clamp(30px, 4vw, 40px) 0;
  color: rgb(0, 0, 0, 0.9);
  font-weight: 600;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: clamp(20px, 3vw, 30px);
  margin-bottom: clamp(30px, 4vw, 40px);
}

.feature-card {
  display: flex;
  gap: 20px;
  padding: clamp(20px, 3vw, 28px);
  background: linear-gradient(
    135deg,
    rgba(243, 239, 232, 0.3),
    rgba(255, 248, 240, 0.5)
  );
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.15);
}

.feature-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
  border-radius: 10px;
  color: white;
  font-size: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.feature-content {
  flex: 1;
}

.feature-content h5 {
  font-family: "Playfair Display", serif;
  font-size: clamp(18px, 2.5vw, 22px);
  margin: 0 0 10px 0;
  color: rgb(0, 0, 0, 0.9);
  font-weight: 600;
}

.feature-content p {
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.7;
  color: rgb(0, 0, 0, 0.7);
  margin: 0;
}

code {
  background-color: rgba(0, 0, 0, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: "Courier New", monospace;
  font-size: 0.9em;
  color: rgba(0, 0, 0, 0.85);
  font-weight: 500;
}

.tech-stack-badges {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: clamp(25px, 4vw, 35px);
  padding-top: clamp(25px, 4vw, 35px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.stack-category {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.category-label {
  font-size: clamp(13px, 2vw, 15px);
  font-weight: 700;
  color: rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-badge {
  display: inline-block;
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.7));
  color: white;
  border-radius: 20px;
  font-size: clamp(13px, 2vw, 15px);
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tech-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

@media screen and (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    flex-direction: column;
    text-align: center;
  }

  .feature-icon {
    margin: 0 auto;
  }

  .tech-stack-badges {
    flex-direction: column;
  }
}

/* section {
  width: 100%;
  margin-top: clamp(72px, 5vw, 145px);
  display: flex;
  flex-direction: column;
}

#project-detail {
  flex-direction: row;
}

#project-detail > div {
  width: 50%;
  display: flex;
  flex-direction: column;
}

#project-detail h4 {
  color: rgb(0, 0, 0, 0.5);
  text-transform: uppercase;
}

#project-detail h2,
h4,
p {
  margin: 0;
  padding-right: 20px;
}

#project-resource-links {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 50px;
}

#project-images div {
  width: 100%;
  display: grid;
  grid-template-rows: repeat(1, 1fr);
  row-gap: 50px;
}

#project-images img {
  width: 100%;
}

@media screen and (max-width: 1024px) {
  #project-detail {
    flex-direction: column;
  }

  #project-detail > div {
    margin-top: 40px;
    width: 100%;
  }
} */
