:root {
  /* Color Palette */
  --primary-color: #2563eb; /* 짙은 파란색 (주색) */
  --primary-dark: #1e40af;
  --secondary-color: #f8fafc;
  --text-dark: #1e293b;
  --text-gray: #64748b;
  --text-light: #94a3b8;
  --border-color: #e2e8f0;
  --bg-light: #f1f5f9;
  --white: #ffffff;
  
  /* Layout */
  --container-width: 1200px;
  --header-height: 80px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans KR', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Util Nav */
.util-nav {
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
  font-size: 13px;
}

.util-container {
  display: flex;
  justify-content: flex-end;
  height: 36px;
  align-items: center;
}

.util-links {
  display: flex;
  gap: 16px;
}

.util-links a {
  color: var(--text-gray);
}
.util-links a:hover {
  color: var(--text-dark);
}

/* Main Header */
.main-header {
  border-bottom: 1px solid var(--border-color);
  background-color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
}

.logo-text {
  font-size: 24px;
  font-weight: 900;
  color: var(--primary-color);
  letter-spacing: -1px;
}

.main-nav {
  display: flex;
  flex: 1;
  justify-content: center;
}

.nav-list {
  display: flex;
  gap: 40px;
}

.nav-list a {
  font-size: 18px;
  font-weight: 700;
  padding: 10px 0;
  position: relative;
  transition: color 0.2s;
}

.nav-list a:hover {
  color: var(--primary-color);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-btn {
  color: var(--text-dark);
}
.search-btn:hover {
  color: var(--primary-color);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}

.mobile-menu-btn .bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-dark);
  transition: 0.3s;
}

/* Hero Section */
.hero-section {
  padding: 40px 0;
  background-color: var(--secondary-color);
}

.hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.main-banner {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  border-radius: 12px;
  color: var(--white);
  display: flex;
  align-items: center;
  padding: 48px;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}

.main-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: rgba(255,255,255,0.1);
  transform: rotate(30deg);
}

.banner-content {
  position: relative;
  z-index: 1;
}

.banner-content h2 {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 16px;
}

.banner-content p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  transition: all 0.2s;
}

.btn-primary {
  background-color: var(--white);
  color: var(--primary-color);
}
.btn-primary:hover {
  background-color: var(--bg-light);
  transform: translateY(-2px);
}

/* Notice Board */
.notice-board {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tabs {
  display: flex;
  border-bottom: 1px solid var(--border-color);
}

.tab-btn {
  flex: 1;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-gray);
  border-bottom: 2px solid transparent;
}

.tab-btn.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.tab-content {
  display: none;
  padding: 24px;
  flex: 1;
  position: relative;
}

.tab-content.active {
  display: block;
}

.article-list li {
  margin-bottom: 12px;
}

.article-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.article-list .title {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-right: 16px;
}

.article-list .title:hover {
  text-decoration: underline;
}

.article-list .date {
  font-size: 13px;
  color: var(--text-light);
  white-space: nowrap;
}

.more-link {
  position: absolute;
  bottom: 24px;
  right: 24px;
  font-size: 13px;
  color: var(--text-gray);
  font-weight: 500;
}
.more-link:hover {
  color: var(--primary-color);
}

/* Photo News Section */
.photo-news-section {
  padding: 60px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.section-header h3 {
  font-size: 24px;
  font-weight: 700;
}

.section-header .more-link {
  position: static;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.photo-card {
  display: block;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
}

.card-desc {
  padding: 16px;
  font-weight: 500;
  text-align: center;
  border-top: 1px solid var(--border-color);
}

/* Action Section */
.action-section {
  padding: 0 0 60px 0;
}

.action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.video-container {
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-placeholder {
  text-align: center;
  color: rgba(255,255,255,0.7);
}

.play-icon {
  font-size: 48px;
  margin-bottom: 12px;
  color: var(--white);
}

.quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.action-box {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.action-box:hover {
  background: var(--primary-color);
  color: var(--white);
}

.action-box .icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.action-box h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.action-box p {
  font-size: 14px;
  color: var(--text-gray);
}
.action-box:hover p {
  color: rgba(255,255,255,0.8);
}

/* Footer */
.main-footer {
  background-color: var(--text-dark);
  color: var(--text-light);
  padding: 40px 0;
  font-size: 14px;
}

.footer-top {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a.privacy {
  color: var(--white);
  font-weight: 700;
}

.footer-info {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.footer-logo {
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
}

.address-wrap p {
  margin-bottom: 8px;
}

.address-wrap span {
  margin-right: 16px;
}

.copyright {
  margin-top: 16px;
  font-size: 13px;
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid, .action-grid {
    grid-template-columns: 1fr;
  }
  
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .main-nav {
    display: none; /* 모바일 메뉴는 JS로 토글 */
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .main-nav.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  }
  
  .nav-list {
    flex-direction: column;
    gap: 0;
  }
  
  .nav-list a {
    display: block;
    padding: 16px 20px;
    border-bottom: 1px solid var(--bg-light);
  }
}

@media (max-width: 640px) {
  .photo-grid {
    grid-template-columns: 1fr;
  }
  
  .quick-actions {
    grid-template-columns: 1fr;
  }
  
  .footer-info {
    flex-direction: column;
    gap: 20px;
  }
}
