/********** Template CSS **********/
:root {
    --primary : #E9833B;
    --secondary: #B9DBEA;
    --light: #FDF5EB;
    --dark: #1E1916;
}

h4,
h5,
h6,
.h4,
.h5,
.h6 {
    font-weight: 600 !important;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
    border: 2px solid #FFFFFF;
    color : #FFFFFF;
}

.btn.btn-primary {
    color: #FFFFFF;
    border: 0px solid #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    padding: 35px 15px;
    color: var(--light);
    outline: none;
    font-size: 1.2rem;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.fixed-top {
    transition: .5s;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, .3);
        background: var(--dark);
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.header-container{
    width: 100%;
    height: 95vh;;
    align-items: center;
    background: url("../img/main.png");
}

.header-container .row {
  margin-right: 0;
  margin-left: 0;
}

.header-container .container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;         /* 안의 글씨 중앙 정렬 */
  color: white;
  z-index: 2;
}

.header-container h3{
    color: white;
    font-size: 30px;
    font-weight: 400;
}

.header-container h1{
    color: white;
    font-size: 80px;
    font-weight: 400;
}

/* 로고 전용 스타일 */
.header-logo {
  height: 70px;
  width: auto;
}

.uniform-btn {
  min-width: 220px; /* 두 버튼 중 더 긴 쪽에 맞춰 설정 */
  text-align: center;
}

@media (max-width: 768px) {
  .header-container h3 {
    font-size: 18px;
    margin-top: 10px;
  }

  .header-container h1 {
    font-size: 62px;
    flex-direction: column; /* 좁은 경우 줄바꿈 */
  }

  .header-logo {
    margin-top: 10px;
  }
}
 
.ticker-container {
    width: 100%;
    background-color: #E9833B;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    padding: 1rem 0;
    position: relative;
}

.ticker-move {
    display: inline-block;
    white-space: nowrap;
    animation: scroll-left 20s linear infinite;
}

.ticker-text {
    display: inline-block;
    color: white;
    font-size: 1.2rem;
    padding-right: 2rem; /* 텍스트 사이 간격 */
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

/*** About ***/
.about-section{
  width: 100%;
  display: block;
}

.img-twice::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 10%;
    left: 20%;
    background: var(--primary);
    border: 25px solid var(--light);
    border-radius: 6px;
    z-index: -1;
}

.about-detail-section {
    background-image: url('../img/about-us-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff; /* 전체 텍스트 흰색 */
}

.about-detail-section h3,
.about-detail-section h4{
  color: #ffffff; /* 모든 텍스트 흰색 */
}

.about-detail-section p {
    line-height: 2.0;
}


.about-detail-section .text-center {
  max-width: 100% !important; /* 텍스트 너비 제한 해제 */
  margin-top: 30px;
}

.about-icon {
  width: 160px;
  height: 160px;
  margin-bottom: 30px;
}

.about-text-container{
    width: 100%;
}

@media (max-width: 768px) {
  .about-section h1{
    font-size: 1.7rem;
  }
}

/*** Service ***/
.service-section {
  display: flex;
  justify-content: center;
  padding: 3rem 0;
  background-color: #EEEEEE;
}

.service-wrapper {
  display: flex;
  width: 66.66%;
  gap: 1rem;
  align-items: stretch;
  background-color: #EEEEEE;
}

.service-text,
.service-images {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  background-color: white;
  padding: 1.5rem;
  box-sizing: border-box;
  text-align: center;
  align-items: center;
}

.service-title {
  font-size: 1.8rem;
  color: #E9833B;
  margin-bottom: 1rem;
}

.icon-frame {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto;
}

.frame-img {
  width: 100%;
  height: auto;
}

.center-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 45px;
  color: #E9833B;
}

.service-images {
  justify-content: space-between;
  padding: 0;
  background: none;
  box-shadow: none;
  border: none;
}

.service-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.service-image + .service-image {
  margin-top: 1rem;
}

/* 서비스 그룹 추가 스타일 */
.service-groups {
  width: 100%;
  text-align: left;
  padding: 0 1rem;
}

.service-group {
  margin-bottom: 1rem;
}

.service-group h4 {
  font-size: 1.1rem;
  font-weight: bold;
  color: #E9833B;
  margin-bottom: 0.5rem;
}

.service-group ul {
  padding-left: 1.2rem;
  list-style-type: disc;
  margin: 0;
  color: #333;
  font-size: 0.95rem;
}

.service-group ul li {
  margin-bottom: 0.3rem;
  line-height: 1.6;
}

.service-group p {
  padding-left: 1.2rem;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.6;
}

/* 반응형 */
@media (max-width: 768px) {
  .service-wrapper {
    flex-direction: column;
    width: 90%;
  }

  .service-text,
  .service-images {
    width: 100%;
  }

  .service-text {
    align-items: flex-start;
    text-align: left;
  }
}

/*** Why choose me ***/
.choose-us-section {
  padding: 160px 0;
  background-color: #ffffff;
}

.choose-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

.choose-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.choose-subtitle {
  font-size: 1.1rem;
  color: #555;
  padding: 30px;
}

