/* ===== Secțiunea #about ===== */
#about {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin-bottom: 0; /* Asigurăm că nu e spațiu sub #about */
  padding: clamp(2.2rem, 4.5vw, 4rem) max(1rem, 3vw);
  z-index: 1;
  color: white;
}

/* Fundal parallax blur */
#about::after {
  display: none;
}

/* Titlu cu efect vizual subtil */
.about-title {
  text-align: center;
  font-size: clamp(1.5rem, 3.3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
}

/* Container imagine + text */
.about-container {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 3.5rem; /* Mai mult spațiu între imagine și citat */
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Frame pentru imaginea de profil */
.about-image {
  flex: 0 0 auto;
  text-align: center;
  animation: fadeInUp 1s ease forwards;
}

.image-frame {
  display: inline-block;
  padding: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(29, 185, 84, 0.7), rgba(255, 215, 0, 0.7));
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-frame:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.about-image img {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Textul principal stilizat ca citat */
.about-intro {
  flex: 1;
  max-width: 850px;
  animation: fadeInUp 1s ease forwards;
}

.about-intro .highlight {
  font-size: 1.2rem;
  line-height: 1.7;
  padding: 1.3rem 2.5rem;
  background: rgba(255, 255, 255, 0.08);
  border-left: 4px solid #1db954;
  border-radius: 10px;
  font-style: italic;
  color: #e0e0e0;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease, transform 0.3s ease;
}

.about-intro .highlight:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(5px);
}

/* ===== Animații ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Responsive pentru mobil ===== */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }

  .about-intro {
    text-align: center;
    max-width: 90%;
  }

  .about-title {
    font-size: 2rem;
  }

  .about-image img {
    width: 160px;
    height: 160px;
  }

  #about::after {
    background-attachment: scroll;
  }
}
@media (max-width: 480px) {
  .about-intro .highlight {
    font-size: 1rem; /* sau chiar 0.95rem dacă vrei mai compact */
    line-height: 1.6;
    padding: 1rem 1.2rem; /* mai puțin padding lateral */
    text-align: start;
  }

  .about-intro {
    max-width: 95%; /* mai puțin decât 90% */
  }

  .about-image img {
    width: 140px;
    height: 140px;
  }
}