/* Project Detail Page Styles */

.project-detail-page {
  min-height: 100vh;
  background: linear-gradient(to bottom, #f8fafc, #ffffff);
}

/* Back Button Section */
.project-detail-back-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px 0;
  padding-top: 120px; /* Account for fixed navbar */
}

@media screen and (max-width: 991px) {
  .project-detail-back-container {
    padding-top: 100px;
  }
}

@media screen and (max-width: 767px) {
  .project-detail-back-container {
    padding-top: 90px;
  }
}

.project-detail-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #475569;
  text-decoration: none;
  transition: color 0.2s;
}

.project-detail-back-link:hover {
  color: #0f172a;
}

/* Header Section */
.project-detail-header-section {
  padding: 48px 24px;
}

.project-detail-header-container {
  max-width: 1280px;
  margin: 0 auto;
}

.project-detail-header-content {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.project-detail-header-main {
  flex: 1;
}

.project-detail-industry-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
  background-color: #dbeafe;
  color: #1e40af;
  border: none;
}

.project-detail-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
  line-height: 1.2;
}

.project-detail-subtitle {
  font-size: 20px;
  color: #475569;
  margin-bottom: 24px;
}

.project-detail-description {
  font-size: 18px;
  color: #475569;
  line-height: 1.75;
}

/* Video Section */
.project-detail-video-section {
  padding: 0 48px;
}

.project-detail-video-container {
  max-width: 1280px;
  margin: 0 auto;
}

.project-detail-main-video-iframe {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.project-detail-main-video-element {
  width: 100%;
  height: auto;
  min-height: 400px;
  background-color: #000;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Content Sections (Overview, Challenges, Solutions) */
.project-detail-content-section {
  padding: 48px 24px;
}

.project-detail-content-section-white {
  padding: 48px 24px;
  background-color: #ffffff;
}

.project-detail-content-container {
  max-width: 1320px;
  margin: 0 auto;
}

.project-detail-section-title {
  font-size: 30px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 24px;
}

.project-detail-section-text {
  font-size: 18px;
  color: #475569;
  line-height: 1.75;
  white-space: pre-line;
}

/* Test Drive Section */
.project-detail-test-drive-section {
  padding: 48px 24px;
  background-color: #0f172a;
  color: #ffffff;
}

.project-detail-test-drive-container {
  max-width: 896px;
  margin: 0 auto;
  text-align: center;
}

.project-detail-test-drive-title {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 16px;
}

.project-detail-test-drive-subtitle {
  color: #cbd5e1;
  margin-bottom: 32px;
  font-size: 16px;
}

.project-detail-test-drive-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.project-detail-test-drive-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background-color: #ffffff;
  color: #0f172a;
  border-radius: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s;
}

.project-detail-test-drive-link:hover {
  background-color: #f1f5f9;
}

/* Testimonial Section */
.project-detail-testimonial-section {
  padding: 64px 24px;
  background: linear-gradient(to bottom right, #eff6ff, #faf5ff);
}

.project-detail-testimonial-container {
  max-width: 896px;
  margin: 0 auto;
}

.project-detail-testimonial-card {
  position: relative;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  padding: 48px;
}

.project-detail-testimonial-quote-icon {
  position: absolute;
  top: 32px;
  left: 32px;
  color: #bfdbfe;
}

.project-detail-testimonial-content {
  position: relative;
  z-index: 10;
}

.project-detail-testimonial-text {
  font-size: 18px;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 32px;
  font-style: italic;
}

@media (min-width: 768px) {
  .project-detail-testimonial-text {
    font-size: 20px;
  }
}

.project-detail-testimonial-video-wrapper {
  width: 100%;
  display: block;
  margin-bottom: 32px;
}

.project-detail-testimonial-video-iframe {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
  border-radius: 12px;
}

.project-detail-testimonial-video-element {
  width: 100%;
  height: auto;
  min-height: 500px;
  background-color: #000;
  display: block;
  border-radius: 12px;
}

.project-detail-testimonial-client-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.project-detail-testimonial-client-name {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.project-detail-testimonial-client-details {
  font-size: 14px;
  color: #475569;
  margin-bottom: 0;
}

.project-detail-testimonial-linkedin {
  margin-left: auto;
}

.project-detail-testimonial-linkedin img {
  width: 24px;
  height: 24px;
}

/* Loading and Error States */
.project-detail-loading-container {
  padding: 100px 20px;
  text-align: center;
}

.project-detail-error-container {
  padding: 100px 20px;
  text-align: center;
}

.project-detail-error-link {
  margin-top: 20px;
  display: inline-block;
}

.portfolio-carousel-video {
  width: 100%;
  border: none;
}

.portfolio-carousel iframe.portfolio-carousel-video {
  height: 600px;
}

.portfolio-carousel video.portfolio-carousel-video {
  height: auto;
  min-height: 400px;
  background-color: #000;
}
 