/* 全局样式 */
:root {
    --primary-color: #8d6e63; /* 暖棕色 */
    --secondary-color: #f5f5f5; /* 浅灰色背景 */
    --text-color: #333;
    --card-bg: #ffffff;
    --border-radius: 12px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    line-height: 1.7;
    background-color: var(--secondary-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 0 15px 15px 15px;
}

h2 {
    font-size: 1.5em;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    margin-top: 15px;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: 600;
}
h3 { font-size: 1.2em; margin-bottom: 15px; color: var(--primary-color); font-weight: 600; }

/* --- ★★★ 这里是修改的核心 ★★★ --- */
.page-header {
    background-image: url('../images/header-bg.jpg'); /* 恢复背景图片 */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    color: white;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7); /* 恢复文字阴影以保证清晰 */
    text-align: center;
    margin: 0 -15px 20px -15px;
    padding: 90px 15px 30px;
}

/* 恢复副标题的原始样式，去掉白色背景框 */
.page-header .subtitle {
    font-size: 1.1em;
    font-weight: 500;

    color: #666;          /* 灰黑色：可改成 #444/#555 更浅 */
    text-shadow: none;    /* 既然变深色，阴影建议去掉（可选） */

    margin-top: 90px;     /* 往下移动：调大=更往下 */
    margin-bottom: 20px;  /* 距离下方：调大=离下方更远 */

    padding: 0 10px;
}
/* --- ★★★ 修改结束 ★★★ --- */

.section-intro { text-align: center; color: #555; margin-bottom: 20px; font-size: 1em; }

#rooms { padding: 0; background: none; }
#rooms > h2 { margin-top: 0; }

.room-card {
    background-color: #fff;
    border: 1px solid #f0f0f0;
    border-radius: var(--border-radius);
    padding: 15px;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
    animation: fadeIn 0.5s;
}
.room-card h3 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.room-card img { width: 100%; border-radius: var(--border-radius); margin-bottom: 15px; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.room-specs, .price-table { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.room-specs { margin-bottom: 15px; }
.room-specs > div, .price-table > div { background-color: white; border: 1px solid #eee; padding: 12px 5px; border-radius: 8px; display: flex; flex-direction: column; justify-content: center; }
.room-specs span, .price-table span { display: block; font-size: 0.8em; color: #777; margin-bottom: 4px; }
.room-specs strong, .price-table strong { font-size: 1.2em; color: var(--primary-color); line-height: 1.2; }
.price-table { background: var(--secondary-color); padding: 10px; border-radius: var(--border-radius); margin-top: 0; margin-bottom: 15px; }
.price-table > div { background-color: white; }
.price-table strong { font-size: 1.4em; }

.bonus-service { background-color: #e8f5e9; color: #388e3c; padding: 10px 15px; border-radius: 8px; text-align: center; font-size: 0.95em; }
.note { text-align: center; color: #888; font-size: 0.9em; margin-top: 15px; }

.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gallery img { width: 100%; height: auto; border-radius: var(--border-radius); object-fit: cover; }

.service-card { background-color: var(--secondary-color); padding: 20px; border-radius: var(--border-radius); margin-top: 15px; }
.service-items-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 20px; }
.service-item { background-color: #fff; padding: 15px; border-radius: 8px; font-size: 1.05em; font-weight: 500; box-shadow: 0 2px 4px rgba(0,0,0,0.05); position: relative; padding-left: 35px; }
.service-item::before { content: '✅'; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); }
.service-images { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.service-images img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }

#advantages ul { list-style-type: none; padding-left: 0; }
#advantages li { background: var(--secondary-color); padding: 15px; margin-bottom: 10px; border-radius: 8px; font-size: 1.05em; }

#location {
    text-align: center;
}
#address-text {
    background-color: var(--secondary-color);
    padding: 15px;
    border-radius: var(--border-radius);
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 1.05em;
    line-height: 1.6;
    color: var(--text-color);
}
.copy-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.copy-btn svg {
    margin-right: 8px;
}
.copy-btn:hover {
    background-color: #795548;
}
.copy-btn:active {
    transform: scale(0.98);
}

footer {
    text-align: center;
    margin-top: 10px;
    padding: 30px 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
}
footer h3 { color: white; margin-bottom: 15px; }
.final-words { font-size: 1.2em; font-weight: 500; margin-bottom: 5px; }
.qr-code { max-width: 180px; border: 5px solid white; border-radius: 8px; }

@media (max-width: 600px) {
    body { background-color: #fff; }
    .container { padding: 0 10px 10px 10px; }
    .page-header { margin: 0 -10px 20px -10px; padding: 1px 10px; }
    .page-header .subtitle {
        font-size: 0.9em;
        margin-top: 120px;     /* 手机往下移动 */
        margin-bottom: 20px;  /* 手机与下方距离 */
        color: #666;
        text-shadow: none;
    }
    .service-items-grid { grid-template-columns: 1fr; }
}