.container{width: 85%; margin: auto; }
.title {text-align: center; margin-bottom: 30px;}
.title > p {font-size: var(--text-m); font-weight: 600;}
h2{
  margin: 20px 0; 
  font-size: var(--text-title-xl);
  font-weight: 700;
}
h4{
  font-size: var(--text-title-xs);
  font-weight: 600;
  margin-bottom: var(--space-xxs);
  color: var(--color-primary-dark);
}

/* ========================================
   main-visual
======================================== */
.main-visual{
  padding-top: 100px;
  position: relative;
}
.main-title h1{
  font-size: 64px;
  font-weight: 700;
}
.main-title h1 a{
  color: var(--color-white);
  text-shadow: 0 0 10px #00529a5b;
}
.main-bg{width: 100%; height: 570px; position: relative;}
.main-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.main-bg::after{
  content: ''; position: absolute;
  width: 100%; height: 100%;
  background: linear-gradient(45deg, #0058A84d, #fafaf84d );
  top: 0; left: 0;
}
/* ----------------- 검색영역 ------------------- */
.main-title{
  position: absolute; top: 20%; left: 50%; transform: translateX(-50%);
  z-index: 10;
}

.main-search .title{margin-bottom: 0; margin-top: 10px;}
.search-wrap{
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

/* 왼쪽 출도착 */
.search-left{ 
  position: relative;
}

.search-category {
  display: flex; gap: 50px;
  padding: 0 10px;
  cursor: pointer;
}
.search-category span{
  font-size: var(--text-title-m);
  font-weight: 700;
  color: var(--color-text-darkgray);
  position: relative;
  padding-bottom: 5px;
  transition: 0.2s;
}
.search-category span.active{color: var(--color-logo);}
.search-category span::before{
  content: ''; position: absolute;
  width: 0; height: 3px;
  bottom: 3px; left: 0;
  background: var(--color-logo);
  transition: 0.3s;
}

.search-category .depart::after{
  content: '\f5b0'; position: absolute;
   font-family: "Font Awesome 5 Free";
   font-weight: 700;
   bottom: 0;
   font-size: 0;
   color:var(--color-logo);
}
.search-category .arrive::after{
  content: '\f5af'; position: absolute;
   font-family: "Font Awesome 5 Free";
   font-weight: 700;
   bottom: 0;
   font-size: 0;
   color:var(--color-logo);
}
.search-category span.active{color: var(--color-logo);}
.search-category span.active::before{width: 110%;}
.search-category span.active::after{font-size: 25px; transition-delay: 0.3s;}
.search-category span:hover{color: var(--color-primary-light);}

.search-box-wrap{z-index: -1;}
.search-box-wrap img{width: 100%; margin: auto;}
.search-box-content{
  width: 100%;
  position: absolute;
  top: 62%; transform: translateY(-50%); 
  padding: 0 20px;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}
.search-inner{
  display: flex; align-items: center;
}
.search-inner i{
  font-size: var(--text-title-xl);
  color: var(--color-text-darkgray);
}
.search-text{
  display: flex;
  flex-direction: column;
}
.search-text input{
  width: 100%; height: 55px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--color-text-lightgray);
  font-size: var(--text-m);
  background: transparent;
  margin-top: 5px;
}
.search-text label{color: var( --color-primary-mlight);}
.search-btn{
  background: transparent;
  display: flex;
  align-items: center;
  color: var(--color-white);
  font-size: var(--text-l);

}
.search-btn:hover i > svg path{stroke: var(--color-point);}

/* 오른쪽 날씨 */
.search-right{
  display: flex;   
  flex-direction: column;
  position: relative;
}
.height-blank{  /* 높이맞추기 빈문자 */
  font-size: var(--text-title-m);
  font-weight: 700; color: transparent;
}
.search-right img{
  width: 100%; height: 100%;
}

.weather-box{
  width: auto;
  position: absolute;
  top: 30%; left: 10%;
  gap: 80px;
  display: flex;
  align-items: center;
}
.weather-data{
  display: flex;
  align-items: center;
}
.weather-today p{
  font-size: var( --text-m);
  font-weight: 700;
  text-align: center;
  color: var(--color-text-darkgray);
}
.weather-today .today-time{
  font-size: var(--text-xs); color: var(--color-primary-dark);
  margin-top: 5px;
}

.weather-icon{width: 120px; height: 120px;}
.weather-data{display: flex; gap: 20px; font-weight: 600;}
.weatherTxt{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* ========================================
   탑승안내
======================================== */
.boarding-title p{
  font-size: var(--text-s);
  font-weight: 500;
  margin-bottom: 10px;
}

.boarding-title b strong{font-size: var(--text-title-m); color: #8A1B04;}
.boarding-title b span{font-size: var(--text-title-xs); font-weight: 600;}
.time-notice{
  font-size: var(--text-s);
  color: var(--color-secondary-gray);
  display: none;
}
.boarding-bg-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
}

/* 사람 */
.person {
  position: absolute;
  width: 40px;
  height: 120px;
  top: 55%;
  left: 15%;                 /* JS에서 제어 */
  transition: left 0.8s ease; /* 부드러운 이동 */
}

/* 머리 */
.head {
  width: 20px;
  height: 20px;
  background: #000;
  border-radius: 50%;
  margin: 0 auto;
}

/* 몸통 */
.body {
  width: 18px;
  height: 35px;
  background: #000;
  margin: 2px auto;
  border-radius: 5px;
}

/* 팔 */
.arm {
  width: 6px;
  height: 30px;
  background: #000;
  position: absolute;
  top: 23px;
  transform-origin: top;
  border-radius: 20px;
}

.arm.left {
  left: 8px;
  animation: armMove 1s infinite alternate;
}

.arm.right {
  right: 8px;
  animation: armMove 1s infinite alternate-reverse;
}

/* 다리 */
.leg {
  width: 8px;
  height: 40px;
  background: #000;
  position: absolute;
  top: 50px;
  transform-origin: top;
  border-radius: 20px;
}

.leg.left {
  left: 11px;
  animation: legMove 1s infinite alternate;
}

.leg.right {
  right: 11px;
  animation: legMove 1s infinite alternate-reverse;
}

/* 걷는 모션 */
@keyframes armMove {
  from { transform: rotate(20deg); }
  to   { transform: rotate(-20deg); }
}

@keyframes legMove {
  from { transform: rotate(-10deg); }
  to   { transform: rotate(10deg); }
}

.flow-wrap {
  width: 75%; margin: auto;
  text-align: center;
}

.flow-steps {
  display: flex;
  justify-content: space-between;
  list-style: none;
  margin-bottom: 30px;
}

.step {
  flex: 1;
  padding: 20px 0 10px;          /* 터치 영역 확대 */
  border-bottom: 5px solid var(--color-text-lightgray);
  color: var(--color-secondary-gray);
  border-radius: 10px;
  font-size: var(--text-m);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}


/* 번호 */
.step span {
  display: block;
  font-size: var(--text-xs);
  margin: 6px 0;
}
.step span img{display: none;}
.step.is-active {
  border-color: var(--color-point);
  color: var(--color-logo);
  font-weight: bold;
}
.step.is-active span{
  color: #8A1B04;
}
/* 버튼 */
.controls button {
  padding: 8px 20px;
  margin: 0 5px;
  border-radius: 20px;
  background: var(--color-primary-dark);
  color: var(--color-white);
  border: none;
  cursor: pointer;
}
.controls button:hover{
  background: var(--color-point);
}
/* 안내문구 */
.bording-content{
  margin-top: 20px;
  display: flex;
  justify-content: center;
  
}
.bording-text li{
  line-height: 1.5;
  position: relative;
  padding-left: 10px;
  margin-bottom: 10px;
}
.bording-text li::before{
  content: ''; position: absolute;
  width: 5px; height: 5px;
  background: var(--color-primary-middle);
  top: 50%; left:0; transform: translateY(-50%);
  border-radius: 50%;
}
.bording-text li span{
  color: #D22400;
}
/* ========================================
  airport guide
======================================== */

.guide-content{
  display: flex;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
  
}
.swiper{ width: 100%;
  height: 630px;
}

.content-box{ 
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-black-xs);
  margin: 10px;
  height: 610px;
}
.content-box-top{
  height: 150px;
  text-align: center;
  line-height: 150px;
  background: #CAE5ED;
  border-bottom: 2px dashed #3b3b3b;
  position: relative;
}
.content-box-top::after{
  content: '\f072'; 
  position: absolute;
  bottom: -52%; left: 50%; transform: translateX(-50%);
  font-family: "Font Awesome 5 Free";
  font-weight: 700;
  font-size: 40px;
  color: var(--color-logo);
}
.content-box-bottom{
  width: 100%; height: calc(100% - 150px);
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  align-items: center;
  text-align: center;
  padding: 10px;
}
.content-card{ 
  width: calc(33.333% - 7px); /* 3개씩 한 줄 */
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 160px;
  justify-content: space-between;
  gap: 20px;
  font-size: var(--text-s);
  position: relative;
  text-wrap: wrap;
  cursor: pointer;
}
.content-card svg{
  transition: transform 0.4s ease;
  transform-style: preserve-3d;
  transform: rotateY(0deg);
  width: 100px; height: 100px;
}

.content-card-text {
  position: absolute;
  width: 150px;
  bottom: -24px;
}

.content-card:hover svg path{fill: var(--color-logo);}
.content-card:hover svg circle{fill: var(--color-logo);}
.content-card:hover svg{
  transform: rotateY(180deg);
}

/* ========================================
  traffic guide
======================================== */
.traffic-content{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}
/* 왼쪽 주차장안내 */
.parking{flex: 1; }
.parking-wrap{
  padding: 20px;
}
.parking h3{
  font-size: var(--text-title-l);
  font-weight: 700;
  margin-bottom: 50px;
}
.parking-p2{
  margin-bottom: 150px;
}
.parking-p2 p{background: var(--color-point);}
.parking-p1 p{background: #D22400; color: var(--color-white);}
.parking-top{
  display: flex; 
  justify-content: space-between;
}
.parking-top h5{
  font-size: var(--text-title-m);
}
.parking-top p{
  width: 145px; height: 53px;
  line-height: 53px;
  text-align: center;
  border-radius: 50px;
  font-size: var(--text-m); font-weight: 700;
}
.parking-bottom{
  width: 100%; height: 30px;
  background: var(--color-text-lightgray);
  border-radius: 50px;
  margin-top: 30px;
  overflow: hidden;
}
.parking-bottom::after{
  content: '';
  display: block;
  height: 100%;
  width: 0;
  transition: width 0.4s ease;
}
/* 상태별 */
.low::after {
  width: 40%;
  background: #b9f78f;
}

.mid::after {
  width: 70%;
  background: var(--color-point);
}

.high::after {
  width: 100%;
  background: #D22400;
}


.traffic-guide{
  margin-top: 90px;
  border-top: 1px solid var(--color-text-darkgray);
}
.traffic-guide ul li{
  margin: 10px;
}


/* 오른쪽 교통안내 */
.traffic-cards-wrap{flex: 1; 
  display: flex; flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.traffic-card{
  width: 30%; height: 190px;
  padding: 14px; 
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.traffic-card::after{
  content: ''; position: absolute;
  width: 100%; height: 100%;
  background: var(--color-logo);
  transition: 0.2s;
  top: 0; left: -110%;
}
.traffic-card:hover::after{
  left: 0;
}
.traffic-card.blank{cursor: auto;}
.traffic-card.blank:hover::after{
  left: -110%;
}
.traffic-card:hover .card-text h6,
.traffic-card:hover .card-text{color: var(--color-white);}

.card-text{
  position: relative;
  z-index: 1;
  margin-bottom: 5px;
}
.card-text h6{font-size: var(--text-title-xs); margin-bottom: 3px;}
.card-text p{font-size: var(--text-xs);}
.card-icon{ 
  position: relative; 
  z-index: 1; 
  display: flex; justify-content: end; 
}

/* ========================================
  항공권 예약
======================================== */
.book-wrap{
  box-shadow: 0 0 10px #1a1a1a31;
  border-radius: 30px;
  padding: 56px;
  width: 100%;
}
.book-wrap-img{display: none;}
/* 상단 선택 */
.book-top{
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.book-top-category span{
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-darkgray);
  padding: 5px 0;
  margin-right: 32px;
  position: relative;
  transition: 0.3s;
  cursor: pointer;
}
.book-top-category span::before{
  content: '';
  position: absolute;
  width: 0; height: 3px;
  background: var(--color-logo);
  bottom: 3px;
}
.book-top-category span::after{
  content: '\f5b0'; 
  position: absolute;
  font-family: "Font Awesome 5 Free";
  font-weight: 700;
  bottom: 0; right: -29px;
  font-size: 0;
  color: var(--color-logo);
}
.book-top-category span.active{ color:  var(--color-logo);}
.book-top-category span.active::before{
  width: 100%;
}
.book-top-category span.active::after{
  font-size: var(--text-title-s);
}
.book-top-flight form span{
  margin-right: 15px;
}
.book-top-category span:hover{
  color: var(--color-logo);
}
/* 출도착 날짜 */
.book{
  width: 100%;
}
.book-area{
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3%;
}
.book-area > div{flex: 1; padding: 70px 0;}
.book-left{
  display: none;
  gap: 3%;
}
.book-left i{
  display: none;
}
.book-left form label span{display: none;}
.book-left.is-active{display: flex;}
.book-left form{
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: var(--text-title-m);
  font-weight: 500;
  color: var(--color-title-text);
  flex: 1;
}
.book-left form select{
  width: 100%; height: 60px;
  border: 1px solid #e6eef8;
  border-radius: 10px;
  padding: 10px;
  font-size: var(--text-m);
}

.book-right form{
  display: flex;
  flex-direction: column;
  font-size: var(--text-title-m);
  font-weight: 500;
  color: var(--color-title-text);
  gap: 20px;
  flex: 1;
}
.book-date{display: flex; gap: 10px;}
.book-date input{
  width: 100%; height: 60px;
  padding: 10px;
  display: flex;
  flex-direction: row; 
  align-items: center;
  justify-content: space-around;
  gap: 15px;
  border: 1px solid #e6eef8;
  border-radius: 10px;
  font-size: var(--text-xs);
}
.book-date input[type='date']::before{
  content: attr(data-placeholder);
  font-weight: 500;
  white-space: nowrap;
}
input.is-hidden{
  display: none;
}
/* 탑승수속 */
.book-detail{
  display: flex;
  gap: 55px;
}
.book-detail > div {flex: 1; }
.setGroup{
  position: relative;
}
.option-item{
  display: flex;
  flex-direction: column;
  font-size: var(--text-title-m);
  gap: 20px;
  font-weight: 500;
  color: var(--color-title-text);
}
.inp-sCustom{
  text-align: left;
  width: 100%;
  padding: 15px 10px;
  font-size: var(--text-xs);
  font-weight: 500;
  border-bottom: 1px solid  #e6eef8;
  position: relative;
}
.inp-sCustom::after{
  content: '\f107'; position: absolute;
  font-size: var(--text-xs);
  font-family: "Font Awesome 5 Free";
  font-weight: 700;
  top: 50%; right: 10px;
  transform: translateY(-50%);
}
.search-option-group{
  position: absolute;
  width: 100%;
  box-shadow: var(--shadow-black-xs);
  background: rgba(250, 250, 248, 0.89);
  top: 50%;
  border-radius: 10px;
}
.list-age{
  height: auto; width: 100%;
  padding: 10px;
}
.list-age li{
  display: flex; width: 70%; margin: auto;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
}
.list-age li b{font-size: var(--text-m); font-weight: 600;}
.list-age li b em{font-weight: 400; font-size: var(--text-xs);}
.list-age li .count{
  display: flex; 
  justify-content: space-between;
 
}
.list-age li .count button{
  width: 40px; height: 40px;  font-weight: 500;
  background: var(--color-logo);
  color: var(--color-white);
}
.list-age li .count button:hover{
  color: var(--color-point);
}
.list-age li .count input{ 
  width: 40px;
  text-align: center;
  font-weight: 700;
  color: var(--color-primary-dark);
}
.setClass{
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: var(--text-title-m);
  font-weight: 500;
  color: var(--color-title-text);
}
.setClass select{
  border: 1px solid #e6eef8;
  padding: 15px 10px;
  font-size: var(--text-xs);
  font-weight: 500;
}

.closeBtn{
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 10px;
}
.closeBtn button{
  padding: 10px 40px;
  background: var(--color-logo);
  color: var(--color-white);
  border-radius: 5px;
  font-size:  var(--text-s);

}
.closeBtn button:hover{
  background: var(--color-point);
}

.book-searchBtn{
  display: flex;
  justify-content: center;
  margin-top: 50px;
}
.book-btn{
  background: var(--color-logo);
  color: var(--color-white);
  border-radius: 5px;
  font-size:  var(--text-s);
  width: 300px; height: 80px;
  border-radius: 30px;
  font-size: var(--text-xl);
  font-weight: 700;
}
.book-btn:hover{
  background: var(--color-point);
}
/* ========================================
  Travel Jeju
======================================== */
.travel-box{
  display: flex;
  gap: 140px;
  flex-wrap: wrap;
}
.travel-map-wrap{
  position: relative;
  width: 980px;
  flex-shrink: 0;
}

.travel-content{
  flex: 1;
}
.travel-content h4{
  font-size: var(--text-title-l);
  margin-bottom: 60px;
}

.filter-controls{
  display: flex;
  flex-direction: column;
  gap: 50px;
  
}
.filter-controls button{
  font-size: var(--text-l);
  text-align: start;
  font-weight: 500;
  position: relative;
}

.filter-controls button.active {
  color: var(--color-logo);
}
.filter-controls button.active i{
  font-size: var(--text-xl); color: var(--color-point);
}

.filter-controls button:hover i{
  color: var(--color-point);
}
.address-bubble {
  position: absolute;
  bottom: 50px;
  left: -110px;
  padding: 6px 10px;
  font-size: 12px;
  background: var(--color-primary-dark);
  color: var(--color-white);
  border-radius: 10px;
  white-space: nowrap;
 
}
.address-bubble::after{
  content: '';
	position: absolute;
	bottom: 5px;
	left: 50%;
	width: 0;
	height: 0;
	border: 20px solid transparent;
	border-top-color: var(--color-primary-dark);
	border-bottom: 0;
	border-right: 0;
	margin-left: -10px;
	margin-bottom: -20px;
  transform: rotate(-15deg);
}



/* 여행장소 라벨 */
.travel-label {
  position: absolute;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.95);
  padding: 5px 12px;
  border-radius: 18px;
  font-size: 13px;
  cursor: pointer;
  border: 1px solid var(--color-text-darkgray);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
  transition: 0.18s;
  display: flex;
  align-items: center;
  white-space: nowrap;
  color: var(--color-black-soft);
}

.travel-label:hover {
  transform: translate(-50%, -50%) scale(1.03);
}

/* 클릭된 라벨 스타일 */
.travel-label.active {
  background: var(--color-primary-middle);
  color: var(--color-white);
  border: 1px solid var(--color-white);
  box-shadow: 0 10px 30px rgba(0, 88, 168, 0.12);
  transform: translate(-50%, -50%) scale(1.06);
  z-index: 30;
}

.travel-label.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(.98);
}

/* dot */
.pin-img {
  position: absolute;
  width: 23px;
  height: 27px;
  left: -5%;
  top: -72%;
}
