/**
 * Japanese Components
 * 日本語コンポーネント
 * 
 * 日语站点特定组件的样式优化
 * 
 * @package Corporate_Theme
 * @since 1.0.0
 */

/* ========================================
   首页优化
   ======================================== */

/* Hero Section - 英雄区域 */
html[lang="ja-JP"] .home-hero,
html[lang="ja"] .home-hero {
    padding: 5rem 0;
}

html[lang="ja-JP"] .home-hero h1,
html[lang="ja"] .home-hero h1 {
    font-size: 2.75rem;
    line-height: 1.5;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

html[lang="ja-JP"] .home-hero .lead,
html[lang="ja"] .home-hero .lead {
    font-size: 1.15rem;
    line-height: 1.9;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

/* 公司介绍模块 */
html[lang="ja-JP"] .intro-section,
html[lang="ja"] .intro-section {
    padding: 4rem 0;
}

html[lang="ja-JP"] .intro-content h2,
html[lang="ja"] .intro-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.08em;
}

html[lang="ja-JP"] .intro-content p,
html[lang="ja"] .intro-content p {
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 1.25rem;
}

/* 统计数字 */
html[lang="ja-JP"] .stats-grid,
html[lang="ja"] .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

html[lang="ja-JP"] .stat-item,
html[lang="ja"] .stat-item {
    text-align: center;
    padding: 1.5rem;
}

html[lang="ja-JP"] .stat-number,
html[lang="ja"] .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e88e5;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

html[lang="ja-JP"] .stat-label,
html[lang="ja"] .stat-label {
    font-size: 0.95rem;
    color: #666;
    letter-spacing: 0.05em;
}

/* ========================================
   产品页面优化
   ======================================== */

html[lang="ja-JP"] .product-grid,
html[lang="ja"] .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

html[lang="ja-JP"] .product-card,
html[lang="ja"] .product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

html[lang="ja-JP"] .product-card:hover,
html[lang="ja"] .product-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

html[lang="ja-JP"] .product-card-image,
html[lang="ja"] .product-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

html[lang="ja-JP"] .product-card-content,
html[lang="ja"] .product-card-content {
    padding: 1.5rem;
}

html[lang="ja-JP"] .product-card-title,
html[lang="ja"] .product-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
    color: #333;
}

html[lang="ja-JP"] .product-card-description,
html[lang="ja"] .product-card-description {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1rem;
}

html[lang="ja-JP"] .product-card-link,
html[lang="ja"] .product-card-link {
    display: inline-block;
    color: #1e88e5;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    font-weight: 500;
}

html[lang="ja-JP"] .product-card-link:hover,
html[lang="ja"] .product-card-link:hover {
    color: #1565c0;
    text-decoration: underline;
}

/* ========================================
   关于我们页面优化
   ======================================== */

html[lang="ja-JP"] .about-section,
html[lang="ja"] .about-section {
    padding: 4rem 0;
}

html[lang="ja-JP"] .about-section h2,
html[lang="ja"] .about-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 0.08em;
}

html[lang="ja-JP"] .about-content,
html[lang="ja"] .about-content {
    max-width: 800px;
    margin: 0 auto;
}

/* 时间线 */
html[lang="ja-JP"] .timeline,
html[lang="ja"] .timeline {
    position: relative;
    padding: 2rem 0;
}

html[lang="ja-JP"] .timeline-item,
html[lang="ja"] .timeline-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 2rem;
}

html[lang="ja-JP"] .timeline-item::before,
html[lang="ja"] .timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 12px;
    height: 12px;
    background: #1e88e5;
    border-radius: 50%;
}

html[lang="ja-JP"] .timeline-year,
html[lang="ja"] .timeline-year {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e88e5;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

html[lang="ja-JP"] .timeline-content,
html[lang="ja"] .timeline-content {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #666;
}

/* ========================================
   联系我们页面优化
   ======================================== */

html[lang="ja-JP"] .contact-form,
html[lang="ja"] .contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

html[lang="ja-JP"] .contact-form .form-group,
html[lang="ja"] .contact-form .form-group {
    margin-bottom: 1.5rem;
}

html[lang="ja-JP"] .contact-form label,
html[lang="ja"] .contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
}

