/* Страница "Обо мне" */
.about-section {
  flex: 1;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 24px 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: calc(100vh - 160px);
  overflow: hidden;
}

.about-main-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 700;
  color: #c2f0c2;
  text-align: center;
  margin: 0 0 24px 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5), 0 0 24px rgba(45, 58, 45, 0.4);
  letter-spacing: -0.02em;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  height: calc(100vh - 240px);
}

.about-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  opacity: 0;
  animation: fadeInUp 0.9s ease-out forwards;
}

.about-image {
  max-width: 650px;
  height: auto;
  max-height: calc(100vh - 200px);
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.about-image:hover {
  transform: scale(1.02);
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 520px;
  height: 100%;
  justify-content: space-between;
  opacity: 0;
  animation: fadeInUp 0.9s ease-out 0.2s forwards;
}

.about-text-block {
  background: rgba(254, 252, 248, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(200, 224, 200, 0.2);
  padding: 20px 24px;
  transition: all 0.3s ease;
  flex: 1;
}

.about-text-block:hover {
  background: rgba(254, 252, 248, 0.08);
  border-color: rgba(200, 224, 200, 0.35);
}

.about-text {
  font-family: "Montserrat Alternates", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: #b8d4b8;
  margin: 0;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.about-contacts {
  background: rgba(254, 252, 248, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(200, 224, 200, 0.2);
}

.contacts-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  font-weight: 600;
  color: #c2f0c2;
  margin: 0 0 12px 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.contacts-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(200, 224, 200, 0.15);
  transition: padding-left 0.2s ease;
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item:hover {
  padding-left: 8px;
}

.contact-label {
  font-family: "Montserrat Alternates", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.contact-value {
  font-family: "Montserrat Alternates", sans-serif;
  font-size: 14px;
  color: #c2f0c2;
  text-decoration: none;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.contact-value:hover {
  color: #d4f0d4;
  transform: translateX(4px);
}

/* Адаптивность */
@media (max-width: 1000px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
  }

  .about-image-wrapper {
    order: -1;
  }

  .about-image {
    max-width: 400px;
    max-height: 50vh;
  }

  .about-right {
    max-width: 600px;
    text-align: center;
  }

  .about-text-block {
    padding: 28px 24px;
  }
}

@media (max-width: 860px) {
  .about-section {
    min-height: auto;
    padding: 28px 24px 24px;
  }

  .about-content {
    height: auto;
  }

  .about-main-title {
    margin-bottom: 28px;
  }

  .about-image {
    max-width: 320px;
  }

  .about-right {
    gap: 24px;
  }
}

@media (max-width: 520px) {
  .about-section {
    padding: 20px var(--safe-inline, 16px) 20px;
    min-height: auto;
  }

  .about-main-title {
    font-size: clamp(28px, 8vw, 36px);
    margin-bottom: 20px;
  }

  .about-content {
    gap: 24px;
  }

  .about-image {
    max-width: 100%;
    min-width: 0;
  }

  .about-text-block {
    padding: 20px 18px;
  }

  .about-text {
    font-size: 15px;
    line-height: 1.6;
  }

  .about-contacts {
    padding: 20px 18px;
  }

  .contacts-title {
    font-size: 20px;
    margin-bottom: 14px;
  }

  .contact-item {
    padding: 10px 0;
  }

  .contact-value {
    font-size: 15px;
    word-break: break-word;
  }
}

@media (max-width: 380px) {
  .about-section {
    padding: 16px 14px 16px;
  }

  .about-main-title {
    font-size: 26px;
  }

  .about-image {
    max-height: 45vh;
  }
}
