/* Общие стили */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family: Arial, sans-serif;
  color: #333;
  background: linear-gradient(135deg, #86bfd2 0%, #95c6e7 50%, #94c5e6 100%);
  padding: env(safe-area-inset-top) env(safe-area-inset-right)
           env(safe-area-inset-bottom) env(safe-area-inset-left);
}

/* Контейнер: три колонки */
.container {
  display: flex;
  gap: 20px;
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
}

/* Общий блок изображения */
.image-block {
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0; /* не сжимается слишком сильно */
}

.image-block img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Левая картинка */
.this-image {
  width: 300px;  /* можно подстроить */
}

/* Новая картинка по центру */
.this-image-ar {
  width: 300px;  /* можно уменьшить для баланса */
}

/* Боковая колонка */
.sidebar {
  flex: 1; /* занимает оставшееся пространство */
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Фото */
.photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Контакты */
.contacts {
  width: 100%;
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
}

.contacts a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #333;
  text-decoration: none;
  font-weight: normal;
  margin-top: 10px;
}

/* WhatsApp */
.contacts .whatsapp-btn {
  background-color: #25D366;
  color: white;
  font-weight: bold;
  padding: 10px 15px;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.contacts .whatsapp-btn:hover {
  background-color: #1ebe5d;
}

.contacts .whatsapp-btn img {
  width: 24px;
  height: 24px;
}

/* LinkedIn */
.contacts .linkedin-btn {
  background-color: #0077B5;
  color: white;
  font-weight: bold;
  padding: 10px 15px;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.contacts .linkedin-btn:hover {
  background-color: #005983;
}

.contacts .linkedin-btn img {
  width: 24px;
  height: 24px;
}

/* Футер */
footer {
  text-align: center;
  font-size: 14px;
  color: #888383;
  margin-top: 20px;
}

/* Адаптивность: мобильные */
@media (max-width: 900px) {
  .container {
    flex-direction: column;
    align-items: center;
  }

  .this-image,
  .this-image-ar {
    width: 100%;
  }

  .sidebar {
    width: 100%;
  }
}
