/* 기본 설정 및 변수 지정 */
:root {
	--primary-color: #253dbe; /* 기존 사이트의 메인 컬러 계승 */
	--primary-hover: #1a2a8c;
	--text-dark: #222222;
	--text-light: #666666;
	--bg-light: #f8f9fa;
}

html { scroll-behavior: smooth; }

body {
	font-family: 'Pretendard Variable', -apple-system, sans-serif;
	margin: 0;
	padding: 0;
	color: var(--text-dark);
	line-height: 1.6;
	word-break: keep-all;
	letter-spacing: -0.02em; /* 👈 이 부분 추가: 자간을 미세하게 좁혀 가독성 상승 */
}

h1, h2, h3, p { margin: 0; }

/* 네비게이션 헤더 (스크롤 시 상단 고정) */
header {
	position: fixed;
	top: 0;
	width: 100%;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(5px);
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
	z-index: 1000;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 5%;
	box-sizing: border-box;
}

.logo {
	font-size: 1.5em;
	font-weight: 800;
	color: var(--primary-color);
	text-decoration: none;
	letter-spacing: -1px;
}

.nav-links { display: flex; gap: 30px; }
.nav-links a {
	text-decoration: none;
	color: var(--text-dark);
	font-weight: 600;
	transition: color 0.3s;
}
.nav-links a:hover { color: var(--primary-color); }

/* 메인 히어로 섹션 */
.hero {
	height: 100vh;
	/* 고해상도 비즈니스 배경 이미지 (Unsplash API 활용) */
	background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://futuredevel.com/img/banner1.jpg') no-repeat center center/cover;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: white;
	padding: 0 20px;
}

.hero-content { max-width: 800px; }
.hero h1 {
	font-size: 3.5em; /* 👈 기존 2.5em에서 3.5em으로 확대 (PC 환경) */
	font-weight: 800;
	margin-bottom: 20px;
	line-height: 1.2;
	letter-spacing: -0.03em; /* 👈 큰 제목은 자간을 살짝 더 좁히면 세련되어 보임 */
	animation: fadeUp 1s ease-out;
}
.hero p {
	font-size: 1.2em;
	font-weight: 400; /* 👈 제목과 확실한 대비를 주기 위해 두께 조정 */
	margin-bottom: 40px;
	opacity: 0.9;
	animation: fadeUp 1s ease-out 0.2s backwards;
}

/* 메인 배너 버튼 (반투명 유리 스타일) */
.btn {
	display: inline-block;
	padding: 16px 40px;
	background: rgba(255, 255, 255, 0.15); /* 반투명 흰색 */
	backdrop-filter: blur(10px); /* 배경을 흐리게 (유리 효과) */
	-webkit-backdrop-filter: blur(10px);
	color: white;
	text-decoration: none;
	border-radius: 30px;
	border: 1px solid rgba(255, 255, 255, 0.3); /* 은은한 테두리 */
	font-weight: 700;
	font-size: 1.1em;
	transition: all 0.3s;
	animation: fadeUp 1s ease-out 0.4s backwards;
}
.btn:hover {
	background: rgba(255, 255, 255, 0.3); /* 마우스 올렸을 때 살짝 더 밝게 */
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* 서비스 소개 섹션 */
.section { padding: 100px 5%; }
.bg-gray { background: var(--bg-light); }
.section-title {
	text-align: center;
	font-size: 2.5em;
	font-weight: 800;
	margin-bottom: 60px;
}

/* 그리드 레이아웃 (반응형) */
.grid-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	max-width: 950px;
	margin: 0 auto;
}

.card {
	background: white;
	padding: 50px 30px;
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.05);
	text-align: center;
	transition: transform 0.3s;
}
.card:hover { transform: translateY(-10px); }
.card .material-icons {
	font-size: 48px;
	color: var(--primary-color);
	margin-bottom: 20px;
}
.card h3 {
	font-size: 1.5em;
	margin-bottom: 15px;
	font-weight: 700;
}
.card p { color: var(--text-light); }

/* 운영 브랜드 섹션 */
.brand-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	max-width: 1200px;
	margin: 0 auto;
}
.brand-card {
	background: white;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0,0,0,0.05);
	text-decoration: none; /* 링크 밑줄 제거 */
	color: inherit;
	display: block;
	transition: transform 0.3s, box-shadow 0.3s;
}
.brand-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.brand-img-wrapper {
	overflow: hidden; /* 이미지가 커질 때 카드 밖으로 나가지 않게 함 */
}
.brand-img {
	width: 100%;
	height: 220px;
	background-color: #eee;
	background-size: cover;
	background-position: center;
	transition: transform 0.4s ease;
}
.brand-card:hover .brand-img {
	transform: scale(1.05); /* 마우스 올리면 이미지 살짝 확대 */
}
.brand-info {
	padding: 30px;
}
.brand-info h3 {
	font-size: 1.4em;
	margin-bottom: 10px;
	color: var(--primary-color);
	display: flex;
	align-items: center;
	justify-content: space-between; /* 글자는 왼쪽, 화살표는 오른쪽 */
}
.brand-info p {
	color: var(--text-light);
	font-size: 0.95em;
}
.brand-info .material-icons {
	transition: transform 0.3s;
}
.brand-card:hover .brand-info .material-icons {
	transform: translateX(5px); /* 마우스 올리면 화살표가 우측으로 이동 */
}

/* 회사소개 간략 섹션 */
.about-wrap {
	display: flex;
	align-items: center;
	gap: 50px;
	max-width: 1200px;
	margin: 0 auto;
}
.about-img {
	flex: 1;
	border-radius: 15px;
	overflow: hidden;
}
.about-img img { width: 100%; display: block; }
.about-text { flex: 1; }
.about-text h2 { font-size: 2.2em; font-weight: 800; margin-bottom: 20px; }
.about-text p { color: var(--text-light); margin-bottom: 20px; font-size: 1.1em; }

#location .btn {
    background: var(--primary-color);
    color: white;
    border: none;
    animation: none; /* 메인 배너용 나타나기 애니메이션 제거 */
}
#location .btn:hover {
    background: var(--primary-hover);
    color: white;
    box-shadow: 0 10px 20px rgba(37, 61, 190, 0.3);
}

/* 푸터 */
footer {
	background: #111;
	color: white;
	padding: 60px 5%;
	text-align: center;
}
.footer-content {
	max-width: 1200px;
	margin: 0 auto;
	color: #888;
}
.footer-logo {
	font-size: 1.5em;
	font-weight: 800;
	color: white;
	margin-bottom: 20px;
	display: block;
}

/* 애니메이션 키프레임 */
@keyframes fadeUp {
	from { opacity: 0; transform: translateY(30px); }
	to { opacity: 1; transform: translateY(0); }
}

/* 모바일 대응 */
@media (max-width: 768px) {
	.nav-links { display: none; }
	.hero h1 { font-size: 2.2em; } /* 👈 모바일에서는 너무 크지 않게 조절 */
	.about-wrap { flex-direction: column; }
	.section { padding: 60px 5%; }
}