@charset "utf-8";
/* BNCSOFT */
body {font-family: 'Noto Sans KR', sans-serif !important}
body .nav-link.depth2 {padding: 0.5rem 1.0rem !important; min-width:180px !important}

.nanum-square-ac {font-family: 'NanumSquareAc', sans-serif !important}
.gothic-a1 {font-family: 'Gothic A1', sans-serif !important}
.play {font-family: 'Play', sans-serif !important}
.noto {
font-family: 'Noto Sans KR', sans-serif
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

.black-han-sans-regular {
  font-family: "Black Han Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.noto-sans-kr-<uniquifier> {
  font-family: "Noto Sans KR", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

/* index.php */
:root {
	--primary-color: #1a73e8;
	--dark-color: #202124;
	--light-bg: #f8f9fa;
	--border-color: #e0e0e0;
}
body { font-family: 'Pretendard', sans-serif; margin: 0; padding: 0; color: var(--dark-color); line-height: 1.6; }
a { text-decoration: none; color: inherit; }

/* 인덱스 */
/* Section Titles */
.index-po1 .section-title {
	font-weight: 700;
	color: #222;
	position: relative;
	padding-bottom: 12px;
	margin-bottom: 25px;
	text-align: center;
}
.index-po1 .section-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 40px;
	height: 3px;
	background-color: var(--primary-color);
}

/* Business Intro Cards */
.index-po1 .biz-card {
	position: relative;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 6px rgba(0,0,0,0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	height: 140px;
	cursor: pointer;
}
.index-po1 .biz-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}
.index-po1 .biz-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.index-po1 .biz-card-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 15px;
	color: #fff;
	font-weight: 700;
	font-size: 1.05rem;
	text-shadow: 0 1px 3px rgba(0,0,0,0.8);
	text-align: center;
}



