* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 导航栏样式 */
header {
    position: fixed;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

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

.nav-links li {
    margin-left: 2rem;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: #007bff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 100%;
}

/* 主页横幅样式 */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('M6IQC3YKTJLBOAABAAAAAEI8.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    padding: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,123,255,0.3);
}

.cta-button:active {
    transform: translateY(0);
}

.cta-button-outline {
    background: transparent;
    border: 2px solid #007bff;
    color: #fff;
}

.cta-button-outline:hover {
    background: rgba(0, 123, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,123,255,0.3);
}

/* 服务部分样式 */
.services {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    text-align: center;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(0);
}

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

.service-card img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 1rem;
}

/* 案例展示样式 */
.portfolio {
    padding: 5rem 5%;
    background: #f8f9fa;
}

.portfolio h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

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

.portfolio-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
    color: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
    bottom: 0;
}

.portfolio-item:hover img {
    transform: scale(1.1) rotate(1deg);
}

.portfolio-overlay .location {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    color: #ddd;
}

/* 关于我们样式 */
.about {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.about-content img {
    width: 100%;
    border-radius: 10px;
}

.about-text {
    padding: 2rem;
}

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

.about-text ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.about-text li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.about-text li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #007bff;
    font-weight: bold;
}

.company-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.company-info p {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: #666;
}

.company-info strong {
    color: #333;
    margin-right: 0.5rem;
}

/* 联系我们样式 */
.contact {
    padding: 5rem 5%;
    background: #f8f9fa;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#contact-form input,
#contact-form textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s ease;
}

#contact-form input:focus,
#contact-form textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
    outline: none;
}

#contact-form button {
    padding: 1rem;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    position: relative;
    overflow: hidden;
}

#contact-form button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

#contact-form button:hover::after {
    left: 100%;
}

/* 页脚样式 */
footer {
    background: #333;
    color: white;
    padding: 3rem 5% 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h4 {
    margin-bottom: 1rem;
}

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

.footer-section a {
    color: white;
    text-decoration: none;
    position: relative;
    padding-left: 0;
    transition: padding-left 0.3s ease;
}

.footer-section a:hover {
    padding-left: 10px;
    color: #007bff;
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 200px;
        text-align: center;
    }
    
    .nav-links {
        display: none;
    }
    
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .calc-row input[type="text"],
    .calc-row input[type="tel"] {
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .calc-row input[type="tel"] {
        margin-left: 0;
    }
    
    .portfolio-item:hover img {
        transform: scale(1.05);
    }
    
    .about-text ul {
        grid-template-columns: 1fr;
    }
    
    .about-text {
        padding: 1rem;
    }
}

.service-details {
    padding: 5rem 5%;
    background: #f8f9fa;
}

.service-details h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.service-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.detail-item {
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transform: scale(1);
    transition: all 0.3s ease;
}

.detail-item:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.detail-item h3 {
    margin-bottom: 1rem;
    color: #007bff;
}

.detail-item ul {
    list-style: none;
}

.detail-item li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.detail-item li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #007bff;
}

/* 价格计算器样式 */
.calculator {
    padding: 5rem 5%;
    background: #fff;
}

.calculator h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.calculator-container {
    max-width: 800px;
    margin: 0 auto;
}

.calculator-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.calc-notice {
    text-align: center;
    margin-bottom: 2rem;
}

.calc-notice p {
    margin-bottom: 1rem;
    color: #666;
}

.calc-fields {
    margin-top: 2rem;
}

.calc-row {
    margin-bottom: 1.5rem;
}

.calc-row label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.calc-row input,
.calc-row select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.calc-row input:focus,
.calc-row select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
    outline: none;
}

.calc-result {
    margin-top: 2rem;
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 5px;
    animation: slideDown 0.4s ease;
}

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

.price-range {
    font-size: 1.5rem;
    font-weight: bold;
    color: #007bff;
    margin: 1rem 0;
    animation: fadeIn 0.6s ease;
}

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

.price-note {
    color: #666;
    font-size: 0.9rem;
}

.calc-row select optgroup {
    font-weight: bold;
    color: #666;
}

.price-detail {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.calc-row input[type="text"],
.calc-row input[type="tel"] {
    width: calc(50% - 0.5rem);
    display: inline-block;
}

.calc-row input[type="tel"] {
    margin-left: 1rem;
}

#calculateBtn {
    width: 100%;
    margin-top: 1rem;
}

/* 错误状态样式 */
.calc-row input:invalid,
.calc-row select:invalid {
    border-color: #dc3545;
}

.calc-row input:invalid:focus,
.calc-row select:invalid:focus {
    box-shadow: 0 0 0 3px rgba(220,53,69,0.1);
}

/* 滚动显示动画 */
.service-card,
.portfolio-item,
.detail-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

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

.call-tip {
    margin-top: 1rem;
    color: #007bff;
    font-weight: bold;
}

#countdown {
    font-size: 1.2em;
    color: #dc3545;
}

/* 招聘信息样式 */
.jobs {
    padding: 5rem 5%;
    background: #f8f9fa;
}

.jobs h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.jobs-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.job-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.job-card h3 {
    color: #007bff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.salary {
    color: #dc3545;
    font-weight: bold;
    margin-bottom: 1rem;
}

.requirements {
    color: #333;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.job-details ul {
    list-style: none;
    margin-left: 0;
}

.job-details li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.job-details li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #007bff;
}

.job-contact {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.job-contact p {
    margin-bottom: 1rem;
}

.job-note {
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .jobs-container {
        grid-template-columns: 1fr;
    }
    
    .job-card {
        margin-bottom: 1rem;
    }
}

/* 添加到滚动显示动画中 */
.job-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: calc(var(--animation-order) * 0.2s);
}

/* 汉堡菜单按钮 */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    /* 调整手机端字体大小 */
    h1 {
        font-size: 2rem !important;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
    
    p, li {
        font-size: 0.95rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .portfolio-overlay h3 {
        font-size: 1.2rem;
    }

    .portfolio-overlay p {
        font-size: 0.9rem;
    }

    .calc-row label {
        font-size: 0.95rem;
    }

    select, input {
        font-size: 0.9rem;
    }

    .price-range {
        font-size: 1.5rem;
    }

    .price-note, .price-detail {
        font-size: 0.85rem;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        display: flex;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 1.5rem 0;
        margin-left: 0;
    }
    
    .nav-links a {
        font-size: 1.1rem;
        width: 100%;
        text-align: center;
        padding: 0.5rem 0;
    }
    
    body.menu-open {
        overflow: hidden;
    }
}

.hero-features {
    margin: 2rem 0;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero-features p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .logo {
        font-size: 1.2rem;
    }
    
    .hero-features {
        margin: 1rem 0;
    }
    
    .hero-features p {
        font-size: 1rem;
    }
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalShow 0.3s ease;
}

@keyframes modalShow {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-price {
    text-align: center;
    font-size: 2rem;
    color: #007bff;
    margin: 1rem 0;
}

.modal-note {
    color: #666;
    font-size: 0.9rem;
    margin: 1rem 0;
}

.modal-countdown {
    text-align: center;
    margin-top: 1.5rem;
    color: #dc3545;
}