a, a:visited, a:hover, a:link {text-decoration: none;}

#slider {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  color: white;
  font-size: 24px;
  text-align: center;
  line-height: 1.5em;
  padding-left: 0px;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: none;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 반투명 배경 */
  display: flex;
  align-items: center;
  padding-left: 4em;
  /*justify-content: center;*/
}

/* 부모 컨테이너 */
.scroll-container {
    position: relative; /* 부모 기준 */
    width: 100%;
    height: 700px; /* div의 높이 */
    overflow: hidden; /* 넘치는 배경 숨기기 */
}

/* 움직이는 배경 */
.scroll-background {
    position: absolute; /* 부모 기준 */
    top: 0;
    left: 0;
    width: 100%;
    height: 1000px; /* div보다 더 큰 배경 이미지 */
    background-image: url("/static/img/sub/scroll-bg.jpg"); /* 배경 이미지 */
    background-size: cover;
    background-position: center center;
    transform: translateY(0); /* 초기 위치 설정 */
    will-change: transform;
    z-index: 0; /* 부모 내부에서 유지 */
}

/* 내용 */
.scroll-content {
    position: absolute; /* 부모를 기준으로 중앙 정렬 */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* 정확한 중앙 위치 */
    color: white;
    text-align: center;
    /* font-size: 2rem; */
    font-weight: bold;
    z-index: 10;
    padding: 20px;
}


.section {
    padding: 100px 0;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.5s ease-in-out;
}
.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section .img img {
      transition: all .3s;
      width : 100%;
      overflow-clip-margin: content-box;
      overflow: clip;
}

.section .tit p {
    margin-top: 0.6em;
    font-size: 1.2em;
    font-weight: bold;
    letter-spacing: 0;
    color: #444;
    text-decoration: none;
}

.section .tit p span {
    font-size: 15px;
    letter-spacing: 0;
    color: #700808;
    text-decoration: none;
    padding-right: 0.7em;
}

.en_tit {
  margin-bottom: 120px;
  line-height: 1;
  color: #eee;
  font-size: 100px;
  font-weight: bold;
  font-family: "Pretendard-Regular";
}

.en_tit2 {
  color:#444;
  font-size: 30px;
  font-weight: bold;
  font-family: "Pretendard-Regular";
  text-align: center;
}

#busnessScrollArea {position: relative;}
#bTitle {position: absolute;}

#inquery_left {
    position: relative;
    background: url(/static/img/main/inc02_bg.jpg) no-repeat;
    border-radius: 0 0 50px 0;
    width: 100%;
    height: 1047px;
    text-align: right;
    padding-right: 3em;
    color:#444;
    padding-top: 4em;
}
#inquery_left p {margin-top: 6em; color:#999999;}
#inquery_title {color:#ffffff; font-size:50px; margin-top: 100px; font-weight: bold;}
#inqueryFormArea {margin-top: 60px;}
#inqueryFormArea input, #inqueryFormArea textarea {background-color: #ececec;}

#inqueryListLeft { padding-top: 3em; padding-left: 3em; }
#inqueryListRight {padding-top:3em;}

#heroRequestConsult1 {height: 60px; width: 380px; color:#444444; background-color: #fff; 
align-items: center;justify-content: center;
  border-radius: 30px; padding: 0px; margin-top: 3em; text-align: center; cursor: pointer; padding-top:9px;}

#historyArea { padding-top: 100px; }  
#historyBox {width: 80%;  background-color: brown; color:#ffffff; border-top-right-radius: 30px;
            border-bottom-right-radius: 30px;border-bottom-left-radius: 30px; padding: 30px; }


/* 베스트 여행 상품 관련 */
.your-slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px;
    gap: 15px;
}
.your-slider div img {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    object-fit: cover;
}
.your-slider div p {
    flex: none;
    text-align: center;
}


.slick-prev, .slick-next
{
    font-size: 10;
    line-height: 0;

    position: absolute;
    top: 50%;

    display: block;

    width: 20px;
    height: 20px;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);

    cursor: pointer;

    color: transparent;
    border: none;
    outline: none;
    background: transparent;
}

.slick-prev
{
    left: 100px;
}

.slick-next
{
    right: 100px;
}


.circle-img {width:240px; height:240px;border-radius: 50%;object-fit: cover;}


.banner {
    position: relative;
    background-image: url('/static/img/main/main1.jpeg'); /* 배경 이미지 URL */
    background-size: cover;
    background-position: center;
    height: 270px; /* 높이 설정 */
    color: white; /* 텍스트 색상 */
    display: flex;
    align-items: center; /* 수직 가운데 정렬 */
    justify-content: center; /* 수평 가운데 정렬 */
}

.banner-overlay {
    background-color: rgba(0, 128, 128, 0.7); /* 청록색 반투명 배경 */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* 텍스트보다 아래 배치 */
}

.banner-content {
    position: relative;
    z-index: 2; /* 배경 위에 표시 */
    text-align: center; /* 텍스트 가운데 정렬 */
}

.banner-content h1 {
    font-size: 2.5rem;
    font-weight: bold;
}

.banner-content p {
    margin: 10px 0;
    font-size: 1.2rem;
}

.btn-custom {
    background-color: #001f3f;
    color: white;
    border: none;
    padding: 10px 20px;
    text-transform: uppercase;
    font-size: 1rem;
    border-radius: 5px;
    transition: 0.3s ease-in-out;
}

.btn-custom:hover {
    background-color: #004080;
}


/* Pool Section Styles */
#pool-full {
    margin-top: 5em;
    padding: 0;
}

.pool-section {
    width: 100%;
    position: relative;
}

.pool-image-container {
    position: relative;
    width: 100%;
    height: 40vh;
    overflow: hidden;
}

.pool-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 이미지가 로드되지 않을 경우 대체 배경 */
.pool-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #006994 0%, #0099cc 50%, #33b5e5 100%);
    z-index: -1;
}

.pool-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: rgba(0, 0, 0, 0.4); */
    display: flex;
    align-items: center;
    justify-content: center;
}

.pool-text-content {
    text-align: left;
    color: white;
    z-index: 2;
    margin-top: -7em;
}

.pool-title {
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-family: 'Pretendard-Regular', sans-serif;
}



@media only screen and (max-width: 991px) {
    #slider { height: 250px; }
    .overlay { padding-left: 1em;}
    .overlay ul {margin-top: 2em;}
    #heroRequestConsult1 {margin-top: 1em; width: 90%; font-size: 0.8em;}
    .en_tit {font-size: 70px;}
    #inquery_left { height: 500px; }
    .w48 {width: 100%;}
    .scroll-container {height: 700px;}
    #mainHero { height: 40vh;}

}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    #slider { height: 600px; }
    .scroll-container {height: 600px;}
    #mainHero { height: 70vh;}
}