/* Stil general */
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: #fdfdfd;
  color: #1a1a1a;
}

/* HEADER */
.about-header {
  position: relative;
  height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.65)), url('/images/about-bg.webp') center/cover no-repeat;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
}

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

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

/* SECȚIUNE ABOUT */
.about-content {
  background: #1a1a1a; /* fundal antracit */
  padding: 4rem 1rem;
  color: #ffffff;
  text-align: center;
}

.about-content h2 {
  font-size: 2rem;
  color: #ffffff; /* titlu alb */
  margin-bottom: 1rem;
}

.about-content p {
  font-size: 1.05rem;
  color: #e5e7eb; /* alb murdar pentru lizibilitate */
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* BOXURI VALORI */



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

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

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

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

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

/* ANIMAȚII */
@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); }
}

.pre-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

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

/* RESPONSIVE */
@media (max-width: 768px) {
  .about-header .overlay h1,
  .about-content h2,
  .about-cta h2 {
    font-size: 1.6rem;
  }
  .grid {
    gap: 1.5rem;
  }
}

/* CONTACT */
.about-contact {
  background: #f9fafb;
  padding: 4rem 1rem;
  text-align: center;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 6px 16px rgba(0,0,0,0.05);
  margin-top: 2rem;
  border-radius: 16px;
}

.about-contact h2 {
  font-size: 2rem;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.about-contact p {
  font-size: 1.05rem;
  color: #475569;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.contact-info {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  animation: fadeInUp 1s ease-out;
}

.contact-info p {
  font-size: 1rem;
  color: #333;
}

.contact-info a {
  color: #2b2b2b;
  text-decoration: none;
  font-weight: 600;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-info p,
.contact-info a {
  transition: all 0.4s ease;
}

/* TEAM SECTION */
.team-section {
  padding: 4rem 1rem;
  background: linear-gradient(-45deg, #f9fafb, #f1f5f9, #f9fafb);
  background-size: 400% 400%;
  animation: backgroundFlow 15s ease infinite;
  text-align: center;
}

@keyframes backgroundFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.section-title {
  font-size: 2rem;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

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

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

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

.team-member.in-view {
  opacity: 1;
  transform: translateY(0);
}

.team-member h3 {
  color: #1a1a1a;
  font-size: 1.25rem;
  margin: 0.5rem 0;
}

.team-member h4 {
  color: #2b2b2b;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.team-member p {
  color: #475569;
  font-size: 0.95rem;
}
