/* ========================================
   方案1：清新水墨风 (Ink Wash Style)
   设计理念：留白、水墨、山水意境、清雅素净
   配色：白底灰字，水墨蓝点缀
======================================== */

:root {
    /* 水墨色彩系统 */
    --s1-primary: #3C4858;        /* 墨灰 - 主色 */
    --s1-accent: #5B8A72;         /* 竹青 - 点缀色 */
    --s1-highlight: #E8B87D;      /* 暖金 - 强调色 */
    --s1-info: #6B8DAD;           /* 水墨蓝 - 信息色 */
    --s1-bg: #FAFBFC;             /* 云白 - 背景 */
    --s1-bg-warm: #F7F5F0;        /* 宣纸色 */
    --s1-card: #FFFFFF;           /* 纯白 - 卡片 */
    --s1-border: #E9ECF0;         /* 边框色 */
    --s1-text: #2C3E50;           /* 深灰 - 正文 */
    --s1-text-secondary: #7F8C9A; /* 次要文字 */
    --s1-text-light: #A8B5C3;     /* 辅助文字 */
    
    /* 字体 */
    --s1-font-title: "Noto Serif SC", "Songti SC", serif;
    --s1-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    
    /* 圆角 */
    --s1-radius-sm: 8px;
    --s1-radius-md: 12px;
    --s1-radius-lg: 20px;
    
    /* 阴影 */
    --s1-shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --s1-shadow-md: 0 4px 12px rgba(0,0,0,0.06);
    --s1-shadow-lg: 0 8px 24px rgba(0,0,0,0.08);
}

/* ===== 基础样式 ===== */
body.layout-scheme-1 {
    background: var(--s1-bg);
    color: var(--s1-text);
    font-family: var(--s1-font-body);
}

/* 隐藏方案2元素 */
body.layout-scheme-1 .scheme2-header,
body.layout-scheme-1 .scheme2-search,
body.layout-scheme-1 .scheme2-content {
    display: none !important;
}

/* TabBar样式 */
body.layout-scheme-1 .tabbar {
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--s1-border);
    box-shadow: 0 -2px 12px rgba(0,0,0,0.04);
}

body.layout-scheme-1 .tabbar-item {
    color: var(--s1-text-secondary);
}

body.layout-scheme-1 .tabbar-item.active {
    color: var(--s1-accent);
}

body.layout-scheme-1 .tabbar-item.active i {
    color: var(--s1-accent);
}

/* ===== 顶部 Hero ===== */
.scheme1-hero {
    position: relative;
    background: linear-gradient(180deg, #F0F4F7 0%, var(--s1-bg) 100%);
    padding: 48px 24px 60px;
    text-align: center;
    overflow: hidden;
}

/* 水墨山水装饰 */
.scheme1-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200'%3E%3Cdefs%3E%3ClinearGradient id='m' x1='0%25' y1='0%25' x2='0%25' y2='100%25'%3E%3Cstop offset='0%25' style='stop-color:%233C4858;stop-opacity:0.06'/%3E%3Cstop offset='100%25' style='stop-color:%233C4858;stop-opacity:0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0,180 Q50,140 100,160 T200,150 T300,170 T400,150 L400,200 L0,200 Z' fill='url(%23m)'/%3E%3Cpath d='M0,190 Q80,160 160,180 T320,170 T400,180 L400,200 L0,200 Z' fill='%233C4858' fill-opacity='0.03'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: 100% auto;
    opacity: 0.8;
}

.scheme1-hero-content {
    position: relative;
    z-index: 2;
}

.scheme1-logo {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: var(--s1-card);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--s1-accent);
    box-shadow: var(--s1-shadow-md);
}

.scheme1-title {
    font-family: var(--s1-font-title);
    font-size: 26px;
    font-weight: 600;
    color: var(--s1-primary);
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.scheme1-subtitle {
    font-size: 14px;
    color: var(--s1-text-secondary);
    letter-spacing: 1px;
    margin-bottom: 28px;
}

.scheme1-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    background: var(--s1-card);
    border-radius: var(--s1-radius-lg);
    padding: 20px 32px;
    box-shadow: var(--s1-shadow-md);
    display: inline-flex;
}

