/* General Body Styles */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #FFB6C1; /* Light Pink - culoarea de fundal a paginii */
  color: #333;
  margin: 0;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: flex-start; /* Aliniaza sus continutul */
  min-height: 100vh;
  box-sizing: border-box;
  overflow-x: hidden; /* Previne scroll-ul orizontal pe anumite dispozitive */
}

.container {
  background-color: #FFF0F5; /* Lavender Blush - fundal pentru cardul principal */
  padding: 30px 20px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  position: relative;
  z-index: 1; /* Asigura ca ramane deasupra pop-up-ului initial */
}

/* Profile Header */
.profile-header {
  margin-bottom: 30px;
}

/* Stil pentru linkul ce inveleste poza de profil */
.profile-pic-link {
  display: inline-block; /* Asigura ca marginile functioneaza */
  margin-bottom: 15px;
  cursor: pointer; /* Indicam ca se poate da click */
}

/* Imaginea de profil - MARESTE si cu tranzitie la hover */
.profile-pic {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #FF69B4; /* Hot Pink - bordura imaginii */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.profile-pic-link:hover .profile-pic {
  transform: scale(1.05); /* Zoom usor la hover */
}


.profile-name {
  font-size: 2.2em;
  color: #FF1493; /* Deep Pink - culoarea numelui */
  margin-bottom: 5px;
  font-weight: 700;
}

.profile-description {
  font-size: 1em;
  color: #555;
  line-height: 1.5;
  margin-bottom: 20px;
}

.phone-number {
  font-weight: 600;
  color: #FF69B4; /* Hot Pink */
}

/* Social Icons (Font Awesome) - FOARTE IMPORTANT: MODIFICARI PENTRU ARANJARE */
.social-icons {
  margin-bottom: 30px;
  display: flex;
  justify-content: center; /* Centreaza iconitele */
  flex-wrap: wrap; /* PERMITE ICONITELOR SA TREACA PE RANDUL URMATOR DACA NU ESTE LOC */
  padding: 0 10px; /* Adauga un pic de padding pentru a nu lipi de margini pe laturi */
  gap: 20px; /* Adauga spatiu uniform intre iconite */
}

.social-icons a {
  color: white; /* Culoarea iconitelor - alb */
  font-size: 2em; /* Marimea iconitelor */
  background-color: #FF69B4; /* Hot Pink - fundalul iconitei */
  width: 50px; /* Latimea fundalului */
  height: 50px; /* Inaltimea fundalului */
  border-radius: 50%; /* Face fundalul rotund */
  display: flex; /* Centrare verticala si orizontala a iconitei */
  justify-content: center;
  align-items: center;
  text-decoration: none; /* Fara subliniere */
  transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  /* Am scos marginile individuale si am folosit `gap` pe containerul parinte */
}

.social-icons a:hover {
  background-color: #FF1493; /* Deep Pink - culoare la hover */
  transform: translateY(-5px);
}

/* Main Content Box (for image/video) */
.main-content-box {
  background-color: #F8F8FF; /* Ghost White - fundal cutie imagine/video */
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.main-content-box img {
  width: 100%;
  height: auto;
  display: block;
}

/* Link Buttons */
.link-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FF69B4;
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  margin-bottom: 15px;
  border-radius: 10px;
  font-size: 1.1em;
  font-weight: 600;
  transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.link-button:hover {
  background-color: #FF1493;
  transform: translateY(-3px);
}

/* Stil pentru imaginile din interiorul butoanelor */
.button-icon-img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

/* Stiluri pentru Pop-up (Modal) */
.modal {
  display: none; /* Ascuns initial */
  position: fixed; /* Ramane fix pe ecran */
  z-index: 100; /* Peste tot alt continut */
  left: 0;
  top: 0;
  width: 100%; /* Latime completa */
  height: 100%; /* Inaltime completa */
  overflow: auto; /* Permite scroll daca imaginea e prea mare */
  background-color: rgba(0, 0, 0, 0.9); /* Fundal negru semi-transparent */
  justify-content: center;
  align-items: center;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90vh;
  border-radius: 10px;
  animation-name: zoom;
  animation-duration: 0.6s;
  object-fit: contain;
}

/* Animatie pentru pop-up */
@keyframes zoom {
  from {transform: scale(0.1)}
  to {transform: scale(1)}
}

/* Butonul de inchidere (X) - ASCUNS INITIAL SI POZITIONARE FIXA */
.close-button {
  position: fixed;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  z-index: 101;
  display: none; /* Ascuns initial - va fi afisat de JS cand modalul e deschis */
}

.close-button:hover,
.close-button:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}


/* Responsive Adjustments */
@media (max-width: 600px) {
  body {
    padding: 15px;
  }

  .container {
    padding: 20px 15px;
  }

  .profile-name {
    font-size: 1.8em;
  }

  .profile-pic {
    width: 140px; /* Mai mica pentru mobil */
    height: 140px;
  }

  /* Ajustare iconite responsive */
  .social-icons a {
    width: 45px;
    height: 45px;
    font-size: 1.8em;
    /* Am scos marginile individuale de aici si am folosit `gap` pe containerul parinte */
  }

  .link-button {
    font-size: 1em;
    padding: 12px 15px;
  }

  .button-icon-img {
    width: 25px; /* Dimensiune mai mica pentru mobil */
    height: 25px;
    margin-right: 8px;
  }

  .close-button {
    top: 15px;
    right: 25px;
    font-size: 30px;
  }
}