﻿/* ============================================
   GLOBAL RESET (전역 리셋)
   ============================================ */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	line-height: 1.6;
	color: #212121;
	background-color: #fff;
}

/* ============================================
   COMMON HEADER (공통 헤더)
   ============================================ */
header {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid #e7e7e7;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
}

.header-container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 30px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 90px;
}

.logo {
	font-style: normal;
	font-family: Poppins;
	font-size: 40px;
	font-weight: bold;
	color: #212121;
	text-decoration: none;
	transition: opacity 0.3s;
	line-height: inherit;
}

	.logo:hover {
		opacity: 0.7;
		text-decoration: none;
	}

/* 햄버거 버튼 (모바일 전용) */
.hamburger-btn {
	display: none;
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
	color: #212121;
	padding: 10px;
	line-height: 1;
}

/* 메인 네비게이션 */
.main-nav {
	display: flex;
	gap: 50px;
}

	.main-nav a {
		font-family: 'Poppins', sans-serif;
		font-size: 18px;
		font-weight: bold;
		color: #212121;
		text-decoration: none;
		transition: color 0.3s;
	}

		.main-nav a:hover,
		.main-nav a.active {
			color: #999;
		}

/* nav 태그용 (호텔/레지던스 페이지) */
nav ul {
	display: flex;
	list-style: none;
	gap: 50px;
	margin: 0;
	padding: 0;
}

nav a {
	font-family: 'Poppins', sans-serif;
	font-size: 18px;
	font-weight: bold;
	color: #212121;
	text-decoration: none;
	transition: opacity 0.3s;
	opacity: 0.9;
}

	nav a:hover {
		opacity: 0.5;
		text-decoration: none;
	}

	nav a.active {
		opacity: 1;
		border-bottom: 2px solid;
		text-decoration: none;
	}

/* 언어 선택 */
.lang-selector {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 14px;
	color: #212121;
	cursor: pointer;
}

.language-selector select {
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: #212121;
	padding: 8px 30px 8px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	background-color: #fff;
	cursor: pointer;
	outline: none;
	transition: border-color 0.3s;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23212121' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
}

	.language-selector select:hover {
		border-color: #999;
	}

	.language-selector select:focus {
		border-color: #212121;
	}

/* ============================================
   MOBILE MENU (모바일 메뉴)
   ============================================ */

/* 메뉴 오버레이 */
.menu-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1998;
	opacity: 0;
	transition: opacity 0.3s ease;
}

	.menu-overlay.active {
		display: block;
		opacity: 1;
	}

/* 슬라이드 메뉴 */
.mobile-menu {
	position: fixed;
	top: 0;
	left: -100%;
	width: 80%;
	max-width: 320px;
	height: 100vh;
	background: #fff;
	z-index: 1999;
	transition: left 0.3s ease;
	overflow-y: auto;
	box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

	.mobile-menu.active {
		left: 0;
	}

/* 메뉴 헤더 */
.mobile-menu-header {
	padding: 20px;
	background: #2b2b2b;
	color: #fff;
	position: relative;
}

.menu-close-btn {
	position: absolute;
	top: 0px;
	right: 15px;
	background: none;
	border: none;
	color: #fff;
	font-size: 32px;
	cursor: pointer;
	padding: 5px;
	line-height: 1;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.3s;
}

	.menu-close-btn:hover {
		opacity: 0.7;
	}

.mobile-menu-header p {
	margin: 0 0 10px 0;
	font-size: 14px;
}

.login-btn {
	width: 100%;
	padding: 12px;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #fff;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	transition: background 0.3s;
}

	.login-btn:hover {
		background: rgba(255, 255, 255, 0.1);
	}

/* 메뉴 아이템 */
.mobile-menu-items {
	list-style: none;
	margin: 0;
	padding: 0;
}

	.mobile-menu-items li {
		border-bottom: 1px solid #f3f3f3;
	}

		.mobile-menu-items li:first-child {
			border-top: 1px solid #f3f3f3;
		}

	.mobile-menu-items a {
		display: block;
		padding: 18px 20px;
		color: rgba(33, 33, 33, 0.89);
		text-decoration: none;
		font-size: 15px;
		font-weight: 500;
		transition: all 0.2s;
	}

		.mobile-menu-items a:hover,
		.mobile-menu-items a.active {
			background: #f5f5f5;
			color: #111;
		}

/* ============================================
   COMMON FOOTER (공통 푸터)
   ============================================ */
footer {
	background-color: #fff;
	padding: 30px 0;
	text-align: center;
	border-top: 1px solid #e7e7e7;
	margin-top: 50px;
}

.footer-content {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 15px;
}

footer p {
	font-size: 13px;
	color: #3b3b3b;
	margin: 5px 0;
}

footer a {
	color: #3b3b3b;
	text-decoration: none;
	font-weight: bold;
}

footer strong {
	font-weight: bold;
}

/* ============================================
   COMMON LAYOUT (공통 레이아웃)
   ============================================ */
h3 {
	font-size: 36px;
	font-weight: 700;
	margin-bottom: 30px;
}

.container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 32px;
}

