
/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: linear-gradient(135deg, #0D1B2E 0%, #1A3A5C 50%, #12213D 100%);
  display: flex; align-items: center;
  overflow: hidden;
}

/* 배경 패턴 */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(26,111,196,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,111,196,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* 원형 장식 */
.hero-overlay {
  position: absolute;
  width: 700px; height: 700px;
  right: -150px; top: -150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,111,196,0.2) 0%, transparent 65%);
  pointer-events: none;
}

.hero-content {
  position: relative; z-index: 2;
  padding: 0 8%;
  max-width: 800px;
}

.hero-tag {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent2);
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-title span { color: var(--accent2); }

.hero-desc {
  font-size: 16px;
  line-height: 1.85;
  color: rgba(255,255,255,0.65);
  margin-bottom: 40px;
}

.hero-btns { display: flex; gap: 14px; }
.btn-primary {
  background: var(--accent);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-2px); }
.btn-outline {
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.8);
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 15px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn-outline:hover { border-color: var(--white); color: var(--white); transform: translateY(-2px); }

.hero-slider {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  height: 600px;
  margin-right: 50px;
}

.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  font-size: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.2s;
  z-index: 10;
}

.slider-prev:hover,
.slider-next:hover {
  background: rgba(255,255,255,0.4);
}

.slider-prev { left: 12px; }
.slider-next { right: 12px; }

.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.2s;
}

.dot.active {
  background: white;
}

/* 스크롤 인디케이터 */
.hero-scroll {
  position: absolute;
  bottom: 40px; left: 8%;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 2;
}
.hero-scroll span { font-size: 10px; letter-spacing: 0.15em; color: rgba(255,255,255,0.4); }
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollDown 1.8s ease infinite;
}
@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── 공지 + 노선 ── */
.info-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 70px 8%;
  background: var(--white);
}
.info-left { padding-right: 50px; border-right: 1px solid var(--border); }
.info-right { padding-left: 50px; }

.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--navy);
}
.section-header h2 { font-size: 20px; font-weight: 700; color: var(--navy); }
.more-btn {
  font-size: 12px; color: var(--text-light);
  text-decoration: none; font-weight: 500;
  transition: color 0.2s;
  flex-shrink: 0;      
  white-space: nowrap; 
  padding: 4px 8px;   
}
.more-btn:hover { color: var(--accent); }

/* ── 공지사항, 보도자료 테이블 ── */
.press-table {
  width: 100%;
  border-collapse: collapse;
}
.press-table thead tr {
  background: var(--navy);
  color: var(--white);
}
.press-table thead th {
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
}
.press-table thead th:first-child { width: 70px; text-align: center; }
.press-table thead th:nth-child(2){text-align: center;}
.press-table thead th:last-child  { width: 160px; }

.press-table tbody tr {
  border-bottom: 1px solid #e8eef5;
  transition: background 0.2s;
}
.press-table tbody tr:hover {
  background: #f0f5fb;
}
.press-table tbody td {
  padding: 18px 20px;
  font-size: 14px;
  color: var(--text-dark);
  vertical-align: middle;
}
.press-table tbody td:first-child {
  text-align: center;
  color: var(--text-light);
  font-size: 13px;
}


/* ── 제목 링크 ── */
.press-title-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  line-height: 1.5;
}
.press-title-link:hover {
  color: var(--accent);
}

/* 출처 / 날짜 */
.press-source {
  font-size: 12px;
  color: var(--text-light);
}
.press-date {
  font-size: 13px;
  color: var(--text-light);
  white-space: nowrap;
}

/* ── 안전 ── */
.safety-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 90px 8%;
  background: var(--light);
  align-items: center;
}
.section-tag {
  font-size: 11px; letter-spacing: 0.2em;
  color: var(--accent); font-weight: 700;
  margin-bottom: 14px;
}
.safety-text h2 {
  font-size: 36px; font-weight: 900; color: var(--navy);
  line-height: 1.25; margin-bottom: 20px;
}
.safety-desc {
  font-size: 15px; color: var(--text-mid);
  line-height: 1.85; margin-bottom: 28px;
}
.safety-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
}

.safety-list li {
  font-size: 14px; 
  color: var(--text-mid);
  list-style: none; 
  padding-left: 4px;
  display: flex;
  gap: 8px;
}

.safety-list li span {
  flex-shrink: 0; 
}
.safety-cards { display: flex; flex-direction: column; gap: 16px; }
.safety-card {
  display: flex; align-items: center; gap: 18px;
  background: var(--white);
  border-radius: 12px; padding: 22px 24px;
  border-left: 4px solid var(--accent);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}
.safety-card:hover { transform: translateX(6px); box-shadow: 0 6px 24px rgba(26,111,196,0.12); }
.s-icon { font-size: 30px; flex-shrink: 0; }
.safety-card h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.safety-card p { font-size: 13px; color: var(--text-mid); line-height: 1.6; }



/* ── 반응형 ── */
@media (max-width: 1024px) {
  .info-section { grid-template-columns: 1fr; }
  .info-left { padding-right: 0; border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 50px; margin-bottom: 50px; }
  .info-right { padding-left: 0; }
  .safety-section { grid-template-columns: 1fr; gap: 40px; }
  .contact-cards { grid-template-columns: 1fr; }
  .stats-inner { flex-wrap: wrap; }
  .stat-divider { display: none; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 38px; }
  .press-table thead th:nth-child(3),
  .press-table tbody td:nth-child(3) { display: none; }
}
