/* 河南宛艾纪健康产业发展有限公司 - 网站样式 */

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

a:hover {
    color: #c9a227;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部 */
.header {
    background: linear-gradient(135deg, #2d5016 0%, #4a7c23 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-top {
    background: rgba(0,0,0,0.2);
    padding: 8px 0;
    font-size: 12px;
    color: #fff;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top span {
    margin-right: 20px;
}

.header-top i {
    margin-right: 5px;
    color: #c9a227;
}

.header-main {
    padding: 15px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #c9a227 0%, #e8d179 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 24px;
    color: #2d5016;
    font-weight: bold;
}

.logo-text h1 {
    font-size: 24px;
    color: #fff;
    font-weight: 600;
    letter-spacing: 2px;
}

.logo-text p {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    margin-top: 3px;
}

.nav {
    display: flex;
}

.nav li {
    margin-left: 35px;
}

.nav li a {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #c9a227;
    transition: width 0.3s ease;
}

.nav li a:hover::after,
.nav li.active a::after {
    width: 100%;
}

.nav li.active a {
    color: #c9a227;
}

/* Banner */
.banner {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(45,80,22,0.8) 0%, rgba(45,80,22,0.3) 100%);
    display: flex;
    align-items: center;
}

.banner-content {
    color: #fff;
    max-width: 600px;
}

.banner-content h2 {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.2;
}

.banner-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-primary {
    display: inline-block;
    padding: 12px 35px;
    background: linear-gradient(135deg, #c9a227 0%, #e8d179 100%);
    color: #2d5016;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(201,162,39,0.3);
    color: #2d5016;
}

/* 板块标题 */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h3 {
    font-size: 32px;
    color: #2d5016;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #c9a227 0%, #e8d179 100%);
}

.section-title p {
    color: #666;
    font-size: 14px;
    margin-top: 20px;
}

/* 首页产品 */
.products-section {
    padding: 80px 0;
    background: #fff;
}

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

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.product-img {
    height: 250px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-info {
    padding: 25px;
}

.product-info h4 {
    font-size: 18px;
    color: #2d5016;
    margin-bottom: 10px;
}

.product-info p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 关于我们 */
.about-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #fff 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-img {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.about-img img {
    width: 100%;
    height: auto;
}

.about-text h4 {
    font-size: 24px;
    color: #2d5016;
    margin-bottom: 20px;
}

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

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
}

.feature-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #c9a227 0%, #e8d179 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #2d5016;
    font-size: 20px;
    font-weight: bold;
}

.feature-item span {
    font-size: 15px;
    color: #333;
    font-weight: 500;
}

/* 新闻 */
.news-section {
    padding: 80px 0;
    background: #fff;
}

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

.news-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.news-img {
    height: 200px;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-img img {
    transform: scale(1.1);
}

.news-info {
    padding: 25px;
}

.news-date {
    display: inline-block;
    padding: 5px 15px;
    background: linear-gradient(135deg, #c9a227 0%, #e8d179 100%);
    color: #2d5016;
    font-size: 12px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.news-info h4 {
    font-size: 16px;
    color: #2d5016;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-info p {
    color: #666;
    font-size: 13px;
    line-height: 1.6;
}

/* 案例 */
.cases-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #fff 100%);
}

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

.case-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.case-card:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.case-img {
    height: 100%;
    min-height: 250px;
}

.case-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-info h4 {
    font-size: 18px;
    color: #2d5016;
    margin-bottom: 15px;
}

.case-info p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.case-tag {
    display: inline-block;
    padding: 5px 15px;
    background: #f0f0f0;
    color: #666;
    font-size: 12px;
    border-radius: 20px;
    align-self: flex-start;
}

/* 联系我们 */
.contact-section {
    padding: 80px 0;
    background: #fff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h4 {
    font-size: 24px;
    color: #2d5016;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    margin-bottom: 25px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #c9a227 0%, #e8d179 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: #2d5016;
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
}

.contact-item div h5 {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.contact-item div p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.contact-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.contact-map iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* 页脚 */
.footer {
    background: linear-gradient(135deg, #1a3009 0%, #2d5016 100%);
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #c9a227;
}

.footer-about p {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    font-size: 14px;
}

.footer-links h5 {
    font-size: 16px;
    margin-bottom: 20px;
    color: #c9a227;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

.footer-links ul li a:hover {
    color: #c9a227;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 13px;
}

/* 内页标题 */
.page-banner {
    background: linear-gradient(135deg, #2d5016 0%, #4a7c23 100%);
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.page-banner h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 15px;
}

.page-banner p {
    opacity: 0.8;
}

/* 面包屑 */
.breadcrumb {
    background: #f5f5f5;
    padding: 15px 0;
    font-size: 13px;
    color: #666;
}

.breadcrumb a {
    color: #2d5016;
}

.breadcrumb span {
    margin: 0 10px;
    color: #999;
}

/* 内容页 */
.content-section {
    padding: 60px 0;
    background: #fff;
    min-height: 500px;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-wrapper h3 {
    font-size: 24px;
    color: #2d5016;
    margin-bottom: 20px;
}

.content-wrapper .date {
    color: #999;
    font-size: 13px;
    margin-bottom: 30px;
    display: block;
}

.content-wrapper img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 30px;
}

.content-wrapper p {
    color: #555;
    line-height: 2;
    margin-bottom: 20px;
    text-align: justify;
}

/* 新闻列表页 */
.news-list {
    display: grid;
    gap: 30px;
}

.news-list-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.news-list-item:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.news-list-img {
    height: 200px;
}

.news-list-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-list-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-list-info h4 {
    font-size: 18px;
    color: #2d5016;
    margin-bottom: 15px;
}

.news-list-info p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.read-more {
    color: #c9a227;
    font-weight: 500;
    font-size: 14px;
}

.read-more:hover {
    color: #2d5016;
}

/* 产品列表 */
.products-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* 案例列表 */
.cases-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* 响应式 */
@media (max-width: 992px) {
    .products-grid,
    .products-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .case-card {
        grid-template-columns: 1fr;
    }
    
    .case-img {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .header-main .container {
        flex-direction: column;
    }
    
    .nav {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav li {
        margin: 5px 15px;
    }
    
    .banner {
        height: 400px;
    }
    
    .banner-content h2 {
        font-size: 28px;
    }
    
    .products-grid,
    .products-list,
    .news-grid,
    .cases-grid,
    .cases-list {
        grid-template-columns: 1fr;
    }
    
    .news-list-item {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .section-title h3 {
        font-size: 24px;
    }
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}