.spacer {
	height: 30px;
}

.divider {
	height: 1px;
	background-color: #e0e0e0;
	margin: 50px 0;
}

hr {
	border: none;
	border-top: 1px solid #e5e5e5;
	margin: 20px 0;
}

/* ============================================
   COMMON IMAGES (공통 이미지)
   ============================================ */
.hero-image {
	width: 100%;
	height: auto;
	display: block;
	margin-top: 90px; /* 데스크톱 헤더 높이만큼 여백 */
}

.tour-image {
	width: 100%;
	height: auto;
	display: block;
	margin: 20px 0;
}



.top-image {
	max-width: 1280px;
	width: 100%;
	height: auto;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: 90px;
	padding: 0 32px;
}

.top-video {
	max-width: 1280px;
	width: 100%;
	height: 720px;
	margin-top: 90px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
}

	.top-video iframe {
		width: 100%;
		height: 100%;
		display: block;
	}

/* ============================================
   COMMON SECTIONS (공통 섹션)
   ============================================ */
.section {
	padding: 30px 0;
}

.section-title {
	font-size: 36px;
	font-weight: bold;
	margin-bottom: 20px;
}

.section-subtitle {
	font-size: 20px;
	color: #888;
	margin-bottom: 10px;
	padding-left: 15px;
	border-left: 4px solid #363636;
}

	.section-subtitle .muted {
		color: #888;
	}

	.section-subtitle strong,
	.section-subtitle .highlight {
		color: #363636;
	}

	.section-subtitle .highlight-green {
		color: #00d255;
	}

.highlight {
	font-weight: 700;
	font-size: 20px;
}

/* ============================================
   COMMON TABLES (공통 테이블)
   ============================================ */
.data-table {
	width: 100%;
	border-collapse: collapse;
	margin: 15px 0;
}

	.data-table th,
	.data-table td {
		font-size: 15px;
		padding: 15px;
		border: 1px solid #e0e0e0;
		text-align: left;
	}

	.data-table th {
		background-color: #f3f3f3;
		font-weight: bold;
		font-size: 16px;
		text-align: center;
	}

	.data-table td.center {
		text-align: center;
	}

	.data-table td ul {
		list-style-type: circle;
		padding-left: 20px;
		margin: 0;
	}

		.data-table td ul li {
			margin: 5px 0;
		}

.table-wrapper {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

/* ============================================
   COMMON TYPOGRAPHY (공통 타이포그래피)
   ============================================ */
.note {
	font-size: 15px;
	color: #666;
	/*margin-top: 10px;*/
}

/* ============================================
   COMMON BUTTONS (공통 버튼)
   ============================================ */
.btn,
.btn-primary {
	display: inline-block;
	padding: 12px 30px;
	background-color: #00aeef;
	color: #fff;
	text-decoration: none;
	border-radius: 3px;
	font-weight: bold;
	transition: all 0.3s;
	border: 1px solid #00aeef;
	cursor: pointer;
	font-size: 14px;
}

	.btn:hover,
	.btn-primary:hover {
		background-color: #fff;
		color: #00aeef;
		border: 1px solid #00aeef;
	}

.btn-container {
	text-align: center;
	margin-top: 20px;
}

/* ============================================
   COMMON SCHEDULE HEADER (공통 스케줄 헤더)
   ============================================ */
.schedule-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	margin-bottom: 10px;
}

	.schedule-header .schedule-info {
		flex: 1;
	}

/* ============================================
   HOME PAGE (홈 페이지)
   ============================================ */
/* 히어로 섹션 */
.hero-section {
	position: relative;
	width: 100%;
	height: 700px;
	background-image: url('/image/Home_Header.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: end;
	justify-content: center;
	margin-bottom: 80px;
	margin-top: 90px;
}

	.hero-section::before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: rgba(0, 0, 0, 0.3);
	}

