/* Project Header Styles */
.project-header {
  background: linear-gradient(
    360deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: #fff;
  padding: 120px 0 80px;
  text-align: center;
}

.project-logo {
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.project-logo-img {
  height: 300px;
  width: auto;
  transition: transform 0.3s ease;
  border-radius: 8px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.project-logo-img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.project-header-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.project-subtitle {
  font-size: 1.3rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.project-meta {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
}

.meta-item i {
  font-size: 1.2rem;
  color: var(--secondary-color);
}

/* Project Description Styles */
.project-description {
  padding: 80px 0;
  background-color: var(--light-color);
}

.description-content {
  max-width: 800px;
  margin: 0 auto;
}

.description-text h2 {
  font-size: 2.2rem;
  color: var(--dark-color);
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.description-text h2::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 4px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.description-text h3 {
  font-size: 1.6rem;
  color: var(--primary-color);
  margin: 30px 0 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.description-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 20px;
}

.description-text ul {
  list-style: none;
  padding: 0;
}

.description-text li {
  font-size: 1.1rem;
  color: var(--text-color);
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.description-text li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Project Gallery Styles */
.project-gallery {
  padding: 80px 0;
  background-color: var(--medium-color);
}

.project-gallery h2 {
  font-size: 2.2rem;
  color: var(--dark-color);
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.project-gallery h2::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 4px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(46, 125, 50, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  color: #fff;
  font-size: 2rem;
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-image {
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.close-lightbox {
  position: absolute;
  top: -50px;
  right: 0;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10000;
}

.close-lightbox:hover {
  color: var(--primary-color);
  transform: scale(1.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
}

.lightbox-prev,
.lightbox-next {
  background: rgba(46, 125, 50, 0.8);
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--primary-color);
  transform: scale(1.1);
}

.lightbox-prev i,
.lightbox-next i {
  font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .project-logo-img {
    height: 200px;
    padding: 8px;
  }

  .project-header-content h1 {
    font-size: 2rem;
  }

  .project-subtitle {
    font-size: 1.1rem;
  }

  .project-meta {
    gap: 20px;
  }

  .meta-item {
    font-size: 1rem;
  }

  .description-text h2 {
    font-size: 2rem;
  }

  .description-text h3 {
    font-size: 1.5rem;
  }

  .description-text p {
    font-size: 1rem;
  }

  .project-gallery h2 {
    font-size: 2rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gallery-item img {
    height: 250px;
  }

  .lightbox-nav {
    padding: 0 10px;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
  }

  .close-lightbox {
    font-size: 2.5rem;
    top: -40px;
  }
}
