* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    background-color: #f7f5f0;
    color: #333;
    line-height: 1.6;
}

a {
    color: #2d5a3d;
    text-decoration: none;
}

a:hover {
    color: #3d7a52;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== 顶部栏 ===== */
.top-bar {
    background: #4EACAE;
    color: #fff;
    font-size: 13px;
    padding: 8px 0;
}

.top-bar-inner {
    overflow: hidden;
}

.top-phone {
    float: left;
    margin-right: 25px;
}

.top-links {
    float: right;
}

.top-links a, .top-links span {
    color: #ddd;
    margin-left: 12px;
    font-size: 13px;
}

.top-links a:hover {
    color: #e8c87a;
}

/* ===== 头部 ===== */
.site-header {
    background: #fff;
    padding: 18px 0;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.header-inner {
    overflow: hidden;
}

.logo-area {
    display: block;
    overflow: hidden;
    text-decoration: none;
}

.logo-icon {
    float: left;
    width:85px;
    height:85px;
    background: linear-gradient(135deg, #3d7a52, #2d5a3d);
    color: #fff;
    text-align: center;
    line-height: 56px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 50%;
    margin-right: 15px;
    overflow: hidden;
    position: relative;
}

.logo-icon-img {
    width: 85px;
    height: 85px;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.logo-text {
    float: left;
    padding-top: 4px;
}

.logo-text h1 {
    font-size: 24px;
    font-weight: normal;
    color: #2d5a3d;
    line-height: 1.3;
}

.logo-text p {
    font-size: 13px;
    color: #888;
}

.header-user {
    float: right;
    margin-top: 14px;
    font-size: 14px;
}

.header-user-info {
    display: inline-block;
    margin-right: 15px;
    color: #666;
}

.header-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #c9a227;
    vertical-align: middle;
    margin-right: 10px;
    object-fit: cover;
}

.header-avatar-default {
    display: inline-block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #3d7a52;
    color: #fff;
    text-align: center;
    line-height: 36px;
    font-size: 16px;
    font-weight: bold;
    vertical-align: middle;
    margin-right: 10px;
}

.header-user a {
    color: #2d5a3d;
    padding: 4px 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    margin-left: 5px;
}

.header-user a:hover {
    background: #3d7a52;
    color: #fff;
    border-color: #3d7a52;
}

/* ===== 导航 ===== */
.site-nav {
    background: #4EACAE;
    padding: 0;
}

.nav-list {
    list-style: none;
    overflow: hidden;
}

.nav-list li {
    float: left;
}

.nav-list a {
    display: block;
    color: #e8f0ea;
    padding: 14px 22px;
    font-size: 15px;
    text-decoration: none;
    transition: background 0.2s;
}

.nav-list a:hover,
.nav-list a.nav-home {
    background: #4EACAE;
    color: #fff;
}

.nav-list a.nav-highlight {
    background: #c9a227;
    color: #1a3d28;
    font-weight: bold;
}

.nav-list a.nav-highlight:hover {
    background: #e8c87a;
}

/* ===== 首页轮播 ===== */
.hero-banner {
    position: relative;
    height: 420px;
    overflow: hidden;
    background: #1a3d28;
}

.hero-slide {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: none;
    background: linear-gradient(rgba(26,61,40,0.55), rgba(26,61,40,0.55)),
                linear-gradient(135deg, #4a7c59 0%, #2d5a3d 60%, #3d7a52 100%);
    background-size: cover;
    background-position: center;
}

.hero-slide-first {
    display: block;
}

.hero-slide-plain {
    background: linear-gradient(rgba(26,61,40,0.45), rgba(26,61,40,0.45)),
                linear-gradient(135deg, #4a7c59 0%, #2d5a3d 70%, #1a3d28 100%);
}

.hero-slide-3 {
    background: linear-gradient(rgba(26,61,40,0.5), rgba(26,61,40,0.5)),
                linear-gradient(135deg, #3d7a52 0%, #2d5a3d 60%, #1a3d28 100%);
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    width: 80%;
}

.hero-overlay h2 {
    font-size: 38px;
    font-weight: normal;
    margin-bottom: 15px;
    letter-spacing: 4px;
}

.hero-overlay p {
    font-size: 16px;
    color: #e8f0ea;
    margin-bottom: 25px;
}

/* ===== 快捷入口 ===== */
.quick-nav {
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.quick-nav-grid {
    display: table;
    width: 100%;
    border-collapse: separate;
    border-spacing: 20px 0;
}

.quick-card {
    display: table-cell;
    background: #fff;
    text-align: center;
    padding: 30px 20px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-decoration: none;
    transition: transform 0.2s;
    width: 33.33%;
}

.quick-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(45,90,61,0.18);
}

.quick-icon {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background:#3d7a52;
    color: #fff;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 12px;
}

.quick-card h3 {
    color: #2d5a3d;
    font-size: 18px;
    margin-bottom: 6px;
}

.quick-card p {
    color: #999;
    font-size: 13px;
}

/* ===== 通用区块 ===== */
.section-pad {
    padding: 50px 0;
}

.bg-white {
    background: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 35px;
}

.section-title h2 {
    font-size: 28px;
    color: #2d5a3d;
    font-weight: normal;
    margin-bottom: 10px;
}

.section-title p {
    color: #888;
    font-size: 14px;
}

.section-more {
    text-align: center;
    margin-top: 30px;
}

/* ===== 关于我们预览 ===== */
.section-about {
    position: relative;
    overflow: visible;
}

.section-about .container {
    position: relative;
    z-index: 2;
}

.about-side-ad {
    position: absolute;
    width: 100px;
    top: 54%;
    transform: translateY(-50%);
    z-index: 1;
}

/* 广告贴在 1200px 内容区外侧，不压住视频和文字 */
.about-side-ad-left {
    left: calc(50% - 600px - 116px);
}

.about-side-ad-right {
    right: calc(50% - 600px - 116px);
}

.about-float-box {
    width: 100px;
    height: 260px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e5e5;
    background: #fff;
    position: relative;
}

.about-float-box:hover {
    box-shadow: 0 4px 14px rgba(45, 90, 61, 0.18);
}

.about-float-img {
    width: 100px;
    height: 260px;
    max-width: 100px;
    max-height: 260px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.about-float-placeholder {
    width: 100px;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 12px;
    letter-spacing: 2px;
    background: #f8f8f8;
    border: 1px dashed #ccc;
}

/* 屏幕不够宽时隐藏，避免遮挡正文 */
@media (max-width: 1479px) {
    .about-side-ad {
        display: none !important;
    }
}

.about-preview {
    display: flex;
    align-items: flex-start;
    overflow: hidden;
}

.about-img {
    flex: 0 0 42%;
    width: 42%;
    max-width: 42%;
    height: 260px;
    background: linear-gradient(135deg, #4a7c59, #3d7a52);
    border-radius: 4px;
    margin-right: 4%;
}

.about-img.about-video {
    position: relative;
    background: #000;
    overflow: hidden;
    padding: 0;
}

.about-img.about-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
}

.about-text {
    flex: 0 0 54%;
    width: 54%;
    max-width: 54%;
    padding-top: 10px;
    min-width: 0;
}

.about-text p, .about-para {
    color: #555;
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 15px;
    text-indent: 2em;
}

.about-links {
    margin-top: 20px;
}

.about-links .btn {
    margin-right: 10px;
}

/* ===== 服务图标行 ===== */
.service-icons {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 720px;
    margin: 0 auto 30px;
}

.service-icon-item {
    flex: 1;
    display: block;
    text-align: center;
    text-decoration: none;
    padding: 15px 5px;
    transition: transform 0.2s;
}

.service-icon-item:hover {
    transform: scale(1.05);
}

.service-icon-item span {
    display: block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    margin: 0 auto 10px;
    background: #3d7a52;
    color: #fff;
    border-radius: 50%;
    font-size: 22px;
    font-weight: bold;
}

.service-icon-item span.icon-wide {
    font-size: 16px;
    line-height: 60px;
}

.service-icon-item em {
    display: block;
    color: #555;
    font-size: 14px;
    font-style: normal;
}

/* ===== 首页服务卡片 ===== */
.service-grid-home {
    overflow: hidden;
    margin-top: 25px;
}

.service-card-home {
    float: left;
    width: 31.33%;
    margin-right: 3%;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.service-card-home:nth-child(3n) {
    margin-right: 0;
}

.service-card-cover {
    height: 140px;
    background: linear-gradient(135deg, #2d5a3d, #4a7c59);
}

.service-card-home:nth-child(2) .service-card-cover {
    background: linear-gradient(135deg, #4a7c59, #3d7a52);
}

.service-card-home:nth-child(3) .service-card-cover {
    background: linear-gradient(135deg, #3d7a52, #c9a227);
}

.service-card-body {
    padding: 18px 20px 22px;
}

.service-card-body h3 {
    color: #2d5a3d;
    font-size: 16px;
    margin-bottom: 8px;
}

.service-card-body p {
    color: #888;
    font-size: 13px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.service-card-body a {
    color: #3d7a52;
    font-size: 13px;
}

/* ===== 体验参观 ===== */
.visit-grid {
    overflow: hidden;
}

.visit-card {
    float: left;
    width: 23%;
    margin-right: 2.66%;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.visit-card:last-child {
    margin-right: 0;
}

.visit-img {
    height: 150px;
    background-size: cover;
    background-position: center;
}

.visit-img-1 { background: linear-gradient(135deg, #e8c87a, #c9a227); }
.visit-img-2 { background: linear-gradient(135deg, #4a90c4, #2d6a9f); }
.visit-img-3 { background: linear-gradient(135deg, #6aaf6a, #3d8b3d); }
.visit-img-4 { background: linear-gradient(135deg, #8b7355, #6b5344); }

.visit-card h3 {
    padding: 12px 15px 5px;
    color: #2d5a3d;
    font-size: 15px;
}

.visit-card p {
    padding: 0 15px 15px;
    color: #888;
    font-size: 12px;
    line-height: 1.6;
}

/* 体验参观详情页 */
.visit-detail-list {
    margin-bottom: 20px;
}

.visit-detail-item {
    overflow: hidden;
    margin-bottom: 40px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.visit-detail-item .visit-img {
    float: left;
    width: 40%;
    height: 220px;
}

.visit-detail-item.reverse .visit-img {
    float: right;
}

.visit-detail-text {
    float: left;
    width: 60%;
    padding: 30px;
}

.visit-detail-item.reverse .visit-detail-text {
    float: right;
}

.visit-detail-text h3 {
    color: #2d5a3d;
    font-size: 20px;
    margin-bottom: 15px;
}

.visit-detail-text p {
    color: #555;
    font-size: 14px;
    line-height: 1.9;
    text-indent: 2em;
}

/* ===== 新闻卡片 ===== */
.news-grid {
    overflow: hidden;
}

.news-card {
    float: left;
    width: 31.33%;
    margin-right: 3%;
    background: #fff;
    padding: 25px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    border-top: 3px solid #3d7a52;
}

.news-card:last-child {
    margin-right: 0;
}

.news-date {
    color: #aaa;
    font-size: 13px;
    margin-bottom: 8px;
}

.news-card h3 {
    font-size: 16px;
    margin: 10px 0;
    line-height: 1.5;
}

.news-card h3 a {
    color: #333;
}

.news-card h3 a:hover {
    color: #3d7a52;
}

.news-card p {
    color: #888;
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.news-more {
    color: #3d7a52;
    font-size: 13px;
}

/* ===== 内页横幅 ===== */
.page-banner {
    background: linear-gradient(135deg, #1a3d28 0%, #2d5a3d 50%, #4a7c59 100%);
    color: #fff;
    padding: 45px 0;
    text-align: center;
}

.page-banner h2 {
    font-size: 30px;
    font-weight: normal;
    margin-bottom: 8px;
    letter-spacing: 3px;
}

.page-banner p {
    color: #e8f0ea;
    font-size: 14px;
}

/* ===== 环境风采 ===== */
.env-grid {
    overflow: hidden;
    margin-bottom: 25px;
}

.env-item {
    float: left;
    width: 31.33%;
    margin-right: 3%;
    margin-bottom: 20px;
    text-align: center;
}

.env-item:nth-child(3n) {
    margin-right: 0;
}

.env-img {
    height: 180px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.env-img-1 { background: linear-gradient(135deg, #4a7c59, #2d5a3d); }
.env-img-2 { background: linear-gradient(135deg, #4a90c4, #2d6a9f); }
.env-img-3 { background: linear-gradient(135deg, #6aaf6a, #3d8b3d); }
.env-img-4 { background: linear-gradient(135deg, #e8c87a, #c9a227); }
.env-img-5 { background: linear-gradient(135deg, #4a7c59, #2d5a3d); }
.env-img-6 { background: linear-gradient(135deg, #8b7355, #6b5344); }

.env-item p {
    color: #555;
    font-size: 14px;
}

.env-desc {
    color: #555;
    font-size: 15px;
    line-height: 1.9;
    text-indent: 2em;
    background: #fff;
    padding: 25px;
    border-radius: 4px;
}

/* ===== 关于我们页 ===== */
.about-tabs {
    text-align: center;
    margin-bottom: 25px;
}

.about-tab {
    display: inline-block;
    padding: 10px 25px;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #555;
    background: #fff;
    font-size: 14px;
}

.about-tab:hover, .about-tab.active {
    background: #3d7a52;
    color: #fff;
    border-color: #3d7a52;
}

.about-block {
    margin-bottom: 25px;
}

.culture-quote {
    text-align: center;
    padding: 25px;
    background: #f5f9f6;
    border-left: 4px solid #3d7a52;
    margin-bottom: 20px;
}

.culture-quote p {
    font-size: 20px;
    color: #2d5a3d;
    font-style: italic;
}

.honor-grid {
    overflow: hidden;
}

.honor-card {
    float: left;
    width: 31.33%;
    margin-right: 3%;
    text-align: center;
    padding: 24px 15px 30px;
    background: #f5f9f6;
    border-radius: 4px;
    border-top: 3px solid #c9a227;
}

.honor-card-media {
    height: 120px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.honor-card-img {
    max-width: 100%;
    max-height: 120px;
    display: block;
    border-radius: 4px;
}

.honor-card:last-child {
    margin-right: 0;
}

.honor-icon {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background: #3d7a52;
    color: #fff;
    border-radius: 50%;
    font-size: 22px;
    margin-bottom: 12px;
}

.honor-card h4 {
    color: #2d5a3d;
    margin-bottom: 8px;
}

.honor-card p {
    color: #888;
    font-size: 13px;
}

/* ===== 首页荣誉墙滚动 ===== */
.honor-wall-wrap {
    overflow: hidden;
    position: relative;
    padding: 10px 0 20px;
}

.honor-wall-wrap::before,
.honor-wall-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
}

.honor-wall-wrap::before {
    left: 0;
    background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
}

.honor-wall-wrap::after {
    right: 0;
    background: linear-gradient(to left, #fff, rgba(255, 255, 255, 0));
}

.honor-wall-track {
    display: flex;
    width: max-content;
    animation: honorWallScroll 35s linear infinite;
}

.honor-wall-wrap:hover .honor-wall-track {
    animation-play-state: paused;
}

@keyframes honorWallScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.honor-wall-item {
    flex: 0 0 240px;
    width: 240px;
    margin-right: 20px;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-top: 3px solid #c9a227;
}

.honor-wall-img {
    height: 160px;
    background: #f5f9f6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.honor-wall-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.honor-wall-icon {
    display: inline-block;
    width: 56px;
    height: 56px;
    line-height: 56px;
    background: #3d7a52;
    color: #fff;
    border-radius: 50%;
    font-size: 24px;
    text-align: center;
}

.honor-wall-info {
    padding: 14px 16px 18px;
    text-align: center;
}

.honor-wall-info h4 {
    color: #2d5a3d;
    font-size: 15px;
    margin-bottom: 6px;
}

.honor-wall-info p {
    color: #888;
    font-size: 12px;
    line-height: 1.6;
}

/* ===== 联系我们 ===== */
.contact-grid {
    overflow: hidden;
}

.contact-card {
    float: left;
    width: 23%;
    margin-right: 2.66%;
    background: #fff;
    text-align: center;
    padding: 30px 15px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    border-top: 3px solid #3d7a52;
}

.contact-card:last-child {
    margin-right: 0;
}

.contact-icon {
    display: block;
    font-size: 30px;
    margin-bottom: 10px;
}

.contact-card h3 {
    color: #2d5a3d;
    font-size: 15px;
    margin-bottom: 8px;
}

.contact-card p {
    color: #888;
    font-size: 13px;
}

.contact-num {
    font-size: 18px !important;
    color: #3d7a52 !important;
    font-weight: bold;
}

/* ===== 页脚 ===== */
.site-footer {
    background: #4EACAE;
    color:#fff;
    padding: 40px 0 0;
    margin-top: 0;
}

.footer-grid {
    overflow: hidden;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col {
    float: left;
    width: 22%;
    margin-right: 3%;
}

.footer-col:nth-child(4) {
    margin-right: 0;
}

.footer-qrcode-col {
    width: 28%;
}

.footer-qrcode-grid {
    overflow: hidden;
}

.footer-qrcode-item {
    float: left;
    width: 33.33%;
    text-align: center;
    padding: 0 4px;
    box-sizing: border-box;
}

.footer-qrcode-box {
    width: 82px;
    height: 82px;
    margin: 0 auto 8px;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    padding: 4px;
    box-sizing: border-box;
}

.footer-qrcode-img {
    width: 74px;
    height: 74px;
    max-width: 74px;
    max-height: 74px;
    object-fit: contain;
    display: block;
}

.footer-qrcode-item p {
    font-size: 12px;
    color: #ccc;
    line-height: 1.4;
    margin: 0;
}

.footer-col:last-child {
    margin-right: 0;
}

.footer-col h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: normal;
}

.footer-col a {
    display: block;
    color: #fff;
    font-size: 13px;
    margin-bottom: 8px;
}

.footer-col a:hover {
    color: #fff;
}

.footer-col p {
    font-size: 13px;
    margin-bottom: 6px;
    color: #fff;
}

.footer-copy {
    text-align: center;
    padding: 18px;
    font-size: 12px;
    color: #fff;
}

/* ===== 通用内容区 ===== */
.page-body {
    min-height: 400px;
}

.main-content {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
    min-height: 400px;
}

.page-box {
    background: #fff;
    padding: 25px;
    border-radius: 4px;
    border: 1px solid #eee;
    margin-bottom: 20px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.04);
}

.page-box h2 {
    font-size: 20px;
    color: #2d5a3d;
    border-bottom: 2px solid #c9a227;
    padding-bottom: 10px;
    margin-bottom: 18px;
}

/* ===== 按钮 ===== */
.btn {
    display: inline-block;
    padding: 9px 22px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    font-family: inherit;
    text-decoration: none;
    color: #fff;
}

.btn-green { background: #4a7c59; }
.btn-green:hover { background: #3d6b4a; color: #fff; }
.btn-gold { background: #c9a227; color: #1a3d28; }
.btn-gold:hover { background: #e8c87a; color: #1a3d28; }
.btn-red { background: #8b0000; }
.btn-red:hover { background: #6d0000; }
.btn-gray { background: #757575; color: #fff; }
.btn-gray:hover { background: #616161; }
.btn-outline {
    background: transparent;
    border: 1px solid #3d7a52;
    color: #2d5a3d;
}
.btn-outline:hover {
    background: #3d7a52;
    color: #fff;
}

.btn-group { margin-top: 15px; }
.btn-group .btn { margin-right: 10px; }

/* ===== 表单 ===== */
.form-group { margin-bottom: 15px; }
.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-size: 14px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
    font-family: inherit;
}
.form-group textarea { min-height: 80px; resize: vertical; }
.form-row { overflow: hidden; }
.form-row .form-group { float: left; width: 48%; margin-right: 4%; }
.form-row .form-group:last-child { margin-right: 0; }

.search-bar {
    overflow: hidden;
    margin-bottom: 15px;
    padding: 15px;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 3px;
}
.search-bar select,
.search-bar input[type="text"] {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin-right: 10px;
}
.search-bar input[type="text"] { width: 260px; }

/* ===== 列表卡片 ===== */
.item-card {
    background: #fff;
    border: 1px solid #eee;
    border-left: 4px solid #3d7a52;
    border-radius: 4px;
    padding: 18px;
    margin-bottom: 15px;
}
.item-card h3 { font-size: 16px; margin-bottom: 8px; color: #2d5a3d; }
.item-meta { color: #999; font-size: 13px; margin-bottom: 8px; }
.item-desc { color: #555; font-size: 14px; margin-bottom: 10px; line-height: 1.7; }
.item-actions { margin-top: 10px; }
.item-actions .btn { margin-right: 8px; }

.tag-cat {
    display: inline-block;
    background: #3d7a52;
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    margin-right: 8px;
}
.tag-on { display: inline-block; background: #4a7c59; color: #fff; padding: 2px 8px; border-radius: 3px; font-size: 12px; margin-right: 8px; }
.tag-off { display: inline-block; background: #999; color: #fff; padding: 2px 8px; border-radius: 3px; font-size: 12px; margin-right: 8px; }
.tag-pending { display: inline-block; background: #c9a227; color: #1a3d28; padding: 2px 8px; border-radius: 3px; font-size: 12px; margin-right: 8px; }
.tag-confirmed { display: inline-block; background: #4a7c59; color: #fff; padding: 2px 8px; border-radius: 3px; font-size: 12px; margin-right: 8px; }
.tag-cancelled { display: inline-block; background: #8b0000; color: #fff; padding: 2px 8px; border-radius: 3px; font-size: 12px; margin-right: 8px; }

.item-list { list-style: none; }
.item-list li { padding: 12px 0; border-bottom: 1px solid #eee; }
.item-list li:last-child { border-bottom: none; }

.service-grid { overflow: hidden; }
.service-card {
    float: left; width: 31%; margin-right: 3.5%; margin-bottom: 20px;
    background: #fff; border: 1px solid #eee; border-radius: 4px; padding: 20px; text-align: center;
}
.service-card:nth-child(3n) { margin-right: 0; }
.service-card h3 { color: #2d5a3d; margin-bottom: 10px; font-size: 16px; }
.service-card p { color: #888; font-size: 13px; margin-bottom: 12px; }

.success-msg { color: #2e7d32; margin-bottom: 10px; display: block; }
.error-msg { color: #8b0000; margin-bottom: 10px; display: block; }

/* ===== 登录注册 ===== */
.auth-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a3d28 0%, #4a7c59 100%);
    padding-top: 60px;
}
.auth-header { text-align: center; margin-bottom: 25px; }
.auth-header .logo-icon {
    width: 64px; height: 64px; line-height: 64px; font-size: 14px;
    margin: 0 auto 10px; border-radius: 50%;
    background: #2d5a3d; color: #fff;
}
.auth-header h2 { font-size: 22px; color: #e8c87a; font-weight: normal; }
.auth-box {
    width: 420px; margin: 0 auto; background: #fff;
    padding: 30px; border-radius: 4px; border-top: 4px solid #c9a227;
}
.auth-links { text-align: center; margin-top: 15px; font-size: 14px; }
.role-options { overflow: hidden; }
.role-options label { float: left; margin-right: 20px; cursor: pointer; font-size: 14px; }
.role-options input { width: auto; margin-right: 4px; }

/* ===== 后台用户卡片 ===== */
.user-card {
    background: #fff; border: 1px solid #eee; border-radius: 4px;
    padding: 15px; margin-bottom: 12px; overflow: hidden;
}
.user-card .user-name { float: left; font-size: 16px; font-weight: bold; }
.user-card .user-actions { float: right; }
.user-card .user-info { clear: both; padding-top: 10px; color: #888; font-size: 13px; }

.avatar-preview {
    width: 80px; height: 80px; border-radius: 50%;
    border: 2px solid #c9a227; object-fit: cover; margin-bottom: 10px;
}
.avatar-default {
    width: 80px; height: 80px; border-radius: 50%;
    background: #3d7a52; color: #fff; text-align: center;
    line-height: 80px; font-size: 24px; margin-bottom: 10px;
}

.detail-img {
    max-width: 100%; max-height: 350px;
    border: 1px solid #eee; border-radius: 4px; margin-bottom: 15px;
}
.detail-content { font-size: 15px; line-height: 1.9; color: #444; white-space: pre-wrap; word-break: break-word; }

.modal {
    display: none; position: fixed; top: 50%; left: 50%;
    width: 480px; margin-left: -240px; margin-top: -120px;
    background: #fff; padding: 25px; border-radius: 4px;
    border: 1px solid #ccc; box-shadow: 0 4px 20px rgba(0,0,0,0.3); z-index: 1000;
}
.modal h3 { margin-bottom: 15px; font-size: 16px; color: #2d5a3d; }
.modal-btns { text-align: right; margin-top: 15px; }
.modal-btns .btn { margin-left: 8px; }

.about-section { margin-bottom: 20px; }
.about-section h3 { color: #3d7a52; margin-bottom: 10px; font-size: 16px; }
.about-section p { color: #555; font-size: 14px; line-height: 1.8; }

.contact-info p { margin-bottom: 10px; font-size: 14px; }
.contact-info strong { color: #2d5a3d; }

.status-on { color: #2e7d32; }
.status-off { color: #8b0000; }

/* 旧版兼容 - 后台母版页 */
.banner-box {
    background: linear-gradient(135deg, #2d5a3d 0%, #4a7c59 100%);
    color: #fff; padding: 40px 30px; border-radius: 4px;
    margin-bottom: 20px; text-align: center;
}
.banner-box h2 { font-size: 26px; font-weight: normal; margin-bottom: 10px; color: #fff; }
.banner-box p { font-size: 15px; color: #e8f0ea; }

.stats-row { overflow: hidden; margin-bottom: 20px; }
.stat-box {
    float: left; width: 23%; margin-right: 2.66%;
    background: #fff; padding: 20px; text-align: center;
    border-radius: 4px; border: 1px solid #eee; border-top: 3px solid #4a7c59;
}
.stat-box:last-child { margin-right: 0; }
.stat-num { font-size: 28px; font-weight: bold; color: #2d5a3d; }
.stat-label { color: #888; font-size: 13px; margin-top: 5px; }

/* ===== 管理后台首页 ===== */
.admin-menu-grid {
    overflow: hidden;
    margin-top: 10px;
}
.admin-menu-item {
    float: left;
    width: 31.33%;
    margin-right: 3%;
    margin-bottom: 18px;
    background: #f5f9f6;
    border: 1px solid #e8f0ea;
    border-top: 3px solid #4a7c59;
    border-radius: 4px;
    padding: 18px 15px;
    text-decoration: none;
    color: #333;
    min-height: 120px;
}
.admin-menu-item:nth-child(3n) {
    margin-right: 0;
}
.admin-menu-item span {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background: #3d7a52;
    color: #fff;
    border-radius: 50%;
    font-weight: bold;
    margin-bottom: 8px;
}
.admin-menu-item em {
    display: block;
    font-style: normal;
    font-size: 16px;
    color: #2d5a3d;
    margin-bottom: 6px;
}
.admin-menu-item p {
    color: #888;
    font-size: 12px;
    line-height: 1.6;
    margin: 0;
}
.admin-menu-item:hover {
    background: #fff;
    box-shadow: 0 2px 10px rgba(45,90,61,0.12);
}

/* ===== 管理后台左右布局 ===== */
.admin-body {
    background: #eef1ed;
    min-height: 100vh;
}

.admin-topbar {
    background: #1a3d28;
    color: #fff;
    height: 56px;
    line-height: 56px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.admin-topbar-inner {
    max-width: 100%;
    padding: 0 20px;
    overflow: hidden;
}

.admin-topbar-logo {
    float: left;
}

.admin-topbar-logo .logo-icon {
    float: left;
    width: 36px;
    height: 36px;
    line-height: 36px;
    margin-top: 10px;
    margin-right: 12px;
    font-size: 14px;
}

.admin-topbar-title {
    font-size: 16px;
    color: #e8f0ea;
}

.admin-topbar-user {
    float: right;
    font-size: 13px;
}

.admin-topbar-user span {
    margin-right: 15px;
    color: #ccc;
}

.admin-topbar-user a {
    color: #e8c87a;
    margin-left: 12px;
    text-decoration: none;
}

.admin-topbar-user a:hover {
    color: #fff;
}

.admin-layout {
    padding-top: 56px;
    min-height: 100vh;
}

.admin-sidebar {
    position: fixed;
    top: 56px;
    left: 0;
    bottom: 0;
    width: 220px;
    background: #2d5a3d;
    overflow-y: auto;
    box-shadow: 2px 0 8px rgba(0,0,0,0.08);
}

.admin-sidebar-head {
    padding: 18px 20px 10px;
    color: #8b7355;
    font-size: 12px;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.admin-menu {
    list-style: none;
    padding: 8px 0 20px;
    margin: 0;
}

.admin-menu li {
    margin: 0;
}

.admin-menu-link {
    display: block;
    padding: 13px 22px;
    color: #d8e8dc;
    text-decoration: none;
    font-size: 14px;
    border-left: 3px solid transparent;
    transition: background 0.2s;
}

.admin-menu-link:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.admin-menu-link.active {
    background: #4a7c59;
    color: #fff;
    border-left-color: #c9a227;
    font-weight: bold;
}

.admin-main {
    margin-left: 220px;
    padding: 20px 24px 30px;
    min-height: calc(100vh - 56px);
}

.admin-page-title {
    font-size: 20px;
    color: #2d5a3d;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #c9a227;
}

.admin-main .page-box {
    margin-bottom: 0;
}

.admin-main .main-content {
    max-width: none;
    margin: 0;
    padding: 0;
}

/* ===== 管理后台数据表格 ===== */
.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 14px;
}

.admin-table th {
    background: #f5f9f6;
    color: #2d5a3d;
    padding: 12px 10px;
    text-align: left;
    border-bottom: 2px solid #4a7c59;
    font-weight: bold;
    white-space: nowrap;
}

.admin-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
    color: #444;
}

.admin-table tbody tr:hover td {
    background: #fafcf9;
}

.admin-table .col-id {
    width: 50px;
    text-align: center;
    color: #999;
}

.admin-table .col-summary {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-table-actions {
    white-space: nowrap;
}

.admin-table-actions .btn {
    padding: 5px 10px;
    font-size: 12px;
    margin: 2px 3px 2px 0;
}

.admin-table-empty {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
}

.admin-toolbar {
    overflow: hidden;
    margin-bottom: 15px;
}

.admin-toolbar .btn-group {
    float: left;
    margin-top: 0;
}

.admin-toolbar .search-bar {
    float: right;
    margin-bottom: 0;
    padding: 8px 12px;
}

/* ===== 后台悬浮窗开关 ===== */
.float-switch-panel {
    background: linear-gradient(135deg, #f0f7f2 0%, #e8f2ea 100%);
    border: 2px solid #3d7a52;
    border-left: 6px solid #c9a227;
    border-radius: 8px;
    padding: 22px 26px;
    margin-bottom: 22px;
}

.float-switch-panel-title {
    font-size: 18px;
    font-weight: bold;
    color: #2d5a3d;
    margin-bottom: 16px;
}

.float-switch-option {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    padding: 14px 18px;
    background: #fff;
    border-radius: 6px;
    border: 2px solid #3d7a52;
    margin-bottom: 12px;
}

.float-switch-option input[type="checkbox"] {
    width: 24px;
    height: 24px;
    cursor: pointer;
    accent-color: #3d7a52;
}

.float-switch-text {
    font-size: 16px;
    font-weight: bold;
    color: #2d5a3d;
}

.float-switch-hint {
    color: #666;
    font-size: 13px;
    line-height: 1.7;
    margin: 0 0 12px;
}

.float-status-badge {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.float-status-on {
    background: #3d7a52;
    color: #fff;
}

.float-status-off {
    background: #eee;
    color: #888;
    border: 1px solid #ccc;
}

.logo-setting-panel {
    background: #fff;
    border: 2px solid #3d7a52;
    border-left: 6px solid #c9a227;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 20px;
}

.logo-setting-title {
    font-size: 18px;
    font-weight: bold;
    color: #2d5a3d;
    margin-bottom: 8px;
}

.logo-setting-hint {
    color: #666;
    font-size: 13px;
    margin-bottom: 16px;
    line-height: 1.6;
}
