/* 青梅站点 - 绿色主题 · 左图右文布局 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafdf8;
    overflow-x: hidden;
}

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

/* 顶部导航 */
.header {
    background: #2d5a27;
    color: #fff;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    flex-wrap: wrap;
    gap: 10px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    flex-shrink: 0;
}

.nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.nav a {
    color: #c8e6c9;
    text-decoration: none;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
    font-size: 14px;
}

.nav a:hover,
.nav a.active {
    color: #fff;
    border-bottom-color: #8bc34a;
}

.contact-btn {
    background: #8bc34a;
    color: #fff;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 13px;
    flex-shrink: 0;
}

/* 主内容区 - 左图右文 */
.main-content {
    padding: 60px 0;
    background: #fff;
}

.split-layout {
    display: flex;
    gap: 60px;
    align-items: center;
}

.split-image {
    flex: 1;
    min-width: 0;
}

.main-product-img {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #4a7c4a 0%, #2d5a27 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
}

.split-detail {
    flex: 1;
    min-width: 0;
}

.product-badge {
    display: inline-block;
    background: #e8f5e9;
    color: #2d5a27;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 15px;
}

.split-detail h1 {
    font-size: 42px;
    color: #2d5a27;
    margin-bottom: 10px;
    word-wrap: break-word;
}

.subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.product-features {
    background: #f5f9f5;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.feature-row {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.feature-row:last-child {
    border-bottom: none;
}

.feature-label {
    width: 80px;
    color: #2d5a27;
    font-weight: bold;
    flex-shrink: 0;
}

.feature-value {
    flex: 1;
    color: #666;
    min-width: 150px;
}

.product-desc {
    margin-bottom: 30px;
}

.product-desc p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.8;
}

.product-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    display: inline-block;
}

.btn-primary {
    background: #2d5a27;
    color: #fff;
}

.btn-primary:hover {
    background: #1e3d19;
}

.btn-secondary {
    background: #fff;
    color: #2d5a27;
    border: 2px solid #2d5a27;
}

.btn-secondary:hover {
    background: #f5f9f5;
}

/* 产品分类 */
.product-section {
    padding: 60px 0;
    background: #f5f9f5;
}

.product-section h2 {
    text-align: center;
    font-size: 32px;
    color: #2d5a27;
    margin-bottom: 40px;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-img {
    height: 180px;
    background: #4a7c4a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 20px;
    color: #2d5a27;
    margin-bottom: 10px;
}

.product-info p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.price {
    display: inline-block;
    background: #8bc34a;
    color: #fff;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 14px;
}

/* 功效说明 */
.effects-section {
    padding: 60px 0;
    background: #fff;
}

.effects-section h2 {
    text-align: center;
    font-size: 32px;
    color: #2d5a27;
    margin-bottom: 40px;
}

.effects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.effect-item {
    text-align: center;
    padding: 30px 20px;
    background: #f5f9f5;
    border-radius: 12px;
}

.effect-icon {
    width: 60px;
    height: 60px;
    background: #2d5a27;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 20px;
}

.effect-item h3 {
    font-size: 20px;
    color: #2d5a27;
    margin-bottom: 10px;
}

.effect-item p {
    color: #666;
    font-size: 14px;
}

/* 底部 */
.footer {
    background: #2d5a27;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-info {
    flex: 1;
    min-width: 200px;
}

.footer-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.footer-info p {
    color: #c8e6c9;
}

.footer-contact {
    min-width: 150px;
}

.footer-contact p {
    margin: 5px 0;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #4a7c4a;
    color: #c8e6c9;
}

/* 响应式 - 平板 */
@media (max-width: 992px) {
    .split-layout {
        flex-direction: column;
        gap: 40px;
    }
    
    .product-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .effects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 响应式 - 手机 */
@media (max-width: 768px) {
    .header-inner {
        height: auto;
        padding: 15px 0;
        justify-content: center;
    }
    
    .logo {
        width: 100%;
        text-align: center;
        font-size: 22px;
    }
    
    .nav {
        width: 100%;
        justify-content: center;
        gap: 15px;
    }
    
    .nav a {
        font-size: 13px;
        padding: 5px 10px;
    }
    
    .contact-btn {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
    
    .main-content {
        padding: 40px 0;
    }
    
    .main-product-img {
        height: 250px;
        font-size: 20px;
    }
    
    .split-detail h1 {
        font-size: 28px;
    }
    
    .subtitle {
        font-size: 16px;
    }
    
    .product-features {
        padding: 15px;
    }
    
    .product-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .effects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-section {
        padding: 40px 0;
    }
    
    .product-section h2 {
        font-size: 26px;
    }
    
    .effects-section h2 {
        font-size: 26px;
    }
    
    .effects-section {
        padding: 40px 0;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-info, .footer-contact {
        width: 100%;
        text-align: center;
    }
}

/* 响应式 - 小手机 */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .nav {
        gap: 10px;
    }
    
    .nav a {
        font-size: 12px;
        padding: 5px 8px;
    }
    
    .main-product-img {
        height: 200px;
        font-size: 16px;
    }
    
    .split-detail h1 {
        font-size: 24px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .effect-item {
        padding: 20px 15px;
    }
    
    .product-info h3 {
        font-size: 18px;
    }
}

/* 关于页面样式 */
.page-header {
    text-align: center;
    padding: 40px 0;
    border-bottom: 2px solid #e8f5e9;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 36px;
    color: #2d5a27;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 18px;
    color: #666;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-section {
    margin-bottom: 40px;
}

.about-section h2 {
    font-size: 24px;
    color: #2d5a27;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e8f5e9;
}

.about-section h3 {
    font-size: 20px;
    color: #2d5a27;
    margin-bottom: 15px;
}

.about-section p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-section ul {
    list-style: none;
    padding: 0;
}

.about-section ul li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
}

.about-section ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #8bc34a;
    font-weight: bold;
}

.contact-info {
    background: #f5f9f5;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.contact-info p {
    margin: 10px 0;
    font-size: 16px;
}

/* 产品页面样式 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-detail {
    padding: 20px;
}

.product-detail h2 {
    font-size: 22px;
    color: #2d5a27;
    margin-bottom: 10px;
}

.product-detail .product-desc {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.product-specs span {
    background: #e8f5e9;
    color: #2d5a27;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
}

.product-price {
    display: inline-block;
    background: #8bc34a;
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
}

.contact-section {
    background: #f5f9f5;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin-top: 40px;
}

.contact-section h2 {
    font-size: 28px;
    color: #2d5a27;
    margin-bottom: 20px;
}

.contact-section p {
    margin: 10px 0;
    font-size: 16px;
    color: #555;
}
