/* Custom styles for project show page */

/* Enhanced Hero Section with Gradient Background */
.project-hero {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  margin-bottom: 2rem;
  padding: 2rem 1.5rem;
  transition: all 0.3s ease;
}

.project-hero:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.project-hero h2 {
  font-size: 2.2rem;
  letter-spacing: -0.5px;
  margin-bottom: 0.75rem;
}

.project-hero .badge {
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.project-hero .badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

/* Improved Timeline Progress Bar */
.project-timeline {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.project-timeline .progress {
  height: 10px;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.project-timeline .progress-bar {
  transition: width 1.5s ease-in-out;
  background-image: linear-gradient(to right, #10b981, #059669);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.project-timeline .progress-bar.bg-warning {
  background-image: linear-gradient(to right, #f59e0b, #d97706);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.project-timeline .progress-bar.bg-danger {
  background-image: linear-gradient(to right, #ef4444, #dc2626);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

/* Enhanced Project Overview Cards */
.project-card {
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.project-card .card-body {
  padding: 1.5rem;
}

.project-card .rounded-circle {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.project-card:hover .rounded-circle {
  transform: scale(1.1);
}

.project-card .bi {
  font-size: 1.25rem;
}

.project-card .card-text {
  margin-top: 0.5rem;
  font-weight: 700;
  color: #1e293b;
}

/* Project Details Card */
.project-details-card {
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  overflow: hidden;
}

.project-details-card .card-header {
  background-color: #fff !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1.25rem 1.5rem;
}

.project-details-card .card-header h5 {
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.project-details-card .card-body {
  padding: 1.5rem;
}

.project-details-card .text-slate-600 {
  color: #475569;
  font-weight: 600;
}

.project-details-card .bg-light {
  background-color: #f8fafc !important;
  border: 1px solid #e2e8f0;
}

/* Upcoming Events List */
.list-group-item {
  border-left: none;
  border-right: none;
  padding: 1rem 1.25rem;
  transition: all 0.2s ease;
}

.list-group-item:hover {
  background-color: #f8fafc;
}

.list-group-item:first-child {
  border-top: none;
}

.list-group-item h6 {
  font-weight: 600;
  color: #1e293b;
}

/* Animation for page load */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

.animate-delay-1 {
  animation-delay: 0.1s;
}

.animate-delay-2 {
  animation-delay: 0.2s;
}

.animate-delay-3 {
  animation-delay: 0.3s;
}

.animate-delay-4 {
  animation-delay: 0.4s;
}