/* 폰트 */
@font-face {
  font-family: 'Samanru-Bold';
  src: url('/fonts/esamanru Bold.ttf') format('truetype');
  font-weight: bold;
}
@font-face {
  font-family: 'Samanru-Light';
  src: url('/fonts/esamanru Light.ttf') format('truetype');
  font-weight: 300;
}
@font-face {
  font-family: 'Samanru-Medium';
  src: url('/fonts/esamanru Medium.ttf') format('truetype');
  font-weight: 500;
}

/* 색상 */
:root {
  --color-main: #fac200;
  --color-sub: #ff5722;
  --background-main: #eba600;
}

/* 전체 레이아웃 */
body {
	font-family: 'Samanru-Light', 'Arial', sans-serif;
	line-height: 1.6;
	background-color: #f4f4f4;
}

.color-main{
	color:var(--color-main);
}
.color-sub{
	color:var(--color-sub);
}

.word-break-keep-all{
	word-break: keep-all;
}

/* 헤더 */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    color: white;
    position: absolute;
    width: 100%;
	height:50px;
}

.header .logo img {
  width: 150px;
}

.header .nav{
	display: flex;
    justify-content: center;
    align-items: center;
}

.header .nav a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
  font-weight: bold;
}

.header .nav a:hover {
  text-decoration: underline;
}

.main{
}

/* 배너 섹션 */
.banner-container {
  position: relative;
  overflow: hidden;
  height: 70vh;
  color: white;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .banner-container {
      height: 40vh;
  }
}

.background-video {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  pointer-events: none; /* 터치 방지 */
  /* filter: grayscale(100%); */
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 어두운 효과 */
  z-index: -1;
}

.banner-content {
  position: relative;
  z-index: 1;
  padding: 20px;
}

.banner-container h1 {
	font-size: 3.5rem;
	text-shadow: 0 0 40px rgba(0, 0, 0, 0.4);

}
@media (max-width: 768px) {
  .banner-container h1 {
    font-size: 1.5rem;
  }
}


.banner-container .title_name {
	font-size: 3.5rem;
	text-shadow: 0 0 40px rgba(0, 0, 0, 0.4);

}
@media (max-width: 768px) {
  .banner-container .title_name {
    font-size: 1.5rem;
  }
}


.banner-container p {
    font-size: 1.5rem;
	text-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}
@media (max-width: 768px) {
  .banner-container p {
    font-size: 1rem;
    margin-bottom: 40px;
  }
}


.banner-container .p-1 {
    margin-bottom: 10px;
}

.banner-container .p-2 {
    margin-bottom: 40px;
}

.banner-container .cta-button {
    background-color: var(--color-main);
    color: white;
    padding: 13px 60px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
	text-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.banner-container .cta-button:hover {
  background-color: black;
}

/* 진행 방법 섹션 */
.how-it-works {
    padding: 60px 20px 100px 20px;
  background-color: white;
  text-align: center;
  background:
	  repeating-linear-gradient(
		45deg,
		rgba(255, 255, 255, 0.08),
		rgba(255, 255, 255, 0.08) 1px,
		transparent 2px,
		transparent 8px
	  ),
	  linear-gradient(
		to bottom,
		color-mix(in srgb, var(--background-main) 0%, black),
		var(--background-main)
	  )
}
@media (max-width: 768px) {
  .how-it-works {
		padding: 40px 10px 60px 10px;
  }
}

.how-it-works .h2-before{
    color: white;
    font-size: 1.2rem;
}

.how-it-works h2 {
    position: relative;
    color: white;
    font-size: 2.5rem;
    padding-left: 16px;
    width: fit-content;
    margin: 0 auto;
    margin-bottom: 60px;
}

.how-it-works h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.3em;
    width: 6px;
    height: 0.9em;
    background-color: var(--color-main, #eba600);
    border-radius: 2px;
}

.how-it-works .steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 80%;
    margin: 0 auto;
    gap: 18px;
}

.how-it-works .steps .arrow-icon{
	    display: flex;
    justify-content: center;
    align-items: center;
}
@media (max-width: 768px) {
  .how-it-works .steps .arrow-icon {
    transform: rotate(90deg);
    margin-bottom: 10px;
  }
}