.scheme1-stat {
    text-align: center;
    position: relative;
}

.scheme1-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 30px;
    background: var(--s1-border);
}

.scheme1-stat-num {
    display: block;
    font-family: var(--s1-font-title);
    font-size: 28px;
    font-weight: 700;
    color: var(--s1-accent);
}

.scheme1-stat-label {
    font-size: 12px;
    color: var(--s1-text-secondary);
    margin-top: 2px;
}

/* ===== 搜索框 ===== */
.scheme1-search {
    padding: 0 20px;
    margin-top: -28px;
    margin-bottom: 24px;
    position: relative;
    z-index: 10;
}

.scheme1-search-box {
    background: var(--s1-card);
    border-radius: 28px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--s1-shadow-lg);
    border: 1px solid var(--s1-border);
    cursor: pointer;
    transition: all 0.2s;
}

.scheme1-search-box:hover {
    border-color: var(--s1-accent);
    box-shadow: var(--s1-shadow-lg), 0 0 0 3px rgba(91,138,114,0.08);
}

.scheme1-search-box i {
    color: var(--s1-accent);
    font-size: 20px;
}

.scheme1-search-box input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 15px;
    color: var(--s1-text);
    outline: none;
    cursor: pointer;
}

.scheme1-search-box input::placeholder {
    color: var(--s1-text-light);
}

/* ===== 通用区块 ===== */
.scheme1-section {
    padding: 0 20px 24px;
}

.scheme1-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.scheme1-section-title {
    font-family: var(--s1-font-title);
    font-size: 18px;
    font-weight: 600;
    color: var(--s1-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.scheme1-section-title::before {
    content: '';
    width: 4px;
    height: 16px;
    background: linear-gradient(180deg, var(--s1-accent) 0%, var(--s1-info) 100%);
    border-radius: 2px;
}

.scheme1-more {
    font-size: 13px;
    color: var(--s1-text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.scheme1-more:hover {
    color: var(--s1-accent);
}

/* ===== 核心功能网格 ===== */
.scheme1-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.scheme1-func-card {
    background: var(--s1-card);
    border-radius: var(--s1-radius-md);
    padding: 20px 12px;
    text-align: center;
    text-decoration: none;
    box-shadow: var(--s1-shadow-sm);
    border: 1px solid var(--s1-border);
    transition: all 0.2s;
}

.scheme1-func-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--s1-shadow-md);
    border-color: transparent;
}

.scheme1-func-card:active {
    transform: scale(0.98);
}

.scheme1-func-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.scheme1-func-icon.icon-map {
    background: linear-gradient(135deg, #E8F4EC 0%, #D4EBE0 100%);
    color: var(--s1-accent);
}

.scheme1-func-icon.icon-relic {
    background: linear-gradient(135deg, #FEF3E6 0%, #FCE8D0 100%);
    color: var(--s1-highlight);
}

.scheme1-func-icon.icon-rev {
    background: linear-gradient(135deg, #FFE8E8 0%, #F8D4D4 100%);
    color: #D4695A;
}

.scheme1-func-icon.icon-tour {
    background: linear-gradient(135deg, #E6F0F8 0%, #D0E4F4 100%);
    color: var(--s1-info);
}

.scheme1-func-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--s1-text);
    margin-bottom: 3px;
}

.scheme1-func-desc {
    font-size: 11px;
    color: var(--s1-text-light);
}

/* ===== 互动体验横向滚动 ===== */
.scheme1-scroll-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
}

.scheme1-scroll-row::-webkit-scrollbar {
    display: none;
}

.scheme1-interact-card {
    flex-shrink: 0;
    width: 90px;
    background: var(--s1-card);
    border: 1px solid var(--s1-border);
    border-radius: var(--s1-radius-md);
    padding: 16px 12px;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
}

.scheme1-interact-card:hover {
    border-color: var(--s1-accent);
    background: linear-gradient(180deg, var(--s1-card) 0%, #F7FAF8 100%);
}

.scheme1-interact-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 10px;
    background: var(--s1-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--s1-primary);
}

.scheme1-interact-card span {
    font-size: 12px;
    color: var(--s1-text-secondary);
}

/* ===== 推荐文物横向滚动 ===== */
.scheme1-relic-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
}

.scheme1-relic-scroll::-webkit-scrollbar {
    display: none;
}

.scheme1-relic-card {
    flex-shrink: 0;
    width: 150px;
    background: var(--s1-card);
    border-radius: var(--s1-radius-md);
    overflow: hidden;
    text-decoration: none;
    box-shadow: var(--s1-shadow-sm);
    border: 1px solid var(--s1-border);
    transition: all 0.2s;
}

.scheme1-relic-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--s1-shadow-md);
}

