﻿/* ============================================
   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: #363636;
	color: #fff;
	text-decoration: none;
	border-radius: 3px;
	font-weight: bold;
	transition: all 0.3s;
	border: 1px solid #363636;
	cursor: pointer;
	font-size: 14px;
}

	.btn:hover,
	.btn-primary:hover {
		background-color: #fff;
		color: #363636;
	}

.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/main.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-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;
	padding-bottom: 15px;
	border-bottom: 1px solid #e0e0e0;
}

	.calendar-header h3 {
		font-size: 18px;
		font-weight: bold;
	}

.calendar-nav {
	display: flex;
	gap: 10px;
}

	.calendar-nav button {
		padding: 8px 15px;
		background-color: #fff;
		border: 1px solid #e0e0e0;
		border-radius: 3px;
		cursor: pointer;
		transition: all 0.3s;
	}

		.calendar-nav button:hover {
			background-color: #363636;
			color: #fff;
			border-color: #363636;
		}

.calendar-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 5px;
}

.calendar-day-header {
	padding: 10px;
	text-align: center;
	font-weight: bold;
	background-color: #f3f3f3;
	border-radius: 3px;
}

.calendar-day {
	min-height: 80px;
	padding: 8px;
	background-color: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 3px;
	transition: all 0.3s;
}

	.calendar-day:hover:not(.disabled) {
		background-color: #f9f9f9;
		box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	}

	.calendar-day.disabled {
		opacity: 0.3;
	}

	.calendar-day.today {
		background-color: #363636;
		color: #fff;
	}

		.calendar-day.today .calendar-day-number {
			color: #fff;
		}

	.calendar-day.event {
		background-color: #e8f5e9;
	}

.calendar-day-number {
	font-weight: bold;
	margin-bottom: 5px;
}

.calendar-event {
	font-size: 11px;
	padding: 3px 5px;
	background-color: #00d255;
	color: #fff;
	border-radius: 3px;
	margin-top: 5px;
}

.calendar-legend {
	display: flex;
	gap: 20px;
	margin-top: 20px;
	justify-content: center;
}

.legend-item {
	display: flex;
	align-items: center;
	gap: 8px;
}

.legend-color {
	width: 20px;
	height: 20px;
	border-radius: 3px;
}

.legend-today {
	background-color: #363636;
}

.legend-event {
	background-color: #e8f5e9;
	border: 1px solid #00d255;
}

/* ============================================
   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-day {
		min-height: 60px;
		padding: 5px;
	}

	.calendar-event {
		font-size: 10px;
	}

	.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;
		}

	.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;
		}
}