/* common */

.text-keep-all {
  word-break: keep-all;
}

.text-custom-bg-dark {
  color: #000 !important;
  background: linear-gradient(90deg, #ffd700 0%, #ffe066 100%) !important;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
}

h1,.h1,h2,.h2,h3,.h3,h4,.h4,h5,.h5,h6,.h6 {
    font-family: 'Noto Sans KR', sans-serif;
}
.site-heading {
    font-family: 'Noto Sans KR', sans-serif;
}
#mainNav {
    font-family: 'Noto Sans KR', sans-serif;
}


/* main mov */

.main-video-section {
  position: relative;
  /*width: 100vw;*/
  min-height: 100vh;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

.main-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 1;
  background: #000;
}

.main-video-overlay {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  width: 100vw;
  background: rgba(0,0,0,0.36);
  padding: 0 2rem;
}

@media (max-width: 991.98px) {
  .main-bg-video, .main-video-section {
    min-height: 100vh;
    height: 100vh;
  }
}

@media (max-width: 991.98px) {
  .main-video-overlay {
    min-height: 100vh;
    padding: 0 1rem;
  }
}

/* premium */

.product-slider {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  min-height: 540px;
}

.product-slider img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.product-slider img.slide-active {
  opacity: 1;
  z-index: 2;
}

@media (max-width: 767px) {
  .product-slider {
    min-height: 210px;
  }
}

/* 좌우 슬라이더 버튼 스타일 */

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  color: #000;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s;
}

.slider-btn:hover {
  background: rgba(255, 255, 255, 1);
}

.slider-btn.prev {
  left: 10px;
}

.slider-btn.next {
  right: 10px;
}

/* product iamge */

@media (min-width: 992px) {
  .product-item .product-item-img {
    position: relative;
    z-index: 0;
    max-width: 70vw !important;
  }
}

/* product text */

.section-heading .section-heading-lower {
  display: block;
  font-size: 2rem;
  font-weight: 100;
}

.site-heading .site-heading-lower {
  font-size: 3rem;
  font-weight: 100;
  line-height: 4rem;
}

.site-heading {
  margin-top: 2rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  line-height: 1;
  font-family: "Raleway";
}

/* main- suites */

.image-gallery {
  width: 100%;
}

.gallery-img {
  width: auto;
  max-width: 100%;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  user-select: none;
  pointer-events: none;
}

/* Swiper 슬라이드 기본 flex 정렬 */

.swiper-slide {
  display: flex !important;
  justify-content: center;
  align-items: center;
}

/* 모바일 대응 */

@media (max-width: 767.98px) {
  .gallery-img {
    height: 600px;
  }
}

@media (min-width: 768px) {
  .swiper-pagination, .swiper-button-prev, .swiper-button-next {
    display: none !important;
  }
}

/* mmain life */

.intro {
  position: relative;
  overflow: hidden;
}

.intro-img-slider {
  position: relative;
  width: 100%;
  height: auto;
}

.intro-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  border-radius: 0.375rem;
  object-fit: cover;
  user-select: none;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
}

.intro-slide.active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
}

/* .intro-text 위치 유지 (절대 positioned) */

@media (min-width: 992px) {
  .intro-text {
    left: 0;
    width: 60%;
    margin-top: 3rem;
    position: absolute;
  }
}

@media (min-width: 992px) {
  .intro-img-slider {
    width: 75%;
    float: right;
  }
}

@media (min-width: 1200px) {
  .intro-text {
    width: 45%;
  }
}

/* 모바일에서는 슬라이드 이미지가 쌓이지 않도록 유지하되, 슬라이드 기능 유지 */

@media (max-width: 991.98px) {
  .intro-img-slider {
    width: 100% !important;
    float: none !important;
    position: relative;
    height: auto;
  }
}

@media (max-width: 991.98px) {
  .intro-slide {
    position: absolute;
  }
}

@media (max-width: 991.98px) {
  .intro-text {
    position: relative !important;
    width: 100% !important;
    margin-top: 1rem !important;
    text-align: center;
    left: auto !important;
  }
}

/* location */

@media (min-width: 992px) {
  .about-heading .about-heading-content {
    margin-top: 8rem;
  }
}


/* 네비게이션 상단 고정 */
#mainNav {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: #181a1b !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Offcanvas 메뉴 고정 헤더 및 스크롤 분리 */
.offcanvas {
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: #181a1b !important;
    overflow: hidden;
}



.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    letter-spacing: 0.5px;
    font-size: 1.08rem;
    transition: color 0.15s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #ffd700 !important;
}

/* 버튼 스타일 */
.btn-primary-custom {
    /*background-color: #e6a756;*/
    background-color: #ffd700;
    border: none;
    color: #000;
    font-weight: 600;
    border-radius: 25px;
    padding: 0.5rem 1.2rem;
    box-shadow: 0 2px 8px rgba(230, 167, 86, 0.4);
    transition: background-color 0.3s ease;
}

.btn-primary-custom:hover,
.btn-primary-custom:focus {
    background-color: #c2963a;
    color: #fff;
    text-decoration: none;
}

/* 아이콘 크기 조절 */
.navbar-nav .fa-solid,
.navbar-nav .fa-regular {
    font-size: 1.06em;
    opacity: 0.85;
}

/* 오프캔버스 너비 및 스타일 */
.offcanvas.offcanvas-end {
    width: 66vw !important;
    max-width: 400px;
    background: #181a1b !important;
}

/* 오프캔버스 내 메뉴 스타일 */
.offcanvas .navbar-nav .nav-link {
    font-size: 1.15rem;
    padding: 0.75rem 0.5rem;
}

.offcanvas .btn-primary-custom {
    font-size: 1.1rem;
    padding: 0.7rem 1.2rem;
    margin-top: 1rem;
}

/* 반응형 아이템 너비 */
@media (max-width: 991.98px) {
    .offcanvas .nav-item {
        width: 100%;
    }
}

/*.offcanvas-header {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: space-between;*/
/*    padding: var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);*/
/*}*/

.offcanvas-header {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    background-color: inherit;
    z-index: 2;
}

.offcanvas-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 0 !important;
}


.offcanvas-header .navbar-brand {
    flex-shrink: 0 !important;
    margin-right: 1rem;
    min-width: 0 !important;
    max-width: 140px;
}

.offcanvas-header img {
    display: block;
    max-width: 140px !important;
    width: 100% !important;
    min-width: 24px !important;
    height: auto !important;
    flex-shrink: 0 !important;
}

.offcanvas-header .btn-close {
    margin-left: auto;
    flex-shrink: 0;
}

@media (min-width: 992px) {
    #mainNav .navbar-nav .nav-item .nav-link {
        font-size: 1.1rem !important;
    }
}

