/* portfolio.css (adaptado de service.css) */
/* Portfolio Hero Section */
.portfolio-hero-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  margin-top: -100px;
}

.portfolio-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.portfolio-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(var(--primary-color-rgb), 0.75) 0%,
    rgba(var(--primary-color-rgb), 0.55) 50%,
    rgba(var(--primary-color-rgb), 0.65) 100%
  );
  z-index: 2;
}

.portfolio-hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.portfolio-hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Portfolio Items Section */
.portfolio-items-section {
  background-color: var(--bg-primary);
}

.portfolio-section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.portfolio-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 1.5rem;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--primary-color-rgb), 0.2);
}

.portfolio-card-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.portfolio-card-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.portfolio-card-content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.portfolio-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.portfolio-card-btn:hover {
  color: var(--primary-dark);
  transform: translateX(4px);
}

/* CTA Section */
.portfolio-cta-section {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
}

.portfolio-cta-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 3rem;
  backdrop-filter: blur(10px);
}

.portfolio-cta-title {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.portfolio-cta-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .portfolio-hero-title {
    font-size: 2.5rem;
  }

  .portfolio-section-title {
    font-size: 2rem;
  }

  .portfolio-card {
    padding: 1.5rem;
  }

  .portfolio-cta-card {
    padding: 2rem;
    text-align: center;
  }

  .portfolio-cta-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .portfolio-hero-title {
    font-size: 2rem;
  }

  .portfolio-section-title {
    font-size: 1.75rem;
  }

  .portfolio-card {
    padding: 1.25rem;
  }
}
