/* ===== About Page ===== */
.about-page {
  background: #000000;
}

.about-page::before {
  display: none;
}

.about {
  max-width: 1440px;
  margin: 0 auto;
  padding: 50px 110px 80px;
  display: flex;
  flex-direction: column;
  gap: 52px;
  background: #000000;
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 1000px;
  background: radial-gradient(circle, rgba(255, 187, 0, 0.15) 0%, rgba(255, 187, 0, 0.05) 40%, transparent 70%);
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
}

.about > * {
  position: relative;
  z-index: 1;
}

/* ===== Header ===== */
.about__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.about__back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 12px 24px;
  border: 1px solid #fd0;
  border-radius: 24px;
  color: #fd0;
  font-family: 'Euclid Circular B', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  transition: background 0.3s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.about__back:hover {
  background: rgba(255, 221, 0, 0.1);
  transform: scale(1.05);
}

.about__back:active {
  transform: scale(0.95);
  opacity: 0.7;
}

.about__title {
  font-family: 'SignPainter', cursive;
  font-size: 66px;
  font-weight: normal;
  line-height: 0.86;
  color: #fff;
  white-space: nowrap;
}

.about__title-link {
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.about__title-link:hover {
  opacity: 0.8;
}

.about__title .accent {
  color: #fd0;
}

.about__phone {
  font-family: 'Euclid Circular B', sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.5;
  color: #fff;
  cursor: pointer;
  user-select: none;
  position: relative;
  display: flex;
  justify-content: center;
}

.about__phone-number,
.about__phone-copied {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.about__phone-number {
  display: inline-block;
  opacity: 1;
  transform: translateY(0);
}

.about__phone-copied {
  display: none;
  opacity: 0;
  color: #fd0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.about__phone.copied .about__phone-copied {
  display: inline-block;
  opacity: 1;
}

.about__phone.copied .about__phone-number {
  opacity: 0;
  transform: translateY(-8px);
  position: absolute;
}

/* ===== Text ===== */
.about__text {
  font-family: 'Euclid Circular B', sans-serif;
  font-weight: 300;
  font-size: 24px;
  line-height: 1.5;
  color: #fff;
}

/* ===== Address ===== */
.about__address {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid #fd0;
  border-radius: 24px;
  color: #fd0;
  font-family: 'Euclid Circular B', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  align-self: flex-start;
  transition: background 0.3s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.about__address:hover {
  background: rgba(255, 221, 0, 0.1);
  transform: scale(1.05);
}

.about__address:active {
  transform: scale(0.95);
  opacity: 0.7;
}

.about__address-icon {
  width: 20px;
  height: 24px;
  flex-shrink: 0;
}

.about__address-text--short {
  display: none;
}

/* ===== Gallery ===== */
.about__gallery {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.about__gallery-row {
  display: flex;
  gap: 22px;
  height: 276px;
}

.about__photo {
  border-radius: 24px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  background: #1a1a1a;
}

/* Skeleton shimmer */
.about__photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    #1a1a1a 0%,
    #2a2a2a 40%,
    #333 50%,
    #2a2a2a 60%,
    #1a1a1a 100%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  z-index: 1;
  border-radius: 24px;
  transition: opacity 0.4s ease;
}

.about__photo.loaded::before {
  opacity: 0;
  pointer-events: none;
}

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, opacity 0.4s ease;
  opacity: 0;
}

.about__photo.loaded img {
  opacity: 1;
}

.about__photo:hover img {
  transform: scale(1.05);
}

.about__photo--landscape {
  flex: 4;
}

.about__photo--portrait {
  flex: 3;
}

/* ===== Booking ===== */
.about__booking {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.about__booking-label {
  font-family: 'Euclid Circular B', sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.5;
  color: #fd0;
  text-align: center;
}

.about__buttons {
  display: flex;
  justify-content: center;
  gap: 24px;
  align-items: center;
}

/* ===== Responsive — Tablet (scale down) ===== */
@media (max-width: 1000px) and (min-width: 769px) {
  .about {
    padding: 40px 40px 60px;
    gap: 36px;
  }

  .about__header {
    flex-wrap: wrap;
    gap: 16px;
  }

  .about__title {
    font-size: 48px;
  }

  .about__phone {
    font-size: 18px;
  }

  .about__text {
    font-size: 18px;
  }

  .about__gallery-row {
    height: 200px;
  }

  .about__photo {
    border-radius: 16px;
  }

  .btn {
    height: 60px;
    width: 280px;
    font-size: 22px;
  }
}

/* ===== Responsive — Mobile ===== */
@media (max-width: 768px) {
  .about {
    padding: 24px 16px 40px;
    gap: 24px;
    max-width: 100%;
  }

  /* Header */
  .about__header {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .about__back {
    align-self: center;
  }

  .about__title {
    font-size: 62px;
  }

  .about__phone {
    display: none;
  }

  /* Text */
  .about__text {
    font-size: 16px;
  }

  /* Address */
  .about__address {
    align-self: center;
    width: 328px;
    height: 54px;
    border-radius: 33px;
  }

  .about__address-text--full {
    display: none;
  }

  .about__address-text--short {
    display: inline;
  }

  /* Gallery */
  .about__gallery-row {
    flex-direction: column;
    height: auto;
    gap: 16px;
  }

  .about__photo {
    border-radius: 16px;
    height: 220px;
  }

  .about__photo--landscape,
  .about__photo--portrait {
    flex: none;
    width: 100%;
  }

  /* Booking */
  .about__booking-label {
    font-size: 16px;
    font-weight: 700;
  }

  .about__buttons {
    flex-direction: column;
    gap: 16px;
    width: 328px;
  }

  .about__buttons .btn {
    width: 100%;
    height: 64px;
    font-size: 21px;
    border-radius: 38px;
    gap: 9px;
  }

  .about__buttons .btn__icon {
    width: 31px;
    height: 22px;
  }

  .about__buttons .btn--phone-call {
    display: inline-flex;
  }
}

@media (max-width: 360px) {
  .about__address {
    width: 100%;
  }

  .about__buttons {
    width: 100%;
  }
}