html[lang="ja-JP"] .contact-form input,
html[lang="ja-JP"] .contact-form textarea,
html[lang="ja"] .contact-form input,
html[lang="ja"] .contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    line-height: 1.6;
}

html[lang="ja-JP"] .contact-form textarea,
html[lang="ja"] .contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

html[lang="ja-JP"] .contact-form .submit-btn,
html[lang="ja"] .contact-form .submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.3s ease;
}

html[lang="ja-JP"] .contact-form .submit-btn:hover,
html[lang="ja"] .contact-form .submit-btn:hover {
    background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.3);
}

/* 联系信息 */
html[lang="ja-JP"] .contact-info,
html[lang="ja"] .contact-info {
    margin-top: 3rem;
    text-align: center;
}

html[lang="ja-JP"] .contact-info-item,
html[lang="ja"] .contact-info-item {
    margin-bottom: 1.5rem;
}

html[lang="ja-JP"] .contact-info-label,
html[lang="ja"] .contact-info-label {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

html[lang="ja-JP"] .contact-info-value,
html[lang="ja"] .contact-info-value {
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
    letter-spacing: 0.03em;
}

/* ========================================
   新闻/博客页面优化
   ======================================== */

html[lang="ja-JP"] .blog-grid,
html[lang="ja"] .blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

html[lang="ja-JP"] .blog-card,
html[lang="ja"] .blog-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

html[lang="ja-JP"] .blog-card:hover,
html[lang="ja"] .blog-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

html[lang="ja-JP"] .blog-card-image,
html[lang="ja"] .blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

html[lang="ja-JP"] .blog-card-content,
html[lang="ja"] .blog-card-content {
    padding: 1.5rem;
}

html[lang="ja-JP"] .blog-card-date,
html[lang="ja"] .blog-card-date {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 0.75rem;
    letter-spacing: 0.03em;
}

html[lang="ja-JP"] .blog-card-title,
html[lang="ja"] .blog-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
    line-height: 1.5;
}

html[lang="ja-JP"] .blog-card-excerpt,
html[lang="ja"] .blog-card-excerpt {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1rem;
}

/* ========================================
   面包屑导航
   ======================================== */

html[lang="ja-JP"] .breadcrumb,
html[lang="ja"] .breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 2rem;
}

html[lang="ja-JP"] .breadcrumb a,
html[lang="ja"] .breadcrumb a {
    color: #1e88e5;
    text-decoration: none;
    letter-spacing: 0.03em;
}

html[lang="ja-JP"] .breadcrumb a:hover,
html[lang="ja"] .breadcrumb a:hover {
    text-decoration: underline;
}

html[lang="ja-JP"] .breadcrumb-separator,
html[lang="ja"] .breadcrumb-separator {
    color: #ccc;
}

/* ========================================
   分页导航
   ======================================== */

html[lang="ja-JP"] .pagination,
html[lang="ja"] .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

html[lang="ja-JP"] .pagination a,
html[lang="ja-JP"] .pagination span,
html[lang="ja"] .pagination a,
html[lang="ja"] .pagination span {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
}

html[lang="ja-JP"] .pagination a:hover,
html[lang="ja"] .pagination a:hover {
    background: #1e88e5;
    color: #fff;
    border-color: #1e88e5;
}

html[lang="ja-JP"] .pagination .current,
html[lang="ja"] .pagination .current {
    background: #1e88e5;
    color: #fff;
    border-color: #1e88e5;
}

/* ========================================
   响应式优化
   ======================================== */

@media (max-width: 768px) {
    html[lang="ja-JP"] .home-hero h1,
    html[lang="ja"] .home-hero h1 {
        font-size: 1.75rem;
    }
    
    html[lang="ja-JP"] .product-grid,
    html[lang="ja"] .product-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    html[lang="ja-JP"] .blog-grid,
    html[lang="ja"] .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    html[lang="ja-JP"] .contact-form,
    html[lang="ja"] .contact-form {
        padding: 1.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    html[lang="ja-JP"] .product-grid,
    html[lang="ja"] .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    html[lang="ja-JP"] .blog-grid,
    html[lang="ja"] .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
