@import url('font.css');

body,
html {
	font-family: 'S-CoreDream-3Light', sans-serif;
	color: #161616;
	height: 100%;
	letter-spacing: -0.05em;
	font-size: 12px;
	background: #ffffff;
	transform: rotate(0deg);
	transform-origin: center;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html,
body {
	height: 100%;
	overflow: hidden;
	font-family: sans-serif;
}

.wrapper {
	height: 100%;
	scroll-snap-type: y mandatory;
	overflow-y: scroll;
	-ms-overflow-style: none;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	/* iOS 부드러운 스크롤 */
	touch-action: pan-y;
	/* 터치 기반 한 방향 스크롤 */
	scroll-behavior: smooth;
}

.wrapper::-webkit-scrollbar {
	display: none;
}

.section {
	height: 100svh;
	scroll-snap-align: start;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding-top: 80px;
	/* 모바일에서도 부드럽게 작동하도록 아래 스타일 권장 */
	scroll-snap-stop: always;
}

.section1 {
	position: relative;
	overflow: hidden;
}

.bg-video {
	position: absolute;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	transform: translate(-50%, -50%);
	object-fit: cover;
	z-index: -1;
}

.section2 {
	background-image: url('../images/01_3.png');
}

.section3 {
	background-image: url('../images/03.png');
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.section3 .center-text {
	color: white;
	text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
	text-align: center;
	position: absolute;
	top: 30%;
	left: 60%;
}

.footer {
	width: 100vw;
	background-color: rgba(232, 232, 232, 0.8);
	padding: 0.5rem 1rem;
	font-family: sans-serif;
	color: #111;
	text-align: center;
}

.footer-inner {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 4rem;
	margin-bottom: 0.5rem;
}

.footer-info,
.footer-address {
	min-width: 200px;
}

.footer-info h4,
.footer-address h4 {
	margin-bottom: 0.5rem;
	font-weight: bold;
}

.footer-bottom {
	border-top: 1px solid #bbb;
	padding-top: 0.5rem;
	font-size: 0.9rem;
	color: #444;
}

.footer-links {
	margin-bottom: 0.5rem;
}

.footer-links a {
	color: #333;
	text-decoration: none;
}

.footer-links a:hover {
	text-decoration: underline;
}

.footer-copy {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
}

.center-text .contact_us {
	font-family: 'S-CoreDream-7ExtraBold', sans-serif;
	font-size: 100px;
}

.center-text .email {
	font-family: 'S-CoreDream-3Light', sans-serif;
	font-size: 55px;
}

.bottom-left-text {
	font-family: 'S-CoreDream-7ExtraBold', sans-serif;
	position: absolute;
	bottom: 0rem;
	padding-top: 2.5rem;
	padding-bottom: 2.5rem;

	text-align: center;
	color: white;
	font-size: 5rem;
	text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
	background-color: rgba(0, 0, 0, 0.6);
	width: 100vw;
}

.bottom-left-text a {
	color: white;
	text-decoration: none;
}

.main-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 80px;
	background-color: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
	pointer-events: none;
	background-color: rgba(0, 0, 0, 0.4);
}

.logo {
	position: absolute;
	left: 2rem;
	pointer-events: auto;
}

.nav {
	display: flex;
	gap: 2rem;
	pointer-events: auto;
}

.nav a {
	text-decoration: none;
	font-size: 2rem;
	font-weight: 600;
	color: gray;
	/* 기본은 회색 */
	transition: color 0.3s;
}

.nav a.active {
	color: white;
	/* 활성된 섹션은 흰색 */
}

.text-logo {
	margin-top: 5rem;
	display: flex;
	align-items: center;
	gap: 10px;
	transform: translateX(80px);
}

/* === Mobile Responsive Styles === */
@media (max-width: 1024px) {

	html,
	body {
		font-size: 14px;
		overflow: auto;
	}

	.section {
		padding-top: 0px;
	}

	.center-text .contact_us {
		font-size: 38px;
	}

	.center-text .email {
		font-size: 18px;
	}

	.section2 {
		background-image: url('../images/01_4.png');
	}


	.section3 .center-text {
		top: 15%;
		left: 20%;
		padding: 0.1rem;
	}

	.bottom-left-text {
		font-size: 2rem;
		padding: 1rem;
	}

	.nav {
		gap: 1rem;
		flex-wrap: wrap;
		justify-content: center;
	}

	.nav a {
		font-size: 1.2rem;
	}

	.text-logo {
		transform: translateX(40px);
		margin-top: 2rem;
		gap: 0.5rem;
	}

	.footer {
		padding: 0.1rem 0.2rem;
	}

	.footer-inner {
		flex-direction: column;
		align-items: center;
		gap: 0.1rem;
	}

	.footer-info,
	.footer-address {
		min-width: auto;
		text-align: center;
		font-size: 0.7rem;
	}

	.logo {
		left: 1rem;
		width: 100px;
	}

	.main-header {
		flex-direction: column;
		height: auto;
		padding: 0.5rem 0;
	}

	.logo img {
		width: 20px;
	}

	.footer-inner {
		margin-bottom: 0.1rem;
	}

	.footer-links {
		margin-bottom: 0.1rem;
	}

	.footer {
		background-color: rgba(232, 232, 232, 0.7);
	}

	.footer-bottom {
		padding-top: 0.1rem;
		font-size: 0.7rem;
	}

	.section3 {
		background-image: url('../images/03_1.png');
	}

	.text-logo img {
		width: 20px;
	}
}