.scheme1-relic-card img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.scheme1-relic-info {
    padding: 12px;
}

.scheme1-relic-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--s1-text);
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.scheme1-relic-info p {
    font-size: 11px;
    color: var(--s1-text-light);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 3px;
}

/* ===== 世界遗产卡片 ===== */
.scheme1-heritage-card {
    display: block;
    background: var(--s1-card);
    border-radius: var(--s1-radius-lg);
    overflow: hidden;
    text-decoration: none;
    box-shadow: var(--s1-shadow-md);
    border: 1px solid var(--s1-border);
    transition: all 0.3s;
}

.scheme1-heritage-card:hover {
    box-shadow: var(--s1-shadow-lg);
}

.scheme1-heritage-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.scheme1-heritage-info {
    padding: 16px 20px;
}

.scheme1-heritage-info h3 {
    font-family: var(--s1-font-title);
    font-size: 17px;
    font-weight: 600;
    color: var(--s1-text);
    margin: 0 0 8px;
}

.scheme1-heritage-info p {
    font-size: 13px;
    color: var(--s1-text-secondary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.scheme1-tag {
    display: inline-block;
    background: var(--s1-accent);
    color: #fff;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 6px;
}

/* ===== 快捷服务列表 ===== */
.scheme1-service-list {
    background: var(--s1-card);
    border-radius: var(--s1-radius-lg);
    overflow: hidden;
    box-shadow: var(--s1-shadow-sm);
    border: 1px solid var(--s1-border);
}

.scheme1-service-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--s1-border);
    cursor: pointer;
    transition: background 0.2s;
}

.scheme1-service-item:last-child {
    border-bottom: none;
}

.scheme1-service-item:hover {
    background: var(--s1-bg);
}

.scheme1-service-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #E8F4EC 0%, #D4EBE0 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--s1-accent);
    margin-right: 16px;
}

.scheme1-service-text {
    flex: 1;
}

.scheme1-service-text strong {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: var(--s1-text);
    margin-bottom: 2px;
}

.scheme1-service-text span {
    font-size: 12px;
    color: var(--s1-text-light);
}

.scheme1-service-item > i {
    color: var(--s1-text-light);
    font-size: 16px;
}

/* ===== 切换按钮样式 ===== */
body.layout-scheme-1 .layout-switcher-btn {
    position: fixed;
    z-index: 9999;
    bottom: 100px;
    right: 20px;
}

body.layout-scheme-1 .switch-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--s1-card);
    border: 2px solid var(--s1-accent);
    color: var(--s1-accent);
    box-shadow: var(--s1-shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

body.layout-scheme-1 .switch-btn:hover {
    background: var(--s1-accent);
    color: #fff;
    transform: scale(1.05);
}

body.layout-scheme-1 .switch-btn .scheme-indicator {
    font-size: 16px;
    font-weight: 700;
}

body.layout-scheme-1 .switch-btn i {
    font-size: 14px;
    margin-left: 2px;
}
