/* 安徽池州代妈代怀代母助孕代生园林绿化工程有限公司 - 主样式文件 */

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

/* 头部样式 */
header {
    background: linear-gradient(135deg, #2c5f2d 0%, #97bc62 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* 顶部联系方式栏 */
.top-bar {
    background: rgba(0,0,0,0.2);
    padding: 8px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.top-bar .phone {
    color: white;
    font-weight: bold;
    text-decoration: none;
}

.top-bar .phone:hover {
    color: #ffd700;
}

/* Logo区域 */
.header-content {
    padding: 15px 0 10px;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
    color: white;
    display: block;
}

.logo:hover {
    color: #ffd700;
}

/* 导航样式 */
nav {
    background: rgba(255,255,255,0.95);
    padding: 10px 0;
    margin-top: 10px;
    border-radius: 5px;
    position: relative;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav li {
    margin: 0 12px;
}

nav a {
    text-decoration: none;
    color: #2c5f2d;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 3px;
    transition: all 0.3s;
}

nav a:hover {
    background: #2c5f2d;
    color: white;
}

/* 汉堡菜单按钮 */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #2c5f2d;
    margin: 5px 0;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* 主标题样式 */
.hero {
    background: linear-gradient(rgba(44,95,45,0.8), rgba(151,188,98,0.8));
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #ffd700;
    color: #2c5f2d;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn:hover {
    background: #ffed4e;
    transform: translateY(-2px);
}

/* 内容区域 */
.content-section {
    padding: 60px 0;
    background: white;
    margin: 20px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: #2c5f2d;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #97bc62;
}

/* 卡片样式 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

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

.card h3 {
    color: #2c5f2d;
    margin-bottom: 15px;
    font-size: 22px;
}

.card p {
    color: #666;
    line-height: 1.8;
}

/* 时间线样式 */
.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #97bc62;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 20px;
    height: 20px;
    background: #2c5f2d;
    border-radius: 50%;
    transform: translateX(-50%);
    border: 3px solid white;
    box-shadow: 0 0 0 3px #97bc62;
}

/* 网格布局 */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.grid-item {
    background: white;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.grid-item:hover {
    background: #2c5f2d;
    color: white;
}

.grid-item h3 {
    margin-bottom: 15px;
    color: #2c5f2d;
}

.grid-item:hover h3 {
    color: white;
}

/* 分栏布局 */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.split-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* FAQ样式 */
.faq-item {
    background: white;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 20px;
    background: #2c5f2d;
    color: white;
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
}

.faq-answer {
    padding: 20px;
    display: none;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    display: block;
}

/* 联系表单 */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 40px auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c5f2d;
    font-weight: 500;
}

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #97bc62;
}

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

/* 页脚样式 */
footer {
    background: #2c5f2d;
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

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

.footer-section h3 {
    margin-bottom: 15px;
    color: #ffd700;
}

.footer-section p,
.footer-section a {
    color: white;
    text-decoration: none;
    line-height: 2;
}

.footer-section a:hover {
    color: #ffd700;
}

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

/* 关键词高亮 */
.keyword {
    color: #2c5f2d;
    font-weight: bold;
}

/* 统计数据 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 48px;
    color: #2c5f2d;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-label {
    color: #666;
    font-size: 16px;
}

/* 特色列表 */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
}

.feature-list li:before {
    content: '\2713';
    display: inline-block;
    width: 30px;
    height: 30px;
    background: #97bc62;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    margin-right: 15px;
    flex-shrink: 0;
}

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

    .hero p {
        font-size: 16px;
    }

    .split-layout {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: row;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
    }

    .timeline-dot {
        left: 30px;
    }

    /* 汉堡菜单显示 */
    .hamburger {
        display: block;
    }

    /* 导航栏手机端自适应 */
    nav ul {
        display: none;
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
    }

    nav ul.active {
        display: flex;
    }

    nav li {
        margin: 5px 0;
    }

    .logo {
        font-size: 16px;
    }

    .section-title {
        font-size: 24px;
    }

    .stat-number {
        font-size: 32px;
    }
}
