/* =========================================
   1. Global Variables
   ========================================= */
:root {
	--bg-color: #fdfaf2; /* 象牙色 Ivory */
	--bg-light: #f5f0e6; /* 稍深一点的象牙色用于区块区分 */
	--text-color: #2c2c2c;
	--text-light: #555555;
	--accent-color: #c5a059;
	--footer-bg: #1a1a1a;

	--font-heading: "Oswald", sans-serif;
	--font-body: "Lato", sans-serif;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	background-color: var(--bg-color);
	/* 使用 CSS Radial Gradient 模拟类似你提供的图 4 中的圆弧暗纹 */
	background-image: radial-gradient(circle at 100% 150%, transparent 24%, rgba(197, 160, 89, 0.03) 25%, rgba(197, 160, 89, 0.03) 28%, transparent 29%),
		radial-gradient(circle at 0% 150%, transparent 24%, rgba(197, 160, 89, 0.03) 25%, rgba(197, 160, 89, 0.03) 28%, transparent 29%),
		radial-gradient(circle at 50% 100%, transparent 19%, rgba(197, 160, 89, 0.03) 20%, rgba(197, 160, 89, 0.03) 23%, transparent 24%),
		radial-gradient(circle at 100% 50%, transparent 19%, rgba(197, 160, 89, 0.03) 20%, rgba(197, 160, 89, 0.03) 23%, transparent 24%),
		radial-gradient(circle at 0% 50%, transparent 19%, rgba(197, 160, 89, 0.03) 20%, rgba(197, 160, 89, 0.03) 23%, transparent 24%);
	background-size: 80px 40px; /* 控制纹理密度 */
	
	color: var(--text-color);
	font-family: var(--font-body);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
	font-family: var(--font-heading);
	font-weight: 400;
	color: #000;
	text-transform: uppercase;
	letter-spacing: 3px;
}

a {
	text-decoration: none;
	color: inherit;
	transition: 0.3s ease;
}
.section-padding {
	padding: 7rem 10%;
}
.center-text {
	text-align: center;
	margin-bottom: 4rem;
}
.bg-light {
	background-color: var(--bg-light);
}

/* =========================================
   2. Navigation
   ========================================= */
nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.5rem 6%;
	position: fixed;
	width: 100%;
	z-index: 1000;
	top: 0;
	transition:
		background-color 0.3s ease,
		padding 0.3s ease;
}

nav.scrolled {
	background-color: rgba(26, 26, 26, 0.98);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
	padding: 1rem 6%;
}

.logo {
	font-size: 1.8rem;
	letter-spacing: 4px;
	color: #fff;
	font-family: var(--font-heading);
	font-weight: 500;
}

.nav-links {
	display: flex;
	align-items: center;
}

.nav-links a {
	margin-left: 2.5rem;
	font-size: 0.85rem;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #fff;
	opacity: 0.9;
	font-family: var(--font-body);
}

.nav-links a:hover {
	color: var(--accent-color);
	opacity: 1;
}

.btn-nav {
    padding: 0.6rem 1.5rem;
    background-color: #b22222 !important; 
    color: #fff !important;
    /* --- 修改这里 --- */
    border-radius: 50px; /* 从 2px 改为 50px 实现胶囊圆角 */
    /* ---------------- */
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn-nav:hover {
	background-color: #b08d4d;
}

/* Hamburger & Close Icons */
.hamburger {
	display: none;
	cursor: pointer;
	font-size: 1.5rem;
	color: #fff;
}

.close-menu {
	display: none;
}

/* =========================================
   3. Hero Section
   ========================================= */
.hero {
	height: 95vh;
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #fff;
}

.hero-slider {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -2;
}

.slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	opacity: 0;
	animation: slideShow 18s infinite;
}

.slide:nth-child(1) {
	animation-delay: 0s;
}
.slide:nth-child(2) {
	animation-delay: 6s;
}
.slide:nth-child(3) {
	animation-delay: 12s;
}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.4);
	z-index: -1;
}

.hero-content {
	position: relative;
	z-index: 1;
}

