/* Project Detail Page Styles */

/* Main Container */
.project-detail-section {
  padding: 80px 0 120px;
  background:
    radial-gradient(900px 600px at 80% 0%, rgba(62, 199, 108, 0.08), rgba(255, 255, 255, 0) 60%),
    radial-gradient(700px 500px at 10% 10%, rgba(18, 24, 20, 0.04), rgba(255, 255, 255, 0) 60%),
    #ffffff;
}

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

/* Hero Media */
.project-hero {
  margin-bottom: 32px;
}

.project-hero-media {
  width: 100%;
  margin: 0;
  aspect-ratio: 16 / 8;
  border-radius: 12px;
  overflow: hidden;
  background: #0e1411;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.10);
  position: relative;
}

.project-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.07); /* subtle contrast overlay */
  pointer-events: none;
}

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

/* Sub pictures (additional images) */
.project-submedia {
  margin: 14px 0 18px;
}

.project-submedia-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

.project-submedia-title {
  font-family: 'Vazirmatn', Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark--100);
  margin: 0;
  letter-spacing: -0.2px;
}

.project-submedia-grid {
  display: grid;
  /* Smaller thumbnails (denser strip under hero) */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.project-submedia-item {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  background: #0e1411;
  border: 1px solid rgba(0, 0, 0, 0.10);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
  aspect-ratio: 4 / 3;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  position: relative;
}

.project-submedia-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 320ms cubic-bezier(0.4, 0, 0.2, 1);
}

.project-submedia-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.00), rgba(0, 0, 0, 0.18));
  opacity: 0;
  transition: opacity 220ms ease;
}

.project-submedia-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.10);
  border-color: rgba(62, 199, 108, 0.25);
}

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

.project-submedia-item:hover::after {
  opacity: 1;
}

/* When lightbox is open, blur/dim the page content (fallback if backdrop-filter isn't supported) */
body.is-project-lightbox-open .page-wrap {
  filter: blur(7px);
  opacity: 0.88;
  transition: filter 240ms ease, opacity 240ms ease;
}

body.is-project-lightbox-open .page-wrap { will-change: filter; }

/* Lightbox */
.project-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 0ms linear 220ms;
}

.project-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 240ms ease;
}

.project-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 240ms ease;
}

.project-lightbox.is-open .project-lightbox-backdrop {
  opacity: 1;
}

.project-lightbox-dialog {
  position: relative;
  width: min(920px, 96vw);
  height: auto;
  max-height: 86vh;
  border-radius: 16px;
  overflow: hidden;
  background: #0e1411;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  transform: translateY(10px) scale(0.98);
  opacity: 0;
  transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 240ms ease;
  will-change: transform, opacity;
  display: flex;
  flex-direction: column;
}

.project-lightbox.is-open .project-lightbox-dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.project-lightbox-figure {
  margin: 0;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 18px 8px;
}

.project-lightbox-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  opacity: 1;
  transition: opacity 220ms ease;
}

.project-lightbox.is-switching .project-lightbox-image {
  opacity: 0;
}

.project-lightbox-close {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.35);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease;
}

.project-lightbox-close:hover {
  transform: translateY(-1px);
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(62, 199, 108, 0.35);
}

/* Lightbox navigation */
.project-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.35);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease, opacity 200ms ease;
  opacity: 0.92;
}

/* RTL: prev on right, next on left */
.project-lightbox-prev {
  right: 14px;
}

.project-lightbox-next {
  left: 14px;
}

.project-lightbox-nav:hover {
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(62, 199, 108, 0.35);
  transform: translateY(-50%) scale(1.03);
}

