/* 奢侈风格全局样式 */
:root {
    --gold-color: #d4af37;
    --gold-light: #f1e5ac;
    --gold-dark: #a67c00;
    --black-color: #1a1a1a;
    --black-light: #2d2d2d;
    --white-color: #f8f8f8;
    --white-pearl: #f0f0f0;
    --text-color: #333;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    --border-radius: 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Playfair Display', serif;
}

body {
    background-color: var(--white-pearl);
    color: var(--text-color);
    line-height: 1.8;
    letter-spacing: 0.5px;
}

a {
    text-decoration: none;
    color: var(--black-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--gold-dark);
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 奢侈风格头部 */
header {
    background-color: var(--black-color);
    padding: 25px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--gold-color);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 32px;
    font-weight: 700;
    color: var(--gold-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    padding-left: 20px;
}

.logo::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 40px;
    background-color: var(--gold-color);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    color: var(--white-color);
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* 主要内容区域 */
.main-content {
    background-color: var(--white-color);
    padding: 60px;
    margin: 50px 0;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.section-title {
    font-size: 28px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gold-light);
    position: relative;
    color: var(--black-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100px;
    height: 2px;
    background-color: var(--gold-color);
}

/* 奢侈风格文章网格 */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

.article-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.5s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.article-card:hover {
    transform: translateY(-10px);
}

.card-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .card-image {
    transform: scale(1.05);
}

.card-body {
    padding: 25px;
    background-color: var(--white-color);
    position: relative;
}

.card-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--gold-color);
}

.card-title {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--black-color);
    line-height: 1.4;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #777;
    margin-top: 20px;
    font-family: 'Montserrat', sans-serif;
}

/* 分类标签 */
.category-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--gold-color);
    color: var(--black-color);
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

/* 文章详情页样式 */
.article-detail {
    max-width: 900px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 50px;
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--gold-light);
}

.article-title {
    font-size: 42px;
    margin-bottom: 25px;
    line-height: 1.3;
    color: var(--black-color);
    letter-spacing: 1px;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: #777;
    margin-bottom: 30px;
    font-family: 'Montserrat', sans-serif;
    flex-wrap: wrap;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
}

.article-content {
    line-height: 1.9;
    font-size: 18px;
    color: var(--black-light);
}

.article-content p {
    margin-bottom: 25px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    margin: 30px 0;
    box-shadow: var(--shadow);
}

/* 分页导航 */
.pagination {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    border-top: 1px solid var(--gold-light);
    padding-top: 30px;
}

.pagination a {
    padding: 12px 30px;
    background-color: var(--black-color);
    color: var(--white-color);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pagination a:hover {
    background-color: var(--gold-color);
    color: var(--black-color);
}

/* 友情链接 */
.friend-links {
    background-color: var(--white-color);
    padding: 40px;
    margin: 50px 0;
    box-shadow: var(--shadow);
}

.friend-links h3 {
    margin-bottom: 25px;
    color: var(--black-color);
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.friend-links-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.friend-links-container a {
    padding: 10px 20px;
    background-color: var(--black-color);
    color: var(--white-color);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.friend-links-container a:hover {
    background-color: var(--gold-color);
    color: var(--black-color);
}

/* 页脚样式 */
footer {
    background-color: var(--black-color);
    padding: 50px 0;
    text-align: center;
    border-top: 2px solid var(--gold-color);
}

.copyright {
    font-size: 14px;
    color: var(--white-color);
    letter-spacing: 1px;
    font-family: 'Montserrat', sans-serif;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .container {
        padding: 0 30px;
    }
    
    .main-content {
        padding: 40px;
    }
    
    .article-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 30px;
    }
    
    .article-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 25px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .main-content {
        padding: 30px;
        margin: 30px 0;
    }
    
    .article-grid {
        grid-template-columns: 1fr;
    }
    
    .article-title {
        font-size: 30px;
    }
    
    .article-meta {
        gap: 15px;
    }
}