/* 
 * 安徽福瑞士农业生态发展有限公司官方网站
 * 全局样式表
 * 参考：https://www.bjgykj.com.cn/
 */

/* ========== 全局重置 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

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

a:hover {
    color: #0066cc;
}

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

ul, li {
    list-style: none;
}

/* ========== 通用类 ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: #003366;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-title p {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

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

.btn-primary:hover {
    background: #004488;
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: #003366;
    border: 2px solid #003366;
}

.btn-outline:hover {
    background: #003366;
    color: #fff;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 18px;
}

/* ========== 顶部导航 ========== */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #003366;
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    position: relative;
}

.nav a:hover,
.nav a.active {
    color: #003366;
}

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

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

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* ========== Banner区域 ========== */
.banner {
    background: linear-gradient(135deg, #003366 0%, #0055aa 100%);
    color: #fff;
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.banner h1 {
    font-size: 48px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.banner .subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.banner .description {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

/* ========== 服务板块 ========== */
.services {
    background: #f9f9f9;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #003366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 36px;
    color: #fff;
}

.service-card h3 {
    font-size: 22px;
    color: #003366;
    margin-bottom: 20px;
}

.service-card h4 {
    font-size: 18px;
    color: #0066cc;
    margin: 20px 0 15px;
}

.service-card p,
.service-card ul li {
    color: #666;
    line-height: 1.8;
    margin-bottom: 10px;
}

.service-card ul {
    list-style: disc;
    padding-left: 20px;
    margin: 10px 0;
}

/* ========== 公司愿景 ========== */
.vision {
    background: #003366;
    color: #fff;
    text-align: center;
}

.vision h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.vision p {
    font-size: 24px;
    opacity: 0.9;
}

.vision .divider {
    width: 100px;
    height: 3px;
    background: #fff;
    margin: 30px auto;
}

/* ========== 页脚 ========== */
.footer {
    background: #002244;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 15px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
}

/* ========== 响应式设计 ========== */
@media (max-width: 768px) {
    .section-title h2 {
        font-size: 28px;
    }

    .banner h1 {
        font-size: 32px;
    }

    .banner .subtitle {
        font-size: 18px;
    }

    .nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .nav.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .btn-lg {
        padding: 12px 30px;
        font-size: 16px;
    }
}

/* ========== 内容页样式 ========== */
.content-page {
    padding-top: 100px;
    min-height: 80vh;
}

.breadcrumb {
    background: #f5f5f5;
    padding: 15px 0;
    margin-bottom: 40px;
}

.breadcrumb-inner {
    font-size: 14px;
    color: #666;
}

.breadcrumb-inner a {
    color: #666;
}

.breadcrumb-inner a:hover {
    color: #003366;
}

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

.page-content {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.page-content h2,
.page-content h3 {
    color: #003366;
    margin: 30px 0 15px;
}

.page-content p {
    margin-bottom: 15px;
}

/* ========== 分页 ========== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}

.pagination a {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
}

.pagination a:hover {
    border-color: #003366;
    color: #003366;
}

.pagination a.current {
    background: #003366;
    color: #fff;
    border-color: #003366;
}
