/*
Theme Name: Label Plus Printing
Theme URI: http://labelplusprinting.com
Author: Label Plus Printing
Author URI: http://labelplusprinting.com
Description: Label Plus Printing 专属WordPress主题 - 专业商标设计、印刷与销售公司官网主题。
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: label-plus-printing
*/

/* ===================================
   CSS重置与基础样式
=================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   头部导航
=================================== */
.site-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-logo h1,
.site-logo .site-logo-text {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
    white-space: nowrap;
}

.site-logo .logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.main-nav ul,
.main-nav .nav-menu {
    display: flex;
    gap: 35px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 0;
    position: relative;
    transition: all 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #e94560;
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: #ffffff;
}

.main-nav a:hover::after {
    width: 100%;
}

/* 当前页面高亮 */
.main-nav li.current-menu-item a,
.main-nav li.current_page_item a {
    color: #ffffff;
}

.main-nav li.current-menu-item a::after,
.main-nav li.current_page_item a::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===================================
   首页英雄区域
=================================== */
.hero-section {
    margin-top: 74px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 580px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::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 1440 320"><path fill="rgba(233,69,96,0.1)" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    padding: 60px 20px;
}

.hero-content h2 {
    font-size: 46px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.25;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content .subtitle {
    font-size: 20px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 35px;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    color: #ffffff;
    padding: 14px 38px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233,69,96,0.4);
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(233,69,96,0.5);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    padding: 14px 38px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: #ffffff;
    color: #1a1a2e;
}

/* ===================================
   区域通用样式
=================================== */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 38px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 17px;
    color: #666;
    max-width: 650px;
    margin: 0 auto;
}

.section-title .underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #e94560, #ff6b6b);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* ===================================
   特色服务区域（首页）
=================================== */
.features-section {
    background: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.feature-card {
    background: #ffffff;
    padding: 40px 28px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.feature-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #ffffff;
}

.feature-card h3 {
    font-size: 20px;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
    font-size: 14px;
}

/* ===================================
   产品预览区域（首页）
=================================== */
.products-preview {
    background: #ffffff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 30px;
}

.product-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.product-image {
    height: 260px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 22px;
}

.product-info h3 {
    font-size: 19px;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.product-info p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* ===================================
   行动号召区域（首页）
=================================== */
.cta-section {
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    color: #ffffff;
    text-align: center;
    padding: 75px 20px;
}

.cta-section h2 {
    font-size: 34px;
    margin-bottom: 18px;
}

.cta-section p {
    font-size: 17px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-btn {
    background: #ffffff;
    color: #e94560;
    padding: 15px 42px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 17px;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* ===================================
   产品页面
=================================== */
.page-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 110px 20px 55px;
    text-align: center;
    color: #ffffff;
}

.page-hero h1 {
    font-size: 40px;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 17px;
    opacity: 0.9;
}

.products-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 35px;
    padding: 60px 0;
}

.products-page-grid > .container {
    display: contents;
}

.product-detail-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.product-detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.product-detail-image {
    height: 330px;
    background: linear-gradient(145deg, #f5f5f5, #e8e8e8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
}

.product-detail-image img {
    max-width: 88%;
    max-height: 88%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
}

.product-detail-info {
    padding: 28px;
}

.product-detail-info h3 {
    font-size: 22px;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.product-detail-info p {
    color: #555;
    line-height: 1.85;
    margin-bottom: 18px;
    font-size: 14px;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-features span {
    background: #f0f4ff;
    color: #0f3460;
    padding: 5px 13px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

/* ===================================
   关于我们页面
=================================== */
.about-intro {
    padding: 80px 0;
    background: #ffffff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;
}

.about-image {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.about-image-placeholder {
    width: 100%;
    height: 430px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 44px;
    flex-direction: column;
    gap: 12px;
}

.about-text h2 {
    font-size: 33px;
    color: #1a1a2e;
    margin-bottom: 18px;
    line-height: 1.3;
}

.about-text .highlight {
    color: #e94560;
}

.about-text p {
    color: #555;
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 16px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 35px;
}

.stat-item {
    text-align: center;
    padding: 22px 12px;
    background: #f8f9fa;
    border-radius: 14px;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: #e94560;
    display: block;
}

.stat-label {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
}

.values-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 26px;
}

.value-card {
    background: #ffffff;
    padding: 32px 22px;
    border-radius: 14px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.value-card:hover {
    border-top-color: #e94560;
    transform: translateY(-5px);
}

.value-icon {
    font-size: 38px;
    margin-bottom: 14px;
}

.value-card h3 {
    font-size: 19px;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.value-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

/* ===================================
   联系我们页面
=================================== */
.contact-section {
    padding: 80px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
}

.contact-info-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 40px 32px;
    border-radius: 18px;
    color: #ffffff;
}

.contact-info-card h3 {
    font-size: 26px;
    margin-bottom: 28px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 26px;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    background: rgba(233,69,96,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-item-text h4 {
    font-size: 15px;
    margin-bottom: 4px;
    font-weight: 600;
}

.contact-item-text p,
.contact-item-text a {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    line-height: 1.6;
}

.contact-item-text a:hover {
    color: #ffffff;
}

.contact-form-card {
    background: #ffffff;
    padding: 36px;
    border-radius: 18px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.contact-form-card h3 {
    font-size: 24px;
    color: #1a1a2e;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #e94560;
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    color: #ffffff;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(233,69,96,0.4);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.map-section {
    margin-top: 55px;
}

.map-section h3 {
    font-size: 26px;
    text-align: center;
    margin-bottom: 28px;
    color: #1a1a2e;
}

.map-container {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 380px;
    background: #e0e0e0;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===================================
   底部
=================================== */
.site-footer {
    background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
    color: #ffffff;
    padding: 55px 0 28px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 36px;
    margin-bottom: 36px;
}

.footer-brand h3 {
    font-size: 22px;
    margin-bottom: 14px;
    color: #ffffff;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.footer-social {
    display: flex;
    gap: 11px;
}

.social-link {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 17px;
    color: #fff;
}

.social-link:hover {
    background: #e94560;
    transform: translateY(-3px);
}

.footer-links h4 {
    font-size: 17px;
    margin-bottom: 18px;
    color: #ffffff;
}

.footer-links ul li {
    margin-bottom: 11px;
}

.footer-links ul li a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-contact h4 {
    font-size: 17px;
    margin-bottom: 18px;
    color: #ffffff;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 14px;
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    line-height: 1.6;
}

.footer-contact-item span:first-child {
    font-size: 17px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 22px;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}

/* ===================================
   响应式设计
=================================== */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-content h2 {
        font-size: 36px;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1a1a2e;
        padding: 20px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    }
    
    .main-nav ul,
    .main-nav .nav-menu {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav li {
        padding: 10px 0;
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .products-page-grid {
        grid-template-columns: 1fr;
    }

    .products-page-grid > .container {
        display: block;
    }
}

@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 29px;
    }
    
    .hero-content .subtitle {
        font-size: 16px;
    }
    
    .section-title h2 {
        font-size: 29px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 35px auto 0;
    }

    .page-hero h1 {
        font-size: 31px;
    }

    .site-logo h1,
    .site-logo .site-logo-text {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        padding: 12px 32px;
        font-size: 14px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
}
