/**
 * BPT Lab Solution
 * assets/css/style.css
 * 제작자: 박성수
 * 제작일: 2025년 7월 
 * 프로젝트: 새에덴교회 장년여름수련회 시스템
 * Copyright (c) 2025 BPT Lab Solution. All rights reserved.
 */

/* CSS Variables */
:root {
    --primary-color: #133884;
    --primary-dark: #0a2351;
    --primary-light: #1e4aa0;
    --secondary-color: #ffc107;
    --accent-color: #00d4ff;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-bg: #f8f9fa;
    --dark-bg: #0f172a;
    --border-color: #e2e8f0;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 기본 스타일 리셋 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.text-center{
    text-align: center;
}
.
body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #ffffff;
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Safari 최적화 */
@supports (-webkit-appearance: none) {
    .hero-section {
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }
}

/* 알림 배너 - 슬림하게 */
.dev-alert {
    background: linear-gradient(90deg, #fef3c7 0%, #fde68a 100%);
    border-bottom: 1px solid #f59e0b;
    color: #92400e;
    padding: 10px 20px;
    text-align: center;
    font-size: 0.875rem;
    line-height: 1.4;
    position: relative;
}

.dev-alert strong {
    display: inline;
    margin-right: 8px;
    font-size: 0.875rem;
}

.dev-alert-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1.25rem;
    color: #92400e;
    opacity: 0.6;
    transition: opacity 0.3s;
    background: none;
    border: none;
    padding: 4px 8px;
}

.dev-alert-close:hover {
    opacity: 1;
}

.page-container{
    /*margin-top:100px;*/
    padding:100px;
    padding-top:20vh;
}

.center-box{
    max-width: 30vw;
    margin: 0 auto;
}

/* 테이블 */
.data-table{
    width: 100%;
}

/* 추가된 테이블 스타일 */
.data-table {
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.data-table thead {
    background: var(--light-bg);
}

.data-table th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table td {
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
}

.data-table tbody tr {
    transition: var(--transition);
}

.data-table tbody tr:hover {
    background: rgba(19, 56, 132, 0.02);
}

/* 버튼 스타일 */
.btn {
    padding: 14px 35px;
    font-size: 1.05rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    letter-spacing: -0.2px;
    box-shadow: var(--shadow-sm);
}

/* 수정된 버튼 스타일 추가 */
.btn {
    padding: 12px 28px;
    font-size: 0.9375rem;
    border-radius: 12px;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--text-dark);
}

/* 수정된 primary 버튼 */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
}

.btn-primary:hover {
    background: #ffb300;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--primary-color);
    color: white;
    border: 2px solid rgb(19 56 132);
    backdrop-filter: blur(10px);
}

/* 수정된 secondary 버튼 */
.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* 수정된 secondary 버튼 hover */
.btn-secondary:hover {
    background: var(--light-bg);
    border-color: var(--primary-color);
}

/* 추가된 버튼 스타일 */
.btn-block {
    width: 100%;
    display: block;
}

