/*--------------------------------------------------------------
# Project Detail Page - Psycle-inspired Design
--------------------------------------------------------------*/

/* Back Navigation */
.back-navigation {
  padding: 120px 0 30px 0;
  background: #fff;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  color: #4aadbd;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.back-link:hover {
  background: #4aadbd;
  border-color: #4aadbd;
  color: #fff;
  transform: translateX(-5px);
}

.back-link i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.back-link:hover i {
  transform: translateX(-3px);
}

/* Project Hero Section */
.project-hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  max-height: 700px;
  overflow: hidden;
  background: linear-gradient(135deg, #e8f4f8 0%, #f8f9fa 100%);
  border-radius: 20px;
  margin: 0 auto;
  max-width: 1320px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
}

.hero-background picture {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
}

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
  padding: 60px 0 40px 0;
  border-radius: 0 0 20px 20px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.client-badge {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  width: fit-content;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.client-badge picture {
  display: flex;
  align-items: center;
}

.client-badge img {
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.project-category {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(55, 125, 255, 0.95);
  color: #fff;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  width: fit-content;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.project-title {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Project Content */
.project-content {
  padding: 80px 0;
  background: #fff;
}

.content-block {
  display: flex;
  gap: 30px;
  padding: 40px;
  border-radius: 12px;
  margin-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.content-block:hover {
  transform: translateY(-5px) !important;
}

.summary-block {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-left: 6px solid #377dff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.goal-block {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  border-left: 6px solid #2196F3;
  box-shadow: 0 4px 20px rgba(33, 150, 243, 0.15);
  height: 100%;
}

.benefits-block {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  border-left: 6px solid #4CAF50;
  box-shadow: 0 4px 20px rgba(76, 175, 80, 0.15);
  height: 100%;
}

.block-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.summary-block .block-icon {
  color: #377dff;
}

.goal-block .block-icon {
  color: #2196F3;
}

.benefits-block .block-icon {
  color: #4CAF50;
}

.block-icon i {
  font-size: 2rem;
}

.block-content {
  flex: 1;
}

.block-content h2,
.block-content h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
}

.block-content h3 {
  font-size: 1.4rem;
}

.block-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #495057;
  margin: 0;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefits-list li {
  padding-left: 35px;
  margin-bottom: 15px;
  position: relative;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #495057;
}

.benefits-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4CAF50;
  font-weight: bold;
  font-size: 1.4rem;
}

.benefits-list li:last-child {
  margin-bottom: 0;
}

/* Partners Section */
.project-partners {
  padding: 80px 0;
  background: linear-gradient(135deg, #e8f4f8 0%, #d4ebf2 100%);
  border-top: 1px solid #d4ebf2;
  border-bottom: 1px solid #d4ebf2;
}

.partners-header {
  text-align: center;
  margin-bottom: 50px;
}

.partners-header h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #2c3e50;
  display: inline-flex;
  align-items: center;
  gap: 15px;
}

.partners-header i {
  color: #4aadbd;
  font-size: 2.2rem;
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.partner-item {
  background: #fff;
  padding: 25px 40px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(255, 152, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(255, 152, 0, 0.25);
}

.partner-logo {
  height: 50px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

/* Contact CTA */
.project-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #4aadbd 0%, #37517e 100%);
}

.cta-content {
  text-align: center;
  color: #fff;
}

.cta-content h3 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.cta-content p {
  font-size: 1.15rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.btn-cta {
  display: inline-block;
  padding: 15px 40px;
  background: #fff;
  color: #4aadbd;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
  color: #37517e;
}

/* Responsive */
@media (max-width: 992px) {
  .project-title {
    font-size: 2.2rem;
  }

  .content-block {
    flex-direction: column;
    padding: 30px;
  }

  .block-icon {
    width: 50px;
    height: 50px;
  }

  .block-icon i {
    font-size: 1.6rem;
  }

  .project-hero {
    border-radius: 15px;
  }

  .hero-overlay {
    border-radius: 0 0 15px 15px;
  }
}

@media (max-width: 768px) {
  .project-hero {
    height: 60vh;
    min-height: 400px;
    border-radius: 12px;
  }

  .hero-background {
    padding: 30px;
  }

  .hero-overlay {
    border-radius: 0 0 12px 12px;
  }

  .project-title {
    font-size: 1.8rem;
  }

  .client-badge .client-logo {
    height: 35px;
    max-width: 150px;
  }

  .project-category {
    font-size: 0.85rem;
    padding: 6px 16px;
  }

  .block-content h2 {
    font-size: 1.4rem;
  }

  .block-content h3 {
    font-size: 1.2rem;
  }

  .block-content p,
  .benefits-list li {
    font-size: 0.95rem;
  }

  .partners-header h3 {
    font-size: 1.6rem;
  }

  .partner-item {
    padding: 20px 30px;
  }

  .partner-logo {
    height: 40px;
    max-width: 140px;
  }

  .cta-content h3 {
    font-size: 1.8rem;
  }

  .cta-content p {
    font-size: 1rem;
  }
}
