/* 重置样式和基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.header {
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}

.nav-brand h1 {
    font-size: 1.6rem;
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.tagline {
    font-size: 0.85rem;
    opacity: 0.9;
    color: #ecf0f1;
}

/* 桌面端导航 */
.desktop-nav {
    display: flex;
    gap: 2rem;
}

.desktop-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s;
}

.desktop-nav a:hover {
    background: rgba(255,255,255,0.1);
    color: #f1c40f;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
}

/* 移动端抽屉菜单 - 完全隐藏 */
.mobile-drawer {
    display: none;
}

/* 抽屉背景遮罩 - 完全隐藏 */
.drawer-overlay {
    display: none;
}

/* 联系按钮样式 */
.contact-quick {
    display: flex;
    align-items: center;
}

.phone-btn {
    background: #e74c3c;
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.phone-btn:hover {
    background: #c0392b;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(231, 76, 60, 0.3);
}

/* PC端显示手机号，移动端显示按钮文字 */
.phone-number {
    display: inline;
}

.phone-text {
    display: none;
}

/* 主横幅样式 */
.hero {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    color: #ecf0f1;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-item {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.feature-item span {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.cta-btn.primary {
    background: #e74c3c;
    color: white;
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* 通用部分样式 */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    position: relative;
    font-weight: 700;
}

.section-title::after {
    content: '';
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-bottom: 3rem;
}

/* 服务项目样式 */
.services {
    padding: 4rem 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #ecf0f1;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.service-card:hover {
    border-color: #3498db;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(52,152,219,0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.service-card h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.service-card ul {
    list-style: none;
    text-align: left;
}

.service-card li {
    padding: 0.6rem 0;
    border-bottom: 1px solid #ecf0f1;
    color: #555;
    font-size: 0.95rem;
}

.service-card li:last-child {
    border-bottom: none;
}

/* 样本展示样式 */
.samples {
    padding: 4rem 0;
    background: #f8f9fa;
}

.samples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.sample-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.sample-item:hover {
    transform: scale(1.05);
}

.sample-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.sample-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem 1rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.sample-item:hover .sample-overlay {
    transform: translateY(0);
}

/* 制作工艺样式 */
.process {
    padding: 4rem 0;
    background: white;
}

.process-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.process-text h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-weight: 600;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-number {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.step-content p {
    color: #7f8c8d;
}

.process-features {
    display: grid;
    gap: 1.5rem;
}

.feature {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #ecf0f1;
    transition: all 0.3s;
}

.feature:hover {
    border-color: #3498db;
}

.feature h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature p {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* 联系方式样式 */
.contact {
    padding: 4rem 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #e74c3c, #27ae60, #f39c12);
}

.contact .section-title {
    color: white;
}

.contact .section-title::after {
    background: linear-gradient(135deg, #f1c40f, #e67e22);
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item p {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.contact-item a {
    color: #f1c40f;
    text-decoration: none;
}

.contact-item small {
    opacity: 0.8;
    color: #bdc3c7;
}

.wechat-qr {
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.wechat-qr img {
    width: 200px;
    height: 200px;
    border-radius: 10px;
    margin-bottom: 1rem;
}

/* 免责声明样式 */
.disclaimer {
    background: #e74c3c;
    color: white;
    padding: 1.5rem 0;
    text-align: center;
}

.disclaimer-text {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* 底部样式 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    margin-bottom: 0.5rem;
    color: #f1c40f;
    font-weight: 600;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 1rem;
    color: #f1c40f;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    padding: 0.3rem 0;
    color: #bdc3c7;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    color: #bdc3c7;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    text-align: center;
    color: #bdc3c7;
}

/* 移动端底部操作栏 */
.mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 0.8rem 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
    border-top: 1px solid #ecf0f1;
}

.mobile-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #7f8c8d;
    flex: 1;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s;
}

.mobile-action:hover,
.mobile-action:active {
    color: #2c3e50;
}

.mobile-action span {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.mobile-action small {
    font-size: 0.7rem;
    font-weight: 500;
}

.mobile-action.phone span {
    color: #e74c3c;
}

.mobile-action.wechat span {
    color: #27ae60;
}

.mobile-action.service span {
    color: #3498db;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #7f8c8d;
    background: none;
    border: none;
    z-index: 10;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #e74c3c;
}

.modal-content h3 {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    padding: 1.5rem 2rem;
    margin: 0;
    border-radius: 15px 15px 0 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.wechat-info {
    padding: 2rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    align-items: start;
}

.wechat-info img {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    border: 2px solid #ecf0f1;
}

.wechat-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.wechat-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.wechat-id {
    background: #f8f9fa;
    padding: 0.8rem;
    border-radius: 8px;
    border: 2px solid #ecf0f1;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wechat-id:hover {
    border-color: #27ae60;
    background: #e8f5e8;
}

.wechat-id span {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.1rem;
}

.copy-btn {
    background: #27ae60;
    color: white;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.3s;
}

.copy-btn:hover {
    background: #229954;
}

.wechat-tips {
    background: #e3f2fd;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.wechat-tips p {
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
    color: #2c3e50;
}

.wechat-tips p:first-child {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.service-hours {
    background: #fff3cd;
    padding: 0.8rem;
    border-radius: 8px;
    border-left: 4px solid #f39c12;
}

.service-hours p {
    color: #856404;
    font-size: 0.9rem;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header .container {
        flex-wrap: nowrap;
    }
    
    .desktop-nav {
        display: none;
    }
    
    /* 移动端电话按钮样式 */
    .phone-number {
        display: none;
    }
    
    .phone-text {
        display: inline;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-item {
        padding: 1.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .samples-grid {
        grid-template-columns: 1fr;
    }
    
    .process-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .mobile-bottom-bar {
        display: flex;
    }
    
    body {
        padding-bottom: 70px;
    }
    
    .wechat-info {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .wechat-info img {
        justify-self: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .feature-item span {
        font-size: 2rem;
    }
    
    .wechat-qr img {
        width: 150px;
        height: 150px;
    }
    
    .modal-content {
        margin: 15% auto;
        width: 95%;
    }
    
    .wechat-info {
        padding: 1.5rem;
    }
    
    .wechat-info img {
        width: 120px;
        height: 120px;
    }
}

/* 超小屏幕设备（320px及以下） */
@media (max-width: 320px) {
    .container {
        padding: 0 8px;
    }
    
    .nav-brand h1 {
        font-size: 1.4rem;
    }
    
    .tagline {
        font-size: 0.75rem;
    }
    
    .phone-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .hero h2 {
        font-size: 1.3rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .feature-item {
        padding: 1rem;
    }
    
    .feature-item span {
        font-size: 1.8rem;
    }
    
    .feature-item h3 {
        font-size: 1.1rem;
    }
    
    .cta-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    .mobile-bottom-bar {
        padding: 0.6rem 0;
    }
    
    .mobile-action span {
        font-size: 1.3rem;
    }
    
    .mobile-action small {
        font-size: 0.65rem;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.service-card,
.sample-item,
.step {
    animation: fadeInUp 0.6s ease-out;
}

/* 滚动行为 */
html {
    scroll-behavior: smooth;
}

/* 链接样式 */
a {
    transition: all 0.3s ease;
}

/* 按钮悬停效果 */
.cta-btn:hover,
.phone-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* 加载优化 */
img {
    max-width: 100%;
    height: auto;
}

/* 可访问性 */
:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* 打印样式 */
@media print {
    .mobile-bottom-bar,
    .modal {
        display: none !important;
    }
} 