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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', '微软雅黑', sans-serif;
    line-height: 1.6;
    color: #333;
}

.topbar {
    background: #f2f7f3;
    border-bottom: 1px solid rgba(74, 124, 89, 0.15);
    font-size: 0.95rem;
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    color: #2c5f2d;
    gap: 20px;
}

.topbar-info {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.topbar-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.topbar-actions a {
    color: #4a7c59;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding-right: 18px;
    transition: color 0.3s ease;
}

.topbar-actions a::after {
    content: '\2192';
    position: absolute;
    right: 0;
    top: 0;
    transition: transform 0.3s ease;
}

.topbar-actions a:hover {
    color: #2c5f2d;
}

.topbar-actions a:hover::after {
    transform: translateX(4px);
}

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

/* 导航栏样式 */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.company-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: #2c5f2d;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu li {
    position: relative;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-arrow {
    margin-left: 6px;
    font-size: 0.6rem;
    color: #4a7c59;
    transition: transform 0.3s ease, color 0.3s ease;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 200px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.24s ease, transform 0.24s ease, visibility 0s linear 0.24s;
    pointer-events: none;
    z-index: 999;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #2c5f2d;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-menu a:hover {
    background: rgba(74, 124, 89, 0.12);
    color: #4a7c59;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0s, 0s, 0s;
}

.dropdown:hover .nav-arrow,
.dropdown:focus-within .nav-arrow {
    transform: rotate(180deg);
    color: #2c5f2d;
}

.nav-menu a:hover {
    color: #4a7c59;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 主横幅区域 */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 0;
    text-align: left;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 60px;
    align-items: center;
    width: 100%;
    padding: 0 20px;
}

.hero-main {
    max-width: 520px;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(74, 124, 89, 0.35);
    font-size: 0.9rem;
    letter-spacing: 1px;
    backdrop-filter: blur(6px);
}

.hero-title {
    font-size: 3.2rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-description {
    font-size: 1.15rem;
    margin: 0;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.metric-card {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    backdrop-filter: blur(8px);
    color: white;
}

.metric-card .number-animate {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffd166;
}

.metric-label {
    font-size: 0.95rem;
    display: block;
    margin-top: 6px;
}

.hero-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-info-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 25px 35px rgba(0, 0, 0, 0.12);
    color: #2c5f2d;
}

.hero-info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.hero-info-card ul {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: grid;
    gap: 10px;
}

.hero-info-card ul li {
    position: relative;
    padding-left: 18px;
    font-weight: 600;
    color: #3f6b3d;
}

.hero-info-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4a7c59;
}

.hero-link {
    color: #4a7c59;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-link::after {
    content: '\2192';
    transition: transform 0.3s ease;
}

.hero-link:hover::after {
    transform: translateX(4px);
}

.hero-cta-card {
    background: linear-gradient(145deg, rgba(74, 124, 89, 0.15), rgba(74, 124, 89, 0.35));
    border: 1px solid rgba(74, 124, 89, 0.25);
}

.hero-cta-card h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.hero-cta-card p {
    margin-bottom: 18px;
    color: #3c5640;
}

.hero-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 999px;
    background: #4a7c59;
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-pill:hover {
    background: #355944;
    transform: translateY(-2px);
}

.hero-pill-outline {
    background: rgba(255, 255, 255, 0.2);
    color: #2c5f2d;
    border: 1px solid rgba(74, 124, 89, 0.3);
}

.hero-pill-outline:hover {
    background: rgba(255, 255, 255, 0.35);
}

.btn {
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: #4a7c59;
    color: white;
    border: 2px solid #4a7c59;
}

.btn-primary:hover {
    background: #3a6249;
    border-color: #3a6249;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #4a7c59;
}

/* 区块通用样式 */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #2c5f2d;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
}

section {
    padding: 80px 0;
}

/* 关于我们 */
.about {
    background: #f8f9fa;
}

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

