body {
    margin: 0;
    padding: 0;
    background-color: #111;
    color: white;
    font-family: sans-serif;
    scroll-behavior: smooth;
  }

  
  /* 1번 이미지를 전체 너비로 표시 */
  .top-image img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
  }

 .grid-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;        /* 변경: 기존 40px → 20px */
  margin-top: 40px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.grid-gallery img {
  width: 100%;
  max-width: 800px;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  transition: none;
}

@media (max-width: 600px) {
  .grid-gallery {
    gap: 16px;      /* 변경: 모바일도 간격 축소 */
    padding: 0 12px;
  }

  .grid-gallery img {
    max-width: 100%;
    border-radius: 8px;
  }
} 

  /* 2열 그리드 이미지 갤러리 */
  /* .grid-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 0 20px;
  }
  
  .grid-gallery img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  
  .grid-gallery img:hover {
    transform: scale(1.02);
    opacity: 0.9;
  } */
  
  /* 맨 위로 버튼 */
  #topBtn {
    position: fixed;
    bottom: 100px;
    right: 20px;
    padding: 14px 20px;
    background: #0077be;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: none;
    z-index: 1000;
    font-size: 16px;
    transition: transform 0.3s ease, background 0.3s ease;
  }
  
  #topBtn:hover {
    transform: scale(1.1);
    background: #005f9e;
  }
  
  /* 상담 버튼 */
  #popupBtn {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #0077be;
    color: white;
    padding: 18px 36px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 40px;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease, background 0.3s ease;
  }
  
  #popupBtn:hover {
    transform: scale(1.1);
    background: #005f9e;
  }
  
  /* ✅ 반응형 (모바일: 1열 정렬) */
  @media (max-width: 600px) {
    /* .grid-gallery {
      grid-template-columns: 1fr;
    } */
  
    #topBtn {
      padding: 12px 16px;
      font-size: 14px;
      bottom: 80px;
      right: 15px;
    }
  
    #popupBtn {
      font-size: 16px;
      padding: 16px 28px;
      bottom: 20px;
    }
  
    .grid-gallery img {
      margin-bottom: 10px;
    }
  }
  
