/* ======== 전체 공통 설정 ======== */More actionsMore actions
body, html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: 'Segoe UI', sans-serif;
  color: #333;
}

/* ======== 고정 헤더 ======== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  box-sizing: border-box;
}

.logo img {
  height: 40px;
}

nav {
  display: flex;
  align-items: center;
}

nav .menu-item {
  position: relative;
  margin-left: 40px;
}

nav .menu-item a {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  padding: 10px 12px;
  display: block;
  text-decoration: none;
  line-height: 40px;
}

nav .submenu {
  position: absolute;
  top: 60px;
  left: 0;
  display: none;
  opacity: 0;
  transform: translateY(-10px);
  background: #fff;
  padding: 10px 20px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 10000;
}

nav .menu-item:hover .submenu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

nav .submenu a {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
  padding: 6px 0;
}

/* ======== 푸터 ======== */
footer {
  background-color: #000;
  color: #ccc;
  padding: 60px 40px 20px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-logo {
  flex: 1 1 200px;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 30px;
}

.footer-section {
  flex: 1 1 150px;
  margin-bottom: 20px;
}

.footer-section h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 10px;
}

.footer-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-section li {
  margin-bottom: 6px;
}

.footer-section a {
  font-size: 14px;
  color: #ccc;
  text-decoration: none;
}

.footer-section a:hover {
  text-decoration: underline;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 10px;
}

.social-icons img {
  height: 24px;
  filter: brightness(0.9);
}

footer .copyright {
  width: 100%;
  margin-top: 30px;
  font-size: 13px;
  text-align: center;
  color: #888;
}

.video-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3em;
  font-weight: bold;
  color: white;
  text-shadow: 2px 2px 10px black;
  text-align: center;
}

body {
  margin: 0;
  font-family: 'Noto Sans KR', sans-serif;
  background-color: #f7f7f7;
}

.highlight-s {
  color: #00a533; /* 한진 로고 초록색 */
  font-weight: bold;
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.8em;
  font-weight: bold;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid white;
  display: inline-block;
  width: 0ch;
  animation: typing 3s steps(30, end) forwards,
             blink 0.75s step-end 4 forwards;
}

@keyframes typing {
  from { width: 0ch; }
  to { width: 27ch; }
}

@keyframes blink {
  0%, 100% { border-color: transparent; }
  50% { border-color: white; }
}