.about-text h3 {
    color: #2c5f2d;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

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

.company-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-icon {
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-item h4 {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 5px;
}

.info-item p {
    font-size: 1rem;
    color: #333;
    margin: 0;
}

.img-responsive {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 业务范围 */
.services {
    background: white;
}

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

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    padding: 20px 20px 10px;
    color: #2c5f2d;
}

.service-card p {
    padding: 0 20px 20px;
    color: #666;
}

/* 养殖基地 */
.facilities {
    background: #f8f9fa;
}

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

.gallery-main {
    margin-bottom: 20px;
}

.main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.thumb-image {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.thumb-image:hover {
    opacity: 0.8;
}

.facility-features h3 {
    color: #2c5f2d;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 15px;
    background: white;
    border-radius: 5px;
}

.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #4a7c59;
    color: white;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

/* 品质保证 */
.quality {
    background: white;
}

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

.quality-card {
    text-align: center;
}

.quality-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.quality-card h3 {
    color: #2c5f2d;
    margin-bottom: 10px;
}

.quality-card p {
    color: #666;
}

.certification {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.certification h3 {
    color: #2c5f2d;
    margin-bottom: 30px;
}

.cert-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.cert-logo {
    height: 80px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.cert-logo:hover {
    opacity: 1;
}

/* 联系我们 */
.contact {
    background: #f8f9fa;
}

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

.contact-info h3,
.contact-form h3 {
    color: #2c5f2d;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    gap: 15px;
}

.contact-icon {
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item h4 {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 5px;
}

.contact-item p {
    font-size: 1.1rem;
    color: #333;
    margin: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a7c59;
}

.map-container {
    margin-top: 40px;
}

.map-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

/* 页脚 */
.footer {
    background: #2c5f2d;
    color: white;
    padding: 50px 0 20px;
}

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

.footer-section h4 {
    margin-bottom: 20px;
}

.footer-section p {
    line-height: 1.8;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    color: white;
    font-size: 12px;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s;
}

.social-icon.wechat-icon {
    background: #07c160;
}

.social-icon.weibo-icon {
    background: #e6162d;
}

.social-icon:hover {
    transform: scale(1.1);
    background: rgba(255,255,255,0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    opacity: 0.8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 0.5rem 0;
    }

    .nav-menu .dropdown .nav-arrow {
        display: none;
    }

    .nav-menu .dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        box-shadow: none;
        padding: 0;
        margin-top: 0.5rem;
    }

    .nav-menu .dropdown .dropdown-menu a {
        padding: 0.5rem 0;
        color: #333;
    }
    
    .topbar-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .hero {
        padding: 100px 0 80px;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-actions {
        justify-content: flex-start;
        width: 100%;
        gap: 16px;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .hero-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-panel {
        order: -1;
    }

    .hero-info-card {
        padding: 24px;
    }
    
    .about-content,
    .facilities-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .company-info {
        grid-template-columns: 1fr;
    }
    
    .gallery-thumbs {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}
/* 子页面样式 */
.hero-subpage {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-subpage .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-subpage .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.content-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.content-block {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.content-block.reverse {
    flex-direction: row-reverse;
}

.content-block .text-content {
    flex: 1;
}

.content-block .image-content {
    flex: 1;
}

.content-block .image-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.content-block h3 {
    font-size: 2rem;
    color: #2c5f2d;
    margin-bottom: 20px;
}

.content-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

/* 服务卡片链接样式 */
.service-card a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    transition: transform 0.3s ease;
}

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

.service-card:hover {
    transform: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .content-block {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 60px;
    }
    
    .content-block.reverse {
        flex-direction: column;
    }
    
    .content-block h3 {
        font-size: 1.5rem;
    }
    
    .content-block p {
        font-size: 1rem;
    }
    
    .hero-subpage {
        height: 50vh;
    }
}

@media (max-width: 576px) {
    .topbar-actions {
        align-items: flex-start;
        gap: 10px;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .hero-info-card {
        padding: 20px;
    }

    .hero-contact {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-pill,
    .hero-pill-outline {
        width: 100%;
        text-align: center;
    }
}