.hero-content {
	position: relative;
	z-index: 1;
	text-align: right;
	color: #fff;
	padding: 120px 160px;
	width: 100%;
}

	.hero-content h1 {
		font-family: 'Poppins', sans-serif;
		font-size: 92px;
		font-weight: bold;
		margin: 0 0 20px 0;
		line-height: 1.2;
		text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	}

	.hero-content p {
		font-family: 'Poppins', sans-serif;
		font-size: 44px;
		margin: 0;
		text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
	}

/* About 섹션 */
.about-section h3 {
	font-size: 38px;
	font-weight: bold;
	margin-bottom: 30px;
}

.about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	margin-bottom: 50px;
}

.about-image img {
	width: 100%;
	height: auto;
}

.about-content {
	font-size: 16px;
	line-height: 1.8;
}

	.about-content ul {
		list-style-type: circle;
		padding-left: 20px;
	}

/* 프로젝트 카드 */
.project-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	margin-bottom: 50px;
}

.project-card {
	text-align: center;
}

	.project-card img {
		width: 100%;
		height: auto;
		margin-bottom: 15px;
	}

	.project-card h4 {
		font-size: 16px;
		font-weight: bold;
		margin-bottom: 10px;
	}

	.project-card p {
		font-size: 16px;
		line-height: 1.6;
	}

/* 미디어 센터 */
.media-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-bottom: 50px;
}



/* 폼 스타일 */
.contact-section {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
}

.form-group {
	margin-bottom: 20px;
}

	.form-group label {
		display: block;
		margin-bottom: 8px;
		font-weight: 500;
	}

.form-control {
	width: 100%;
	padding: 0 10px;
	border: 1px solid #dadada;
	border-radius: 3px;
	font-size: 14px;
}

/* ============================================
   HOTEL/RESIDENCE PAGES (호텔/레지던스 페이지)
   ============================================ */
/* 3D 투어 이미지 */
.tour-images {
	display: grid;
	gap: 20px;
	margin: 30px 0;
}

	.tour-images img {
		width: 100%;
		height: auto;
		display: block;
	}

/* ============================================
   CALENDAR (캘린더 - 호텔 페이지용)
   ============================================ */
.calendar-container {
	margin: 30px 0;
	padding: 20px;
	background-color: #f9f9f9;
	border-radius: 5px;
}

.calendar-wrapper {
	margin: 30px 0;
	padding: 20px;
	background-color: #f9f9f9;
	border-radius: 5px;
}

.calendar-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	flex-wrap: wrap;
	gap: 10px;
}

	.calendar-header h3 {
		margin: 0;
		font-size: 24px;
		font-weight: bold;
	}

.calendar-nav {
	display: flex;
	gap: 10px;
}

	.calendar-nav button {
		padding: 8px 16px;
		background: #667eea;
		color: white;
		border: none;
		border-radius: 5px;
		cursor: pointer;
		font-size: 14px;
		transition: all 0.3s;
	}

		.calendar-nav button:hover {
			background: #5568d3;
		}

.calendar-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 5px;
	background: #f5f5f5;
	padding: 10px;
	border-radius: 10px;
}

.calendar-day-header {
	text-align: center;
	font-weight: bold;
	padding: 10px;
	background: #667eea;
	color: white;
	border-radius: 5px;
	font-size: 14px;
}

.calendar-day {
	min-height: 80px;
	max-width:120px;
	padding: 10px;
	background: white;
	border-radius: 5px;
	position: relative;
	cursor: pointer;
	transition: all 0.2s;
}

	.calendar-day:hover:not(.disabled) {
		background: #f0f0f0;
		transform: translateY(-2px);
		box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	}

	.calendar-day.disabled {
		opacity: 0.3;
		pointer-events: none;
	}

	.calendar-day.other-month {
		opacity: 0.3;
	}

	.calendar-day.today {
		background: #fff3cd;
		border: 2px solid #ffc107;
	}

		.calendar-day.today .calendar-day-number {
			color: #212121;
		}

	.calendar-day.event {
		background: #e3f2fd;
		border-left: 4px solid #2196F3;
	}

	.calendar-day.highlight {
		background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
		color: white;
	}

		.calendar-day.highlight .calendar-day-number {
			color: white;
			font-weight: bold;
		}

		.calendar-day.highlight .event-dot {
			background: white;
		}

		.calendar-day.highlight .event-preview {
			color: rgba(255,255,255,0.9);
		}

