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

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.btn-primary {
    display: inline-block;
    background-color: #e74c3c;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: #e74c3c;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid #e74c3c;
}

.btn-secondary:hover {
    background-color: #e74c3c;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

/* 导航栏样式 */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 15px 0;
}

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

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

.logo i {
    margin-right: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 15px;
}

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

.nav-links a:hover {
    color: #e74c3c;
}

.contact-info {
    color: #e74c3c;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 5px;
}

/* 英雄区域样式 */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero.jpg') center/cover no-repeat;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 24px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero .btn-primary {
    margin-right: 15px;
    margin-bottom: 15px;
}

/* 服务区域样式 */
.services {
    padding: 80px 0;
    text-align: center;
}

.services h2 {
    font-size: 36px;
    margin-bottom: 50px;
    color: #333;
    position: relative;
    display: inline-block;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #e74c3c;
}

.service-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.card {
    flex: 0 0 calc(33.333% - 20px);
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
}

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

.card i {
    font-size: 40px;
    color: #e74c3c;
    margin-bottom: 20px;
}

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

.card p {
    color: #666;
}

/* 特色优势样式 */
.features {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.features h2 {
    font-size: 36px;
    margin-bottom: 50px;
    color: #333;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.features h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #e74c3c;
}

.feature-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    background-color: #e74c3c;
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 30px;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 30px;
}

.feature-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.feature-content p {
    color: #666;
    font-size: 16px;
}

/* 联系我们样式 */
.contact {
    padding: 80px 0;
}

.contact h2 {
    font-size: 36px;
    margin-bottom: 50px;
    color: #333;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.contact h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #e74c3c;
}

.contact .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.contact .contact-details {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-weight: 500;
}

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

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

.contact-details h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #333;
}

.contact-details p {
    margin-bottom: 15px;
    color: #666;
    display: flex;
    align-items: center;
}

.contact-details p i {
    color: #e74c3c;
    margin-right: 10px;
}

/* 页脚样式 */
footer {
    background-color: #333;
    color: white;
    padding: 50px 0 20px;
}

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

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    min-width: 200px;
}

.footer-logo i {
    margin-right: 10px;
    color: #e74c3c;
}

.footer-links {
    min-width: 150px;
}

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

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

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #e74c3c;
}

.footer-contact {
    min-width: 250px;
}

.footer-contact h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: white;
}

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

.footer-contact p i {
    color: #e74c3c;
    margin-right: 10px;
    min-width: 20px;
}

.footer-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #444;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: #e74c3c;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #ddd;
}

/* 相亲简介页面样式 */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/page-header.jpg') center/cover no-repeat;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 18px;
}

.intro-section {
    padding: 80px 0;
}

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

.intro-content {
    flex: 0 0 calc(50% - 30px);
}

.intro-image {
    flex: 0 0 calc(50% - 30px);
}

.intro-content h2 {
    font-size: 30px;
    margin-bottom: 20px;
    color: #333;
}

.intro-content p {
    margin-bottom: 20px;
    color: #666;
    font-size: 16px;
    line-height: 1.8;
}

.intro-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.process-section h2 {
    font-size: 36px;
    margin-bottom: 50px;
    color: #333;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.process-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #e74c3c;
}

.process-steps {
    position: relative;
    padding-left: 50px;
}

.process-steps::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #e74c3c;
}

.step {
    position: relative;
    margin-bottom: 40px;
    padding-left: 40px;
}

.step-number {
    position: absolute;
    left: 11px;
    top: 0;
    width: 20px;
    height: 20px;
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
}

.step-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #333;
}

.step-content p {
    color: #666;
    font-size: 16px;
}

.advantages-section {
    padding: 80px 0;
}

.advantages-section h2 {
    font-size: 36px;
    margin-bottom: 50px;
    color: #333;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.advantages-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #e74c3c;
}