.project-lightbox-counter {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-family: 'Vazirmatn', Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* Lightbox thumbnail strip (below main image) */
.project-lightbox-thumbs {
  padding: 10px 14px 14px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
  scrollbar-width: thin;
}

.project-lightbox-thumbs::-webkit-scrollbar {
  height: 8px;
}

.project-lightbox-thumbs::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.project-lightbox-thumb {
  width: 86px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  flex: 0 0 auto;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.project-lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-lightbox-thumb.is-active {
  border-color: rgba(62, 199, 108, 0.55);
  box-shadow: 0 0 0 3px rgba(62, 199, 108, 0.18);
}

.project-lightbox-thumb:hover {
  transform: translateY(-1px);
  border-color: rgba(62, 199, 108, 0.28);
}

/* Two Column Grid Layout */
.project-detail-grid {
  display: block;
  margin-bottom: 90px;
}

/* 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: 28px;
  position: relative;
  padding-bottom: 18px;
}

.project-detail-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: 'Vazirmatn', Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.98);
  background: rgba(105, 195, 80, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.10);
  margin-bottom: 14px;
}

.project-detail-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12);
}

.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: 700;
  line-height: 1.2;
  color: var(--dark--100);
  margin: 0;
  letter-spacing: -1px;
}

.project-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 180px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(62, 199, 108, 0.0), rgba(62, 199, 108, 0.95));
}

/* Highlight (Summary Box) */
.project-highlight {
  margin: 18px 0 34px;
}

.project-highlight-inner {
  border-radius: 14px;
  padding: 28px 26px;
  background:
    radial-gradient(600px 220px at 85% 0%, rgba(62, 199, 108, 0.18), rgba(62, 199, 108, 0.06) 55%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, rgba(62, 199, 108, 0.08), rgba(62, 199, 108, 0.03));
  border: 1px solid rgba(62, 199, 108, 0.20);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  position: relative;
}

.project-highlight-inner::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 14px 0 0 14px;
  background: linear-gradient(180deg, rgba(62, 199, 108, 0.95), rgba(62, 199, 108, 0.25));
}

.project-highlight-title {
  font-family: 'Vazirmatn', Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: rgba(20, 24, 26, 0.92);
  letter-spacing: 0.4px;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.project-highlight-title-en {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: rgba(20, 24, 26, 0.62);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-right: 6px;
}

.project-highlight-title::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(62, 199, 108, 0.9);
  box-shadow: 0 0 0 6px rgba(62, 199, 108, 0.12);
}

.project-highlight-text {
  font-family: 'Vazirmatn', Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 2.15;
  color: rgba(18, 24, 20, 0.96);
}

/* Approach section */
.project-approach {
  margin: 0 0 40px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.project-approach-group + .project-approach-group {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.project-approach-group--primary .project-solution-list li {
  border-right-color: rgba(62, 199, 108, 0.85);
  background: linear-gradient(180deg, rgba(62, 199, 108, 0.06), rgba(255, 255, 255, 1));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
}

.project-approach-group--supporting .project-solution-list li {
  border-right-color: rgba(62, 199, 108, 0.35);
}

.project-section-title--compact {
  font-size: 28px;
  margin-bottom: 18px;
  position: relative;
  padding-right: 14px;
}

.project-section-title--compact::before {
  content: "";
  position: absolute;
  right: 0;
  top: 6px;
  width: 6px;
  height: 22px;
  border-radius: 999px;
  background: var(--color-primary);
}

.project-section-content--lead {
  font-size: 17px;
  color: #2f3437;
  margin-bottom: 16px;
}

/* Meta (simple info row) */
.project-meta {
  margin: 0 0 40px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.project-meta-rows {
  margin: 0;
}

.project-meta-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  align-items: start;
}

.project-meta-row:last-child {
  border-bottom: none;
}

.project-meta-row dt {
  font-family: 'Vazirmatn', Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #7f8890;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.project-meta-icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(62, 199, 108, 0.10);
  color: rgba(62, 199, 108, 0.95);
  flex: 0 0 auto;
}

.project-meta-icon svg {
  display: block;
}

.project-meta-row dd {
  margin: 0;
  font-family: 'Vazirmatn', Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--dark--100);
  line-height: 1.9;
}

.project-meta-row--full {
  grid-template-columns: 160px 1fr;
}

.project-meta-products {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

.project-meta-products li {
  position: relative;
  padding-right: 18px;
  color: #2f3437;
  font-weight: 400;
  line-height: 1.8;
}

.project-meta-products li::before {
  content: "»";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--color-primary);
  font-weight: 700;
}

/* 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-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

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

/* Actions Collapsible */
.project-actions {
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 16px 20px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
}

.project-actions-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: 'Vazirmatn', Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--dark--100);
}

.project-actions-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  margin-top: 12px;
  font-family: 'Vazirmatn', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  color: #444;
}

.project-actions.is-open .project-actions-content {
  max-height: 1000px;
}

/* Used products */
.project-used-products {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-used-product {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.project-used-product img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  background: #f2f2f2;
}

.project-used-product-title {
  font-weight: 500;
}

.project-used-product-slug {
  font-size: 12px;
  color: #888;
  direction: ltr;
  text-align: left;
}
/* Gallery */
.project-gallery {
  margin-top: 48px;
}

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

.project-gallery-item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #f2f2f2;
}

.project-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-solution-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
}

.project-solution-list li {
  position: relative;
  padding: 14px 16px;
  padding-right: 38px;
  margin: 0;
  line-height: 1.85;
  color: #2f3437;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  border-right: 3px solid rgba(62, 199, 108, 0.55);
}

.project-solution-list li::before {
  content: '';
  position: absolute;
  right: 16px;
  top: 18px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(62, 199, 108, 0.08);
  border: 1px solid rgba(62, 199, 108, 0.35);
}

.project-solution-list li::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 22px;
  width: 6px;
  height: 10px;
  border-right: 2px solid rgba(62, 199, 108, 0.75);
  border-bottom: 2px solid rgba(62, 199, 108, 0.75);
  transform: rotate(45deg);
}

/* Quote Block */
.project-quote-section {
  background: #ffffff;
  border-radius: 14px;
  padding: 36px 34px;
  margin-top: 12px;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}

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

.project-quote-accent {
  position: absolute;
  top: -22px;
  right: 0;
  font-family: 'Vazirmatn', Arial, sans-serif;
  font-size: 44px;
  font-weight: 800;
  color: var(--color-primary);
  opacity: 0.28;
  letter-spacing: -6px;
  line-height: 1;
}

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

.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;
}

/* NOTE: Facts sidebar removed (case-study style). Keep the CSS block deleted to avoid unused weight. */

/* 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-container {
    padding: 0 24px;
  }
}

@media (max-width: 768px) {
  .project-detail-section {
    padding: 40px 0 80px;
  }
  
  .project-title {
    font-size: 36px;
  }
  
  .project-section-title--compact {
    font-size: 24px;
  }

  .project-highlight-text {
    font-size: 17px;
  }

  .project-solution-list {
    grid-template-columns: 1fr;
  }

  .project-submedia-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .project-lightbox-dialog {
    width: 100%;
    max-width: none;
    max-height: 90vh;
  }
  
  .project-section-title {
    font-size: 28px;
  }
  
  .project-quote-section {
    padding: 32px 24px;
  }
  
  .project-quote-text {
    font-size: 18px;
  }

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

  .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-meta-products {
    grid-template-columns: 1fr;
  }

  .project-meta-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .project-submedia-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