.calendar-day-number {
	font-size: 18px;
	font-weight: 500;
	margin-bottom: 5px;
}

/* 이벤트 인디케이터 (점 표시) */
.event-indicator {
	display: flex;
	gap: 3px;
	margin-top: 5px;
	justify-content: center;
}

.event-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #2196F3;
}

/* 간단한 미리보기 텍스트 (웹 전용) */
.event-preview {
	font-size: 11px;
	margin-top: 5px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: #666;
}

/* 모달 스타일 */
.event-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.5);
	z-index: 2000;
	animation: fadeIn 0.2s;
}

	.event-modal.active {
		display: flex;
		justify-content: center;
		align-items: center;
	}

.modal-content {
	background: white;
	border-radius: 10px;
	padding: 30px;
	max-width: 500px;
	width: 90%;
	max-height: 80vh;
	overflow-y: auto;
	position: relative;
	animation: slideUp 0.3s;
}

.modal-close {
	position: absolute;
	top: 15px;
	right: 15px;
	font-size: 28px;
	cursor: pointer;
	color: #999;
	background: none;
	border: none;
	padding: 0;
	width: 30px;
	height: 30px;
	line-height: 30px;
	transition: color 0.3s;
}

	.modal-close:hover {
		color: #333;
	}

.modal-date {
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 20px;
	color: #667eea;
}

.modal-event-text {
	font-size: 16px;
	line-height: 1.8;
	color: #333;
	white-space: pre-line;
}

	.modal-event-text.highlight-event {
		background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
		color: white;
		padding: 20px;
		border-radius: 10px;
	}

/* 범례 */
.calendar-legend {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-top: 20px;
	flex-wrap: wrap;
}

.legend-item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
}

.legend-color {
	width: 20px;
	height: 20px;
	border-radius: 3px;
}

.legend-today {
	background: #fff3cd;
	border: 2px solid #ffc107;
}

.legend-event {
	background: #e3f2fd;
	border-left: 4px solid #2196F3;
}

