/* 전역 스타일 */
body {
	font-family: 'Noto Serif KR', serif;
	color: #333;
	line-height: 1.6;
}

/* 네비게이션 바 */
.navbar {
	background-color: rgba(255, 255, 255, 0.95) !important;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
	font-weight: 700;
	font-size: 1.5rem;
}

.nav-link {
	font-weight: 500;
	padding: 0.5rem 1rem !important;
}

.nav-link:hover {
	color: #666 !important;
}

/* .active 클래스가 붙었을 때의 스타일 */
.nav-link.active {
	color: blue;
	font-weight: bold;
}

.header-div {
	height: 2px;
	width: 100%;
	display: flex;
	justify-content: center;
}

.header-line {
	width: 60px;
	background-color: #e68230;
	height: 100%;
}

/* 메인 비주얼 */
.main-visual {
	position: relative;
	height: 100vh;
	background: url('../image/main5.jpg') no-repeat center center;
	background-size: cover;
}

.overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.07);
}

.main-visual h1 {
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	line-height: 1.4;
}

.subPageHeader {
	margin-top: 100px;
}

/* 섹션 공통 */
section {
	padding: 5rem 0;
}

section h2 {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 3rem;
}

/* 프로그램 카드 */
.program-card {
	border: none;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.program-card:hover {
	box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.program-card .card-img-top {
	height: 250px;
	object-fit: cover;
}

.program-card .card-title {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
}

.program-card .card-text {
	color: #666;
	margin-bottom: 1.5rem;
}

/* 버튼 스타일 */
.btn-outline-dark {
	border-width: 2px;
	font-weight: 500;
	padding: 0.5rem 1.5rem;
}

.btn-outline-light {
	border-width: 2px;
	font-weight: 500;
	padding: 0.75rem 2rem;
}

/* 뉴스 섹션 */
.news .card {
	border: none;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.news .card-title {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
}

.news h5 {
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.news .text-muted {
	font-size: 0.9rem;
}

/* 푸터 */
footer {
	background-color: #1a1a1a;
}

footer h5 {
	font-weight: 700;
	margin-bottom: 1.5rem;
}

footer a {
	text-decoration: none;
}

footer a:hover {
	color: #fff !important;
	text-decoration: underline;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
	.main-visual h1 {
		font-size: 2rem;
	}

	section {
		padding: 3rem 0;
	}

	section h2 {
		font-size: 2rem;
	}

	.program-card .card-img-top {
		height: 200px;
	}
}

/* 비전 카드 */
.vision-card {
	border: none;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.vision-card:hover {
	box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.vision-card .card-img-top {
	height: 200px;
	object-fit: cover;
}

.vision-card .card-title {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
}

.vision-card .card-text {
	color: #666;
	margin-bottom: 1.5rem;
}

/* 갤러리 스타일 */
.modal-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.9);
	z-index: 1000;
	cursor: pointer;
}

.modal-content {
	position: relative;
	width: 90%;
	height: 90%;
	margin: 2% auto;
}

.gallery-img {
	transition: transform 0.3s ease;
}

.gallery-img:hover {
	transform: scale(1.02);
}


.card {
	position: relative;
	border: none;
}

.card-img-overlay {
	position: absolute;
	top: auto;
	bottom: 0;
	left: 0;
	right: 0;
	height: 50px;
	background-color: rgba(0, 0, 0, 0.6);
	padding: 0.75rem;
}

.memorial-hero {
	background: linear-gradient(135deg, #502c2c, #684a72);
	color: white;
	padding: 100px 0;
	position: relative;
	overflow: hidden;
}

.memorial-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: repeating-linear-gradient(45deg,
			rgba(255, 255, 255, 0.05),
			rgba(255, 255, 255, 0.05) 10px,
			rgba(255, 255, 255, 0.1) 10px,
			rgba(255, 255, 255, 0.1) 20px);
}

.feature-card {
	border: none;
	border-radius: 10px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease;
}

.feature-card:hover {
	transform: translateY(-5px);
}

.contact-box {
	background-color: #f8f9fa;
	border-radius: 10px;
	padding: 2rem;
	margin-top: 2rem;
}


.location-hero {
	background: linear-gradient(135deg, #4c345e, #2c3c50);
	color: white;
	padding: 100px 0;
	position: relative;
	overflow: hidden;
}

.location-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: radial-gradient(circle at 50% 50%,
			rgba(255, 255, 255, 0.1) 0%,
			rgba(255, 255, 255, 0.05) 25%,
			transparent 50%);
	background-size: 100px 100px;
}

.contact-card {
	border: none;
	border-radius: 10px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease;
}

.contact-card:hover {
	transform: translateY(-5px);
}

.map-container {
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#map {
	background-image: url('../image/map.png');
	/* 이미지를 배경으로 설정 */
	background-position: center;
	/* 배경 이미지를 중앙에 위치시킴 (중요!) */
	background-repeat: no-repeat;
	/* 배경 이미지가 반복되지 않도록 설정 */
	background-size: 115%;
	/* 배경 이미지가 컨테이너를 꽉 채우도록 설정 */
}

.dharma-pattern-1,
.dharma-pattern-2,
.dharma-pattern-3 {
	position: relative;
	overflow: hidden;
}

.pattern-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30L30 0z' fill='rgba(255,255,255,0.1)'/%3E%3C/svg%3E");
	opacity: 0.5;
}

.dharma-pattern-1 .pattern-overlay {
	background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 0L40 20L20 40L0 20L20 0z' fill='rgba(255,255,255,0.2)'/%3E%3C/svg%3E");
}

.dharma-pattern-2 .pattern-overlay {
	background-image: url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='15' cy='15' r='10' fill='rgba(255,255,255,0.2)'/%3E%3C/svg%3E");
}

.dharma-pattern-3 .pattern-overlay {
	background-image: url("data:image/svg+xml,%3Csvg width='50' height='50' viewBox='0 0 50 50' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M25 0L50 25L25 50L0 25L25 0z' fill='rgba(255,255,255,0.15)'/%3E%3C/svg%3E");
}


.determination-content {
	font-family: 'Noto Serif KR', serif;
	line-height: 1.8;
}

.determination-content blockquote {
	font-size: 1.5rem;
	color: #495057;
	border-left: 4px solid #6c757d;
	padding-left: 1rem;
	margin: 2rem 0;
}

.determination-text p {
	margin-bottom: 1.5rem;
	color: #495057;
}

.philosophy-points h4,
.declaration-points h4 {
	color: #343a40;
	margin-top: 2rem;
}

.vow-section {
	background-color: #f8f9fa;
	padding: 2rem;
	border-radius: 0.5rem;
}

.signature {
	font-style: italic;
	color: #6c757d;
}

.scrollable-content {
	max-height: 800px;
	overflow-y: auto;
	padding: 2rem;
	background: #fff;
	border-radius: 0.5rem;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.scrollable-content::-webkit-scrollbar {
	width: 8px;
}

.scrollable-content::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 4px;
}

.scrollable-content::-webkit-scrollbar-thumb {
	background: #888;
	border-radius: 4px;
}

.scrollable-content::-webkit-scrollbar-thumb:hover {
	background: #555;
}

.view-header {
	background: linear-gradient(135deg, #2c3e50, #4a6572);
	color: white;
	padding: 60px 0;
}

.category-badge {
	margin-bottom: 2rem;
}

.content-body {
	font-size: 1.1rem;
	line-height: 1.8;
	color: #333;
}

.content-body img {
	max-width: 100%;
	height: auto;
	margin: 2rem 0;
}

.attachments {
	background: #f8f9fa;
	padding: 1.5rem;
	border-radius: 0.5rem;
}

.navigation-links {
	padding: 1.5rem 0;
	border-top: 1px solid #dee2e6;
	border-bottom: 1px solid #dee2e6;
}

.navigation-links a {
	color: #495057;
}

.navigation-links a:hover {
	color: #0d6efd;
}

.list-header {
    background: linear-gradient(135deg, #2c3e50, #4a6572);
    color: white;
    padding: 60px 0;
}

.search-area {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.list-group-item {
    transition: all 0.3s ease;
}

.list-group-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

.pagination .page-link {
    color: #2c3e50;
}

.pagination .page-item.active .page-link {
    background-color: #2c3e50;
    border-color: #2c3e50;
}