/*
Theme Name: 成都嘉美地毯企业主题
Theme URI: https://pvc88888.com
Author: 成都嘉美地毯有限公司
Author URI: https://pvc88888.com
Description: 专为成都嘉美地毯有限公司定制的企业网站主题，突出地毯和PVC地板批发安装业务。采用现代商务专业风格，响应式设计，支持多设备访问。
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cdjiametitan
Domain Path: /languages
Tags: business, ecommerce, responsive, custom-background, custom-logo, custom-menu, featured-images, translation-ready

成都嘉美地毯有限公司专业网站主题，专注于展示地毯和PVC地板产品，提供一站式批发、销售、安装服务。主题采用现代商务设计风格，突出专业性和可靠性。
*/

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Microsoft YaHei', 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'WenQuanYi Micro Hei', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 链接样式 */
a {
    color: #1E3A8A;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #F59E0B;
    text-decoration: underline;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #1E3A8A;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    background-color: #F59E0B;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-secondary {
    background-color: #4B5563;
}

.btn-secondary:hover {
    background-color: #6B7280;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #1E3A8A;
    color: #1E3A8A;
}

.btn-outline:hover {
    background-color: #1E3A8A;
    color: white;
}

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #1E3A8A;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.5rem;
    margin-bottom: 0.875rem;
}

/* 段落样式 */
p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* 列表样式 */
ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

/* 表单样式 */
input, textarea, select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #1E3A8A;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #1E3A8A;
}

/* 工具类 */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.p-5 { padding: 3rem; }

.bg-primary { background-color: #1E3A8A; color: white; }
.bg-secondary { background-color: #4B5563; color: white; }
.bg-light { background-color: #f8f9fa; }
.bg-white { background-color: white; }

/* 响应式设计 */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
    
    .container {
        padding: 0 10px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    .container {
        padding: 0 5px;
    }
}

/* 打印样式 */
@media print {
    .no-print { display: none; }
    a { color: black; text-decoration: none; }
    .btn { display: none; }
}