.legend-highlight {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* 애니메이션 */
@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes slideUp {
	from {
		transform: translateY(50px);
		opacity: 0;
	}

	to {
		transform: translateY(0);
		opacity: 1;
	}
}

@keyframes slideUpMobile {
	from {
		transform: translateY(100%);
	}

	to {
		transform: translateY(0);
	}
}

/* 중국어 폰트 설정 */
[lang="zh"] {
	font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
	letter-spacing: 0.5px;
}

	[lang="zh"] strong,
	[lang="zh"] b {
		font-weight: 500;
	}

	[lang="zh"] .calendar-event,
	[lang="zh"] .event-preview,
	[lang="zh"] .modal-event-text {
		font-weight: 400;
		letter-spacing: 0.5px;
	}

	[lang="zh"] .calendar-day.highlight .event-preview {
		font-weight: 500;
	}

/* ============================================
   RESPONSIVE (반응형)
   ============================================ */
@media (max-width: 768px) {
	/* 헤더 */
	.header-container {
		height: 60px;
		padding: 0 15px;
		position: relative;
		justify-content: center;
	}

	.logo {
		font-size: 28px;
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
	}

	/* 햄버거 버튼 표시 */
	.hamburger-btn {
		display: block;
		position: absolute;
		left: 15px;
	}

	/* 데스크톱 메뉴 숨김 */
	nav,
	.main-nav {
		display: none;
	}

	/* 언어 선택 숨김 (모바일) */
	.language-selector {
		display: none;
	}

	/* 레이아웃 */
	.container {
		padding: 0 15px;
	}

	/* 히어로 이미지 (호텔/레지던스 페이지) */
	.hero-image {
		margin-top: 60px;
	}

	/* 히어로 섹션 */
	.hero-section {
		height: 400px;
		margin-top: 60px;
	}

	.hero-content {
		padding: 50px 35px;
	}

		.hero-content h1 {
			font-size: 40px;
			margin-bottom: 12px;
		}

		.hero-content p {
			font-size: 20px;
		}

	/* 섹션 */
	.section-title {
		font-size: 36px;
	}

	.section-subtitle {
		font-size: 16px;
	}

	/* 그리드 */
	.about-grid,
	.project-grid,
	.media-grid,
	.contact-section {
		grid-template-columns: 1fr;
	}

	/* 테이블 */
	.data-table th,
	.data-table td {
		padding: 10px;
		font-size: 13px;
	}

	.data-table {
		font-size: 12px;
	}

	/* 스케줄 헤더 */
	.schedule-header {
		flex-direction: column;
		align-items: stretch;
	}

	/* 캘린더 모바일 최적화 */
	.calendar-header h3 {
		font-size: 18px;
		width: 100%;
		text-align: center;
	}

	.calendar-nav {
		width: 100%;
		justify-content: center;
	}

		.calendar-nav button {
			padding: 6px 12px;
			font-size: 12px;
		}

	.calendar-day {
		min-height: 60px;
		padding: 5px;
	}

	.calendar-day-number {
		font-size: 14px;
	}

	/* 모바일에서는 미리보기 숨김 */
	.event-preview {
		display: none;
	}

	.event-dot {
		width: 8px;
		height: 8px;
	}

	/* 모바일 모달 (Bottom Sheet 스타일) */
	.modal-content {
		width: 95%;
		padding: 20px;
		max-height: 70vh;
		bottom: 0;
		position: absolute;
		border-radius: 20px 20px 0 0;
		animation: slideUpMobile 0.3s;
	}

	.modal-date {
		font-size: 20px;
	}

	.modal-event-text {
		font-size: 14px;
	}

	.calendar-day-header {
		padding: 8px 5px;
		font-size: 12px;
	}

	.calendar-toolbar {
		flex-direction: column;
		gap: 15px;
		align-items: stretch;
	}

	.top-image {
		width: 100%;
		height: auto;
		display: block;
		padding: 0;
		margin-top: 60px;
	}

	.top-video {
		height: 320px;
		margin-top: 60px;
	}
}

@media (max-width: 480px) {
	.logo {
		font-size: 26px;
	}

	.mobile-menu {
		width: 85%;
	}

	.hero-section {
		height: 300px;
	}

	.hero-content {
		padding: 30px 35px;
	}

		.hero-content h1 {
			font-size: 28px;
			margin-bottom: 10px;
		}

		.hero-content p {
			font-size: 18px;
		}

	/* 캘린더 초소형 화면 */
	.calendar-day {
		min-height: 50px;
		padding: 3px;
	}

	.calendar-day-number {
		font-size: 12px;
	}

	.event-dot {
		width: 6px;
		height: 6px;
	}

	.top-image {
		width: 100%;
		height: auto;
		display: block;
		padding: 0;
		margin-top: 60px;
	}

	.top-video {
		height: 200px;
		margin-top: 60px;
	}
}

/* 데스크톱에서는 기존 언어 선택만 표시 */
.language-selector.desktop-only {
	display: block;
}

.language-selector.mobile-only {
	display: none;
}

/* 모바일에서는 모바일 언어 선택만 표시 */
@media (max-width: 768px) {
	.language-selector.desktop-only {
		display: none;
	}

	.language-selector.mobile-only {
		display: block;
		margin-left: auto;
	}

		.language-selector.mobile-only select {
			padding: 8px 10px;
			font-size: 14px;
			border: 1px solid #ddd;
			border-radius: 4px;
			background-color: white;
		}
}


/* 중국어 폰트만 변경 */
body.lang-cn,
body.lang-cn * {
	font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif !important;
	letter-spacing: 0.5px;
}

	body.lang-cn strong,
	body.lang-cn b {
		font-weight: 500 !important;
	}

	body.lang-cn h1,
	body.lang-cn h2,
	body.lang-cn h3 {
		font-weight: 500 !important;
	}

/* ========== Contract Page ========== */
.contract-page {
	padding-top: 120px;
}

.contract-section {
	padding: 60px 0;
}

.contract-container {
	max-width: 800px;
	margin: 0 auto;
	padding: 0 20px;
}

.contract-header {
	display: flex;
	align-items: baseline;
	gap: 15px;
	margin-bottom: 10px;
}

.contract-title {
	margin: 0;
	font-size: 32px;
	font-weight: bold;
}

.contract-required-notice {
	color: #c00;
	font-size: 14px;
}

.contract-desc {
	color: #666;
	font-size: 14px;
	margin-bottom: 40px;
}

.contract-form-group {
	display: flex;
	align-items: flex-start;
	margin-bottom: 30px;
}

.contract-label {
	width: 120px;
	font-size: 15px;
	padding-top: 10px;
}

.contract-required {
	color: #c00;
	margin-left: 2px;
}

.contract-input {
	width: 250px;
	border: 1px solid #ddd;
	padding: 12px 15px;
	font-size: 14px;
	outline: none;
}

.contract-textarea {
	flex: 1;
	border: 1px solid #ddd;
	padding: 12px 15px;
	font-size: 14px;
	outline: none;
	resize: none;
}

.contract-phone-inputs {
	display: flex;
	align-items: center;
	gap: 8px;
}

	.contract-phone-inputs .contract-input {
		width: 120px;
	}

	.contract-phone-inputs span {
		color: #999;
	}

.contract-form-footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 40px;
	gap: 20px;
}

