/* =========================
   RESET & 기본 설정
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans KR', sans-serif;
  line-height: 1.6;
  color: #000; /* 검정 글자 */
  background-color: #fff; /* 배경 흰색 */
}

a {
  text-decoration: none;
  color: inherit;
}

/* =========================
   HEADER
========================= */
/* =========================
   HEADER
========================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff; /* 흰색 배경 */
  color: #000;
  z-index: 20;
  border-bottom: 1px solid #e0e0e0; /* 구분선 */
}

.site-header .header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* =========================
   PC 메뉴
========================= */
.main-nav {
  display: flex;
  gap: 20px;
}

.main-nav a {
  text-decoration: none;
  color: #000;
  font-weight: 600;
}

/* =========================
   모바일 메뉴
========================= */
.mobile-menu {
  display: none; /* 기본 숨김 */
  position: relative;
}

.menu-toggle {
  font-size: 2rem;
  cursor: pointer;
  color: #000;
}

.mobile-menu-list {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 60px;         /* 헤더 바로 아래 */
  left: 0;
  right: 0;
  max-height: 70vh;  /* 화면 70%만 차지 */
  background: #fff;
  overflow-y: auto;  /* 내용이 많으면 스크롤 */
  z-index: 9999;
  padding: 10px 0;
  box-sizing: border-box;
  border-top: 1px solid #e0e0e0;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.mobile-menu-list a {
  display: block;
  padding: 12px 20px;
  font-weight: 600;
  color: #000;
}

.mobile-menu-list a:hover {
  background: #f0f0f0;
}

/* =========================
   반응형
========================= */
@media screen and (max-width: 768px) {
  .main-nav {
    display: none; /* PC 메뉴 숨김 */
  }
  .mobile-menu {
    display: block; /* 모바일 메뉴 표시 */
  }
}

.logo {
  width: 120px;
  height: 80px;
  display: flex;
  font-size: 24px;
  font-weight: bold;
}

* 이미지가 부모 영역을 벗어나지 않도록 */
.logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* 비율 유지하면서 영역 안에 맞춤 */
}


/* =========================
   HERO SECTION
========================= */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px; /* header 높이 확보 */
}

.hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background: rgba(255,255,255,0.1); /* 영상 흐림 + 흰색 느낌 */
  background: rgba(0, 0, 0, 0.5); /* 검은색 반투명 */
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff; /* 글자 흰색 */
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: #fff; /* 글자 흰색 */
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 30px;
  color: #fff; /* 글자 흰색 */
}

/* =========================
   BUTTON
========================= */
.btn, .apply button {
  background: linear-gradient(135deg, #4a90e2, #9b59b6); /* 블루 → 보라 그라데이션 */
  color: #fff;
  border: none;
  padding: 15px 40px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn:hover, .apply button:hover {
  opacity: 0.9;
}

/* KAKAO 상담 버튼 */
.kakao-btn {
  background: #4a90e2;
  color: #fff;
  font-weight: bold;
  padding: 12px 25px;
  border-radius: 5px;
}

/* =========================
   SECTIONS
========================= */
.section {
  padding: 100px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

h2 {
  font-size: 36px;
  margin-bottom: 40px;
  text-align: center;
}

/* ABOUT SECTION */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 텍스트 / 이미지 */
  gap: 40px;
  align-items: center;
}
.about-text {
  position: relative;
  z-index: 2;
}

.about-gallery {
  width: 100%;
  max-width: 600px;
  height: 350px;
  position: relative;
  overflow: hidden;
}

.about-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 직사각형 형태 유지 */
  border-radius: 12px;
}
/* BENEFITS SECTION */
.benefits .grid {
  display: grid;
  grid-template-columns: 1fr; /* 카드 한 줄씩 */
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.benefits .card {
  background: #f8f8f8;
  padding: 30px 20px;
  border-radius: 10px;
  flex: 1 1 200px;
  text-align: center;
  transition: transform 0.3s;
}

.benefits .card h3{
  font-size:18px;
  white-space:nowrap;
}

.benefits .card:hover {
  transform: translateY(-5px);
}

.benefits h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

/* INCOME SECTION */
/* 섹션 기본 */
.income {
  position: relative;
  background-image: url('./income-bg.jpg'); /* 배경 이미지 경로 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 20px;
  text-align: center;
  color: #fff; /* 글자 흰색으로 */
  overflow: hidden;
}

/* 검은색 반투명 오버레이 */
.income::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4); /* 투명도 조절 */
  z-index: 0;
}

/* 내부 콘텐츠를 오버레이 위로 */
.income h2,
.income .highlight,
.income-list,
.income-cta {
  position: relative;
  z-index: 1;
}

.income h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.income .highlight {
  font-size: 23px;
  font-weight: 700;           /* 조금 더 굵게 */
  color: #ff4d70;             /* 조금 더 밝고 선명한 색 */
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5); /* 대비 강화 */
  margin-bottom: 40px;

  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s forwards 0.2s;
}

