/* Stil pentru pagina Portofoliu - Jet Xpert */

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: #fdfdfd;
  color: #1e293b;
}

/* Header Portofoliu */
.portfolio-header {
  height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)), url('/images/portfolio-bg.webp') center/cover no-repeat;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1rem;
}

.portfolio-header h1 {
  font-size: 2.75rem;
  font-family: 'Playfair Display', serif;
  margin-bottom: 1rem;
  animation: fadeInDown 1s ease-out;
}

.portfolio-header p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out 0.3s both;
}

/* Lista portofoliu */
.portfolio-list {
  padding: 4rem 1rem;
  background: #fff;
}

.portfolio-list .section-title {
  text-align: center;
  font-size: 2rem;
  color: #1e3a8a;
  margin-bottom: 0.5rem;
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: #475569;
  font-size: 1.05rem;
}

/* Gridul de portofoliu */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.portfolio-box {
  background: #f1f5f9;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.portfolio-box.in-view {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-box:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.portfolio-box h3 {
  margin-top: 1rem;
  color: #1e293b;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  text-align: center;

}

.portfolio-box p {
  color: #475569;
  font-size: 0.95rem;
}

/* CTA final */
.portfolio-cta {
  background: #475569;
  color: #fff;
  padding: 4rem 1rem;
  text-align: center;
}

.portfolio-cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.portfolio-cta p {
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.button.cta {
  background: #facc15;
  color: #1e3a8a;
  padding: 0.8rem 2rem;
  border-radius: 999px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

img {
  width: 30px;
  height: auto; /* păstrează proporțiile */
  vertical-align: middle;
}

.button.cta:hover {
  background: #fbbf24;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(251, 191, 36, 0.3);
}

/* Keyframes */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .portfolio-header h1 {
    font-size: 2rem;
  }
  .grid {
    gap: 1.5rem;
  }
  .section-title {
    font-size: 1.6rem;
  }
}
