body {
  font-family: 'Noto Sans KR', Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
}

header {
  background: #005670;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  gap: 2rem;
  flex-wrap: wrap;
}

header h1 {
  margin: 0;
  font-size: 2rem;
  text-align: center;
  white-space: nowrap;
}

.header-left,
.header-right {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.badge {
  background: rgba(255, 255, 255, 0.9);
  color: #005670;
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: bold;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* hero 섹션 수정: 가로 긴 이미지 전체 보이게 */
#hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  background: url('../images/hero-bg.jpg') no-repeat center top / contain;
  background-color: #e6f0fa; /* 빈 공간 연한 색 (transparent로 바꾸면 투명) */
}

.hero-content {
  background: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  border-radius: 10px;
  max-width: 90%;
}

.hero-content h2 {
  margin: 0;
  font-size: 3rem;
  color: #fff;
}

.hero-content p {
  font-size: 1.5rem;
  margin: 1rem 0 0;
}

/* 성공 사례 & 홍보 섹션 */
#success-promo {
  padding: 3rem 1rem;
  background: linear-gradient(to bottom, #f8fbff, #fff);
  text-align: center;
}

.promo-container {
  max-width: 1200px;
  margin: 0 auto;
}

.promo-header {
  margin-bottom: 2rem;
}

.promo-header h2 {
  font-size: 2rem;
  color: #005670;
  margin-bottom: 0.8rem;
}

.news-link {
  display: inline-block;
  font-size: 1.1rem;
  color: #005670;
  font-weight: bold;
  text-decoration: none;
  border-bottom: 2px solid #005670;
  padding-bottom: 0.3rem;
  transition: color 0.3s;
}

.news-link:hover {
  color: #003845;
}

.promo-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto 3rem;
}

.promo-item {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 86, 112, 0.1);
  font-size: 1.15rem;
  font-weight: bold;
  color: #005670;
  line-height: 1.8;
  border: 2px solid #e6f0fa;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.highlight-center {
  text-align: center;
  margin: 0;
}

.sub-highlight {
  font-size: 1rem;
  margin: 1rem 0 0;
  font-weight: normal;
  color: #005670;
}

/* CTA 버튼 */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-button {
  padding: 1.2rem 2.5rem;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 280px;
}

.demo-button {
  background: #005670;
  color: white;
}

.demo-button:hover {
  background: #003845;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 86, 112, 0.2);
}

.kakao-button {
  background: #fee500;
  color: #3c1e1e;
}

.kakao-button:hover {
  background: #fada0a;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(254, 229, 0, 0.3);
}

/* 앱 기능 섹션 (복원) */
#app {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
}

#app h2 {
  font-size: 2rem;
  color: #005670;
  text-align: center;
  margin-bottom: 1rem;
}

#app .subtext {
  font-size: 1.1rem;
  color: #333;
  text-align: center;
  margin-bottom: 2rem;
}

.app-content {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: center;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-item {
  text-align: center;
  padding: 1rem;
}

.feature-item a {
  text-decoration: none;
}

.feature-item img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  margin: 0 auto 0.5rem;
  border-radius: 5px;
}

.feature-item h3 {
  font-size: 1.2rem;
  color: #005670;
  margin: 0.5rem 0;
  font-weight: bold;
}

.feature-item p {
  font-size: 0.9rem;
  color: #666;
  max-width: 200px;
  margin: 0 auto;
}

/* 반응형 그리드 */
@media (max-width: 1024px) {
  .feature-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .feature-list {
    grid-template-columns: 1fr;
  }
}

/* 지역별 일정 섹션 (복원) */
#programs {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.program-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

#programs h2 {
  font-size: 2rem;
  color: #005670;
  margin-bottom: 0.5rem;
}

#programs .subtext {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 1rem;
}

.destination-map {
  position: relative;
  height: 500px;
  background: url('../images/program-image.jpg') no-repeat center center/cover;
}

.destination-marker {
  position: absolute;
  background: red;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
}

.destination-marker:hover {
  background: darkred;
}

/* 위치 예시 (원본에 따라 조정) */
#gangwon { top: 20%; left: 60%; }
#jeju { top: 90%; left: 40%; }
#jeolla { top: 60%; left: 40%; }
#gyeongsang { top: 50%; left: 60%; }
#japan { top: 80%; left: 60%; }
#china { top: 10%; left: 30%; }
#singapore { top: 70%; left: 25%; }
#usa { top: 30%; left: 25%; }

.flying-plane {
  position: absolute;
  top: 20%;
  left: 0;
  width: 120px;
  height: auto;
  animation: flyRandom 15s infinite ease-in-out;
  z-index: 10;
}

