/* ===== 공통 스타일 ===== */
body {
  font-family: 'Noto Sans KR', sans-serif;
  margin: 0;
}
a { text-decoration: none; }

/* ===== 헤더 ===== */
nav {
  background: #1e1e1e;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}
nav .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}
nav .logo {
  color: white;
  font-size: 20px;
  font-weight: bold;
  padding: 14px 20px;
}
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}
nav ul li {
  position: relative;
}
nav ul li a {
  display: block;
  padding: 14px 20px;
  color: #fff;
  transition: 0.3s;
  white-space: nowrap;
}
nav ul li:hover > a {
  background: #ff6600;
}
/* ===== 드롭다운 ===== */
nav ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #2e2e2e;
  min-width: 200px;
  z-index: 999;
}
nav ul ul li a {
  padding: 12px 16px;
  color: #ddd;
}
nav ul ul li a:hover {
  background: #ff6600;
  color: #fff;
}
nav ul li:hover > ul {
  display: block;
}
nav ul ul ul {
  left: 100%;
  top: 0;
}

/* ===== 공통 푸터 ===== */
.site-footer {
  background: #222;
  color: white;
  padding: 40px 20px 20px;
}
.footer-container {
  max-width: 1200px;
  margin: auto;
}
.footer-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
}
.footer-info h3 {
  margin-bottom: 10px;
  font-size: 16px;
}
.footer-info ul {
  list-style: none;
  padding: 0;
}
.footer-info ul li {
  margin-bottom: 6px;
}
.footer-info ul li a {
  color: #ccc;
}
.footer-info ul li a:hover {
  color: white;
}
.footer-copy {
  text-align: center;
  font-size: 14px;
  margin-top: 30px;
  color: #888;
}

/* ===== 모바일 ===== */
@media (max-width: 768px) {
  nav {
    bottom: 0;
    top: auto;
  }
  nav .nav-container {
    flex-direction: column;
  }
  nav ul {
    justify-content: space-around;
    width: 100%;
  }
  nav ul li {
    flex: 1;
    text-align: center;
  }
  nav ul li a {
    padding: 10px 5px;
    font-size: 14px;
  }
  nav ul ul, nav ul ul ul {
    position: static;
    background: #2e2e2e;
    display: none;
  }
  nav ul li:hover > ul {
    display: block;
  }
  .footer-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
