/* Carousel의 이미지 크기 고정 */
.carousel-item img {
  height: 500px;
  object-fit: cover;
}

.item-size img {
  height: 700px;
  object-fit: cover;
}
.title {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); /* 흐린 검은색 그림자 */
}

/* PC용 스타일 */
.main-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw !important; /* 뷰포트 너비 */
  height: 100vh !important; /* 뷰포트 높이 */
  object-fit: cover;
  transform: translate(-50%, -50%);
}

/* PC용 스타일 */
.main-image {
  width: 100%;
}

/* 모바일용 스타일 태블릿 기준*/

@import url("//fonts.googleapis.com/earlyaccess/notosanskr.css");

body {
  font-family: "Noto Sans KR", sans-serif !important;
}

.tg th,
.tg td {
  text-align: center;
  vertical-align: middle;
  padding: 10px;
  font-size: 1.2rem;
  border: 2px solid white !important;
}

.tg th {
  background-color: #012f5f;
  color: white;
}

.tg td {
  background-color: #fafafa;
}

/* 기본 스타일 */

.floating-text {
  position: relative;
  opacity: 0;
  animation: floatUp 2s ease-out forwards;
}

@keyframes floatUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* img에 글자 넣기 관련 css*/
.position-relative {
  position: relative;
}

.centered-text {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white; /* 텍스트 색상을 이미지 위에서 잘 보이도록 설정 */
  text-align: center;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* 블랙 그림자 */
}
.centered-text-reservation {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white; /* 텍스트 색상을 이미지 위에서 잘 보이도록 설정 */
  text-align: center;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* 블랙 그림자 */
}

/* 링크에 스타일 적용 */
.no-link-style {
  color: inherit; /* 부모 요소의 글자색을 그대로 상속 */
  text-decoration: none; /* 밑줄 제거 (원하는 경우) */
}

.no-link-style:hover {
  color: inherit; /* 마우스 오버 시에도 색상이 변경되지 않도록 */
  text-decoration: none; /* 마우스 오버 시 밑줄이 생기지 않도록 */
}

.image-container {
  position: relative;
  height: 1200px; /* 원하는 높이로 설정하여 상단 부분을 잘라냅니다 */
  overflow: hidden; /* 이미지의 상단 부분을 잘라내기 위해 overflow를 숨김 처리 */
}

.image-container img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  mask-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 1) 10%
    ),
    /* 상단 그라데이션 */
      linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 10%); /* 하단 그라데이션 */
  mask-composite: intersect; /* 두 그라데이션을 결합하여 적용 */
}
.additional-image {
  width: 200px; /* 원하는 크기로 설정 */
  height: auto;
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, 180%);
  color: white; /* 텍스트 색상을 이미지 위에서 잘 보이도록 설정 */
  text-align: center;
}
.container-fluid {
  position: relative; /* 다른 요소들과 자연스럽게 배치되도록 relative 사용 */
  left: 50%; /* 화면 너비의 50% 위치에서 시작 */
  transform: translateX(-50%); /* 좌우 중앙 정렬을 위해 변환 */
  width: 100vw !important; /* 화면 전체 너비 */
  margin-left: calc(-50vw + 50%); /* 부모 요소로 인한 좌측 여백 무시 */
  margin-right: calc(-50vw + 50%); /* 부모 요소로 인한 우측 여백 무시 */
  z-index: 1; /* 다른 요소들 위로 올리기 위해 z-index 사용 */
}
.city-description {
  font-size: 1.2rem;
}

.city-image {
  width: 600px; /* 원하는 너비 */
  height: auto; /* 비율을 유지하면서 높이를 자동으로 설정 */
}

@media (max-width: 768px) {
  .centered-text-reservation p h3 {
    font-size: 1.5rem; /* 텍스트 크기 조정 */
    padding: 0 10px; /* 텍스트 여백 추가 */
  }

  .container {
    padding: 0; /* 모바일에서 컨테이너 패딩 제거 */
  }
}

.city-image-container {
  display: flex; /* 부모 요소를 Flexbox로 설정 */
  justify-content: center; /* 가로로 중앙 정렬 */
  align-items: center; /* 세로로 중앙 정렬 (필요시) */
}

@media (max-width: 768px) {
  .image-container {
    height: auto !important; /* 고정된 높이를 해제하여 유연하게 조정 */
  }

  .main-video {
    width: 50%; /* 화면에 꽉 차도록 */
    height: auto !important; /* 뷰포트 높이 */
    top: 0%;
    left: 0%;
    object-fit: cover; /* 비율 유지하면서 크기 조정 */
    position: relative; /* 절대 위치 해제 */
    transform: none; /* 중앙 정렬 해제 */
  }

  .main-image {
    width: 50%; /* 필요에 따라 이미지 크기 조정 */
    height: auto;
    object-fit: cover; /* 이미지 비율을 유지하면서 크기 조정 */
  }

  .additional-image {
    width: 25% !important; /* 추가 이미지의 크기도 모바일에서 조정 가능 */
    height: auto;
    transform: translate(-50%, 50%) !important;
  }

  .centered-text h1 {
    font-size: 1rem; /* 모바일에서 텍스트 크기를 줄일 수 있음 */
  }

  .centered-text p {
    font-size: 1rem;
  }

  .item-size img {
    height: 500px;
    object-fit: cover;
  }
  .carousel-item img {
    height: 500px;
    object-fit: cover;
  }
  .test h1 {
    font-size: 1.7rem;
  }
  .test p {
    font-size: 1rem;
  }
  .test1 h1 {
    font-size: 1.7rem;
  }
  .centered-text-reservation{
    font-size: 20px;
  }
}

