/* 기본 세팅 */
body {
  margin: 0; padding: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: #fefefe;
  color: #333;
  padding-bottom: 50px; /* 하단 바 높이 + 여유 */
}

.scroll-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

.custom-back-img {
  width: 60%;      /* 또는 px로 지정 가능: 400px */
  max-width: 600px;
}

/* 포인트 컬러 */
.text-primary-custom {
  color: #4ec1d2;
}

/* 버튼 커스텀 */
.btn-custom {
  background-color: #4ec1d2;
  border: none;
  color: white;
  transition: 0.3s;
}
.btn-custom:hover {
  background-color: #3ba9bb;
}

.main-title{
  font-size: 30px;
}



/* 메인 섹션 */
.main-section {
  background-color: #f8f9fc; /* 예시용 배경색 */
}

/* @media (max-width: 768px) {
  .main-section { height: 500px; }
}
@media (max-width: 480px) {
  .main-section { height: 400px; }
} */

/* 헤더 */
#mainHeader {
  width: 100%;
  background: white;
  z-index: 10;
}

.logo-img {
  margin-bottom: 40px;
  width: 140px;
  height: auto;
}
.nav-button {
  background: none;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 1.1rem;
  color: black;
  font-weight: 600;
  position: relative;
  cursor: pointer;
}
.nav-button:hover {
 color: #4ec1d2;
 transition: all 0.5s;
}

.kakao-img-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.kakao-img {
  width: 550px;
  max-width: 100%;
}
.nav-button::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #4ec1d2;
  transition: width 0.3s ease;
}
.nav-button:hover::after,
.nav-button.active::after {
  width: 100%;
}
.nav-button.active {
  font-weight: 700;
  color: #4ec1d2;
}

/* 카드 섹션 */
.info-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
  cursor: default;
  user-select: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.info-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* 하단 고정바 */
.fixed-bottom-bar {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 50px;
  z-index: 9999;
  display: flex;
}
.bottom-box {
  flex: 1;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  user-select: none;
  background-color: #4ec1d2;
}

/* 스크롤 페이드업 애니메이션 */
.scroll-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.scroll-fade-up.show {
  opacity: 1;
  transform: translateY(0);
}



/* 이용내역 슬라이더 섹션 */
.usage-slider-section {
  background-color: #4ec1d2;
  padding: 20px 0;
  position: relative;
  overflow: hidden;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  padding: 50px 10px;
  background-color: #4ec1d2;
}

.usage-card {
  display: inline-block;
  vertical-align: top;
  background: rgba(255 255 255 / 0.15);
  border-radius: 12px;
  width: 230px;
  margin: 0 3px;
  padding: 15px 20px;
  box-sizing: border-box;
  color: white;
  user-select: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  font-weight: 500;
  cursor: default;
  text-align: center;
}

.usage-card .name {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.usage-card .amount {
  font-weight: 900;
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.usage-card .date-time {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-bottom: 10px;
}

.usage-card .status-btn {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(255 255 255 / 0.3);
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
  color: white;
  user-select: none;
}

.usage-card:hover {
  transform: translateY(-10px);
}





.review-section {
  background: #f8f9fc;
  padding: 60px 0;
  text-align: center;
}

.review-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #111;
}

.review-subtitle {
  font-size: 1rem;
  color: #666;
  margin-bottom: 2rem;
}

.review-card {
  background: white;
  border-radius: 16px;
  padding: 20px 25px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  text-align: left;
  height: 100%;
}

.review-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.review-name {
  font-weight: 700;
  font-size: 1rem;
  color: #333;
}

.review-text {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
  margin: 0;
}


.text-overlay-container {
  position: relative;
}

.main-text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  padding: 0px;
  max-width: 70%;
}

.text-highlight {
  color: #4ec1d2;
}

.small-text {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.95;
}

.main-cta-btn {
  display: inline-block;
  background-color: #4ec1d2;
  color: white;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.main-cta-btn:hover {
  background-color: #3cb3c5;
}



@media (max-width: 480px) {
  .main-text-overlay h1 {
    font-size: 16px;
  }
  .main-text-overlay .small-text {
    font-size: 10px;
  }
  .main-cta-btn {
    font-size: 13px;
  }
}


.certificate-section {
  padding: 60px 20px;
  background-color: #f5f5f5;
}


.certificate-img {
  max-width: 100%;
  padding: 50px 50px;
  width: 700px; /* 원하는 최대 너비 */
  height: auto;
  margin: 0 auto;
  display: block;
}


.certificate-img {
  max-width: 70%;
  height: 10%;
}




.partner-status-section {
  background-color: #f8f9fc;
}

.partner-card {
  background: #f4f4f7;
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.partner-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.partner-desc {
  font-size: 0.9rem;
  color: #555;
}

.partner-name {
  font-size: 1.05rem;
  color: #111;
}

.partner-type {
  font-size: 0.8rem;
  color: #888;
}

.partner-count {
  font-size: 1rem;
  color: #000;
}


.warning-section h5 {
  font-family: 'Montserrat', sans-serif;
}

.warning-section p {
  font-size: 15px;
}


.kakao-guide-section h3 {
  font-family: 'Montserrat', sans-serif;
}

.kakao-guide-section .btn {
  border-radius: 999px;
  font-weight: bold;
}

.kakao-guide-section .bg-warning {
  font-size: 14px;
}




.custom-footer {
  background-color: #222; /* 어두운 배경 */
  color: #ccc;
  font-size: 0.95rem;
}

.footer-logo {
  width: 100px;
  height: 100%;
  object-fit: contain;
}

.footer-copy {
  font-size: 0.85rem;
  color: #aaa;
}



/* 모바일 전용 (max-width 767px 이하) */
@media (max-width: 767px) {
  .partner-type {
    font-size: 10px;  /* 카드 상단 설명 텍스트 */
  }

  .partner-count {
    font-size: 11px;  /* 카드 하단 강조 텍스트 */
  }

  .partner-logo {
    max-width: 48px;  /* 로고 크기 작게 조정 */
    height: auto;
  }

  .partner-card {
    padding: 8px 12px;
  }

      .card-img {
      width: 150px;
    }
    .card-title {
      font-size: 1rem;
    }
    .card-text {
      font-size: 11px;
    }

  .usage-slider-section {
    height: 200px; /* 모바일에서 높이 축소 */
  }

  .slider-container {
    top: 50%;
    transform: translateY(-50%);
  }

  .usage-card {
    min-width: 120px;
    font-size: 12px;
    padding: 8px;
  }

  .usage-card .status-btn {
    font-size: 11px;
    padding: 2px 6px;
  }
}



@media (max-width: 767px) {
  .menu-item{
    font-size: 15px;
  }
  .certificate-img {
    max-width: 100%;     /* or 원하는 값: 예 300px */
    height: auto;
  }
  .usage-card .amount {
  font-weight: 900;
  font-size: 1rem;
  }
}


.animate-bounce {
  animation: bounce 1.2s ease infinite;
}
.animate-fadein {
  animation: fadein 1s ease forwards;
  opacity: 0;
}
.animate-fadein.delay-1 { animation-delay: 0.3s; }
.animate-fadein.delay-2 { animation-delay: 0.6s; }

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes fadein {
  to { opacity: 1; transform: translateY(0); }
  from { opacity: 0; transform: translateY(20px); }
}




.step-card {
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.step-card:hover {
  transform: translateY(-5px);
}
