/* 반드시 CLAUDE.md의 절대원칙을 읽고 따를 것, 하나의 클래스/모듈은 하나의 책임만 가져야 함 (SRP 원칙), 하나의 파일에 코드줄은 최대 500~600줄 내에서 생성하여야 하며 최대 코드줄이 넘어가지 않도록 작성, 만약 코드가 길어지면 분할해서 코드작업을 완성하여야 함 */
/* 입지소개 섹션 스타일 (카드 그리드) */

/* =========================================== */
/* 입지소개 섹션 */
.location-section {
	padding: 100px 0 60px 0;
	background: #FFFFFF;
}

.location-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 50px;
}

/* 제목 영역 */
.location-header {
	text-align: center;
	margin-bottom: 60px;
}

.location-subtitle {
	font-size: 18px;
	color: #00529F;
	margin-bottom: 15px;
	font-weight: 600;
}

.location-main-title {
	font-size: 48px;
	color: #000000;
	font-weight: 800;
	margin-bottom: 10px;
	letter-spacing: -1px;
}

.location-sub-title {
	font-size: 36px;
	color: #000000;
	font-weight: 700;
	letter-spacing: -0.5px;
}

.highlight-blue {
	color: #00529F;
}

/* 지도 영역 */
.location-map {
	width: 860px;
	height: 360px;
	margin: 0;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	/* 애니메이션 초기 상태 */
	opacity: 1;
	transform: perspective(1000px) rotateY(0deg);
	transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.location-map.visible {
	opacity: 1;
	transform: perspective(1000px) rotateY(0deg);
}

.location-map img {
	width: 860px;
	height: 360px;
	display: block;
}

/* 카드 그리드 */
.location-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
	margin-bottom: 60px;
}

/* 카드 스타일 */
.location-card {
	position: relative;
	padding: 40px;
	border-radius: 15px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	min-height: 400px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	transition: all 0.4s ease;
}

/* 카드별 배경 이미지 */
.location-traffic::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: url('/img/location/traffic.png');
	background-size: cover;
	background-position: center;
	z-index: 0;
	transition: transform 0.6s ease;
}

.location-nature::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: url('/img/location/nature.png');
	background-size: cover;
	background-position: center;
	z-index: 0;
	transition: transform 0.6s ease;
}

.location-infra::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: url('/img/location/infra.png');
	background-size: cover;
	background-position: center;
	z-index: 0;
	transition: transform 0.6s ease;
}

.location-value::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: url('/img/location/value.png');
	background-size: cover;
	background-position: center;
	z-index: 0;
	transition: transform 0.6s ease;
}

/* 다크 오버레이 */
.location-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.4);
	z-index: 1;
	transition: background 0.3s ease;
}

/* 호버 효과 */
.location-card:hover::after {
	transform: scale(1.1);
}

.location-card:hover::before {
	background: rgba(0, 0, 0, 0.3);
}

.location-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* 카드 콘텐츠 */
.location-card-icon,
.location-card-content {
	position: relative;
	z-index: 2;
}

.location-card-icon {
	text-align: left;
}

.location-card-icon img {
	width: 60px;
	height: auto;
	filter: brightness(0) invert(1);
	transition: transform 0.3s ease;
}

.location-card:hover .location-card-icon img {
	transform: scale(1.1) rotate(5deg);
}

.location-card-category {
	font-size: 16px;
	color: rgba(255, 255, 255, 0.8);
	font-weight: 600;
	letter-spacing: 2px;
	margin-bottom: 10px;
}

.location-card-title {
	font-size: 28px;
	color: #FFFFFF;
	font-weight: 700;
	margin-bottom: 20px;
	line-height: 1.3;
}

.location-card-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.location-card-list li {
	font-size: 16px;
	color: #FFFFFF;
	line-height: 1.8;
	margin-bottom: 8px;
	padding-left: 20px;
	position: relative;
}

.location-card-list li::before {
	content: '•';
	position: absolute;
	left: 0;
	color: #FFFFFF;
	font-weight: bold;
}

/* 주의사항 */
.location-notice {
	padding: 30px;
	background: #F5F5F5;
	border-radius: 10px;
}

.location-notice ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.location-notice li {
	font-size: 14px;
	color: #666666;
	line-height: 1.8;
	margin-bottom: 10px;
	padding-left: 15px;
	position: relative;
}

.location-notice li::before {
	content: '※';
	position: absolute;
	left: 0;
	color: #00529F;
	font-weight: bold;
}

.location-notice li:last-child {
	margin-bottom: 0;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
	.location-section {
		padding: 60px 0 40px 0;
	}

	.location-container {
		padding: 0;
	}

	.location-header {
		padding: 0 20px;
		margin-bottom: 40px;
	}

	.location-subtitle {
		font-size: 14px;
		margin-bottom: 10px;
	}

	.location-main-title {
		font-size: 32px;
		margin-bottom: 8px;
	}

	.location-sub-title {
		font-size: 24px;
	}

	.location-map {
		margin-bottom: 0;
	}

	.location-grid {
		grid-template-columns: 1fr;
		gap: 20px;
		margin-bottom: 40px;
	}

	.location-card {
		padding: 30px 25px;
		min-height: 350px;
	}

	.location-card-icon img {
		width: 50px;
	}

	.location-card-category {
		font-size: 14px;
		letter-spacing: 1.5px;
		margin-bottom: 8px;
	}

	.location-card-title {
		font-size: 22px;
		margin-bottom: 15px;
	}

	.location-card-list li {
		font-size: 14px;
		line-height: 1.7;
		margin-bottom: 6px;
	}

	.location-notice {
		padding: 20px;
	}

	.location-notice li {
		font-size: 12px;
		line-height: 1.6;
		margin-bottom: 8px;
	}
}
