/* 기본 설정 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 1. 헤더 (SCH 블루 테마) */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky; /* 상단 고정 */
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-menu a {
    font-weight: bold;
    color: #333;
    transition: color 0.3s;
}

.nav-menu a:hover, .nav-menu a.active {
    color: #004098; /* 순천향 블루 */
}

.admin-link {
    color: #e74c3c !important; /* 관리자 메뉴는 빨간색 강조 */
}

/* 2. 히어로 배너 (그라데이션 배경) */
.hero {
    background: linear-gradient(135deg, #004098 0%, #002c6b 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.audio-player {
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    display: inline-block;
}

.audio-player p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* 3. 퀵 링크 버튼 */
.quick-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: -30px; /* 배너 위로 살짝 겹치게 */
    position: relative;
    flex-wrap: wrap;
}

.btn-quick {
    background-color: white;
    color: #004098;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 2px solid #004098;
    transition: all 0.3s;
}

.btn-quick:hover {
    background-color: #004098;
    color: white;
    transform: translateY(-3px);
}

/* 4. 공지 미리보기 (그리드 레이아웃) */
.latest-notices {
    padding: 60px 20px;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #004098;
    padding-bottom: 10px;
}

.view-more {
    color: #666;
    font-size: 0.9rem;
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); /* 반응형 그리드 */
    gap: 20px;
}

.notice-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.3s;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.notice-card:hover {
    transform: translateY(-5px);
    border-color: #004098;
}

.badge.new {
    background-color: #e74c3c;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    position: absolute;
    top: 15px;
    right: 15px;
}

.category {
    display: inline-block;
    font-size: 0.8rem;
    color: #004098;
    background-color: #eef4ff;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.notice-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.date {
    font-size: 0.85rem;
    color: #999;
}

/* 5. 비디오 섹션 */
.video-section {
    text-align: center;
    margin-bottom: 60px;
}

.video-section h2 {
    margin-bottom: 20px;
}

.video-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

video {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* 6. 푸터 */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 30px 20px;
    border-top: 5px solid #004098; /* SCH 블루 라인 */
}

footer p {
    font-size: 0.9rem;
    opacity: 0.8;
}