/* mainslide */

.bg-cover {
  background-size: cover;
  background-position: center;
  width: 100vw;
  min-height: 100vh;
}

/* @media (min-width: 992px) {
  .masthead h1, .masthead .h1 {
    font-size: 3.5rem;
    color: #000;
  }
}

@media (max-width: 767px) {
  .masthead h1, .masthead .h1 {
    font-size: 2.0rem;
    margin: 0;
    padding: 0;
    color: #000;
    word-break: keep-all;
  }
} */


#sidebar-wrapper {
  position: fixed;
  z-index: 2;
  right: 0;
  width: 250px;
  height: 100%;
  transition: all .4s ease 0s;
  transform: translateX(250px);
  background: #1d809f;
  border-left: 1px solid rgba(255, 255, 255, .1);
}

.sidebar-nav {
  padding: 1rem 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
}

.sidebar-nav .dropdown-menu {
  position: static !important;
  float: none;
  margin: 0;
  padding-left: 1rem;
  border: none;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.1);
  opacity: 1;
  transition: all 0.3s ease;
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  border-radius: 0.25rem;
}

.sidebar-nav .dropdown.show .dropdown-menu, .sidebar-nav .dropdown-menu.show {
  max-height: 500px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  margin-top: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-nav .dropdown-item {
  padding: 0.75rem 1.5rem;
  color: #fff;
  transition: all 0.2s ease;
  border-radius: 0.25rem;
  margin: 0.25rem 0;
  font-weight: 500;
}

.sidebar-nav .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateX(4px);
}

.sidebar-nav .nav-item {
  padding: 0.75rem 1.5rem;
  color: #fff;
  transition: all 0.2s ease;
}

.sidebar-nav .nav-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* 메인 헤더 */

.header-logo {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1;
}

.header-logo img {
  height: 40px;
}

.masthead {
  position: relative;
}

.masthead-main {
  height: 100vh;
  min-height: 30rem;
  display: flex;
  align-items: center;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  /*background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%);*/
}

/* 서브 헤더 */

.masthead-sub {
  height: 200px !important;
  min-height: 200px !important;
  max-height: 200px !important;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 100%), url('../../assets/img/bg-masthead.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
  text-align: center;
  padding: 1rem 0;
}

.masthead-sub .page-title {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.masthead-sub .title-underline {
  width: 60px;
  height: 2px;
  background: white;
  margin: 0 auto 0.5rem;
  border: none;
}

.masthead-sub .page-subtitle {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 0;
}

/* 중앙 가로 메뉴 (웹/PC) */

.center-nav {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 1;
}

.center-nav-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 2rem;
  padding: 0.5rem 1.5rem;
}

.center-nav-item {
  margin: 0 1rem;
  position: relative;
}

.center-nav-item a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
  padding: 0.5rem 0;
}

.center-nav-item a:hover {
  color: #f8f9fa;
}

/* 드롭다운 메뉴 스타일 (필요시) */

.center-nav-item.dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  background: white;
  border-radius: 0.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  min-width: 160px;
  z-index: 2;
}

.center-nav-item.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  padding: 0.5rem 1rem;
}

.dropdown-menu li a {
  color: #333;
  display: block;
}

.dropdown-menu li a:hover {
  background: #f8f9fa;
}

.content-section {
  padding-top: 3.5rem;
  padding-bottom: 1.5rem;
}

/* common */

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

.text-custom-bg-dark {
  color: #fff !important;
  background-color: #282536 !important;
}
/* unit */

/* 모바일에서 한 줄에 2개 */

/* @media (max-width: 575.98px) {
  #myTab1 {
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  #myTab1 .nav-item {
    flex: 0 0 50%;
    max-width: 50%;
    text-align: center;
  }
} */

/* 모바일에서 한 줄에 3개로 하고 싶다면 아래처럼 수정 */

/* @media (max-width: 575.98px) {
  #myTab {
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  #myTab .nav-item {
    flex: 0 0 33.33%;
    max-width: 33.33%;
    text-align: center;
  }
} */

@media (max-width: 768px) {
  #myTab1 {
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  #myTab1 .nav-item {
    flex: 0 0 50%;
    max-width: 50%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  #myTab {
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  #myTab .nav-item {
    flex: 0 0 33.33%;
    max-width: 33.33%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .mobi-tab {
    margin-top: -50px;
  }
}

@media (max-width: 768px) {
  .mobi-tab2 {
    margin-top: -20px;
  }
}

/* luxury */

.fit-cover {
  object-fit: cover;
}

.carousel-item {
  /*height: 730px;*/
}

/* .carousel-item {
    height: 280px;
  } */

@media (max-width: 768px) {
  .h-100 {
    height: 100% !important;
  }
}

.carousel-inner > .carousel-item > .container, .carousel-inner > .carousel-item > .container > .row {
  height: 100%;
}

.carousel-inner img {
  min-height: 100%;
  min-width: 100%;
}

/* 인디케이터 아주 연하게/작게 */

.carousel-indicators [data-bs-target] {
  background-color: rgba(50,50,50,0.18);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: none;
  margin: 4px 4px;
}

.carousel-indicators .active {
  background-color: rgba(30,30,30,0.38);
}

.carousel-indicators {
  bottom: -50px;
}

/* 화살표 연하게, 작게 */

.carousel-control-prev-icon, .carousel-control-next-icon {
  background-color: rgba(80,80,80,0.18);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  z-index: 10;
}

.carousel-control-prev, .carousel-control-next {
  opacity: 0.5;
  transition: opacity 0.2s;
  z-index: 10;
}

.carousel-control-prev:hover, .carousel-control-next:hover {
  opacity: 0.9;
}

#carousel-1 {
  height: auto;
}

/* 부트스트랩 'lg' 브레이크포인트(992px) 기준, 필요하면 1200px 등 자유롭게 변경 */

@media (min-width: 992px) {
  #carousel-1 {
    height: 730px;
  }
}

@media (min-width: 992px) {
  #carousel-1 .carousel-inner, #carousel-1 .carousel-item, #carousel-1 img, #carousel-1 .container, #carousel-1 .row, #carousel-1 .col-12, #carousel-1 .col-md-8, #carousel-1 .col-md-4 {
    height: 100%;
  }
}

/* @media (min-width: 992px) {
  .portfolio-item:hover .caption {
    background-color: rgba(226, 207, 191, 0.9);
    -webkit-clip-path: inset(2rem);
    clip-path: inset(2rem);
  }
} */

/* main-servie */

.service-img {
  width: 170px;
  height: 170px;
  object-fit: cover;
}

/* main-gallery */

@media (max-width: 767.98px) {
  .section-bg {
    min-height: 410px !important;
  }
}

