/* Estilos para a página de projetos */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}

.project-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.project-header {
  background-color: var(--primary-color);
  color: var(--light-color);
  padding: 25px 30px;
  position: relative;
}

.project-header::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100%;
  height: 15px;
  background: linear-gradient(135deg, var(--primary-color) 50%, transparent 50%);
}

.project-title {
  font-size: 1.8rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.project-location {
  font-size: 1rem;
  opacity: 0.9;
  display: flex;
  align-items: center;
}

.project-location i {
  margin-right: 8px;
}

.project-details {
  padding: 30px;
}

.project-info {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.project-info-item {
  flex: 1;
  min-width: 200px;
  margin-bottom: 15px;
}

.project-info-label {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 5px;
  display: block;
}

.project-info-value {
  font-size: 1.1rem;
}

.project-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 30px;
}

.project-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-scope, 
.project-contributions {
  margin-bottom: 25px;
}

.project-section-title {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.3rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 10px;
}

.project-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
}

.project-contributions ul {
  padding-left: 20px;
}

.project-contributions li {
  margin-bottom: 8px;
  position: relative;
}

.project-contributions li::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary-color);
}

/* Estilos para o carrossel de imagens */
.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.carousel {
  display: flex;
  transition: transform 0.5s ease;
  height: 400px;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 10px 15px;
  font-size: 0.9rem;
}

.carousel-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 10;
}

.carousel-control {
  background-color: rgba(255, 255, 255, 0.7);
  color: var(--primary-color);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  margin: 0 10px;
  transition: all 0.3s ease;
}

.carousel-control:hover {
  background-color: var(--primary-color);
  color: white;
}

.carousel-indicators {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicator.active {
  background-color: white;
  transform: scale(1.2);
}

.projects-conclusion {
  margin-top: 60px;
  padding: 40px;
  background-color: var(--gray-color);
  border-radius: 12px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.projects-conclusion::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.projects-conclusion p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.projects-conclusion a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.projects-conclusion a:hover {
  color: var(--secondary-color);
}

/* Estilos responsivos */
@media (max-width: 992px) {
  .project-content {
    grid-template-columns: 1fr;
  }
  
  .carousel {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .project-header {
    padding: 20px;
  }
  
  .project-title {
    font-size: 1.5rem;
  }
  
  .project-details {
    padding: 20px;
  }
  
  .carousel {
    height: 300px;
  }
  
  .carousel-control {
    width: 35px;
    height: 35px;
  }
}

@media (max-width: 576px) {
  .project-info {
    flex-direction: column;
  }
  
  .carousel {
    height: 250px;
  }
}