.advantage-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.advantage-card {
    flex: 0 0 calc(33.333% - 20px);
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.advantage-card i {
    font-size: 30px;
    color: #e74c3c;
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.advantage-card p {
    color: #666;
    font-size: 16px;
}

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

.faq-section h2 {
    font-size: 36px;
    margin-bottom: 50px;
    color: #333;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.faq-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #e74c3c;
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
    display: flex;
    align-items: center;
}

.faq-item h3 i {
    color: #e74c3c;
    margin-right: 10px;
}

.faq-item p {
    color: #666;
    font-size: 16px;
    padding-left: 30px;
}

.contact-section {
    padding: 80px 0;
    text-align: center;
    background-color: #e74c3c;
    color: white;
}

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

.contact-section p {
    font-size: 18px;
    margin-bottom: 30px;
}

.contact-section .btn-primary {
    background-color: white;
    color: #e74c3c;
}

.contact-section .btn-primary:hover {
    background-color: #f8f9fa;
    color: #c0392b;
}

/* 公司简介页面样式 */
.company-intro {
    padding: 80px 0;
}

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

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

.history-section h2 {
    font-size: 36px;
    margin-bottom: 50px;
    color: #333;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.history-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #e74c3c;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

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

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding: 0 40px;
}

.timeline-item:nth-child(odd) {
    text-align: right;
}

.timeline-dot {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #e74c3c;
    transform: translateX(-50%);
}

.timeline-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: inline-block;
    max-width: 45%;
}

.timeline-item:nth-child(odd) .timeline-content {
    float: right;
}

.timeline-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #333;
}

.timeline-content p {
    color: #666;
    font-size: 16px;
}

.culture-section {
    padding: 80px 0;
}

.culture-section h2 {
    font-size: 36px;
    margin-bottom: 50px;
    color: #333;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.culture-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #e74c3c;
}

.culture-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.culture-item {
    flex: 0 0 calc(50% - 20px);
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.culture-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
    display: flex;
    align-items: center;
}

.culture-item h3 i {
    color: #e74c3c;
    margin-right: 10px;
}

.culture-item p {
    color: #666;
    font-size: 16px;
}

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

.team-section h2 {
    font-size: 36px;
    margin-bottom: 50px;
    color: #333;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.team-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #e74c3c;
}

.team-members {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.team-member {
    flex: 0 0 calc(25% - 20px);
    text-align: center;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
}

.team-member h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #333;
}

.team-member p {
    color: #666;
    font-size: 16px;
    margin-bottom: 10px;
}

.awards-section {
    padding: 80px 0;
    text-align: center;
}

.awards-section h2 {
    font-size: 36px;
    margin-bottom: 50px;
    color: #333;
    position: relative;
    display: inline-block;
}

.awards-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #e74c3c;
}

.awards-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.award-item {
    flex: 0 0 calc(25% - 20px);
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.award-item i {
    font-size: 40px;
    color: #e74c3c;
    margin-bottom: 20px;
}

.award-item h3 {
    font-size: 18px;
    color: #333;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .service-cards .card {
        flex: 0 0 calc(50% - 20px);
    }
    
    .advantage-cards .advantage-card {
        flex: 0 0 calc(50% - 20px);
    }
    
    .team-members .team-member {
        flex: 0 0 calc(33.333% - 20px);
    }
    
    .awards-grid .award-item {
        flex: 0 0 calc(50% - 20px);
    }
    
    .contact-form, .contact-info {
        flex: 0 0 100%;
    }
    
    .contact-info {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
    }
    
    .nav-links {
        margin-top: 15px;
        margin-bottom: 15px;
    }
    
    .nav-links li {
        margin: 0 10px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .service-cards .card {
        flex: 0 0 100%;
    }
    
    .intro-content, .intro-image {
        flex: 0 0 100%;
    }
    
    .intro-image {
        margin-top: 30px;
    }
    
    .advantage-cards .advantage-card {
        flex: 0 0 100%;
    }
    
    .culture-items .culture-item {
        flex: 0 0 100%;
    }
    
    .team-members .team-member {
        flex: 0 0 calc(50% - 20px);
    }
    
    .awards-grid .award-item {
        flex: 0 0 100%;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        padding-left: 70px;
        padding-right: 0;
        text-align: left;
    }
    
    .timeline-dot {
        left: 30px;
        transform: translateX(-50%);
    }
    
    .timeline-content {
        max-width: 100%;
        float: none !important;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .services h2, .features h2, .contact h2 {
        font-size: 28px;
    }
    
    .step-content h3 {
        font-size: 20px;
    }
    
    .team-members .team-member {
        flex: 0 0 100%;
    }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

.fadeInUp {
    animation: fadeInUp 1s ease-out;
}

.pulse {
    animation: pulse 2s infinite;
}

.fadeIn {
    animation: fadeIn 1s ease-out;
}

.slideUp {
    animation: slideUp 0.8s ease-out;
}

.slideInRight {
    animation: slideInRight 0.8s ease-out;
}

.bounce {
    animation: bounce 2s infinite;
}