.contract-agree-checkbox {
	display: flex;
	align-items: center;
	gap: 8px;
}

	.contract-agree-checkbox input[type="checkbox"] {
		width: 18px;
		height: 18px;
		cursor: pointer;
	}

	.contract-agree-checkbox label {
		font-size: 14px;
		cursor: pointer;
	}

.contract-btn-submit {
	background: #00aeef;
	color: #fff;
	border: none;
	padding: 18px 100px;
	font-size: 16px;
	letter-spacing: 8px;
	cursor: pointer;
}

	.contract-btn-submit:hover {
		background: #fff;
		color: #00aeef;
		border: 1px solid #00aeef;
	}

/* ========== Language Dropdown ========== */
.lang-dropdown {
	position: relative;
	display: inline-block;
}

.lang-selected {
	display: flex;
	align-items: center;
	gap: 8px;
	background: transparent;
	border: 1px solid #ddd;
	padding: 8px 6px;
	cursor: pointer;
	font-size: 14px;
	border-radius: 4px;
	color: inherit;
}

	.lang-selected:hover {
		background: rgba(0,0,0,0.05);
	}

.lang-flag {
	width: 20px;
	height: auto;
}
.lang-flag,
.lang-options li img {
	width: 20px;
	height: auto;
	border: 1px solid #ddd;
	border-radius: 2px;
}

.lang-arrow {
	font-size: 10px;
	margin-left: 4px;
}

.lang-options {
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
	list-style: none;
	margin: 4px 0 0 0;
	padding: 0;
	min-width: 180px;
	max-height: 300px;
	overflow-y: auto;
	z-index: 1000;
}

	.lang-options.active {
		display: block;
	}

	.lang-options li {
		display: flex;
		align-items: center;
		gap: 10px;
		padding: 10px 15px;
		cursor: pointer;
		font-size: 14px;
		color: #333;
	}

		.lang-options li:hover {
			background: #f5f5f5;
		}

		.lang-options li img {
			width: 20px;
			height: auto;
		}


.text-red {
	/*color: #e74c3c;*/
	color: #c00;
	font-weight: bold;
}

/* 3D Room Tour Grid */
.room-tour-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
	margin-top: 30px;
}

.room-tour-card {
	background: #f5f5f5;
	border-radius: 12px;
	overflow: hidden;
}

.room-tour-image {
	width: 100%;
	aspect-ratio: 16/10;
	overflow: hidden;
}

	.room-tour-image img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

.room-tour-info {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding: 15px 20px;
}

.room-tag {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 20px;
	padding: 8px 16px;
	font-size: 14px;
	color: #333;
}

.room-tour-button {
	padding: 0 20px 20px;
}

.btn-dark {
	display: inline-block;
	background: #00aeef;
	color: #fff;
	padding: 12px 24px;
	border-radius: 6px;
	text-decoration: none;
	font-size: 14px;
}

	.btn-dark:hover {
		background-color: #fff;
		color: #363636;
	}

/* 반응형 */
@media (max-width: 768px) {
	.room-tour-grid {
		grid-template-columns: 1fr;
	}
}

.location-buttons {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 15px;
}

.location-label {
	color: #666;
	font-size: 12px;
}

.btn-location {
	padding: 8px 40px;
	background-color: #fff;
	border: 1px solid #00aeef;
	color: #00aeef;
	font-size: 14px;
	font-weight: bold;
	cursor: pointer;
}

	.btn-location:hover {
		background-color: #00aeef;
		color: #fff;
	}

/* ============================================
   COUNTRY CLUB PAGE (컨트리클럽 페이지)
   ============================================ */
.countryclub-page {
	padding-bottom: 50px;
}


/* 컨트리클럽 테이블 라벨 스타일 */
.cc-label {
	width: 190px;
	min-width: 180px;
	background-color: #f3f3f3;
	font-weight: bold;
	vertical-align: middle;
}

