:root {
    --primary-green: #28a745;
    --light-green: #d4edda;
    --dark-green: #155724;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, #20c997 100%);
    min-height: 400px;
    display: flex;
    align-items: center;
}

.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(40, 167, 69, 0.1);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(40, 167, 69, 0.15);
}

.btn-success {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

.btn-outline-success {
    color: var(--primary-green);
    border-color: var(--primary-green);
}

.btn-outline-success:hover,
.btn-outline-success.active {
    background-color: var(--primary-green);
    color: white;
}

.text-success {
    color: var(--primary-green) !important;
}

.bg-success {
    background-color: var(--primary-green) !important;
}

.section-title {
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-green);
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .product-card {
        margin-bottom: 20px;
    }
}


/* 轮播图样式 */
.carousel-item {
    height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
}

.carousel-caption {
    bottom: 30%;
    z-index: 10;
}

.carousel-caption h1 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .carousel-item {
        height: 400px;
    }
    .carousel-caption h1 {
        font-size: 1.8rem;
    }
    .carousel-caption .btn {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }
}