/* === General Project Page Styles === */
body {
  background-color: #ffffff;
  font-family: "Poppins", sans-serif;
}

/* === Hero Carousel Section === */
.hero-carousel {
  width: 100%;
  height: 85vh; /* Taller carousel */
  position: relative;
  margin-top: 10vh; /* Adjust for navbar height */
}

.hero-carousel .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* UPDATED: This ensures the full image is visible */
}

.hero-carousel .swiper-button-next,
.hero-carousel .swiper-button-prev {
  color: #000000;
  --swiper-navigation-size: 30px;
}

.hero-carousel .swiper-pagination-bullet-active {
  background: #fff;
}

/* === Main Content Container === */
.project-detail-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* === Project Info Section === */
.project-info-section {
  display: flex;
  gap: 3rem;
  margin-bottom: 5rem;
  flex-wrap: wrap;
  background-color: #f8f9fa;
  padding: 3rem;
  border-radius: 15px;
}

.project-info-left {
  flex: 1;
  min-width: 250px;
}

.project-info-right {
  flex: 2;
  line-height: 1.8;
  color: #343a40;
}

.project-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1.5rem;
}

.info-item {
  margin-bottom: 1.5rem;
}

.info-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.25rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.info-item p {
  font-size: 1.1rem;
  color: #6c757d;
}

/* === More Projects Section === */
.more-projects-section {
  padding-top: 4rem;
  border-top: 1px solid #dee2e6;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 3rem;
}

.more-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
  text-decoration: none;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.project-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 2rem 1.5rem 1.5rem;
  color: #fff;
}

.project-card-overlay h3 {
  font-size: 1.4rem;
  font-weight: 600;
}

/* === Responsive Design === */
@media (max-width: 768px) {
  .project-detail-container {
    padding: 2rem 1rem;
  }

  .hero-carousel {
    height: 60vh;
    margin-top: 10vh;
  }

  .project-title {
    font-size: 2rem;
  }
}