/* 컨트리클럽 이미지 그리드 */
.cc-image-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-top: 20px;
}

	.cc-image-grid img {
		width: 100%;
		height: auto;
		display: block;
	}

/* section-subtitle 내 강조 텍스트 */
.countryclub-page .section-subtitle strong {
	color: #000;
}

/* 반응형 */
@media (max-width: 768px) {
	.countryclub-page .top-image {
		margin-top: 60px;
	}

	.cc-label {
		width: 120px;
		min-width: 120px;
		font-size: 13px;
	}

	.cc-image-grid {
		grid-template-columns: 1fr;
		gap: 15px;
	}
}

@media (max-width: 480px) {
	.cc-label {
		width: 100px;
		min-width: 100px;
		font-size: 12px;
	}
}


/* ============================================
   PURCHASE APPLICATION PAGE (분양신청서 페이지)
   ============================================ */
.purchase-main {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	padding: 60px 20px;
	padding-top: 150px;
}

	.purchase-main h1 {
		text-align: center;
		font-size: 42px;
		font-weight: 700;
		margin-bottom: 50px;
	}

.purchase-section-title {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
}

	.purchase-section-title::before {
		content: '';
		display: inline-block;
		width: 10px;
		height: 10px;
		border: 2px solid #212121;
		margin-right: 8px;
	}

.purchase-form-section {
	margin-bottom: 40px;
}

/* 신청자 정보 테이블 */
.purchase-info-table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid #444;
}

	.purchase-info-table th,
	.purchase-info-table td {
		border: 1px solid #888;
		padding: 8px 12px;
		vertical-align: middle;
	}

	.purchase-info-table th {
		background-color: #dcdcdc;
		font-weight: 700;
		text-align: center;
		font-size: 15px;
		white-space: nowrap;
	}

	.purchase-info-table td {
		height: 40px;
	}

	.purchase-info-table input[type="text"],
	.purchase-info-table input[type="tel"],
	.purchase-info-table input[type="email"],
	.purchase-info-table select {
		width: 100%;
		height: 100%;
		border: none;
		background: transparent;
		font-size: 15px;
		padding: 0 5px;
		outline: none;
		font-family: inherit;
	}

	.purchase-info-table input::placeholder {
		color: #bbb;
	}

.purchase-required {
	color: #ff0000;
	margin-right: 4px;
	font-weight: bold;
}

.purchase-messenger-checkboxes {
	display: flex;
	gap: 25px;
	align-items: center;
	flex-wrap: wrap;
}

	.purchase-messenger-checkboxes label {
		display: flex;
		align-items: center;
		gap: 6px;
		font-size: 15px;
		cursor: pointer;
	}

/* 상품 선택 테이블 */
.purchase-product-table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid #444;
}

	.purchase-product-table th,
	.purchase-product-table td {
		border: 1px solid #888;
		padding: 8px 12px;
		vertical-align: middle;
	}

	.purchase-product-table th {
		background-color: #dcdcdc;
		font-weight: 700;
		text-align: center;
		font-size: 15px;
	}

	.purchase-product-table td {
		text-align: center;
	}

		.purchase-product-table td:nth-last-child(3),
		.purchase-product-table td:nth-last-child(2) {
			text-align: right;
			padding-right: 20px;
		}

	.purchase-product-table input[type="number"] {
		text-align: center;
		border: none;
		width: 60px;
		background: transparent;
		font-size: 15px;
		outline: none;
	}

		.purchase-product-table input[type="number"]:focus {
			border-bottom: 1px solid #212121;
		}

.purchase-investment-notice {
	color: #ff0000;
	font-size: 14px;
	margin-top: 15px;
	line-height: 1.6;
	font-weight: 500;
}

/* 파일 업로드 */
.purchase-upload-area {
	display: flex;
	align-items: center;
	gap: 15px;
}

.purchase-upload-wrapper {
	position: relative;
	overflow: hidden;
	display: inline-block;
}

.purchase-btn-upload {
	border: 1px solid #000;
	background-color: #dcdcdc;
	padding: 10px 40px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
}

	.purchase-btn-upload:hover {
		background-color: #ccc;
	}

.purchase-upload-wrapper input[type=file] {
	position: absolute;
	left: 0;
	top: 0;
	opacity: 0;
	cursor: pointer;
	width: 100%;
	height: 100%;
}