.how-it-works .step {
    position: relative;
    width: calc(25% - 60px);
    background: white;
    padding: 12px;
    padding-top: 20px;
    padding-bottom: 20px;
    border-radius: 8px;
}
@media (max-width: 768px) {
  .how-it-works .step {
    width: 100%;
  }
}

.how-it-works .step::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  pointer-events: none;
  z-index: 0;
}

.how-it-works .step::after {
  content: "STEP 1";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-main, #eba600);
  color: white;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  z-index: 1;
  white-space: nowrap;
  pointer-events: none;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

.how-it-works .step-2::after {
  content: "STEP 2";
}
.how-it-works .step-3::after {
  content: "STEP 3";
}
.how-it-works .step-4::after {
  content: "STEP 4";
}

.how-it-works .step img {
  width: 100%;
  height: auto;
    border-radius: 4px;
}

.how-it-works .step p {
    font-size: 1.2rem;
    color: var(--color-main);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    width: 80%;
    margin: 0 auto;
    margin-bottom: 8px;
    padding-bottom: 5px;
}

.how-it-works .step span {
    color: #333;
    font-size: 1rem;
    width: 60%;
    display: block;
    margin: 0 auto;
}

.contact-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 40px;
  border-radius: 40px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.phone-btn {
  background: white;
  color: var(--background-main, #eba600);
  border: 1px solid var(--background-main, #eba600);
}

.phone-btn:hover {
  background: var(--background-main, #eba600);
  color: white;
}

.kakao-btn {
  background: #fdd80d;
  color: #371e1e;
  border: 1px solid var(--background-main, #eba600);
}

.kakao-btn:hover {
  background: black;
  color:white;
  border-color: #d28f00;
}

.kakao-icon {
  vertical-align: middle;
}

/* 상담 신청 섹션 */
.qna {
    padding: 50px 20px;
    text-align: center;
    background-color: floralwhite;
    background-image: repeating-linear-gradient(
        45deg,
        rgba(0, 0, 0, 0.05) 0,
        rgba(0, 0, 0, 0.05) 1px,
        transparent 1px,
        transparent 8px
    );
}

.qna .h2-before {
    font-size: 1.2rem;
}

.qna h2 {
    position: relative;
    color: #333;
    font-size: 2.5rem;
    padding-left: 16px;
    width: fit-content;
    margin: 0 auto 40px auto;
}

.qna h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.3em;
    width: 6px;
    height: 0.9em;
    background-color: var(--color-sub);
    border-radius: 2px;
}

.qna-container {
    max-width: 600px;
    margin: 0 auto 30px auto;
    text-align: left;
    position: relative;
	text-align: right;
}

.qna-container .qna-item {
    width: fit-content;
    filter: drop-shadow(0px 10px 4px rgba(0, 0, 0, 0.1));
}

.qna-question, .qna-answer {
    padding: 12px 20px;
    border-radius: 20px;
    line-height: 1.4;
    position: relative;
    font-size: 1rem;
}

/* 질문 말풍선 */
.qna-question {
    background-color: white;
    color: #333;
    position: relative;
    padding: 12px 20px;
    max-width: 80%;
    display: inline-block;
    line-height: 1.4;
    font-size: 1rem;
	margin-bottom:10px;
    display: block;
    text-align: left;
}

.qna-question::after {
    content: "";
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 12px 10px 0;
    border-color: transparent white transparent transparent;
}

/* 답변 말풍선 */
.qna-answer {
    background-color: var(--background-main, #eba600);
    color: white;
    position: relative;
    padding: 12px 20px;
    line-height: 1.4;
    font-size: 1rem;
    border: 2px solid var(--background-main, #eba600);
    margin-bottom: 60px;
	display:inline-block;
}

.qna-answer::after {
	content: "";
    position: absolute;
    right: -10px;
    top: 50%;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 12px 10px 0;
    transform: rotate(180deg) translateY(50%);
    border-color: transparent var(--background-main, #eba600) transparent transparent;
}

.fixed-cta-bar {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 9999;
}

.fixed-cta-bar .cta-button {
    background-color: #ff5722;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 100px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
}
.fixed-cta-bar .cta-button svg {
	margin-right:8px;
}

/* 푸터 */
.footer {
  padding: 5px 20px;
  background-color: #333;
  color: white;
  text-align: center;
}