/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-.contact-card {
    flex: 1;
    padding: 25px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-card .contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background-color: #e8f5e9;
    color: #2e7d32;
}

.contact-card .contact-icon i {
    font-size: 28px;
    color: #2e7d32;
}

.contact-card h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.3rem;
}

.phone-link {
    font-size: 1.3rem;
    font-weight: bold;
    color: #2e7d32;
    display: inline-block; /* 修改为inline-block以去除图标对齐问题 */
    padding: 5px 15px;
    border: 2px solid #2e7d32;
    border-radius: 30px;
    margin-top: 5px;
}e;
    color: #2e7d32;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: #333;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #2e7d32;
    margin: 15px auto;
}

.btn {
    display: inline-block;
    background: #2e7d32;
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 15px;
    transition: all 0.3s ease;
    border: 2px solid #2e7d32;
    cursor: pointer;
}

.btn:hover {
    background: #1b5e20;
    border-color: #1b5e20;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(46, 125, 50, 0.2);
}

.btn-white {
    background: #fff;
    color: #2e7d32;
}

.btn-white:hover {
    background: #f5f5f5;
}

/* 头部样式 */
header {
    background-color: #fff;
    border-bottom: 3px solid #2e7d32;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo h1 {
    font-size: 1.8rem;
    color: #2e7d32;
    margin: 0;
}

.logo p {
    font-size: 0.9rem;
    color: #666;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #333;
    font-weight: 500;
    position: relative;
}

nav ul li a:hover,
nav ul li a.active {
    color: #2e7d32;
}

nav ul li a.active:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #2e7d32;
}

.mobile-toggle {
    display: none;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* 英雄区域样式 */
.hero {
    height: 75vh;
    min-height: 500px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    color: #fff;
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: 70px;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero-content .btn {
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

/* 关于我们样式 */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image,
.about-text {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-text p {
    margin-bottom: 20px;
    color: #666;
}

/* 服务样式 */
.services {
    background-color: #e8f5e9;
}

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

.service-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background: #e8f5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 30px;
    color: #2e7d32;
}

.service-card h3 {
    margin-bottom: 15px;
    color: #333;
}

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

/* CTA样式 */
.cta {
    background: linear-gradient(135deg, #2e7d32, #1b5e20);
    color: #fff;
    text-align: center;
    padding: 80px 0;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* 画廊样式 */
.gallery-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.filter-btn {
    background: transparent;
    border: none;
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    color: #2e7d32;
    border-bottom: 2px solid #2e7d32;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

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

/* 联系我们样式 */
.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info,
.contact-form {
    flex: 1;
}

.contact-cards-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.contact-item h3 {
    margin-bottom: 5px;
    color: #333;
}

.phone-link {
    font-size: 1.3rem;
    font-weight: bold;
    color: #2e7d32;
    display: inline-block; /* 修改为inline-block以去除图标对齐问题 */
    padding: 5px 15px;
    border: 2px solid #2e7d32;
    border-radius: 30px;
    margin-top: 5px;
}

.phone-link:hover {
    background-color: #2e7d32;
    color: #fff;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* 页脚样式 */
footer {
    background-color: #222;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo h2 {
    color: #fff;
    margin-bottom: 10px;
}

.footer-logo p {
    color: #aaa;
}

.footer-links h3,
.footer-contact h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

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

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

.footer-contact p {
    margin-bottom: 10px;
    color: #aaa;
    display: flex;
    align-items: center;
}

.footer-contact p a {
    color: #aaa;
}

.footer-contact p a:hover {
    color: #fff;
}

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

.footer-bottom p {
    color: #aaa;
    font-size: 0.9rem;
}

/* 悬浮联系按钮 */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.phone-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2e7d32;
    color: #fff;
    border-radius: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
    padding: 15px 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.phone-button:hover {
    background: #1b5e20;
    transform: translateY(-3px);
}

.phone-button i {
    font-size: 20px;
    margin-right: 8px;
}

.phone-button .phone-number {
    font-weight: bold;
    font-size: 16px;
    white-space: nowrap;
}

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(46, 125, 50, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(46, 125, 50, 0);
    }
}

/* 响应式样式 */
@media screen and (max-width: 1024px) {
    .section {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    nav {
        position: fixed;
        top: 85px;
        left: -100%;
        width: 100%;
        background: #fff;
        height: calc(100vh - 85px);
        padding: 20px;
        transition: all 0.3s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .about-content,
    .contact-content,
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-image {
        order: -1;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 576px) {
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero {
        min-height: 500px;
    }
}