.purchase-file-name {
	font-size: 14px;
	color: #666;
}

.purchase-disclaimer {
	margin-top: 40px;
	font-size: 15px;
	line-height: 1.6;
}

/* 동의 섹션 */
.purchase-consent-section {
	margin-top: 40px;
	padding: 20px;
	background-color: #f9f9f9;
	border: 1px solid #ddd;
	border-radius: 4px;
}

.purchase-consent-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px solid #eee;
}

	.purchase-consent-item:last-child {
		border-bottom: none;
	}

	.purchase-consent-item label {
		display: flex;
		align-items: center;
		gap: 10px;
		font-size: 15px;
		cursor: pointer;
		font-weight: 500;
	}

	.purchase-consent-item input[type="checkbox"] {
		width: 18px;
		height: 18px;
	}

.purchase-view-btn {
	background: none;
	border: 1px solid #aaa;
	padding: 5px 10px;
	font-size: 13px;
	cursor: pointer;
	border-radius: 3px;
}

	.purchase-view-btn:hover {
		background-color: #eee;
	}

/* 제출 버튼 */
.purchase-submit-section {
	margin-top: 50px;
	text-align: center;
}

.purchase-submit-btn {
	background-color: #212121;
	color: #fff;
	border: none;
	padding: 15px 60px;
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
}

	.purchase-submit-btn:hover:not(:disabled) {
		background-color: #424242;
	}

	/*.purchase-submit-btn:disabled {
		background-color: #ccc;
		cursor: not-allowed;
	}*/

.purchase-validation-warning {
	color: #ff0000;
	font-size: 14px;
	margin-top: 12px;
	display: none;
}

/* 분양신청서 모달 */
.purchase-modal-overlay {
	display: none;
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
}

	.purchase-modal-overlay.show {
		display: flex;
		align-items: center;
		justify-content: center;
	}

.purchase-modal-box {
	background-color: #fff;
	padding: 30px;
	width: 90%;
	max-width: 600px;
	max-height: 80vh;
	overflow-y: auto;
	position: relative;
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	/* 정가운데 정렬 */
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.purchase-modal-close {
	position: absolute;
	top: 15px;
	right: 20px;
	color: #aaa;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
	background: none;
	border: none;
}

	.purchase-modal-close:hover {
		color: #000;
	}

.purchase-modal-box h2 {
	font-size: 20px;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid #212121;
	padding-right: 30px;
}

.purchase-modal-body p {
	font-size: 14px;
	line-height: 1.6;
	margin-bottom: 15px;
	color: #444;
}

	.purchase-modal-body p strong {
		color: #000;
	}

.purchase-modal-body .warning {
	background-color: #fff5f5;
	padding: 10px;
	border-left: 3px solid #e53935;
	color: #c62828;
}

.purchase-modal-ok-btn {
	display: block;
	width: 100%;
	margin-top: 20px;
	padding: 10px;
	background-color: #212121;
	color: #fff;
	border: none;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
}

	.purchase-modal-ok-btn:hover {
		background-color: #424242;
	}

/* 분양신청서 반응형 */
@media (max-width: 768px) {
	.purchase-main {
		padding: 30px 15px;
		padding-top: 80px;
	}

		.purchase-main h1 {
			font-size: 28px;
			margin-bottom: 30px;
		}

	.purchase-info-table,
	.purchase-product-table {
		font-size: 13px;
	}

		.purchase-info-table th,
		.purchase-info-table td {
			padding: 6px 8px;
		}

	.purchase-form-section {
		overflow-x: auto;
	}

	.purchase-product-table {
		min-width: 600px;
	}

	.purchase-consent-item {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.purchase-view-btn {
		align-self: flex-end;
	}

	.purchase-upload-area {
		flex-direction: column;
		align-items: flex-start;
	}

	.purchase-modal-box {
		width: 95%;
	}
}

@media (max-width: 480px) {
	.purchase-main h1 {
		font-size: 24px;
	}

	.purchase-section-title {
		font-size: 16px;
	}

	.purchase-info-table th,
	.purchase-info-table td {
		font-size: 12px;
		padding: 5px;
	}

	.purchase-btn-upload {
		padding: 8px 20px;
		font-size: 14px;
	}
}

/* Tower/Courtyard 배경색 */
.purchase-tower-bg {
	background-color: #e3f2fd !important;
}

.purchase-courtyard-bg {
	background-color: #fff3e0 !important;
}