/* 基础样式 */
body {
    font-family: 'Microsoft YaHei', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

/* 头部样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    width: 50px;
    height: 50px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ff6b81;
}

/* 页脚样式 */
footer {
    background-color: #f8f9fa;
    padding: 20px 0;
    text-align: center;
    margin-top: 50px;
}

.footer-content p {
    margin: 5px 0;
    color: #666;
}

.footer-content a {
    color: #666;
    text-decoration: none;
}


/* 其他样式与之前相同（英雄区域、房型展示等） */
/* 将原<style>标签内所有内容移至此文件 */

/* 英雄区域 */
.hero {
    background: linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.8)), url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #333;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    color: #555;
}

.btn {
    display: inline-block;
    background-color: #ff6b81;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #ff4757;
}

/* 基本信息部分 */
.basic-info {
    padding: 20px 0;
    background-color: #f9f9f9;
}

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

.section-title h2 {
    font-size: 36px;
    color: #333;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    text-align: center;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: #ff6b81;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    font-size: 20px;
    margin-bottom: 30px;
    color: #555;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-card {
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateY(-10px);
}

.info-card h3 {
    color: #ff6b81;
    margin-bottom: 15px;
    font-size: 22px;
}

/* 月子房介绍 */
.rooms {
    padding: 40px 0;
}

.room-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.room-tab {
    padding: 10px 25px;
    margin: 0 10px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    font-weight: bold;
    transition: all 0.3s;
}

.room-tab.active {
    border-bottom-color: #ff6b81;
    color: #ff6b81;
}

.room-content {
    display: none;
}

.room-content.active {
    display: block;
}

.room-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.room-images {
    position: relative;
}

.main-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.thumbnail-container {
    display: flex;
    margin-top: 15px;
    gap: 10px;
}

.thumbnail {
    width: 60px;
    height: 60px;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.thumbnail:hover {
    opacity: 1;
}

.vr-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0,0,0,0.7);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 14px;
}

.vr-btn i {
    margin-right: 5px;
}

.room-description h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #333;
}

.room-features {
    list-style: none;
    padding: 0;
}

.room-features li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.room-features li:before {
    content: '✓';
    color: #ff6b81;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* VR全景查看区 */
.vr-container {
    height: 500px;
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.vr-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(0,0,0,0.5);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 15px;
    }
    
    .hero {
        height: 400px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .room-details {
        grid-template-columns: 1fr;
    }
}