/* BASIC css start */
/* 기본 스타일 */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* 가로 스크롤 방지 */
}

h1, h2 {
  margin: 0;
}

h1 span {
  display: block;
  margin-top: -5px;
}

/* #wrap의 레이아웃 조정 */
#wrap {
  display: flex;
  flex-direction: column;
}

/* 공통 p 태그 스타일 */
p {
  font-size: 1.2rem;
  color: #fff;
  line-height: 1.5;
  margin: 0;
}

/* 패럴랙스 컨테이너 */
.parallax-container {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* 패럴랙스 배경 */
.parallax-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -1;
}

/* 텍스트 컨텐츠 */
.content {
  position: relative;
  text-align: center;
  z-index: 1;
  color: #fff;
  max-width: 80%;
}

.content h1, .content h2 {
  font-size: 1.7rem;
  margin-bottom: 20px;
}

/* 텍스트 섹션 */
.text-section {
  padding: 40px 20px; /* 기존보다 줄임 */
  margin: 0; /* 추가적인 여백 제거 */
  background-color: #222;
  text-align: center;
}

.text-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #fff;
}

/* 푸터 */
footer {
  background-color: #222;
  color: #aaa;
  text-align: center;
  padding: 20px 0;
}


/* Swiper 캐러셀 스타일 (배경만 변경) */
.swiper-container {
  width: 100%;
  height: 100vh;
}

.swiper-slide {
  position: relative;
  width: 100%;
  height: 100%;
}

/* 패럴랙스 배경 (캐러셀에 영향받음) */
.swiper-slide .parallax-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -1;
}

/* 텍스트 고정 */
.fixed-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  font-size: 1rem;
  z-index: 2; /* 캐러셀보다 위에 표시 */
}
/* BASIC css end */