/* 모바일용 스타일 태블릿 기준*/
@media (max-width: 500px) {
  .image-container {
    height: auto !important; /* 고정된 높이를 해제하여 유연하게 조정 */
  }

  .main-video {
    width: 50%; /* 필요에 따라 이미지 크기 조정 */
    height: auto;
    object-fit: cover; /* 이미지 비율을 유지하면서 크기 조정 */
  }

  .main-image {
    width: 50%; /* 필요에 따라 이미지 크기 조정 */
    height: auto;
    object-fit: cover; /* 이미지 비율을 유지하면서 크기 조정 */
  }

  .additional-image {
    width: 15% !important; /* 추가 이미지의 크기도 모바일에서 조정 가능 */
    height: auto;
    transform: translate(-50%, 80%) !important;
  }

  .centered-text h1 {
    font-size: 1rem; /* 모바일에서 텍스트 크기를 줄일 수 있음 */
  }

  .centered-text p {
    font-size: 0.8rem;
  }

  .item-size img {
    height: 300px;
    object-fit: cover;
  }
  .carousel-item img {
    height: 300px;
    object-fit: cover;
  }
  .floating-text h1 {
    font-size: 1.5rem;
  }
  .floating-text p {
    font-size: 0.8rem;
  }
  .test1 h1 {
    font-size: 1.3rem;
  }
  h2.toggle-faq {
    font-size: 18px; /* 원하는 크기로 설정 */
  }
  .centered-text-reservation h3{
    font-size: 15px;
  }
}
.fade {
  transition: opacity 2s ease-in-out; /* 서서히 나타나고 사라지는 효과 */
}

.fixed-button {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 50px;
  padding: 15px 10px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s, transform 0.3s;
  z-index: 1000; /* 버튼이 다른 요소들 위에 있도록 설정 */
}

.fixed-button:hover {
  background-color: #339cff;
  transform: translateY(-3px);
}

.fixed-button:active {
  background-color: #0056b3;
  transform: translateY(1px);
}

/* 자주묻는질문 관련 css */
.faq-basecontainer {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.faq-basecontainer h2 {
  color: #2c3e50;
  text-align: center;
  margin-bottom: 30px;
}
.faq-item {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background-color: #f0f8ff;
  transition: background-color 0.3s ease;
}
.faq-item:hover {
  background-color: #d6eaff;
}
.faq-item strong {
  color: #000000;
  display: block;
  margin-bottom: 5px;
  font-size: 16px;
}
.faq-item p {
  margin: 5px 0;
  color: #333;
}

/*리모컨 */
/* 밝고 산뜻한 화살표 버튼 스타일 */
.toggle-button {
  position: fixed;
  bottom: 60px;
  right: 40px;
  background-color: #ecca08fd; /* 밝은 회색 배경 f5f5f5*/
  color: #333; /* 진한 회색 텍스트 */
  padding: 10px;
  border-radius: 10%;
  cursor: pointer;
  z-index: 101; /* 리모컨보다 위에 위치 */
  font-size: 18px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* 약간의 그림자 */

  /* 텍스트 가운데 정렬을 위한 속성 */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

  /* 둥둥 떠다니는 애니메이션 */
  animation: float 1.5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0); /* 기본 위치 */
  }
  50% {
    transform: translateY(-10px); /* 위로 10px 올라감 */
  }
}

/* 하얀색 계열의 리모컨 스타일 */
.remote {
  position: fixed;
  bottom: 120px;
  right: 40px; /* 화살표 버튼 옆에 위치 */
  z-index: 100;
  background-color: #ffffff; /* 순수한 흰색 배경 */
  padding: 10px;
  border-radius: 10px;
  display: none; /* 처음에는 숨겨져 있음 */
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* 약간의 그림자 */
}

/* 리모컨 링크 스타일 */
.remote a {
  display: block;
  color: #333; /* 진한 회색 텍스트 */
  text-decoration: none;
  padding: 10px 20px;
  margin: 5px 0;
  background-color: #f9f9f9; /* 매우 밝은 회색 배경 */
  border-radius: 5px;
  text-align: center;
  border: 1px solid #ddd; /* 테두리 추가 */
}

.remote a:hover {
  background-color: #e0e0e0; /* 밝은 회색으로 호버 효과 */
}

/* 모바일 및 데스크탑에서 반응형 */
@media (max-width: 768px) {
  .remote {
    right: 50px;
    bottom: 60px;
  }
}
/* form */
label {
  font-weight: bold;
  margin-top: 15px;
  color: #555;
}
.radio-group label {
  margin-right: 15px;
  color: #666;
}
input[type="text"], input[type="tel"], select {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ddd;
  border-radius: 5px;
}
.submit-btn {
  background-color: #ffc107;
  color: #fff;
  border: none;
  padding: 15px;
  width: 100%;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 20px;
  transition: background-color 0.3s;
}
.submit-btn:hover {
  background-color: #e0a800;
}
.contact-info {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
}
.contact-info div {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 30px;
  color: #333;
  font-weight: bold;
}
.email-container {
  display: flex;
  gap: 5px;
  align-items: center;
}
.custom-domain-input {
  display: none; /* 기본적으로 숨김 */
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ddd;
  border-radius: 5px;
}