.income-list {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.income-list li {
  font-size: 18px;
  padding: 20px;
  background: #fff;
  color: #000;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s forwards;
}

.income-list li:nth-child(1){animation-delay:0.3s;}
.income-list li:nth-child(2){animation-delay:0.5s;}
.income-list li:nth-child(3){animation-delay:0.7s;}

/* CTA 버튼 */
.income-cta {
  text-align: center;      /* 중앙 정렬 */
  margin: 40px 0;          /* 섹션 위아래 여백 */
}

.income-cta p {
  font-size: 1.5rem;       /* 강조된 크기 */
  font-weight: 700;         /* 굵게 */
  color: #fff;           /* 눈에 잘 띄는 색 */
  margin-bottom: 20px;      /* 버튼과 간격 */
}

.income-cta .btn {
  display: inline-block;    /* 클릭 영역 확보 */
  padding: 14px 40px;       /* 버튼 크기 조절 */
  font-size: 1rem;
  font-weight: 600;
  background-color: #ff6600; /* 버튼 색상 */
  color: #ffffff;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s;
}

.income-cta .btn:hover {
  background-color: #e65c00;
}

/* 애니메이션 정의 */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 모바일 대응 */
@media (max-width: 768px) {
  .income-list {
    flex-direction: column;
    gap: 20px;
  }
}


/* PROCESS SECTION */
/* 섹션 기본 */
.process {
  background: #f7f7f7;
  padding: 80px 20px;
  text-align: center;
}

.process h2 {
  font-size: 32px;
  margin-bottom: 50px;
  font-weight: 700;
}

/* 단계별 카드 컨테이너 */
.process-steps {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

/* 각 단계 카드 */
.process .step {
  background: #fff;
  border-radius: 14px;
  padding: 30px 20px;
  flex: 1 1 200px; /* 최소 폭 200px, flex로 균등 배치 */
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  text-align: center;
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s forwards;
}

/* 애니메이션 딜레이 */
.process .step:nth-child(1){animation-delay:0.2s;}
.process .step:nth-child(2){animation-delay:0.4s;}
.process .step:nth-child(3){animation-delay:0.6s;}
.process .step:nth-child(4){animation-delay:0.8s;}

/* 아이콘 스타일 */
.process .step .icon {
  font-size: 40px;
  margin-bottom: 15px;
}

/* 제목과 설명 */
.process .step h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.process .step p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}

/* 애니메이션 정의 */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 모바일 대응 */
@media (max-width: 768px) {
  .process-steps {
    flex-direction: column;
    gap: 20px;
  }
}
.process ol {
  padding-left: 40px;
}

/* APPLY FORM */
.apply form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.apply input,
.apply textarea,
.apply button {
  width: 100%;
  padding: 12px 15px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

/* FOOTER */
.site-footer {
  background: #fff; /* 흰색 배경 */
  color: #000; 
  text-align: center;
  padding: 30px 20px;
  border-top: 1px solid #e0e0e0;
  position: relative;
  z-index: 5;
}

.sticky-btn {
  position: fixed;       /* 화면에 고정 */
  bottom: 20px;          /* 하단 여백 */
  right: 20px;           /* 우측 여백 */
  z-index: 9999;         /* 다른 요소 위 */
  display: inline-block;
  padding: 14px 40px;
  font-size: 1rem;
  font-weight: 600;
  background-color: #ff6600;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.3s;
  opacity: 0;            /* 처음에는 안 보이게 */
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width: 1024px) {
  .hero-content h1 { font-size: 42px; }
  .hero-content p { font-size: 18px; }
  .benefits .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .main-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .hero-content h1 { font-size: 36px; }
  .hero-content p { font-size: 16px; }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-gallery {
    max-width: 100%;
    height: 220px;
  }
  .benefits .grid {
    grid-template-columns: 1fr;
  }
  .apply form { padding: 0 10px; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 28px; }
  .hero-content p { font-size: 14px; }
  .btn { padding: 12px 25px; }
}


/* 고정 아이콘 */
.floating-kakao {
  position: fixed;
  bottom: 110px;
  right: 30px;
  width: 70px;        /* 아이콘 크기 */
  height: 70px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

/* 아이콘 이미지 */
.floating-kakao img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

/* hover 효과 */
.floating-kakao:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* 모바일에서 살짝 위치 조정 */
@media (max-width: 768px) {
  .floating-kakao {
    width: 60px;
    height: 60px;
    bottom: 80px;
    right: 20px;
  }
}

.site-footer{
  background:#111;
  color:#ccc;
  text-align:center;
  padding:40px 20px;
  font-size:14px;
  }
  
  .footer-links{
  margin-bottom:15px;
  }
  
  .footer-links a{
  color:#fff;
  margin:0 10px;
  text-decoration:none;
  font-weight:500;
  }
  
  .footer-links a:hover{
  text-decoration:underline;
  }
  
  .footer-info{
  margin-bottom:10px;
  }
  
  .footer-copy{
  font-size:13px;
  color:#888;
  }