/* Project Details Section */
.project-details-section {
  padding: 80px 0;
  background: var(--dark-bg);
}

.project-details-wrapper {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 60px;
}

/* Main Article Content */
.project-article {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 193, 7, 0.2);
  border-radius: 30px;
  padding: 50px;
}

.project-header {
  margin-bottom: 35px;
}

.project-badges-row {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.project-category,
.project-status {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.project-category {
  background: rgba(255, 193, 7, 0.2);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  margin-bottom: 0 !important;
}

.project-status {
  color: white;
}

.project-status.status-ongoing {
  background: rgba(76, 175, 80, 0.9);
}

.project-status.status-completed {
  background: rgba(33, 150, 243, 0.9);
}

.project-status.status-upcoming {
  background: rgba(255, 152, 0, 0.9);
}

.project-header h1 {
  color: #fff;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 25px;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 193, 7, 0.1);
}

/* Featured Image */
.project-featured-image {
  margin-bottom: 40px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.project-featured-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

/* Project Stats Section */
.project-stats-section {
  margin-bottom: 50px;
  padding: 40px;
  background: rgba(255, 193, 7, 0.05);
  border-radius: 20px;
  border: 1px solid rgba(255, 193, 7, 0.2);
}

.project-stats-section h2 {
  color: #fff;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 30px;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.stat-card {
  text-align: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  border: 1px solid rgba(255, 193, 7, 0.2);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(255, 193, 7, 0.2);
}

.stat-icon-large {
  font-size: 48px;
  display: block;
  margin-bottom: 15px;
}

.stat-value-large {
  color: var(--primary-color);
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 10px;
}

.stat-label {
  color: var(--text-light);
  font-size: 16px;
  font-weight: 600;
}

/* Project Content */
.project-content {
  color: var(--text-light);
  font-size: 17px;
  line-height: 1.9;
  margin-bottom: 50px;
  padding: 0 !important;
}

.lead-text {
  font-size: 20px;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 35px;
  font-weight: 500;
}

.project-content h2 {
  color: #fff;
  font-size: 32px;
  font-weight: 800;
  margin: 50px 0 25px 0;
  line-height: 1.3;
}

.project-content p {
  margin-bottom: 25px;
}

/* Project Gallery */
.project-gallery-section {
  margin-bottom: 50px;
}

.project-gallery-section h2 {
  color: #fff;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 30px;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

.gallery-caption {
  text-align: center;
  font-size: 14px;
  color: var(--text-dim);
  margin-top: 10px;
  font-style: italic;
}

/* Support CTA */
.support-cta {
  background: linear-gradient(
    135deg,
    rgba(255, 193, 7, 0.15) 0%,
    rgba(255, 193, 7, 0.05) 100%
  );
  border: 2px solid var(--primary-color);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  margin-bottom: 50px;
}

.support-cta h3 {
  color: #fff;
  font-size: 28px;
  margin-bottom: 15px;
}

.support-cta p {
  color: var(--text-light);
  font-size: 16px;
  margin-bottom: 25px;
}

/* Related Projects */
.related-projects {
  margin-top: 60px;
}

.related-projects h2 {
  color: #fff;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 35px;
  text-align: center;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.related-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 193, 7, 0.1);
}

.related-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(255, 193, 7, 0.2);
  border-color: var(--primary-color);
}

.related-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.related-card:hover .related-image img {
  transform: scale(1.1);
}

.related-status {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 6px 15px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 700;
  color: white;
}

.related-content {
  padding: 25px;
}

.related-category {
  display: inline-block;
  background: rgba(255, 193, 7, 0.2);
  color: var(--primary-color);
  padding: 5px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.related-content h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.related-content p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.view-more {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.view-more:hover {
  padding-left: 5px;
}

/* Sidebar */
.project-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.sidebar-widget {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 193, 7, 0.2);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
}

.widget-title {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(255, 193, 7, 0.2);
}

/* Project Info List */
.project-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  border: 1px solid rgba(255, 193, 7, 0.1);
}

.info-label {
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 600;
}

.info-value {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: right;
}

.info-value.status-ongoing {
  color: #4caf50;
}

.info-value.status-completed {
  color: #2196f3;
}

.info-value.status-upcoming {
  color: #ff9800;
}

/* Share Buttons Vertical */
.share-buttons-vertical {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.share-btn-vertical {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 193, 7, 0.2);
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
}

.share-btn-vertical:hover {
  background: rgba(255, 193, 7, 0.1);
  border-color: var(--primary-color);
  transform: translateX(5px);
}

.share-icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background: var(--primary-color);
  color: var(--dark-bg);
}

.share-text {
  font-weight: 600;
  font-size: 14px;
}

/* CTA Widget */
.cta-widget {
  background: linear-gradient(
    135deg,
    rgba(255, 193, 7, 0.15) 0%,
    rgba(255, 193, 7, 0.05) 100%
  );
  border: 2px solid var(--primary-color);
  text-align: center;
}

.cta-widget h3 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 15px;
}

.cta-widget p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.cta-widget .btn-primary {
  width: 100%;
  padding: 14px;
  text-align: center;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .project-details-wrapper {
    grid-template-columns: 1fr 300px;
    gap: 40px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 968px) {
  .project-details-wrapper {
    grid-template-columns: 1fr;
  }

  .project-sidebar {
    position: static;
  }

  .project-article {
    padding: 35px;
  }

  .project-header h1 {
    font-size: 32px;
  }

  .project-featured-image img {
    height: 350px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .project-article {
    padding: 25px;
  }

  .project-header h1 {
    font-size: 26px;
  }

  .project-content {
    font-size: 16px;
  }

  .project-content h2 {
    font-size: 26px;
  }

  .project-featured-image img {
    height: 250px;
  }

  .project-meta {
    gap: 15px;
  }

  .sidebar-widget {
    padding: 20px;
  }
}
