/* Custom Stylized Project Boxes */

.project-box-container {
  position: relative;
  margin-bottom: 40px;
  padding-top: 20px;
}

.project-box {
  position: relative;
  border: 3px solid #546738;
  border-radius: 12px;
  padding: 30px 25px 20px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  min-height: 200px;
}

.project-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(84, 103, 56, 0.15);
  border-color: #3d4d29;
}

.project-number {
  position: absolute;
  top: -20px;
  left: 20px;
  background: linear-gradient(135deg, #546738 0%, #3d4d29 100%);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  font-family: 'Nunito', sans-serif;
  box-shadow: 0 4px 12px rgba(84, 103, 56, 0.3);
  z-index: 10;
}

.project-box-content {
  margin-bottom: 15px;
}

.project-box-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 12px;
  font-family: 'Nunito', sans-serif;
}

.project-box-content p {
  font-size: 15px;
  color: #444444;
  line-height: 1.7;
  margin-bottom: 0;
}

.project-box-content .project-meta {
  display: flex;
  gap: 20px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.project-box-content .project-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #666;
}

.project-box-content .project-meta-item i {
  color: #546738;
  font-size: 16px;
}

.project-info-strip {
  background: linear-gradient(90deg, #f8f9fa 0%, #e9ecef 100%);
  border: 2px solid #dee2e6;
  border-radius: 8px;
  padding: 15px 20px;
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}

.project-info-strip .strip-label {
  font-size: 13px;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}

.project-info-strip .strip-content {
  font-size: 15px;
  color: #000000;
  font-weight: 500;
  flex: 1;
}

.project-info-strip .strip-action {
  display: flex;
  gap: 10px;
}

.project-info-strip .strip-action .btn-sm {
  padding: 6px 16px;
  font-size: 13px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.project-info-strip .strip-action .btn-primary {
  background: #546738;
  border-color: #546738;
}

.project-info-strip .strip-action .btn-primary:hover {
  background: #3d4d29;
  border-color: #3d4d29;
  transform: translateY(-2px);
}

.project-info-strip .strip-action .btn-outline-primary {
  color: #546738;
  border-color: #546738;
}

.project-info-strip .strip-action .btn-outline-primary:hover {
  background: #546738;
  border-color: #546738;
  color: #fff;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .project-number {
    width: 45px;
    height: 45px;
    font-size: 20px;
    top: -18px;
  }
  
  .project-box {
    padding: 25px 20px 15px;
  }
  
  .project-box-content h3 {
    font-size: 20px;
  }
  
  .project-info-strip {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .project-info-strip .strip-action {
    width: 100%;
    justify-content: flex-start;
  }
}

/* RTL Support */
[dir="rtl"] .project-number {
  left: auto;
  right: 20px;
}

[dir="rtl"] .project-box-content .project-meta {
  direction: rtl;
}


/* Simple Breadcrumb Navigation */
.simple-breadcrumb {
  background: #f8f9fa;
  padding: 20px 0;
  border-bottom: 1px solid #e9ecef;
}

.simple-breadcrumb .breadcrumb {
  margin: 0;
  background: transparent;
  padding: 0;
  font-size: 14px;
}

.simple-breadcrumb .breadcrumb-item a {
  color: #546738;
  text-decoration: none;
  transition: color 0.3s ease;
}

.simple-breadcrumb .breadcrumb-item a:hover {
  color: #3d4d29;
}

.simple-breadcrumb .breadcrumb-item.active {
  color: #6c757d;
}

.simple-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: #6c757d;
}

/* Project Details Simple Layout */
.project-details-simple {
  padding: 60px 0;
  background: #ffffff;
}

.project-main-title {
  font-size: 42px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 10px;
  font-family: 'Nunito', sans-serif;
}

.project-subtitle-text {
  font-size: 20px;
  color: #546738;
  font-weight: 600;
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-gallery-fullwidth {
  width: 100%;
  margin: 0;
  padding: 0;
}

.project-gallery-swiper-simple {
  width: 100%;
  height: auto;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.project-gallery-swiper-simple .swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  position: relative;
  min-height: 800px;
}

.project-gallery-swiper-simple .swiper-slide img {
  width: 100%;
  max-height: 700px;
  object-fit: contain;
  flex-shrink: 0;
}

.image-caption {
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  padding: 20px 30px;
  width: 100%;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-gallery-swiper-simple .swiper-button-next,
.project-gallery-swiper-simple .swiper-button-prev {
  color: #546738;
  background: rgba(255, 255, 255, 0.9);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.project-gallery-swiper-simple .swiper-button-next:hover,
.project-gallery-swiper-simple .swiper-button-prev:hover {
  background: #546738;
  color: #fff;
}

.project-gallery-swiper-simple .swiper-button-next::after,
.project-gallery-swiper-simple .swiper-button-prev::after {
  font-size: 20px;
  font-weight: bold;
}

.project-gallery-swiper-simple .swiper-pagination-bullet {
  background: #546738;
  opacity: 0.5;
}

.project-gallery-swiper-simple .swiper-pagination-bullet-active {
  opacity: 1;
  background: #546738;
}

.project-content-simple {
  background: transparent;
  padding: 0;
}

.project-content-simple .lead {
  font-size: 20px;
  line-height: 1.8;
  color: #444444;
  margin-bottom: 30px;
}

.project-description h2 {
  color: #000000;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: 'Nunito', sans-serif;
}

.project-description h3 {
  color: #000000;
  font-size: 22px;
  font-weight: 600;
  margin-top: 25px;
  margin-bottom: 15px;
  font-family: 'Nunito', sans-serif;
}

.project-content-simple p {
  color: #444444;
  line-height: 1.8;
  margin-bottom: 15px;
}

.project-content-simple ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

.project-content-simple ul li {
  color: #444444;
  line-height: 1.8;
  margin-bottom: 10px;
  position: relative;
  padding-left: 10px;
}

.project-content-simple ul li::before {
  content: "✓";
  color: #546738;
  font-weight: bold;
  position: absolute;
  left: -15px;
}

.project-info-box {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 12px;
  border: 2px solid #546738;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 100px;
}

.project-info-box h3 {
  color: #000000;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: 'Nunito', sans-serif;
  border-bottom: 2px solid #546738;
  padding-bottom: 10px;
}

.project-info-box ul li {
  padding: 12px 0;
  border-bottom: 1px solid #dee2e6;
  color: #444444;
}

.project-info-box ul li:last-child {
  border-bottom: none;
}

.project-info-box ul li strong {
  color: #000000;
  font-weight: 600;
  display: inline-block;
  min-width: 100px;
}

.project-info-box .btn-primary {
  background: #546738;
  border-color: #546738;
  padding: 12px 20px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.project-info-box .btn-primary:hover {
  background: #3d4d29;
  border-color: #3d4d29;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(84, 103, 56, 0.3);
}

/* Responsive adjustments for project details */
@media (max-width: 992px) {
  .project-info-box {
    position: relative;
    top: 0;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .project-description {
    padding: 20px;
  }
  
  .project-description h2 {
    font-size: 24px;
  }
  
  .project-description h3 {
    font-size: 20px;
  }
  
  .project-info-box {
    padding: 20px;
  }
  
  .project-gallery-swiper .swiper-button-next,
  .project-gallery-swiper .swiper-button-prev {
    width: 35px;
    height: 35px;
  }
  
  .project-gallery-swiper .swiper-button-next::after,
  .project-gallery-swiper .swiper-button-prev::after {
    font-size: 16px;
  }
}