.hero h1 {
    /* 如果选方案 A：'Playfair Display', serif; */
    /* 如果选方案 B：'Montserrat', sans-serif; */
    font-family: 'Playfair Display', serif; 
    
    font-size: 5.5rem;      /* 稍微加粗放大 */
    font-weight: 700;
    line-height: 1.0;
    margin-bottom: 1.5rem;
    color: #fff;
    letter-spacing: 2px;    /* 衬线体不需要太宽的间距，2px 更有凝聚力 */
    text-transform: none;   /* 衬线体建议不要强制大写，保留首字母大写更有韵味 */
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3); /* 增加阴影确保在动态背景上清晰 */
}



.subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 4px;    /* 字母间距拉开，显高级 */
    text-transform: uppercase;
	margin-bottom: 3rem;
    opacity: 0.9;
}

.btn-primary {
    padding: 1.1rem 2.8rem;
    background-color: #b22222;
    border: 1px solid #8b0000;
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    font-family: var(--font-heading);
    font-weight: 500;
    /* --- 修改这里 --- */
    border-radius: 50px; /* 实现全圆角胶囊形状 */
    /* ---------------- */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary:hover {
	background-color: #8b0000;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* =========================================
   4. Animation
   ========================================= */
@keyframes slideShow {
	0% {
		opacity: 0;
		transform: scale(1);
	}
	5% {
		opacity: 1;
	}
	33% {
		opacity: 1;
		transform: scale(1.05);
	}
	38% {
		opacity: 0;
	}
	100% {
		opacity: 0;
		transform: scale(1);
	}
}

/* =========================================
   5. Content Styles
   ========================================= */
.split-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6rem;
	align-items: center;
}

.section-label {
	display: block;
	color: var(--accent-color);
	text-transform: uppercase;
	font-size: 0.75rem;
	letter-spacing: 3px;
	margin-bottom: 1.2rem;
	font-weight: 400;
	font-family: var(--font-heading);
}

.about-text h2,
.map-info h2 {
	font-size: 3rem;
	margin-bottom: 1.5rem;
}

.about-text p,
.map-info p {
	margin-bottom: 1.5rem;
	color: var(--text-light);
	font-size: 1.05rem;
}

.text-link {
	display: inline-block;
	margin-top: 1.5rem;
	border-bottom: 1px solid var(--accent-color);
	padding-bottom: 4px;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--text-color);
	font-weight: 600;
}

.about-image img {
	width: 100%;
	display: block;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Gallery */
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
}
.gallery-item {
	height: 320px;
	overflow: hidden;
}
.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s ease;
	filter: grayscale(15%);
}
.gallery-item:hover img {
	transform: scale(1.03);
	filter: grayscale(0%);
}

/* Map & Location */
.info-list {
	list-style: none;
	margin-top: 2rem;
	border-top: 1px solid #eee;
	padding-top: 2rem;
}
.info-list li {
	margin-bottom: 1rem;
	color: var(--text-light);
	font-size: 0.95rem;
	line-height: 1.8; /* Better readability for hours block */
}
.info-list strong {
	color: #000;
	min-width: 70px;
	display: inline-block;
	font-weight: 600;
}
.map-frame iframe {
	/* filter: grayscale(100%);  <-- 删除或注释掉这一行 */
	filter: none;                /* 显式设置为无滤镜 */
	transition: filter 0.4s;
}

.map-frame:hover iframe {
	filter: none;                /* 保持鼠标悬停时也是彩色 */
}

/* Footer (Tweaked for new data) */
footer {
	background-color: var(--footer-bg);
	color: #888;
	padding: 6rem 10% 3rem;
}
.footer-container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 4rem;
	margin-bottom: 4rem;
}
.footer-col h3 {
	font-size: 0.9rem;
	margin-bottom: 1.8rem;
	color: #fff;
	letter-spacing: 3px;
	text-transform: uppercase;
	font-family: var(--font-heading);
}
.footer-col p,
.footer-col a {
	font-size: 0.9rem;
	margin-bottom: 0.6rem;
	display: block;
	color: #999;
	transition: 0.3s;
}
.footer-col a:hover {
	color: #fff;
}
/* New style for grouping contact info */
.contact-details p {
	margin-bottom: 0.4rem;
}

