/* ========================================
   苏州无锡机械口译网站 - 主样式文件
   商务简约风格，深蓝色主色调
   响应式设计，适配手机、平板、电脑
   ======================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

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

/* === 固定顶部导航栏 === */
header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0.7rem 0;
    background: rgba(30, 60, 114, 0.98);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.8rem;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff6b35;
    transition: width 0.3s ease;
}

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

.nav-links a:hover {
    opacity: 0.9;
}

.mobile-menu {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.mobile-menu:hover {
    transform: scale(1.1);
}

/* === Hero 区域 === */
.hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    text-align: center;
    padding: 10rem 0 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%231e3c72" width="1200" height="600"/><path fill="%232a5298" d="M0 300L50 325L100 300L150 275L200 300L250 325L300 300L350 275L400 300L450 325L500 300L550 275L600 300L650 325L700 300L750 275L800 300L850 325L900 300L950 275L1000 300L1050 325L1100 300L1150 275L1200 300V600H0V300Z"/></svg>') no-repeat center bottom;
    background-size: cover;
    opacity: 0.1;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    animation: fadeInUp 0.8s ease;
}

.subtitle {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    font-weight: 500;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 2;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.cta-button {
    display: inline-block;
    background: #ff6b35;
    color: white;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    animation: fadeInUp 0.8s ease 0.6s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    background: #ff5722;
}

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

/* === 通用Section样式 === */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: #1e3c72;
    margin-bottom: 1rem;
    font-weight: bold;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #1e3c72, #2a5298);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

/* === 服务板块 === */
.services {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: #f8f9fa;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(30, 60, 114, 0.15);
    border-color: #2a5298;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: bold;
}

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

.service-note {
    margin-top: 3rem;
    padding: 1.5rem;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 8px;
    text-align: center;
}

.service-note p {
    color: #856404;
    font-size: 1rem;
}

/* === 区域服务板块 === */
.regions {
    background: #f8f9fa;
}

.region-content {
    margin-top: 3rem;
}

.region-section {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.region-section h3 {
    color: #1e3c72;
    font-size: 1.6rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #2a5298;
}

.region-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.region-item {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #2a5298;
    transition: all 0.3s ease;
}

.region-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.region-item h4 {
    color: #1e3c72;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: bold;
}

.region-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}

.seo-keywords {
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

.seo-keywords p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.8;
}

.seo-keywords strong {
    color: #1e3c72;
}

/* === 关于我板块 === */
.about {
    background: white;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text h3 {
    color: #1e3c72;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

.feature-item {
    padding: 1.8rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-top: 4px solid #2a5298;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(30, 60, 114, 0.12);
}

.feature-item h4 {
    color: #1e3c72;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.feature-item p {
    color: #555;
    line-height: 1.8;
}

.about-note {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    border-radius: 10px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* === 案例板块 === */
.cases {
    background: #f8f9fa;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.case-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(30, 60, 114, 0.15);
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.case-tag {
    background: #2a5298;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.case-location {
    color: #666;
    font-size: 0.9rem;
}

.case-card h3 {
    color: #1e3c72;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.case-card p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.case-result {
    padding: 1rem;
    background: #d4edda;
    border-left: 4px solid #28a745;
    border-radius: 6px;
    color: #155724;
    font-size: 0.95rem;
}

/* === 收费标准板块 === */
.pricing {
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: #f8f9fa;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(30, 60, 114, 0.15);
    border-color: #2a5298;
}

.pricing-card.featured {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    transform: scale(1.05);
    border: 3px solid #ff6b35;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.featured-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: #ff6b35;
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(255, 107, 53, 0.3);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1e3c72;
}

.pricing-card.featured h3 {
    color: white;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: #ff6b35;
    margin-bottom: 1.5rem;
}

.pricing-card.featured .price {
    color: #ffd700;
}

.price-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.price-features li {
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    color: #555;
    font-size: 0.95rem;
}

.pricing-card.featured .price-features li {
    color: rgba(255,255,255,0.9);
    border-bottom-color: rgba(255,255,255,0.1);
}

.pricing-button {
    display: inline-block;
    background: #ff6b35;
    color: white;
    padding: 0.9rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.pricing-button:hover {
    background: #ff5722;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.pricing-card.featured .pricing-button {
    background: white;
    color: #1e3c72;
}

.pricing-card.featured .pricing-button:hover {
    background: #f8f9fa;
}

.pricing-notes {
    margin-top: 4rem;
    padding: 2.5rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.pricing-notes h3 {
    color: #1e3c72;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.pricing-notes ul {
    list-style: none;
}

.pricing-notes li {
    padding: 0.8rem 0;
    color: #555;
    line-height: 1.8;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.pricing-notes li:last-child {
    border-bottom: none;
}

.pricing-notes strong {
    color: #1e3c72;
}

.pricing-cta {
    margin-top: 3rem;
    text-align: center;
}

.pricing-cta p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
}

/* === 联系预约板块 === */
.contact {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
}

.contact .section-title {
    color: white;
}

.contact .section-title::after {
    background: white;
}

.contact .section-subtitle {
    color: rgba(255,255,255,0.9);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: start;
}

.qrcode-container {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.qrcode-placeholder {
    margin-bottom: 1.5rem;
}

.qrcode-placeholder img {
    max-width: 280px;
    width: 100%;
    height: auto;
    border: 3px solid #1e3c72;
    border-radius: 10px;
    padding: 10px;
    background: white;
}

.qrcode-hint {
    color: #999;
    font-size: 0.9rem;
    margin-top: 1rem;
    font-style: italic;
}

.contact-instructions {
    text-align: left;
    color: #333;
}

.contact-instructions h3 {
    color: #1e3c72;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.contact-instructions ol {
    padding-left: 1.5rem;
}

.contact-instructions li {
    padding: 0.5rem 0;
    color: #555;
    line-height: 1.8;
}

.contact-info {
    color: white;
}

.contact-info h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.contact-benefits {
    list-style: none;
    margin-bottom: 2rem;
}

.contact-benefits li {
    padding: 0.8rem 0;
    font-size: 1rem;
    line-height: 1.8;
}

.service-areas-highlight,
.response-time {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.service-areas-highlight h4,
.response-time h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.service-areas-highlight p,
.response-time p {
    font-size: 0.95rem;
    line-height: 1.8;
    opacity: 0.95;
}

.contact-faq {
    margin-top: 4rem;
    background: rgba(255,255,255,0.1);
    padding: 2.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.contact-faq h3 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    text-align: center;
}

.faq-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: #ffd700;
}

.faq-item p {
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.95;
}

/* === 页脚 === */
footer {
    background: #0f1f3d;
    color: white;
    padding: 3rem 0 1.5rem;
}

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

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.footer-section p {
    font-size: 0.95rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

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

.footer-section ul li {
    margin-bottom: 0.6rem;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: #ffd700;
}

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

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

/* === 响应式设计 === */

/* 平板设备 (768px - 1024px) */
@media screen and (max-width: 1024px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .cases-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* 手机设备 (最大768px) */
@media screen and (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 2rem;
        gap: 0;
        transition: left 0.3s ease;
        overflow-y: auto;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 1.2rem 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-links a::after {
        display: none;
    }
    
    .hero {
        padding: 8rem 0 4rem;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .services-grid,
    .region-list,
    .about-features,
    .cases-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
    
    .qrcode-placeholder img {
        max-width: 240px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* 小屏手机 (最大480px) */
@media screen and (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .service-card,
    .region-section,
    .case-card,
    .pricing-card {
        padding: 1.5rem;
    }
    
    .qrcode-placeholder img {
        max-width: 200px;
    }
}

/* === 打印样式 === */
@media print {
    header,
    .mobile-menu,
    .cta-button,
    .pricing-button,
    footer {
        display: none;
    }
    
    body {
        color: black;
        background: white;
    }
    
    section {
        page-break-inside: avoid;
    }
}

/* === 辅助类 === */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.hidden {
    display: none;
}
