/* ============================================
   模板4: 自然生态风 (Nature Ecology)
   配色: 白绿 + 翠绿 + 苔绿 — 纯绿系，无蓝无橙无紫
   结构: 白色导航+绿色品牌 · 小圆点下标 · 最大圆角 · 最柔阴影 · 3列页脚
   差异点: 全模板最大 border-radius · 最柔和阴影 · 仅绿色调 · 无硬边
   ============================================ */

/* ===== 全局变量 ===== */
body.tmpl-nature {
    --bg-primary: #f0fdf4;
    --bg-secondary: #ecfdf5;
    --bg-card: #ffffff;
    --bg-card-hover: #dcfce7;
    --bg-input: #f0fdf4;
    --gradient-main: linear-gradient(135deg, #f0fdf4, #ecfdf5);
    --gradient-hero: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 50%, #bbf7d0 100%);
    --color-primary: #059669;
    --color-primary-light: #10b981;
    --color-primary-dark: #047857;
    --color-accent: #0d9488;
    --color-accent-light: #14b8a6;
    --color-cyan: #0d9488;
    --color-cyan-light: #14b8a6;
    --color-green: #059669;
    --color-green-light: #34d399;
    --color-green-dark: #047857;
    --color-teal: #0d9488;
    --text-primary: #1c1917;
    --text-secondary: #656d72;
    --text-white: #ffffff;
    --text-dark: #1c1917;
    --border-color: rgba(5, 150, 105, 0.1);
    --border-glow: rgba(5, 150, 105, 0.18);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(5, 150, 105, 0.06);
    --shadow-lg: 0 8px 30px rgba(5, 150, 105, 0.08);
    --shadow-glow: 0 0 20px rgba(5, 150, 105, 0.08);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font-sans: 'Noto Sans SC', 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body.tmpl-nature {
    background: #f0fdf4;
}

body.tmpl-nature p {
    color: #57534e;
}

body.tmpl-nature h1,
body.tmpl-nature h2,
body.tmpl-nature h3 {
    color: #064e3b;
}

/* ===== 导航 Nature ===== */
.navbar-nature {
    background: #ffffff;
    border-bottom: none;
    box-shadow: 0 2px 20px rgba(5, 150, 105, 0.06);
}

.navbar-nature .brand-nature-icon {
    font-size: 1.5rem;
    margin-right: 8px;
}

.navbar-nature .navbar-brand span {
    color: #047857;
    font-weight: 600;
}

.navbar-nature .navbar-menu a {
    color: #57534e;
    padding: 8px 16px;
    position: relative;
}

.navbar-nature .navbar-menu a:hover,
.navbar-nature .navbar-menu a.active {
    color: #059669;
    background: rgba(5, 150, 105, 0.06);
}

/* 小圆点下标 —— nature 特色 */
.navbar-nature .navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 6px;
    height: 6px;
    background: #059669;
    border-radius: 50%;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.navbar-nature .navbar-menu a:hover::after,
.navbar-nature .navbar-menu a.active::after {
    transform: translateX(-50%) scaleX(1);
    opacity: 1;
}

.navbar-nature .navbar-toggle span {
    background: #059669;
}

/* ===== Hero 区域 ===== */
body.tmpl-nature .hero {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 50%, #bbf7d0 100%);
}

body.tmpl-nature .hero::before {
    background:
        radial-gradient(circle at 20% 50%, rgba(5, 150, 105, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(13, 148, 136, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(5, 150, 105, 0.03) 0%, transparent 40%);
}

body.tmpl-nature .hero h1 {
    color: #064e3b;
}

body.tmpl-nature .hero-subtitle {
    color: #57534e;
}

/* 隐藏网格和粒子背景 */
body.tmpl-nature .hero-grid-bg {
    display: none !important;
}

body.tmpl-nature .hero-particles {
    display: none !important;
}

/* Hero 徽章 — 绿色 */
body.tmpl-nature .hero-badge {
    background: rgba(5, 150, 105, 0.08);
    border: 1px solid rgba(5, 150, 105, 0.15);
    color: #047857;
}

body.tmpl-nature .hero-badge::before {
    background: #059669;
}

/* ===== 按钮 ===== */
body.tmpl-nature .btn-primary {
    background: linear-gradient(135deg, #059669, #0d9488);
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.25);
    border: none;
    color: #ffffff;
}

body.tmpl-nature .btn-primary:hover {
    box-shadow: 0 6px 25px rgba(5, 150, 105, 0.4);
    transform: translateY(-2px);
}

body.tmpl-nature .btn-outline {
    color: #0d9488;
    border-color: #0d9488;
    background: transparent;
}

body.tmpl-nature .btn-outline:hover {
    background: rgba(13, 148, 136, 0.06);
    border-color: #059669;
    color: #059669;
}

/* ===== Section Header ===== */
body.tmpl-nature .section-header h2::after {
    background: linear-gradient(90deg, #059669, #0d9488, #059669);
}

/* ===== Service Cards ===== */
body.tmpl-nature .service-card {
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.06);
    border: 1px solid rgba(5, 150, 105, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
}

body.tmpl-nature .service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(5, 150, 105, 0.1);
    border-color: rgba(5, 150, 105, 0.12);
    background: #ffffff;
}

/* 绿色顶部装饰条 */
body.tmpl-nature .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #059669, #0d9488);
    border-radius: 20px 20px 0 0;
}

body.tmpl-nature .service-card .service-icon {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.12), rgba(13, 148, 136, 0.12));
    border-radius: 16px;
}

body.tmpl-nature .service-card h3 {
    color: #064e3b;
}

body.tmpl-nature .service-card p {
    color: #57534e;
}

/* ===== News Cards ===== */
body.tmpl-nature .news-card {
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.06);
    border: 1px solid rgba(5, 150, 105, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

body.tmpl-nature .news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(5, 150, 105, 0.1);
    border-color: rgba(5, 150, 105, 0.12);
}

body.tmpl-nature .news-card .news-image {
    border-radius: 20px 20px 0 0;
}

body.tmpl-nature .news-card .news-content h3 {
    color: #064e3b;
}

body.tmpl-nature .news-card .news-content p {
    color: #57534e;
}

body.tmpl-nature .news-card .news-meta {
    color: #a8a29e;
}

/* ===== Statistics ===== */
body.tmpl-nature .statistics {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.04), rgba(13, 148, 136, 0.04));
    border-top: 1px solid rgba(5, 150, 105, 0.08);
    border-bottom: 1px solid rgba(5, 150, 105, 0.08);
}

