/* ===== AUXSHINE WordPress Theme Main Styles ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #fcfaf7;
    color: #2e2a27;
    line-height: 1.5;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.author-avatar {
    display: none;
}

/* ===== 导航栏 ===== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.logo {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #3a3530;
    text-decoration: none;
}

.logo span {
    font-weight: 300;
    color: #9b8c7c;
}

.nav-links {
    display: flex;
    gap: 48px;
    font-weight: 400;
    font-size: 15px;
}

.nav-links a {
    text-decoration: none;
    color: #3a3530;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #8f6e4f;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* ===== 按钮样式 ===== */
.btn {
    display: inline-block;
    padding: 12px 32px;
    background-color: #4f463e;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.3px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn:hover {
    background-color: #2e2a27;
}

.btn-outline {
    background: transparent;
    border: 1px solid #4f463e;
    color: #4f463e;
}

.btn-outline:hover {
    background: #4f463e;
    color: white;
}

/* ===== 页脚 ===== */
footer {
    border-top: 1px solid #e0d6cd;
    padding: 60px 0 40px;
    margin-top: 80px;
    color: #5f5a55;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-col p {
    margin: 16px 0 24px;
    color: #7a6e63;
}

.footer-col h4 {
    font-weight: 500;
    margin-bottom: 20px;
    color: #2e2a27;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    text-decoration: none;
    color: #7a6e63;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #4f463e;
}

.copyright {
    text-align: center;
    margin-top: 60px;
    color: #9b8c7c;
    font-size: 13px;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== HERO区域 ===== */
.hero {
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="%23cfc3b6" opacity="0.3"/><circle cx="30" cy="35" r="12" fill="%23b7a99a" opacity="0.4"/><circle cx="70" cy="65" r="20" fill="%239f8e7a" opacity="0.3"/></svg>');
    background-size: cover;
    background-position: center;
    margin-bottom: 60px;
    color: white;
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* ===== 网格卡片样式 ===== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 60px 0;
}

.category-card {
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-image {
    width: 100%;
    aspect-ratio: 1/1;
    background: #eae3db;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.category-name {
    text-align: center;
    font-weight: 500;
    font-size: 16px;
    color: #2e2a27;
}

/* ===== 特色系列 ===== */
.featured-collection {
    margin: 100px 0;
    text-align: center;
}

.collection-title {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 40px;
    color: #2e2a27;
}

/* ===== SEO卡片样式 ===== */
.home-seo-section {
    max-width: 1400px;
    margin: 60px auto;
    padding: 0;
}

.home-seo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.home-seo-card {
    background: white;
    border: 1px solid #eae3db;
    padding: 30px;
    transition: transform 0.2s;
}

.home-seo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
}

.home-seo-card h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #2e2a27;
    position: relative;
    padding-bottom: 10px;
}

.home-seo-card h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #8f6e4f;
}

.home-seo-card p {
    color: #5f5a55;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 14px;
}

.home-seo-card .badge {
    display: inline-block;
    background: #f0eae4;
    color: #4f463e;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    margin-right: 5px;
    margin-bottom: 5px;
}

/* ===== 数据统计样式 ===== */
.stats-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 60px 0;
    background: #f8f5f2;
    padding: 40px;
    border: 1px solid #eae3db;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 42px;
    font-weight: 300;
    color: #8f6e4f;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    color: #2e2a27;
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 5px;
}

.stat-desc {
    color: #7a6e63;
    font-size: 13px;
}

/* ===== 双列内容样式 ===== */
.two-col-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 60px 0;
    background: white;
    border: 1px solid #eae3db;
    padding: 40px;
}

.two-col-content h3 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 20px;
    color: #2e2a27;
}

.two-col-content p {
    color: #5f5a55;
    line-height: 1.8;
    margin-bottom: 20px;
}

.two-col-content .feature-list {
    list-style: none;
    margin: 20px 0;
}

.two-col-content .feature-list li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.two-col-content .feature-list li:before {
    content: '✓';
    color: #8f6e4f;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.two-col-image {
    background: #eae3db;
    min-height: 300px;
    border-radius: 8px;
}

/* ===== 404页面样式 ===== */
.error-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
}

.error-card {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.error-oops {
    font-size: 72px;
    font-weight: 600;
    color: #2e2a27;
    margin-bottom: 20px;
}

.error-code {
    font-size: 28px;
    font-weight: 500;
    color: #2e2a27;
    margin-bottom: 35px;
    letter-spacing: 1px;
}

.error-message {
    font-size: 18px;
    color: #7a6e63;
    margin-bottom: 45px;
    line-height: 1.5;
}

/* ===== Blog 样式 ===== */
.blog-post-container {
    max-width: 900px;
    margin: 60px auto;
}

.post-header {
    margin-bottom: 40px;
    text-align: center;
}

.post-header h1 {
    font-size: 42px;
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 25px;
}

.post-meta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 13px;
    color: #9b8c7c;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-category {
    color: #8f6e4f;
    font-weight: 500;
}

.post-author-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: #7a6e63;
    font-size: 14px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: #eae3db;
    border-radius: 50%;
}

.post-featured-image {
    width: 100%;
    height: 450px;
    margin: 30px 0 40px;
    border-radius: 8px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    color: #2e2a27;
    line-height: 1.8;
    font-size: 16px;
}

.post-content p {
    margin-bottom: 20px;
    color: #5f5a55;
}

.post-footer {
    margin: 50px 0;
    padding: 30px 0;
    border-top: 1px solid #eae3db;
    border-bottom: 1px solid #eae3db;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
}

.tags-label {
    color: #7a6e63;
    font-size: 14px;
    margin-right: 10px;
}

.tag {
    background: #f0eae4;
    color: #5f5a55;
    padding: 5px 12px;
    font-size: 13px;
    text-decoration: none;
    transition: background 0.2s;
}

.tag:hover {
    background: #8f6e4f;
    color: white;
}

.post-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-button {
    width: 36px;
    height: 36px;
    background: #f0eae4;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #4f463e;
    transition: background 0.2s;
}

.share-button:hover {
    background: #8f6e4f;
    color: white;
}

/* ===== 页面内容通用样式 ===== */
.page-header {
    padding: 60px 0 40px;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 16px;
    color: #2e2a27;
}

.page-content {
    max-width: 900px;
    margin: 0 auto 60px;
    color: #5f5a55;
    line-height: 1.8;
}

.page-content img {
    max-width: 100%;
    height: auto;
}

/* ===== 分页样式 ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 60px 0 40px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 14px;
    background: white;
    border: 1px solid #e0d6cd;
    text-decoration: none;
    color: #5f5a55;
    transition: all 0.2s;
}

.pagination a:hover,
.pagination .current {
    background: #4f463e;
    color: white;
    border-color: #4f463e;
}

/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
    .category-grid,
    .home-seo-grid,
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        z-index: 100;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .hero-content h1 {
        font-size: 42px;
    }
    
    .category-grid,
    .home-seo-grid,
    .stats-section,
    .two-col-section {
        grid-template-columns: 1fr;
    }
    
    .error-oops {
        font-size: 52px;
    }
    
    .error-code {
        font-size: 22px;
    }
    
    .error-message {
        font-size: 16px;
    }
    
    .page-header h1 {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .collection-title {
        font-size: 28px;
    }
    
    .hero {
        height: 70vh;
    }
}