/* 네비게이션 - 글래스모피즘 */
.main-nav {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.main-nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

/* 수정된 scrolled 상태 */
.main-nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo a {
    color: var(--primary-color);
    font-size: 1.375rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 12px;
    transition: var(--transition-fast);
    font-size: 0.9375rem;
    position: relative;
}

.nav-menu a:hover {
    background: var(--light-bg);
    color: var(--primary-color);
}

.nav-menu a.active {
    color: var(--primary-color);
    background: rgba(19, 56, 132, 0.08);
}

/* 추가된 nav-apply 스타일 */
.nav-menu .nav-apply {
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    margin: 0 4px;
}

.nav-menu .nav-apply:hover {
    background: var(--primary-light);
    transform: scale(1.05);
}

/* CTA 버튼들 */
.nav-cta {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-left: 20px;
}

.btn-apply, .btn-check {
    background: var(--primary-color);
    color: white;
    padding: 10px 24px;
    border-radius: 24px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-apply {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(19, 56, 132, 0.2);
}

.btn-check {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-check:hover {
    background: var(--primary-color);
    color: white;
}

/* 히어로 섹션 - Parallax */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 70px;
}

/* Safari 대응 추가 */
.hero-section {
    max-height: 800px;
}

.hero-parallax {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    will-change: transform;
}

/* 수정된 hero-parallax */
.hero-parallax {
    height: 100%;
}

.hero-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
}

/* 수정된 hero-poster */
.hero-poster {
    object-position: center;
    transform: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
/*    background: linear-gradient(180deg, 
        rgba(19, 56, 132, 0.3) 0%, 
        rgba(19, 56, 132, 0.6) 50%,
        rgba(19, 56, 132, 0.8) 100%);*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 24px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* 수정된 hero-title */
.hero-title {
    font-size: 3rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 48px;
    opacity: 0.95;
}

/* 수정된 hero-subtitle */
.hero-subtitle {
    font-size: 1.375rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 페이지 컨테이너 수정 */
.page-container {
    padding: 120px 24px 60px;
    min-height: calc(100vh - 200px);
}

/* center-box 수정 */
.center-box {
    max-width: 480px;
}

/* 섹션 공통 */
.section {
    padding: 100px 24px;
    position: relative;
}

/* 수정된 section */
.section {
    padding: 80px 24px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-dark);
    font-weight: 800;
    letter-spacing: -1px;
}

/* 수정된 section-title */
.section-title {
    font-size: 2rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 60px;
}

/* 카드 스타일 - 추가 */
.card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 32px;
    text-align: center;
}

.card-title {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.card-body {
    padding: 40px 32px;
}

/* 공지사항 섹션 - 카드 스타일 */
.notice-section {
    padding: 100px 24px;
    background: var(--light-bg);
}

/* 수정된 notice-section */
.notice-section {
    padding: 80px 24px;
}

.notice-section .section-title{
    margin-bottom:30px;
}

.notice-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 수정된 notice-list */
.notice-list {
    gap: 12px;
}

.notice-item {
    background: white;
    padding: 24px 32px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

/* 수정된 notice-item */
.notice-item {
    padding: 20px 28px;
    border-radius: 16px;
}

.notice-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: var(--transition);
}

/* 수정된 notice-item hover */
.notice-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.notice-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.notice-item:hover::before {
    transform: scaleY(1);
}

.notice-badge {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.8125rem;
    margin-right: 20px;
    font-weight: 600;
    min-width: 60px;
    text-align: center;
}

/* 수정된 notice-badge */
.notice-badge {
    padding: 6px 14px;
    font-size: 0.75rem;
    margin-right: 16px;
    min-width: 50px;
}

.notice-badge.normal {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.notice-title {
    flex: 1;
    font-size: 1.0625rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* 수정된 notice-title */
.notice-title {
    font-size: 0.9375rem;
}

.notice-date {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* 수정된 notice-date */
.notice-date {
    font-size: 0.8125rem;
}

/* 타임테이블 섹션 - 타임라인 스타일 */
.timetable-section {
    padding: 100px 24px;
    background: white;
}

/* 수정된 timetable-section */
.timetable-section {
    padding: 80px 24px;
}

.timetable-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* 추가된 timetable-grid */
.timetable-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.timetable-item {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.timetable-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.timetable-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.timetable-date {
    background: var(--primary-color);
    color: white;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 12px;
}

.timetable-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.timetable-scripture {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* 기존 타임라인 스타일 */
.timetable-timeline {
    position: relative;
    padding: 40px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--accent-color) 100%);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    flex: 1;
    padding: 0 40px;
}

.timeline-card {
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.timeline-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.timeline-dot {
    width: 24px;
    height: 24px;
    background: white;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-date {
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 16px;
}

.timeline-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.timeline-scripture {
    color: var(--text-muted);
    font-size: 1.0625rem;
    line-height: 1.6;
}

/* 모달 스타일 - 모던하게 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding:15px;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 0;
    border-radius: 24px;
    margin: 0 auto;
    width: 90%;
    max-width: 420px;
    position: relative;
    animation: modalSlideIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    max-height: 90vh;
    overflow-y: auto;
}

/* 수정된 modal-content */
.modal-content {
    max-width: 480px;
    display: flex;
    flex-direction: column;
}

@keyframes modalSlideIn {
    from { 
        opacity: 0; 
        transform: translateY(-50px) scale(0.9); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 24px;
    position: relative;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.modal-body {
    padding: 32px 24px 28px;
}

/* 수정된 modal-body */
.modal-body {
    overflow-y: auto;
    flex: 1;
}

.close {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 300;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) rotate(90deg);
}

/* 폼 스타일 - 모던하게 */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9375rem;
    letter-spacing: -0.2px;
}

.form-input {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--light-bg);
}

/* 수정된 form-input */
.form-input {
    border-radius: 12px;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(19, 56, 132, 0.1);
}

.form-select {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    font-size: 1rem;
    background: var(--light-bg);
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23133884' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 50px;
}

/* 수정된 form-select */
.form-select {
    border-radius: 12px;
    background: white;
}

.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: white;
}

/* 수정된 form-select focus */
.form-select:focus {
    box-shadow: 0 0 0 4px rgba(19, 56, 132, 0.1);
}

/* 전화번호 입력 그룹 */
.phone-input-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.phone-prefix {
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    border-radius: 16px;
    font-weight: 600;
    min-width: 70px;
    text-align: center;
    font-size: 1rem;
}

/* 수정된 phone-prefix */
.phone-prefix {
    border-radius: 12px;
}

.phone-input {
    flex: 1;
    border-radius: 16px !important;
}

/* 수정된 phone-input */
.phone-input {
    flex: 1;
}

.form-help {
    display: block;
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 0.8125rem;
}

/* 체크박스 - 커스텀 */
.checkbox-group {
    margin: 24px 0 28px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    opacity: 0;
    position: absolute;
}

.checkbox-label span {
    padding-left: 32px;
    position: relative;
}

.checkbox-label span::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    background: white;
    transition: var(--transition);
}

.checkbox-label span::after {
    content: '✓';
    position: absolute;
    left: 7px;
    top: 2px;
    font-size: 14px;
    color: white;
    opacity: 0;
    transform: scale(0);
    transition: var(--transition);
}

.checkbox-label input[type="checkbox"]:checked + span::before {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + span::after {
    opacity: 1;
    transform: scale(1);
}

.privacy-box {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 16px;
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--text-muted);
    max-height: 160px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
}

/* 수정된 privacy-box */
.privacy-box {
    border-radius: 12px;
}

/* 제출 버튼 */
.form-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1.0625rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: -0.3px;
    position: relative;
    overflow: hidden;
}

/* 수정된 form-submit */
.form-submit {
    border-radius: 12px;
}

.form-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(19, 56, 132, 0.2);
}

.form-submit:hover::before {
    width: 500px;
    height: 500px;
}

.form-submit:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
    transform: none;
}

/* 게시판 스타일 */
.board-container {
    background: white;
    border-radius: 20px;
    /*box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);*/
    padding: 0 100px;
    margin: 40px auto;
}

/* 수정된 board-container */
.board-container {
    box-shadow: var(--shadow-md);
    padding: 40px;
    margin: 0 auto;
    max-width: 1000px;
}

.board-header {
    text-align: center;
    margin-bottom: 40px;
}

.board-list {
    margin-bottom: 40px;
}

.post-title {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.post-title:hover {
    color: var(--primary-color);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 40px 0;
}

.page-link {
    padding: 10px 16px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    min-width: 44px;
    text-align: center;
}

/* 추가된 page-link */
.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.page-link:hover {
    background: var(--light-bg);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.page-link.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.login-notice {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, var(--light-bg) 0%, #f1f5f9 100%);
    border-radius: 20px;
    margin-top: 40px;
}

.login-notice p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 1.0625rem;
}

/* 알림 스타일 */
.alert {
    padding: 14px 18px;
    margin-bottom: 20px;
    border-radius: 12px;
    font-size: 0.9375rem;
    border: 1px solid transparent;
}

.alert-danger {
    background: #fee;
    color: var(--danger-color);
    border-color: #fdd;
}

/* 추가된 alert-success */
.alert-success {
    background: #f0fdf4;
    color: var(--success-color);
    border-color: #bbf7d0;
}

/* 푸터 - 미니멀하게 */
footer {
    background: var(--dark-bg);
    color: white;
    padding: 60px 24px;
    text-align: center;
    margin-top: auto;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-logo h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    font-weight: 600;
    opacity: 0.9;
}

.footer-info {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

/* 모바일 스타일 - 앱처럼 */
@media (max-width: 768px) {

    .page-container{
        margin-top:10vh;
        margin-bottom:10vh;
        padding:20px;
    }
    
    /* 수정된 page-container */
    .page-container {
        padding: 60px 16px 40px;
    }

    .center-box{
        margin: 0 auto;
        width: 100%;
        max-width: 90vw;
    }

    /* 네비게이션 - 모바일 */
    .main-nav {
        background: rgba(255, 255, 255, 0.95);
    }
    
    /* 수정된 main-nav */
    .main-nav {
        background: rgba(255, 255, 255, 0.98);
    }
    
    .nav-container {
        height: 40px;
        padding: 0 16px;
    }
    
    .nav-logo a {
        font-size: 1.125rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    /* 추가된 nav-menu */
    .nav-menu {
        gap: 4px;
    }
    
    .nav-menu a {
        padding: 6px 10px;
        font-size: 0.8125rem;
    }
    
    .nav-cta {
        gap: 8px;
        margin-left: auto;
    }
    
    .btn-apply, .btn-check {
        padding: 8px 16px;
        font-size: 0.8125rem;
    }
    
    /* 히어로 섹션 - 모바일 */
    .hero-section {
        height: 70vh;
        min-height: 500px;
        margin-top: 60px;
    }
    
    .hero-title {
        font-size: 2.25rem;
        margin-bottom: 16px;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 32px;
    }
    
    /* 섹션 */
    .section {
        padding: 60px 16px;
    }
    
    .section-title {
        font-size: 1.875rem;
        margin-bottom: 12px;
    }
    
    /* 수정된 section-title */
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }
    
    /* 추가된 card-body */
    .card-body {
        padding: 24px 20px;
    }
    
    /* 추가된 board-container */
    .board-container {
        padding: 24px 16px;
    }
    
    /* 공지사항 - 모바일 */
    .notice-item {
        padding: 20px;
        border-radius: 16px;
    }
    
    .notice-badge {
        padding: 4px 12px;
        font-size: 0.75rem;
        margin-right: 12px;
    }
    
    .notice-title {
        font-size: 0.9375rem;
    }
    
    .notice-date {
        display: none;
    }
    
    /* 추가된 data-table */
    .data-table {
        font-size: 0.875rem;
    }
    
    .data-table th,
    .data-table td {
        padding: 12px 8px;
    }
    
    .data-table th:nth-child(4),
    .data-table td:nth-child(4) {
        display: none;
    }
    
    /* 추가된 timetable-grid */
    .timetable-grid {
        grid-template-columns: 1fr;
    }
    
    /* 타임테이블 - 모바일 */
    .timeline-line {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        margin-bottom: 40px;
    }
    
    .timeline-content {
        padding: 0 0 0 50px;
    }
    
    .timeline-dot {
        left: 20px;
    }
    
    .timeline-card {
        padding: 24px;
        border-radius: 20px;
    }
    
    .timeline-date {
        font-size: 0.8125rem;
        padding: 6px 16px;
        margin-bottom: 12px;
    }
    
    .timeline-title {
        font-size: 1.125rem;
        margin-bottom: 8px;
    }
    
    .timeline-scripture {
        font-size: 0.9375rem;
    }
    
    /* 모달 - 모바일 풀스크린 */
    .modal-content {
        margin: 0;
        width: 100%;
        height: 100%;
        max-width: 100%;
        border-radius: 0;
        display: flex;
        flex-direction: column;
    }
    
    .modal-header {
        padding: 24px;
        border-radius: 0;
    }
    
    .modal-header h2 {
        font-size: 1.375rem;
    }
    
    .modal-body {
        padding: 24px;
        flex: 1;
        overflow-y: auto;
    }
    
    /* 폼 - 모바일 */
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-label {
        font-size: 0.875rem;
        margin-bottom: 8px;
    }
    
    .form-input, .form-select {
        padding: 12px 16px;
        font-size: 16px; /* iOS 줌 방지 */
        border-radius: 12px;
    }
    
    .phone-prefix {
        padding: 12px 16px;
        border-radius: 12px;
        font-size: 0.9375rem;
    }
    
    /* 푸터 - 모바일 */
    footer {
        padding: 40px 16px;
    }
    
    /* 모바일 앱 느낌 */
    body {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
    }
    
    /* 스크롤 부드럽게 */
    * {
        -webkit-overflow-scrolling: touch;
    }
    
    /* 바운스 효과 제거 */
    html {
        position: fixed;
        height: 100%;
        overflow: hidden;
    }
    
    body {
        height: 100%;
        overflow: auto;
    }
}

/* 태블릿 대응 */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 900px;
    }
    
    .timeline-content {
        padding: 0 24px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    /* 수정된 hero-title */
    .hero-title {
        font-size: 2.5rem;
    }
    
    /* 추가된 timetable-grid */
    .timetable-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 프린트 스타일 */
@media print {
    .dev-alert, 
    .main-nav, 
    footer,
    .btn,
    .modal,
    .nav-cta {
        display: none !important;
    }
    
    /* 추가된 프린트 스타일 */
    .action-buttons,
    .pagination {
        display: none !important;
    }
    
    body {
        background: white;
    }
    
    /* 수정된 프린트 스타일 */
    .page-container {
        padding: 20px;
        min-height: auto;
    }
    
    .hero-section {
        height: auto;
        margin-top: 0;
    }
    
    /* 수정된 프린트 스타일 */
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .timeline-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

.notice-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

.notice-item:hover {
    background: rgba(102, 126, 234, 0.05);
    transform: translateX(5px);
}

.notice-item:hover .notice-title {
    color: var(--primary-color);
}
