/* 웹폰트 불러오기: 본문용 Pretendard + 품격 있는 제목용 Noto Serif KR */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@600;700;900&display=swap');

/* 전체 기본 설정 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Pretendard', 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
  color: #1e293b;
  background-color: #f4f6f9;
  line-height: 1.72;
  word-break: keep-all;
}

a {
  text-decoration: none;
  color: inherit;
}

/* 상단 헤더 (로고 + 슬림 내비게이션) */
header {
  background-color: #16325c;
  color: #ffffff;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.18);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 13px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-logo {
  height: 42px;
  width: auto;
  background-color: #ffffff;
  padding: 4px 6px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.site-title h1 {
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

.site-title p {
  font-size: 0.76rem;
  color: #cbd5e1;
  letter-spacing: 0.2px;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

nav a {
  display: inline-block;
  padding: 7px 13px;
  border-radius: 6px;
  font-size: 0.91rem;
  font-weight: 600;
  color: #e2e8f0;
  transition: all 0.2s ease;
}

nav a:hover,
nav a.active {
  background-color: #ffffff;
  color: #16325c;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

/* 메인 히어로(표지) 영역: 장보고 동상 좌측 하단 구도 + 상단 오버레이 텍스트 */
.hero {
  position: relative;
  background: linear-gradient(
      to bottom,
      rgba(12, 28, 56, 0.76) 0%,
      rgba(12, 28, 56, 0.36) 46%,
      rgba(12, 28, 56, 0.58) 100%
    ),
    url('images/jangbogo.JPG') 25% 15% / cover no-repeat;
  background-color: #16325c;
  color: #ffffff;
  min-height: 520px;
  padding: 44px 24px 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.hero-top-overlay {
  max-width: 960px;
  margin: 0 auto;
  padding-top: 4px;
}

.hero-slogan {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fde047;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.hero h2 {
  font-family: 'Noto Serif KR', serif;
  font-size: 2.45rem;
  font-weight: 900;
  letter-spacing: -0.8px;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.8);
}

.hero-bottom-caption {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  text-align: right;
}

.hero-caption {
  display: inline-block;
  background-color: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(4px);
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* 본문 컨테이너 및 카드 */
main {
  max-width: 1040px;
  margin: 36px auto;
  padding: 0 20px;
}

.card {
  background-color: #ffffff;
  border-radius: 14px;
  padding: 40px 36px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
  margin-bottom: 28px;
  border: 1px solid #e2e8f0;
}

.card h3 {
  font-family: 'Noto Serif KR', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #16325c;
  border-bottom: 2px solid #16325c;
  padding-bottom: 12px;
  margin-bottom: 24px;
}

.quote-box {
  background: linear-gradient(135deg, #f0f5ff 0%, #f8fafc 100%);
  border-left: 5px solid #16325c;
  padding: 26px 28px;
  border-radius: 10px;
  text-align: center;
  margin: 10px 0 28px 0;
}

.quote-box p {
  font-family: 'Noto Serif KR', serif;
  font-size: 1.28rem;
  font-weight: 700;
  color: #16325c;
  margin: 6px 0;
}

/* 3대 핵심 가치 배너 */
.core-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 28px 0 32px 0;
}

.pillar-item {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}

.pillar-icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
  display: block;
}

.pillar-item h5 {
  font-size: 1.05rem;
  color: #16325c;
  font-weight: 700;
  margin-bottom: 6px;
}

.pillar-item p {
  font-size: 0.88rem;
  color: #475569;
}

/* 퀵 메뉴 그리드 */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.menu-card {
  border: 1px solid #dce3ec;
  border-top: 3px solid #cbd5e1;
  border-radius: 10px;
  padding: 22px;
  background-color: #ffffff;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-top-color 0.22s ease;
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(22, 50, 92, 0.12);
  border-top-color: #16325c;
}

.menu-card h4 {
  color: #16325c;
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.menu-card p {
  font-size: 0.92rem;
  color: #475569;
}

/* 하단 푸터 (모든 페이지 가운데 정렬 통일) */
footer {
  background-color: #162238;
  color: #cbd5e1;
  padding: 36px 20px;
  margin-top: 64px;
  font-size: 0.88rem;
  border-top: 4px solid #16325c;
  text-align: center;
}

.footer-inner {
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
}

.footer-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-info {
  color: #e2e8f0;
  margin-bottom: 8px;
  line-height: 1.8;
}

.footer-slogan {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.83rem;
  color: #94a3b8;
}

@media (max-width: 768px) {
  .hero {
    min-height: 430px;
    background-position: 35% 15%;
  }
  .hero h2 {
    font-size: 1.85rem;
  }
  .hero-bottom-caption {
    text-align: center;
  }
  .card {
    padding: 26px 18px;
  }
}