/* --- 基本重置與全域設定 --- */
:root {
    --primary-color: #34568B; /* 一种沉稳的蓝色 */
    --secondary-color: #B5651D; /* 一种温暖的金色/棕色，用于点缀 */
    --dark-color: #2c3e50; /* 深色背景/文字 */
    --light-color: #ecf0f1; /* 浅色背景 */
    --white-color: #ffffff;
    --font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    --transition-speed: 0.5s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.7;
    color: #555;
    background-color: var(--white-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    color: var(--dark-color);
    margin-bottom: 20px;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
}

p {
    margin-bottom: 15px;
}

.content-section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-color);
}

.bg-dark {
    background-color: var(--dark-color);
    color: var(--white-color);
}

.bg-dark h2, .bg-dark p {
    color: var(--white-color);
}

/* --- 导航栏 --- */
.header {
    background: rgba(255, 255, 255, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: background var(--transition-speed);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    padding: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color var(--transition-speed);
}

.nav-links a:hover {
    color: var(--secondary-color);
}

/* --- 欢迎区 (Hero) --- */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white-color);
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--white-color);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px auto;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all var(--transition-speed);
    margin: 5px;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.btn-primary:hover {
    background-color: #a05615;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white-color);
    border: 2px solid var(--white-color);
}

.btn-secondary:hover {
    background-color: var(--white-color);
    color: var(--dark-color);
}

/* --- 服务区 --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--white-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    text-align: center;
    padding: 30px;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 5px;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card span {
    display: block;
    margin-top: 20px;
    color: var(--secondary-color);
    font-weight: bold;
}

/* --- 画廊/环境区 --- */
.gallery-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform var(--transition-speed);
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

/* --- 联系我们 --- */
.contact-info {
    text-align: center;
    font-size: 1.1rem;
}

/* --- 页脚 --- */
.footer {
    background-color: #222;
    color: #aaa;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

.footer p {
    margin-bottom: 5px;
}

/* --- 滚动动画 --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}