/* Project Detail Page Styles */

/* Main Container */
.project-detail-section {
  padding: 80px 0 120px;
  background: #ffffff;
}

.project-detail-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Two Column Grid Layout */
.project-detail-grid {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 60px;
  margin-bottom: 100px;
}

/* Right Column - Main Content (70%) */
.project-main-content {
  min-width: 0; /* Prevents overflow */
}

/* Back Link */
.project-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #666;
  font-family: 'Vazirmatn', Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  margin-bottom: 32px;
  transition: color 0.3s ease;
}

.project-back-link:hover {
  color: var(--color-primary);
}

.project-back-link svg {
  width: 16px;
  height: 16px;
}

/* Project Header */
.project-header {
  margin-bottom: 48px;
}

.project-country-label {
  display: inline-block;
  font-family: 'Vazirmatn', Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 12px;
}

.project-title {
  font-family: 'Vazirmatn', Arial, sans-serif;
  font-size: 48px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--dark--100);
  margin: 0;
  letter-spacing: -1px;
}

/* Hero Image Slider */
.project-hero-slider {
  position: relative;
  margin-bottom: 64px;
  border-radius: 12px;
  overflow: hidden;
}

.project-slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.project-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-slide {
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
}

.project-slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Slider Navigation */
.project-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.project-slider-nav:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.1);
}

.project-slider-prev {
  right: 20px;
}

.project-slider-next {
  left: 20px;
}

.project-slider-nav svg {
  width: 20px;
  height: 20px;
  color: var(--dark--100);
}

/* Slider Dots */
.project-slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.project-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.project-dot.active {
  background: rgba(255, 255, 255, 1);
  width: 24px;
  border-radius: 4px;
}

/* Content Sections */
.project-content-sections {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.project-content-section {
  max-width: 100%;
}

.project-section-title {
  font-family: 'Vazirmatn', Arial, sans-serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--dark--100);
  margin: 0 0 24px 0;
  letter-spacing: -0.5px;
}

.project-section-content {
  font-family: 'Vazirmatn', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.9;
  color: #444;
  margin: 0;
}

.project-section-content p {
  margin: 0 0 20px 0;
}

.project-section-content p:last-child {
  margin-bottom: 0;
}

.project-solution-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.project-solution-list li {
  position: relative;
  padding-right: 24px;
  margin-bottom: 12px;
  line-height: 1.8;
  color: #444;
}

.project-solution-list li::before {
  content: '•';
  position: absolute;
  right: 0;
  color: var(--color-primary);
  font-size: 20px;
  line-height: 1;
}

/* Quote Block */
.project-quote-section {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 48px;
  margin-top: 32px;
  position: relative;
}

.project-quote-content {
  position: relative;
}

.project-quote-mark {
  position: absolute;
  top: -20px;
  right: 0;
  width: 48px;
  height: 48px;
  color: var(--color-primary);
  opacity: 0.3;
}

.project-quote-text {
  font-family: 'Vazirmatn', Arial, sans-serif;
  font-size: 22px;
  line-height: 1.8;
  color: var(--dark--100);
  margin: 0 0 24px 0;
  font-style: normal;
  font-weight: 400;
}

.project-quote-author {
  margin-top: 24px;
}

.project-quote-author-name {
  font-family: 'Vazirmatn', Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--dark--100);
  margin-bottom: 4px;
}

.project-quote-author-role {
  font-family: 'Vazirmatn', Arial, sans-serif;
  font-size: 14px;
  color: #666;
}

/* Left Column - Project Facts Sidebar */
.project-facts-sidebar {
  position: relative;
}

.project-facts-card {
  position: sticky;
  top: 100px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.project-facts-header {
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.project-facts-title {
  font-family: 'Vazirmatn', Arial, sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--dark--100);
  margin: 0;
}

.project-facts-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.project-fact-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.project-fact-label {
  font-family: 'Vazirmatn', Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-fact-value {
  font-family: 'Vazirmatn', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--dark--100);
}

.project-fact-products {
  gap: 12px;
}

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

.project-products-list li {
  position: relative;
  padding-right: 20px;
  margin-bottom: 8px;
  font-family: 'Vazirmatn', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

.project-products-list li::before {
  content: '—';
  position: absolute;
  right: 0;
  color: var(--color-primary);
  font-weight: 300;
}

/* More Projects Section */
.more-projects-section {
  margin-top: 100px;
  padding-top: 80px;
  border-top: 1px solid #e5e5e5;
}

.more-projects-title {
  font-family: 'Vazirmatn', Arial, sans-serif;
  font-size: 36px;
  font-weight: 500;
  color: var(--dark--100);
  margin: 0 0 48px 0;
  text-align: center;
  letter-spacing: -0.5px;
}

.more-projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.more-project-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  aspect-ratio: 4 / 3;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.more-project-card:hover {
  transform: translateY(-4px);
}

.more-project-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.more-project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.more-project-card:hover .more-project-image {
  transform: scale(1.05);
}

.more-project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 60%);
  transition: background 0.3s ease;
}

.more-project-card:hover .more-project-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 60%);
}

.more-project-content {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 32px;
  z-index: 2;
}

.more-project-title {
  font-family: 'Vazirmatn', Arial, sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .project-detail-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .project-facts-card {
    position: static;
  }
  
  .project-detail-container {
    padding: 0 24px;
  }
}

@media (max-width: 768px) {
  .project-detail-section {
    padding: 40px 0 80px;
  }
  
  .project-title {
    font-size: 36px;
  }
  
  .project-section-title {
    font-size: 28px;
  }
  
  .project-quote-section {
    padding: 32px 24px;
  }
  
  .project-quote-text {
    font-size: 18px;
  }
  
  .more-projects-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .project-slider-nav {
    width: 40px;
    height: 40px;
  }
  
  .project-slider-prev {
    right: 12px;
  }
  
  .project-slider-next {
    left: 12px;
  }
}

@media (max-width: 480px) {
  .project-detail-container {
    padding: 0 16px;
  }
  
  .project-title {
    font-size: 28px;
  }
  
  .project-section-content {
    font-size: 16px;
  }
  
  .project-facts-card {
    padding: 24px;
  }
}

