/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.header > .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ff6b35;
    font-weight: bold;
    font-size: 16px;
}

.header-contact svg {
    width: 18px;
    height: 18px;
}

.header-contact a {
    color: #ff6b35;
    text-decoration: none;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 180px;
    width: auto;
    margin: -38px 0;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #ff6b35;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero区域 */
.hero {
    background: linear-gradient(135deg, rgba(26, 58, 74, 0.95) 0%, rgba(26, 58, 74, 0.8) 100%), 
                url('https://picsum.photos/seed/drilling-hero/1920/600') center/cover;
    padding: 120px 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    letter-spacing: 1px;
    animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 服务区域 */
.services {
    padding: 60px 0;
    background: #f9f9f9;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.service-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 20px;
    color: #2c5aa0;
    margin-bottom: 15px;
}

.service-content h3 .service-subtitle {
    font-size: 14px;
    color: #ff6b35;
    font-weight: normal;
    margin-left: 10px;
}

.service-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.service-features {
    margin: 15px 0;
}

.service-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
}

.service-features li:before {
    content: "•";
    color: #2c5aa0;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.learn-more {
    display: inline-block;
    color: #ff6b35;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.learn-more:hover {
    color: #e55a2b;
}

/* CTA区域 */
.cta {
    background: #2c5aa0;
    padding: 60px 0;
    text-align: center;
    color: #fff;
}

.cta h2 {
    font-size: 32px;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 0;
    transition: all 0.3s;
}

.btn-primary {
    background: #ff6b35;
    color: #fff;
    border: 2px solid #ff6b35;
}

.btn-primary:hover {
    background: #e55a2b;
    border-color: #e55a2b;
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #2c5aa0;
}

/* Contact Section */
.contact-section {
    padding: 60px 0;
    background-color: #fdfdfd;
    border-top: 1px solid #eee;
}

.contact-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    color: #333;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    color: #c9a227;
    flex-shrink: 0;
}

.contact-item a {
    color: #333;
    text-decoration: none;
}

.contact-item a:hover {
    color: #c9a227;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-weight: 600;
    color: #1a3a4a;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 15px;
    font-size: 15px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    background-color: #fff;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.btn-send {
    background: #1a3a4a;
    color: #fff;
    border-radius: 6px;
    padding: 15px 40px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s;
}

.btn-send:hover {
    background: #ff6b35;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

/* 页脚 */
.footer {
    background: #122833;
    color: #e0e0e0;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-logo {
    height: 200px;
    width: auto;
    margin: -42px 0;
}

.footer-column h4 {
    font-size: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    position: relative;
    padding-bottom: 15px;
}

.footer-column h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: #ff6b35;
}

.footer-column p,
.footer-column a {
    font-size: 14px;
    color: #ff6b35;
    text-decoration: none;
    line-height: 1.8;
}

.footer-column a:hover {
    color: #fff;
    text-decoration: none;
}

.footer-bottom {
    color: #6c7d86;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header > .container {
        flex-wrap: wrap;
    }
    
    .header-right {
        gap: 15px;
    }
    
    .header-contact {
        display: none;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        z-index: 1000;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu a {
        color: #333;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 36px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .cta h2 {
        font-size: 24px;
    }

    .service-content h3 {
        font-size: 18px;
    }
}

/* Service Detail Pages */
.service-hero {
    padding: 80px 0;
}

.service-detail {
    padding: 60px 0;
    background: #fff;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.service-detail-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.service-detail-text h2 {
    font-size: 32px;
    color: #2c5aa0;
    margin-bottom: 20px;
}

.service-detail-text h3 {
    font-size: 24px;
    color: #2c5aa0;
    margin: 30px 0 15px 0;
}

.service-detail-text p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-detail-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.service-detail-list li {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.service-detail-list li:before {
    content: "✓";
    color: #2c5aa0;
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 18px;
}

.service-detail-list strong {
    color: #2c5aa0;
}

.service-cta {
    margin-top: 40px;
    display: flex;
    gap: 15px;
}

@media (max-width: 768px) {
    .service-detail-content {
        grid-template-columns: 1fr;
    }

    .service-cta {
        flex-direction: column;
    }

    .service-cta .btn {
        width: 100%;
    }
}