/* Notice Board Widget */
.board-card {
	border: 1px solid #dee2e6;
	border-radius: 8px;
	overflow: hidden;
	height: 100%;
	background-color: #fff;
}
.board-header {
	background-color: var(--primary-color);
	color: #fff;
	padding: 12px 16px;
	font-weight: 600;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.board-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.board-list li {
	border-bottom: 1px solid #f1f1f1;
}
.board-list li:last-child {
	border-bottom: none;
}
.board-list a {
	display: flex;
	justify-content: space-between;
	padding: 10px 15px;
	color: #444;
	text-decoration: none;
	font-size: 0.9rem;
	transition: background-color 0.15s ease;
}
.board-list a:hover {
	background-color: #f8f9fa;
	color: var(--primary-color);
}
.board-title-text {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	padding-right: 10px;
}
.board-date {
	color: #888;
	font-size: 0.8rem;
	white-space: nowrap;
}

/* Today's Schedule Box */
.schedule-box {
	/* background-color: #fff; */
	padding: 15px;
	border-radius: 8px;
}
.schedule-date {
	font-size: 1.1rem;
	font-weight: 700;
	color: #333;
}


/* Gallery Section */
.gallery-section {
	background-color: #f5f6f8;
	padding: 40px 0;
}
.gallery-card {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 5px rgba(0,0,0,0.05);
	transition: transform 0.2s ease;
}
.gallery-card:hover {
	transform: translateY(-3px);
}
.gallery-img-wrapper {
	width: 100%;
	height: 160px;
	overflow: hidden;
}
.gallery-img-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.gallery-info {
	padding: 12px;
	text-align: center;
}
.gallery-title {
	font-size: 0.9rem;
	font-weight: 600;
	color: #333;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-bottom: 4px;
}
.gallery-date {
	font-size: 0.8rem;
	color: #777;
}

/* Partner Banner Carousel/Bar */
.partner-banner {
	background-color: #fff;
	padding: 15px 0;
}
.partner-badge {
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 8px 12px;
	font-size: 0.85rem;
	color: #555;
	font-weight: 500;
	display: inline-block;
	background-color: #fafafa;
	text-decoration: none;
	text-align: center;
	width: 100%;
	transition: all 0.2s;
}
.partner-badge:hover {
	border-color: var(--primary-color);
	color: var(--primary-color);
	background-color: #fff;
}


/* 헤더 및 GNB */
header { background: #fff; border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 1000; }
.header-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; }
.logo { font-size: 24px; font-weight: bold; color: var(--primary-color); }
.nav-menu { display: flex; list-style: none; gap: 30px; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-item > a { font-weight: 600; padding: 10px 0; display: block; }
.dropdown { display: none; position: absolute; top: 100%; left: 0; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.1); border-radius: 4px; width: 220px; padding: 10px 0; list-style: none; }
.nav-item:hover .dropdown { display: block; }
.dropdown li a { padding: 8px 20px; display: block; font-size: 14px; color: #555; }
.dropdown li a:hover { background: var(--light-bg); color: var(--primary-color); }

/* 비주얼 배너 (히어로) 
.hero { background: linear-gradient(rgba(0,0,0,0.0), rgba(0,0,0,0.3)), url('/img/index_head.png') center/cover; color: #fff; text-align: center; padding: 140px 20px; }
.hero h1 { font-size: 42px; margin-bottom: 20px; }
.hero p { font-size: 18px; margin-bottom: 30px; }
.hero-btn { background: var(--primary-color); color: #fff; padding: 12px 30px; border-radius: 4px; font-weight: bold; display: inline-block; }
*/

/* 비주얼 배너 (히어로) */
.hero { 
	position: relative;
	overflow: hidden;
	color: #fff; 
	text-align: center; 
	padding: 140px 20px; 
	background-color: #222; /* 이미지 로딩 전 기본 배경색 */
}

/* 텍스트와 버튼이 배경 이미지 위로 오도록 설정 */
.hero-content {
	position: relative;
	z-index: 2;
}

.hero h1 { font-size: 42px; margin-bottom: 20px; }
.hero p { font-size: 18px; margin-bottom: 30px; }
.hero-btn { background: var(--primary-color); color: #fff; padding: 12px 30px; border-radius: 4px; font-weight: bold; display: inline-block; }

/* 배경 슬라이드 공통 스타일 */
.hero-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-position: center;
	background-size: cover;
	opacity: 0;
	z-index: 1;
	animation: heroFadeSlide 18s infinite;
}

/* 각 슬라이드별 이미지 경로 및 시작 시간 지정 */
.hero-bg:nth-child(1) {
	background-image: linear-gradient(rgba(0,0,0,0.0), rgba(0,0,0,0.3)), url('/img/index_head.jpg');
	animation-delay: 0s;
}
.hero-bg:nth-child(2) {
	background-image: linear-gradient(rgba(0,0,0,0.0), rgba(0,0,0,0.3)), url('/img/index_head2.jpg');
	animation-delay: 6s;
}
.hero-bg:nth-child(3) {
	background-image: linear-gradient(rgba(0,0,0,0.0), rgba(0,0,0,0.3)), url('/img/index_head3.jpg');
	animation-delay: 12s;
}

/* 부드러운 페이드인/아웃 및 미세 확대 효과 */
@keyframes heroFadeSlide {
	0% {
		opacity: 0;
		transform: scale(1);
	}
	10% {
		opacity: 1;
	}
	33% {
		opacity: 1;
		transform: scale(1.05);
	}
	43% {
		opacity: 0;
	}
	100% {
		opacity: 0;
		transform: scale(1);
	}
}

/* 공통 섹션 레이아웃 */
.section { padding: 80px 20px; max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 32px; margin-bottom: 10px; }
.section-title p { color: #666; }

/* 회사소개 개요 */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-text h3 { font-size: 24px; margin-bottom: 20px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.feature-box { background: var(--light-bg); padding: 20px; border-radius: 8px; }
.about-img img { width: 100%; border-radius: 8px; }

/* 사업영역 카드 */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { background: #fff; border: 1px solid var(--border-color); border-radius: 8px; padding: 30px 20px; text-align: center; transition: transform 0.3s; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.service-card h3 { margin-bottom: 15px; font-size: 18px; }
.service-card p { font-size: 14px; color: #666; margin-bottom: 20px; }
.service-link { font-size: 13px; color: var(--primary-color); font-weight: bold; }

/* 포트폴리오 갤러리 */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.portfolio-item { background: #fff; border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; }
.portfolio-thumb { height: 180px; background: #ddd; background-size: cover; background-position: center; }
.portfolio-info { padding: 20px; }
.portfolio-info h4 { margin: 0 0 10px 0; font-size: 16px; }
.portfolio-info p { margin: 0; font-size: 13px; color: #666; }

/* 고객지원 및 하단 푸터 */
.support-section { background: var(--light-bg); }
/* .support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; } */
/* .support-box { background: #fff; padding: 30px; border-radius: 8px; border: 1px solid var(--border-color); } */

footer { background-color: #091a32; color: #aaa;}
.footer-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
