/* 页面标题样式 */
.page-header {
    background: linear-gradient(135deg, rgba(26, 82, 43, 0.9) 0%, rgba(45, 95, 55, 0.85) 100%), url('../images/business-banner.png');
    background-size: cover;
    background-position: center;
    height: 380px;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 80px;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 82, 43, 0.7) 0%, rgba(45, 95, 55, 0.6) 100%);
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 3.2rem;
    margin-bottom: 15px;
    font-weight: 600;
    letter-spacing: 2px;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 25px;
    font-weight: 300;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb .separator {
    color: rgba(255,255,255,0.5);
}

.breadcrumb .current {
    color: white;
    font-weight: 500;
}

/* 通用区块标题 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.section-header .subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 基地概览 */
.farm-overview {
    padding: 100px 0;
    background: #fff;
}

.overview-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.overview-text h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 600;
    line-height: 1.3;
}

.overview-text p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 20px;
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.stat-item {
    text-align: center;
    padding: 35px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-number span {
    font-size: 1rem;
    font-weight: 500;
    color: #666;
}

.stat-label {
    font-size: 0.95rem;
    color: #666;
}

/* 基地设施 */
.farm-facilities {
    padding: 100px 0;
    background: #f8f9fa;
}

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

.facility-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border-color: var(--primary-color);
}

.facility-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.facility-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.facility-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* 合规保障 */
.farm-compliance {
    padding: 100px 0;
    background: #fff;
}

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

.compliance-item {
    text-align: center;
    padding: 35px 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.compliance-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.compliance-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
    font-weight: bold;
}

.compliance-item h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.compliance-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* 运营优势 */
.farm-advantages {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a522b 0%, #2d5f37 100%);
    color: white;
}

.farm-advantages .section-header h2 {
    color: white;
}

.farm-advantages .section-header .subtitle {
    color: rgba(255,255,255,0.8);
}

.advantages-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.advantage-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: start;
    padding: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
}

.advantage-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255,255,255,0.3);
    line-height: 1;
}

.advantage-text h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.advantage-text p {
    color: rgba(255,255,255,0.9);
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 0;
}

/* 基地实景 */
.farm-gallery {
    padding: 100px 0;
    background: #f8f9fa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    cursor: pointer;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 1;
}

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

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    color: white;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
    opacity: 1;
}

.gallery-caption h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.gallery-caption p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* 图片模态框 */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.image-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}

.image-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    z-index: 10001;
}

.image-modal-img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.image-modal-caption {
    margin-top: 20px;
    color: white;
    font-size: 1.1rem;
    text-align: center;
}

.image-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
}

.image-modal-close:hover {
    transform: rotate(90deg);
    opacity: 0.8;
}

/* 响应式样式 */
@media screen and (max-width: 1200px) {
    .overview-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .overview-stats {
        max-width: 700px;
        margin: 0 auto;
    }

    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .compliance-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .gallery-item.large {
        grid-column: span 2;
    }
}

@media screen and (max-width: 992px) {
    .page-header {
        height: 320px;
    }

    .page-header h1 {
        font-size: 2.6rem;
    }

    .overview-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .advantage-item {
        gap: 25px;
        padding: 30px;
    }

    .advantage-number {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 768px) {
    .page-header {
        height: 280px;
        margin-top: 60px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .farm-overview,
    .farm-facilities,
    .farm-compliance,
    .farm-advantages,
    .farm-gallery {
        padding: 60px 0;
    }

    .overview-text h2 {
        font-size: 1.8rem;
    }

    .overview-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-item {
        padding: 25px 20px;
    }

    .section-header h2 {
        font-size: 1.9rem;
    }

    .facilities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .facility-card {
        padding: 30px 25px;
    }

    .compliance-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .compliance-item {
        padding: 25px 20px;
    }

    .advantage-item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 15px;
        padding: 25px;
    }

    .advantage-number {
        font-size: 2rem;
    }

    .advantage-text h3 {
        font-size: 1.2rem;
    }

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

    .gallery-item.large {
        grid-column: span 1;
    }

    .gallery-item {
        height: 250px;
    }

    .gallery-caption {
        transform: translateY(0);
        opacity: 1;
        padding: 15px;
    }
}

@media screen and (max-width: 576px) {
    .page-header h1 {
        font-size: 1.7rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .advantage-number {
        font-size: 1.8rem;
    }
}
