.about {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: #ffffff;
  padding: 64px 24px;
}

.about__container {
  max-width: 1200px;
  display: flex;
  flex-direction: row;
  gap: 56px;
  align-items: center;
  flex-wrap: wrap;
}

.about__left,
.about__right {
  flex: 1 1 340px;
}

.about__photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.about__name {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #ffffff;
}

.about__title {
  font-size: 18px;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 14px;
}

.about__location,
.about__contact {
  display: flex;
  align-items: center;
  font-size: 16px;
  margin-bottom: 10px;
  color: #ffffff;
}

.about__icon {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  opacity: 0.9;
}

.about__contact a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.about__contact a:hover {
  color: #f3f4f6;
}

.about__desc {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.7;
  color: #ffffff;
}

.about__right {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.about__greeting {
  margin-bottom: 20px;
  font-size: 17px;
  font-weight: 500;
  color: #ffffff;
}

.about__right ul {
  padding-left: 0;
  list-style: none;
}

.about__right li {
  margin-bottom: 14px;
  font-size: 16px;
  line-height: 1.7;
  padding-left: 0;
  color: #ffffff;
}

.about__right li::before {
  content: "✅ ";
  margin-right: 6px;
}

@media (max-width: 768px) {
  .about__container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .about__right {
    text-align: left;
    padding: 24px;
  }

  .about__location,
  .about__contact {
    justify-content: center;
  }
}

.title {
  text-align: center;
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 50px;
  color: #111;
}

.gallery {
  padding: 75px;
  background: linear-gradient(135deg, #f8fafc, #eef2f6);
  user-select: none;
}

.gallery__container {
  max-width: 100%;
}

.gallery__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 24px;
}

.gallery__card {
  position: relative;
  height: 340px;
  background-color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.gallery__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.gallery__card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.4s ease;
}

.gallery__card:hover .gallery__card-image {
  transform: scale(1.03);
}

.gallery__card-info {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(14px);
  color: #1a1a1a;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.gallery__card:hover .gallery__card-info {
  transform: translateY(0);
  opacity: 1;
}

.gallery__card-info h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
}

.gallery__card-info p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  opacity: 0.9;
}

.gallery__popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  inset: 0;
  background-color: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  visibility: hidden;
  opacity: 0;
  overflow: hidden;
  z-index: 1000;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.gallery__popup--open {
  visibility: visible;
  opacity: 1;
}

.gallery__popup-scroll {
  max-height: 100vh;
  height: 100%;
  overflow-y: auto;
}

.gallery__popup-container {
  padding: 60px 4vw 80px;
  max-width: 1500px;
  margin: 0 auto;
  min-height: 100vh;
}

.gallery__popup-close {
  position: absolute;
  line-height: 1;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 16px;
  right: 32px;
  font-size: 36px;
  color: #ffffff;
  cursor: pointer;
  z-index: 1001;
}

.gallery__popup-close:hover {
  opacity: 0.5;
}

.gallery__popup-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-radius: 50%;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1002;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.gallery__popup-arrow:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.gallery__popup-arrow--left {
  left: 24px;
}

.gallery__popup-arrow--right {
  right: 40px;
}

.gallery__popup-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #ffffff;
}

.gallery__popup-desc {
  font-size: 18px;
  line-height: 1.7;
  color: #dddddd;
  max-width: 860px;
}

.gallery__popup-image {
  cursor: default;
  display: block;
  max-width: 100%;
  height: auto;
  margin: 48px auto 0;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
}
