.photo-section {
  --gap: 160px;
  --img-width: 250px;
  --img-height: 250px;

  text-align: center;

  padding-top: 40px;     /* 위쪽 여백 */
  padding-bottom: 50px;  /* ✅ 아래쪽 여백 줄이기 */
margin-top: -150px;   /* 👆 사진 섹션 자체를 위로 당기기 (필요 시 값 조정) */
}

.photo-section .photos {
  display: flex;
  gap: var(--gap);
  justify-content: center;
}

.photo-section .photo {
  position: relative;  /* 텍스트를 사진 안에 겹치게 하기 위해 position 추가 */
  width: var(--img-width);
  height: var(--img-height);
  overflow: hidden;
  border-radius: 130px;
  display: block;
  transition: transform 0.3s ease;
}

.photo-section .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.photo-section .photo:hover img {
  transform: scale(1.2);
  opacity: 0.6;
}

/* ✨ 텍스트 스타일 */
.photo-section .photo-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: black;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.photo-section .photo:hover .photo-text {
  opacity: 1;
}

/* section 자체의 마진과 패딩 제거 */
.section-title {
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* container가 여백을 가지고 있을 수도 있으므로 */
.section-title.container,
.section-title .container {
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