.copyright {
	text-align: center;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* Scroll Top Button */
#scrollTopBtn {
	display: none;
	position: fixed;
	bottom: 30px;
	right: 30px;
	z-index: 99;
	border: none;
	outline: none;
	background-color: var(--accent-color);
	color: white;
	cursor: pointer;
	width: 50px;
	height: 50px;
	padding: 0;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 18px;
	transition: 0.3s;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

#scrollTopBtn:hover {
	background-color: #555;
	transform: translateY(-3px);
}

/* =========================================
   6. Mobile Responsiveness
   ========================================= */
@media (max-width: 768px) {
	.hamburger {
		display: block;
	}

	/* Fullscreen Mobile Menu */
	.nav-links {
		position: fixed;
		right: -100%;
		top: 0;
		height: 100vh;
		width: 100%;
		background-color: #1a1a1a;
		flex-direction: column;
		justify-content: center;
		transition: 0.4s ease;
		z-index: 1100;
	}

	.nav-links.active {
		right: 0;
	}

	.nav-links a {
		margin: 1.5rem 0;
		font-size: 1.5rem;
	}

	.close-menu {
		display: block;
		position: absolute;
		top: 30px;
		right: 30px;
		font-size: 2rem;
		color: #fff;
		cursor: pointer;
	}

	/* Adjust Layouts */
	.hero h1 {
		font-size: 3.5rem;
		letter-spacing: 3px;
	}
	.split-layout,
	.gallery-grid,
	.footer-container {
		grid-template-columns: 1fr;
		gap: 3.5rem;
	}
	.section-padding {
		padding: 5rem 1.5rem;
	}
	.gallery-item {
		height: 260px;
	}
}
/* =========================================
   7. Menu Page Specific Styles (Updated)
   ========================================= */

/* Page Header */
.page-header {
	height: 40vh;
	/* 增加深色遮罩，确保白色文字清晰可见 */
	background:
		linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
		url("./image/1.jpg");
	background-size: cover;
	background-position: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	margin-top: 0;
}

/* 强制标题为白色 */
.page-header h1 {
	font-size: 4rem;
	letter-spacing: 5px;
	margin-bottom: 0.5rem;
	color: #ffffff !important; /* 使用 !important 覆盖全局黑色设置 */
}

/* 强制副标题为白色 */
.page-header p {
	font-size: 1.2rem;
	font-weight: 300;
	letter-spacing: 2px;
	color: #ffffff !important;
}

/* Active Link State */
.active-link {
	color: var(--accent-color) !important;
	border-bottom: 2px solid var(--accent-color);
}

/* Menu Grid - 改为单列布局 (1 Column) */
.menu-grid {
	display: grid;
	grid-template-columns: 1fr; /* 这一行让图片一行只显示一张 */
	gap: 4rem; /* 增加图片之间的间距 */
	max-width: 850px; /* 限制最大宽度，让菜单看起来像一张A4纸，不会无限拉伸 */
	margin: 0 auto; /* 居中显示 */
}

.menu-card {
	text-align: center;
}

.menu-card h3 {
	margin-top: 1.5rem;
	font-size: 1.4rem;
	color: var(--text-color);
	letter-spacing: 1px;
	font-weight: 500;
	text-transform: uppercase;
}

/* Menu Image Container */
.lightbox-link {
	display: block;
	position: relative;
	overflow: hidden;
	border-radius: 2px;
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15); /* 增加阴影，让菜单看起来更立体 */
	transition: transform 0.3s ease;
	cursor: pointer;
}

.lightbox-link img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.5s ease;
}

.lightbox-link:hover {
	transform: translateY(-5px);
}

/* Hover Overlay */
.overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.4);
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	opacity: 0;
	transition: opacity 0.3s ease;
	font-family: var(--font-heading);
	text-transform: uppercase;
	letter-spacing: 2px;
}

.overlay i {
	font-size: 3rem;
	margin-bottom: 15px;
}

.lightbox-link:hover .overlay {
	opacity: 1;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
	.page-header h1 {
		font-size: 3rem;
	}
	.menu-grid {
		gap: 2rem;
		width: 100%; /* 手机上占满宽度 */
	}
}



@keyframes pulse-red {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.hero .btn-primary {
    animation: pulse-red 3s infinite ease-in-out;
}
