/* 全局重置与变量 */
:root {
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    --color-text-light: #f5f5f5;
    --color-text-dark: #222222;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    font-family: var(--font-sans);
    scroll-behavior: smooth; /* 平滑滚动 */
    background-color: #000;
}

/* 全屏区通用样式 */
.viewport-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--color-text-light);
    overflow: hidden;
}

/* 视频背景样式 */
.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保证视频完美填满整个屏幕且不变形 */
    z-index: 0; /* 放在最底层 */
}

/* 背景暗色遮罩层 */
.bg-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1; /* 放在视频上面，文字下面 */
}

/* 配合树冠视频的暗色透明遮罩 */
.dark-overlay { 
    /* 这里的 0.6 是透明度。如果视频太亮导致文字看不清，可以改成 0.7 或 0.8 */
    background: rgba(20, 30, 20, 0.6); 
}

.content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

/* Section 1: The Reveal */
/* Section 1: The Reveal */
.custom-logo {
    display: block;
    margin: 0 auto 15px auto;
    width: 60px;
    max-width: 100%; /* 新增：绝对不允许它超过屏幕宽度 */
    height: auto;
}

.main-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    letter-spacing: 4px;
    font-weight: 600;
    margin-bottom: 15px;
}

.subtitle {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.discover-link {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.discover-link:hover { color: #fff; }

.vertical-line {
    width: 1px;
    height: 30px;
    background-color: rgba(255,255,255,0.3);
}

/* Section 2: The Invitation */
.invitation-content {
    max-width: 700px;
}

.headline {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 30px;
}

.description {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    margin-bottom: 40px;
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.btn {
    padding: 14px 28px;
    font-size: 0.8rem;
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-white {
    background-color: #fff;
    color: #000;
    border: 1px solid #fff;
}
.btn-white:hover { background-color: transparent; color: #fff; }

.btn-outline {
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
}
.btn-outline:hover { border-color: #fff; }

.btn-black {
    background-color: #111;
    color: #fff;
    border: 1px solid #111;
}
.btn-black:hover { background-color: #333; }

.footer-info {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
}

.opening-date { margin-top: 10px; }

/* Slide-up Panel (Learn More) */
.slide-panel {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: 85vh; /* 最高占屏幕85% */
    background-color: #fff;
    z-index: 100;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.2);
}

.slide-panel.open {
    transform: translateY(0);
}

.panel-header {
    position: sticky;
    top: 0;
    text-align: right;
    padding: 20px;
    background-color: #fff;
    z-index: 101;
}

.close-btn {
    background: none;
    border: none;
    font-size: 30px;
    color: #999;
    cursor: pointer;
}
.close-btn:hover { color: #000; }

.panel-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 30px 80px 30px;
    color: var(--color-text-dark);
}

.panel-section { margin-bottom: 50px; }
.center-text { text-align: center; }

.panel-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 10px;
}
.panel-sub { color: #666; margin-bottom: 30px; }

/* 邮件表单 */
.email-form {
    display: flex;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
}
.email-form input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-right: none;
    outline: none;
    font-family: var(--font-sans);
}

/* 分割线 */
.divider {
    border: 0;
    height: 1px;
    background-color: #eee;
    margin: 40px 0;
}

/* 品牌故事区 */
.kicker {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.story-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.story-text {
    color: #555;
    line-height: 1.8;
}

.inline-link {
    color: #5b7c99; /* 柔和的蓝色 */
    text-decoration: underline;
}

.mb-30 { margin-bottom: 30px; }

/* 房间卡片网格 */
.rooms-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.room-card {
    border: 1px solid #eaeaea;
    padding: 25px;
    border-radius: 4px;
}

.room-card h4 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.room-meta {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 15px;
}

.room-card p:last-child {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

.btn-large {
    padding: 16px 40px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .button-group { flex-direction: column; }
    .rooms-grid { grid-template-columns: 1fr; }
    .email-form { flex-direction: column; }
    .email-form input { border-right: 1px solid #ddd; margin-bottom: 10px; }
}