body.tmpl-nature .stat-item .stat-number {
    background: linear-gradient(135deg, #059669, #0d9488);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.tmpl-nature .stat-item .stat-suffix {
    background: linear-gradient(135deg, #059669, #0d9488);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.tmpl-nature .stat-item .stat-label {
    color: #57534e;
}

body.tmpl-nature .stat-item .stat-desc {
    color: #a8a29e;
}

/* ===== FAQ ===== */
body.tmpl-nature .faq-section {
    background: var(--bg-secondary, #ecfdf5);
}

body.tmpl-nature .faq-item {
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(5, 150, 105, 0.08);
    box-shadow: 0 2px 12px rgba(5, 150, 105, 0.04);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

body.tmpl-nature .faq-item:hover {
    border-color: rgba(5, 150, 105, 0.18);
}

body.tmpl-nature .faq-item[open] {
    border-color: rgba(5, 150, 105, 0.2);
    box-shadow: 0 4px 20px rgba(5, 150, 105, 0.08);
}

body.tmpl-nature .faq-question {
    color: #064e3b;
}

body.tmpl-nature .faq-question:hover {
    color: #059669;
}

body.tmpl-nature .faq-question .faq-icon {
    background: rgba(5, 150, 105, 0.08);
    color: #059669;
    border-radius: 50%;
}

body.tmpl-nature .faq-answer p {
    color: #57534e;
}

/* ===== 表单控件 ===== */
body.tmpl-nature .form-control {
    background: #f0fdf4;
    border: 1px solid rgba(5, 150, 105, 0.15);
    border-radius: 10px;
    color: #1c1917;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

body.tmpl-nature .form-control:focus {
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12);
    outline: none;
}

body.tmpl-nature .form-control::placeholder {
    color: rgba(5, 150, 105, 0.3);
}

body.tmpl-nature .form-control:hover {
    border-color: rgba(5, 150, 105, 0.25);
}

/* ===== 联系表单和信息卡片 ===== */
body.tmpl-nature .contact-form-wrapper,
body.tmpl-nature .contact-info-wrapper {
    background: #ffffff;
    border: 1px solid rgba(5, 150, 105, 0.08);
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.04);
}

body.tmpl-nature .contact-form-wrapper h3,
body.tmpl-nature .contact-info-wrapper h3 {
    color: #064e3b;
    margin-bottom: 24px;
}

body.tmpl-nature .contact-form-wrapper .form-group label {
    color: #064e3b;
}

body.tmpl-nature .contact-details li {
    border-bottom-color: rgba(5, 150, 105, 0.08);
}

body.tmpl-nature .contact-details li:last-child {
    border-bottom: none;
}

body.tmpl-nature .contact-details li .contact-icon {
    color: #059669;
}

body.tmpl-nature .contact-details li .contact-text {
    color: #57534e;
}

body.tmpl-nature .contact-details li .contact-label {
    color: #047857;
    font-weight: 600;
}

/* ===== 面包屑 ===== */
body.tmpl-nature .breadcrumb-wrapper {
    background: #ffffff;
    border-bottom: 1px solid rgba(5, 150, 105, 0.08);
    padding: 12px 0;
}

body.tmpl-nature .breadcrumb-item {
    color: #57534e;
}

body.tmpl-nature .breadcrumb-item a {
    color: #059669;
    text-decoration: none;
    transition: color 0.2s;
}

body.tmpl-nature .breadcrumb-item a:hover {
    color: #047857;
    text-decoration: underline;
}

body.tmpl-nature .breadcrumb-item + .breadcrumb-item::before {
    content: '/';
    margin-right: 8px;
    color: rgba(5, 150, 105, 0.2);
}

body.tmpl-nature .breadcrumb-item.active {
    color: #064e3b;
    font-weight: 500;
}

/* ===== 新闻分类标签 ===== */
body.tmpl-nature .news-categories li a {
    display: inline-block;
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #57534e;
    background: #ecfdf5;
    border: 1px solid rgba(5, 150, 105, 0.1);
    border-radius: 50px;
    transition: all 0.3s ease;
}

body.tmpl-nature .news-categories li a:hover,
body.tmpl-nature .news-categories li a.active {
    color: #ffffff;
    background: linear-gradient(135deg, #059669, #0d9488);
    border-color: transparent;
}

/* ===== 分页 ===== */
body.tmpl-nature .pagination li a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #57534e;
    background: #ecfdf5;
    border: 1px solid rgba(5, 150, 105, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

body.tmpl-nature .pagination li a:hover {
    color: #059669;
    border-color: rgba(5, 150, 105, 0.25);
    background: #dcfce7;
}

body.tmpl-nature .pagination li.active a {
    color: #ffffff;
    background: linear-gradient(135deg, #059669, #0d9488);
    border-color: transparent;
}

/* ===== Section 背景 ===== */
body.tmpl-nature .services-section {
    background: #ffffff;
}

body.tmpl-nature .about-section {
    background: #f0fdf4;
}

body.tmpl-nature .team-section {
    background: #ffffff;
}

body.tmpl-nature .contact-section {
    background: #f0fdf4;
}

body.tmpl-nature .faq-section {
    background: #ecfdf5;
}

body.tmpl-nature .news-section {
    background: #ffffff;
}

/* ===== 页脚 Nature ===== */
.footer-nature {
    background: #f0fdf4;
    padding: 50px 0 0;
    border-top: 1px solid rgba(5, 150, 105, 0.08);
}

.footer-nature .footer-grid-3col {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(5, 150, 105, 0.08);
}

.footer-nature .footer-col h4 {
    color: #047857;
    font-size: 0.95rem;
    margin-bottom: 14px;
    font-weight: 600;
}

.footer-nature .footer-col p {
    color: #656d72;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-nature .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nature .footer-col ul li {
    margin-bottom: 8px;
}

.footer-nature .footer-col ul li a {
    color: #656d72;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-nature .footer-col ul li a:hover {
    color: #059669;
}

.footer-nature .footer-contact li {
    color: #656d72;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.footer-nature .footer-contact .contact-label {
    color: #059669;
    font-weight: 500;
    min-width: 50px;
}

.footer-nature .footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(5, 150, 105, 0.15), transparent);
    margin: 30px 0 20px;
}

.footer-nature .footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-nature .footer-bottom p {
    color: #a8a29e;
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* ===== Back to Top ===== */
body.tmpl-nature .back-to-top {
    background: linear-gradient(135deg, #059669, #0d9488);
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.25);
}

body.tmpl-nature .back-to-top:hover {
    box-shadow: 0 6px 25px rgba(5, 150, 105, 0.4);
    transform: translateY(-2px);
}

/* ===== 全局分割线 ===== */
body.tmpl-nature .section-divider {
    background: linear-gradient(90deg, transparent, rgba(5, 150, 105, 0.15), transparent);
}

/* ===== 团队卡片 ===== */
body.tmpl-nature .team-card {
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(5, 150, 105, 0.06);
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.tmpl-nature .team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(5, 150, 105, 0.1);
}

body.tmpl-nature .team-card h3 {
    color: #064e3b;
}

body.tmpl-nature .team-card .team-role {
    color: #059669;
}

body.tmpl-nature .team-card .team-desc {
    color: #57534e;
}

body.tmpl-nature .team-card .team-avatar {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.1), rgba(13, 148, 136, 0.1));
    border-radius: 50%;
}

/* ===== 关于页面 ===== */
body.tmpl-nature .about-section .about-content h2 {
    color: #064e3b;
}

body.tmpl-nature .about-section .about-content p {
    color: #57534e;
}

body.tmpl-nature .entity-info {
    border-radius: 20px;
    border: 1px solid rgba(5, 150, 105, 0.08);
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.04);
}

body.tmpl-nature .entity-info dt {
    color: #064e3b;
    border-bottom-color: rgba(5, 150, 105, 0.08);
}

body.tmpl-nature .entity-info dd {
    color: #57534e;
    border-bottom-color: rgba(5, 150, 105, 0.08);
}

/* ===== 通用卡片阴影圆角 ===== */
body.tmpl-nature .service-card,
body.tmpl-nature .news-card {
    border-radius: 20px;
}

/* ===== 响应式微调 ===== */
@media (max-width: 991px) {
    .footer-nature .footer-grid-3col {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 767px) {
    .footer-nature .footer-grid-3col {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .navbar-nature .navbar-menu {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
}