

.hero-overlay {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 0 20px;
}

.hero-text-box {
  /*background: rgba(0, 0, 0, 0.4);*/
  padding: 30px;
  border-radius: 12px;
  max-width: 800px;
}

.hero-heading {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-subtext {
  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: 700;
}

.scroll-down {
  position: absolute;
  bottom: 40px;
  font-size: 2rem;
  animation: bounce 2s infinite;
}

.scroll-down a {
  color: #fff;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

@media (max-width: 768px) {
  .hero-heading {
    white-space: normal;
    word-break: keep-all;
    font-size: 20px;
    line-height: 1.5;
    text-align: center;
    padding: 0 15px;
    color: #ffffff;
    animation: fadeDown 1.2s ease-in-out;
  }

  .hero-subtext {
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
    padding: 0 20px;
    color: #fefeff;
    animation: fadeUp 1.5s ease-in-out;
  }
}

/* PC에도 부드러운 효과 주고 싶다면 아래도 가능 */
.hero-heading,
.hero-subtext {
  animation-fill-mode: both;
}

/* 애니메이션 정의 */
@keyframes fadeDown {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


 .carousel-item {
   position: relative;
 }

 .hero-overlay {
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   color: white;
   text-align: center;
   z-index: 8;
 }

 .hero-overlay h1 {
   font-size: 3rem;
   font-weight: bold;
   text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
 }

 .hero-overlay p {
   font-size: 1.2rem;
   text-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
 }

 .object-fit-cover {
   object-fit: cover;
 }
 
 
  .estimate-banner {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    text-align: center;
    padding-top: 120px;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
  }

  .estimate-banner a {
    display: block;
    font-size: 20px;
    font-weight: bold;
    padding: 10px;
    color: white;
    text-align: center;
    text-decoration: none;
    z-index: 15;
    white-space: nowrap; /* 줄바꿈 방지 */
    overflow: hidden;
    text-overflow: ellipsis; /* 너무 길면 말줄임표 */
  }

  /* ✅ 모바일 폰트 사이즈 조절 */
  @media (max-width: 576px) {
    .estimate-banner a {
      font-size: 16px;
      padding: 10px;
    }
  }
  
  .carousel-control-prev-icon{
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")
  }
   
  .carousel-control-next-icon{
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  }    
      