@keyframes flyRandom {
  0% { left: 0; top: 20%; transform: rotate(0deg); }
  25% { left: 70%; top: 10%; transform: rotate(15deg); }
  50% { left: 80%; top: 50%; transform: rotate(-10deg); }
  75% { left: 30%; top: 70%; transform: rotate(5deg); }
  100% { left: 0; top: 20%; transform: rotate(0deg); }
}

/* 미디어 섹션 */
#media {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
}

.media-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

#media h2 {
  font-size: 2rem;
  color: #005670;
  margin-bottom: 0.5rem;
}

#media h2 a {
  text-decoration: none !important;
  color: #005670 !important;
}

#media .subtext {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 1rem;
}

.section-content {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.media-left {
  flex: 1;
  min-width: 300px;
  max-width: 50%;
  display: flex;
  flex-direction: column;
}

.media-videos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.media-videos iframe {
  width: 100%;
  height: 280px;
  border: none;
  border-radius: 10px;
}

.media-text {
  flex: 1;
}

.media-text ul {
  padding-left: 1rem;
  list-style: none;
}

.media-text li {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 0.6rem;
  padding-left: 1rem;
  position: relative;
}

.media-text li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #005670;
  font-size: 1.4rem;
}

.image-placeholder {
  flex: 1;
  max-width: 50%;
  position: relative;
}

.image-placeholder a {
  display: block;
  width: 100%;
  height: 100%;
}

.media-slideshow {
  position: relative;
  width: 110%;
  height: 900px;
  overflow: hidden;
}

.media-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 70%;
  height: 70%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.media-image:first-child {
  opacity: 1;
}

@keyframes slideshow {
  0% { opacity: 1; transform: translateX(0); }
  12.5% { opacity: 1; transform: translateX(0); }
  15% { opacity: 0; transform: translateX(-100%); }
  100% { opacity: 0; transform: translateX(-100%); }
}

.media-image:nth-child(1) { animation: slideshow 32s infinite 0s; }
.media-image:nth-child(2) { animation: slideshow 32s infinite 4s; }
.media-image:nth-child(3) { animation: slideshow 32s infinite 8s; }
.media-image:nth-child(4) { animation: slideshow 32s infinite 12s; }
.media-image:nth-child(5) { animation: slideshow 32s infinite 16s; }
.media-image:nth-child(6) { animation: slideshow 32s infinite 20s; }
.media-image:nth-child(7) { animation: slideshow 32s infinite 24s; }
.media-image:nth-child(8) { animation: slideshow 32s infinite 28s; }

/* 연락처 섹션 */
#contact {
  text-align: center;
  padding: 2rem 1rem;
  background: #e6f0fa;
}

#contact h2 {
  font-size: 2rem;
  color: #005670;
  margin-bottom: 0.5rem;
}

#contact .contact-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

#contact p {
  font-size: 1.2rem;
  color: #333;
  margin: 0;
}

.qr-code {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.kakao-button {
  background: none;
  border: none;
  cursor: pointer;
}

.kakao-icon {
  width: 60px;
  height: 60px;
  background-color: #ffc107;
  border-radius: 15px;
  padding: 5px;
  transition: transform 0.3s ease;
}

.kakao-icon:hover {
  transform: scale(1.1);
}

/* 모바일 최적화 */
@media (max-width: 768px) {
  #hero {
    min-height: 60vh;
  }
  .hero-content h2 {
    font-size: 2.2rem;
  }
  .hero-content p {
    font-size: 1.2rem;
  }
  header {
    flex-direction: column;
    gap: 1rem;
  }
  .promo-list {
    grid-template-columns: 1fr;
  }
}
footer {
  background: #000;
  color: white;
  text-align: center; /* 전체 텍스트 가운데 정렬 */
  padding: 2rem 1rem;
  font-size: 0.95rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center; /* 컨테이너 안 내용 가운데 */
}

.company-info {
  display: flex;
  justify-content: center; /* 회사 정보 가운데 모음 */
  gap: 4rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.company {
  text-align: center; /* 회사 텍스트 가운데 */
}

/* ==================== 법인공고 팝업 스타일 ==================== */
#legal-notice-popup {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#legal-notice-content {
  background: white;
  width: 90%;
  max-width: 680px;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: 12px;
  padding: 30px 35px;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

#legal-notice-content h2 {
  color: #005670;
  text-align: center;
  margin-bottom: 25px;
  padding-bottom: 12px;
  border-bottom: 3px solid #005670;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 32px;
  cursor: pointer;
  color: #999;
  line-height: 1;
}

.close-btn:hover {
  color: #333;
}

.notice-item {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.notice-item:last-child {
  border-bottom: none;
}

.notice-item p {
  line-height: 1.7;
  margin: 10px 0;
}