/* hw-style.css - 户外场景展示页面样式 */

/* 统一色调变量 */
:root {
    --primary-gold: #d4af37;
    --secondary-gold: #f8e9d9;
    --dark-text: #4a3c2d;
    --light-text: #7f6a58;
    --white: #ffffff;
    --overlay: rgba(0, 0, 0, 0.4);
    --card-bg: rgba(255, 255, 255, 0.9);
}

/* 重置默认样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基础布局 */
html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Noto Serif SC', 'Microsoft YaHei', serif;
    background: url('https://xz.1314by.cn/jx/bj.jpg') fixed center/cover;
    color: var(--dark-text);
    position: relative;
}

body:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(248, 233, 217, 0.2) 100%);
    z-index: -1;
}

/* 主内容容器 */
.main-group {
    flex: 1;
    padding: 30px 20px 100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

/* 卡片样式 */
.scene-card {
    width: 100%;
    max-width: 280px;
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.scene-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.scene-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 20px;
}

.card-title {
    font-size: 1.4rem;
    color: var(--dark-text);
    margin-bottom: 10px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.card-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-gold);
}

.card-desc {
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    color: var(--dark-text);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.card-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* 页面标题 */
.page-header {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.page-title {
    font-size: 2.2rem;
    color: var(--dark-text);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-subtitle {
    color: var(--light-text);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* 底部导航 */
.footer-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    z-index: 100;
}

.footer-nav table {
    width: 100%;
}

/* 返回首页按钮 */
.home-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    color: var(--dark-text);
    text-decoration: none;
    border-radius: 30px;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
    font-weight: 500;
}

.home-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.home-btn i {
    margin-right: 8px;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .main-group {
        padding: 20px 15px 90px;
        gap: 20px;
    }
    
    .scene-card {
        max-width: 100%;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .footer-nav {
        padding: 12px 15px;
    }
    
    .home-btn {
        width: 100%;
        max-width: 300px;
        padding: 10px 20px;
        font-size: 15px;
    }
}

/* 平板优化 */
@media (min-width: 769px) and (max-width: 1024px) {
    .main-group {
        padding: 30px 25px 100px;
    }
    
    .scene-card {
        max-width: 280px;
    }
}