.choose-items {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.choose-item {
  width: 70%;
  display: flex;
  align-items: flex-start;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.choose-img {
  max-width: 300px;
  height: auto;
  width: auto;
  flex-shrink: 0;
  border: none;       /* 보더 제거 */
  border-radius: 0;   /* 둥근 모서리 제거 */
}

.choose-item-title {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
}

.choose-description {
  font-size: 1rem;
  color: #444;
  margin: 0;
  line-height: 1.8;  
}

.choose-icon {
  font-size: 1.5rem;
  color: #E9833B;
}

@media (max-width: 768px) {
  .choose-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .choose-img {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .choose-item-title {
    justify-content: center;
  }

  .choose-description {
    text-align: center;
  }
}

/*** brand ***/
.brand-section {
  position: relative;
  background-image: url('../img/brand-bg.png'); /* 🔁 배경 이미지 경로 수정 */
  background-size: cover;
  background-position: center;
  height: 50vh; /* 필요시 높이 조정 가능 */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.brand-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7); /* 🔆 어둡게 만드는 반투명 레이어 */
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-content {
  position: relative;
  z-index: 1;
}

.brand-logo {
  max-width: 200px;
  height: auto;
}

.brand-slogan {
  font-size: 2rem;
  font-weight: 700;
  color: #E9833B; /* 🔶 주황색 */
  margin-bottom: 10px;
}

.brand-name {
  font-size: 1.2rem;
  color: #ffffff;
  opacity: 0.9;
}

/***reserve***/

.reservation-section {
  position: relative;
  background-image: url('../img/reverve-bg.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  padding: 80px 20px;
  min-height: 100vh;
  overflow: visible;
}

.height-holder {
  height: 100vh; /* 오버레이가 absolute라서 영역 확보용 */
}

.reservation-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(245, 245, 245, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.reservation-overlay .container {
  max-width: 1200px;
  width: 100%;
  text-align: center;
  position: relative;
}

.reservation-title {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 50px;
}

/* 카드 전체 컨테이너 */
.reservation-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  position: relative;
  overflow: visible;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* 개별 카드 */
.arrow-box {
  width: 350px;
  position: relative;
}

/* 상단 박스 */
.arrow-top {
  position: relative;
  padding: 30px 20px;
  border-radius: 12px 12px 0 0;
  color: white;
  text-align: center;
  background-color: #ccc; /* 개별 box에서 덮어씌움 */
}

.top-icon {
  font-size: 2.5rem;
  margin-top: 10px;
  margin-bottom: 10px;
}

.top-title {
  font-size: 1.25rem;
  font-weight: bold;
}

/* 하단 박스 */
.arrow-bottom {
  background-color: white;
  padding: 20px 10px;
  border-radius: 0 0 12px 12px;
  color: #000;
  text-align: center;
  height: 130px; 
}

.bottom-text {
  font-size: 0.95rem;
  margin: 0;
}

/* 화살표 */
.arrow-shape {
  right: -40px;
  position: absolute;
  bottom: -15px;
  display: flex;
  align-items: center;
  z-index: 10;
}

.arrow-body {
  width: 20px;
  height: 50px;
  background-color: #ccc;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.arrow-head {
  margin-left: -2px;
  width: 0;
  height: 0;
  border-top: 40px solid transparent;
  border-bottom: 40px solid transparent;
  border-left: 30px solid #999;
}

/* box 별 색상 */
.box-1 .arrow-top,
.box-1 .arrow-body {
  background-color: #E9833B;;
}
.box-1 .arrow-head {
  border-left-color: #E9833B;
}

.box-2 .arrow-top,
.box-2 .arrow-body {
  background-color: #F1A93B;
}
.box-2 .arrow-head {
  border-left-color: #F1A93B;
}

.box-3 .arrow-top,
.box-3 .arrow-body {
  background-color: #F9D44C;
}
.box-3 .arrow-head {
  border-left-color: #F9D44C;
}

@media (max-width: 768px) {
  .reservation-section {
    min-height: 120vh;
  }

  .height-holder {
    height: 120vh; /* 오버레이가 absolute라서 영역 확보용 */
  }
  .reservation-overlay .container {
    padding: 60px 30px 60px;  /* 좌우 여백 + 아래 여백 (버튼 공간 확보) */
  }

  .reservation-title {
    font-size: 1.8rem;
    margin-top: 100px; /* 상단 여백 추가 */
    margin-bottom: 40px; /* 제목 아래 여백 축소 */
    line-height: 1.3;
  }

  .reservation-cards {
    flex-direction: column;
    align-items: center;
    gap: 30px; /* 각 카드 간 간격 */
    margin-bottom: 40px; /* ✅ 버튼과 카드 사이 간격 */
  }

  .arrow-box {
    width: 70%;   /* 화면 너비에 비례한 카드 폭 */
    margin-bottom: 0px;
  }

  .arrow-bottom {
    height: 130px;
  }

  .arrow-shape {
    display: none !important; /* 화살표는 모바일에서 숨김 */
  }

  .btn {
    font-size: 1rem;
    padding: 12px 24px;
    margin-bottom: 40px; /* ✅ 하단 여백 추가 */
  }
}

/*** Contact ***/.contact-section {
  background-image: url('../img/contact-bg.png'); /* 배경 이미지 경로 */
  background-size: cover;
  background-position: center;
  position: relative;
}

.contact-overlay {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 80px 40px;
}

.contact-container {
  max-width: 1200px;
  padding: 60px;
  margin: 0 auto;
  color: white;
}

.contact-title {
  text-align: left;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: white;
}

.contact-box {
  background-color: white;
  color: #333;
  padding: 30px 20px;
  border-radius: 12px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-box-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: bold;
}

.contact-info {
  font-size: 1rem;
  margin-bottom: 10px;
}

.contact-desc {
  font-size: 0.95rem;
  line-height: 1.5;
}


/*** Footer ***/
.site-footer {
  background-color: #000; /* 검은색 배경 */
  padding: 40px 0;
  text-align: center;
}

.footer-logo {
  max-width: 180px;
  height: auto;
}