/* 黑料不打网站样式 - 独特设计 */

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8B1538;
    --secondary-color: #FF8C42;
    --background-dark: #1A1D2E;
    --text-light: #F0F0F0;
    --accent-cyan: #00D9FF;
    --card-bg: #252837;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    background-color: var(--background-dark);
    color: var(--text-light);
    line-height: 1.8;
    font-size: 16px;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 - 非sticky */
.main-nav {
    background: linear-gradient(135deg, var(--primary-color) 0%, #5A0E24 100%);
    padding: 20px 0;
    border-bottom: 3px solid var(--secondary-color);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.site-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    flex-wrap: wrap;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 5px;
}

.nav-menu a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Hero区域 */
.hero-section {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-bottom: 60px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(139,21,56,0.8) 0%, rgba(255,140,66,0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    z-index: 2;
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #FF6B35 100%);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255,140,66,0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255,140,66,0.6);
}

/* 面包屑导航 */
.breadcrumb {
    padding: 15px 0;
    font-size: 14px;
    color: #999;
}

.breadcrumb a {
    color: var(--secondary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* 章节标题 */
.section-title {
    font-size: 36px;
    font-weight: bold;
    margin: 60px 0 30px;
    text-align: center;
    color: var(--secondary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 15px auto 0;
    border-radius: 2px;
}

/* 服务卡片网格 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.service-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px) rotate(-1deg);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(255,140,66,0.3);
}

.service-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-content {
    padding: 25px;
}

.service-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.service-description {
    font-size: 15px;
    line-height: 1.7;
    color: #CCC;
}

/* 作品展示网格 */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.work-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.work-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,217,255,0.4);
}

.work-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* 内容区块 */
.content-block {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    margin: 40px 0;
    border-left: 5px solid var(--secondary-color);
}

.content-block h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.content-block p {
    margin-bottom: 15px;
    line-height: 1.9;
    text-align: justify;
}

.content-block ul {
    list-style: none;
    padding-left: 0;
}

.content-block li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.content-block li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* FAQ区域 */
.faq-container {
    margin: 40px 0;
}

.faq-item {
    background: var(--card-bg);
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #333;
}

.faq-question {
    padding: 20px 25px;
    font-size: 18px;
    font-weight: bold;
    color: var(--secondary-color);
    cursor: pointer;
    position: relative;
}

.faq-question::before {
    content: 'Q: ';
    color: var(--primary-color);
    font-weight: bold;
}

.faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 15px;
    line-height: 1.8;
    color: #CCC;
}

.faq-answer::before {
    content: 'A: ';
    color: var(--accent-cyan);
    font-weight: bold;
}

/* 评论区域 */
.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.review-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-cyan);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer-name {
    font-size: 18px;
    font-weight: bold;
    color: var(--secondary-color);
}

.review-rating {
    color: #FFD700;
    font-size: 16px;
}

.review-location {
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
}

.review-text {
    font-size: 15px;
    line-height: 1.7;
    color: #CCC;
    margin-bottom: 10px;
}

.review-date {
    font-size: 13px;
    color: #777;
    text-align: right;
}

/* 支付方式 */
.payment-section {
    text-align: center;
    margin: 40px 0;
}

.payment-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.payment-icon {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* 页脚 */
.main-footer {
    background: linear-gradient(135deg, #0F1119 0%, var(--primary-color) 100%);
    padding: 50px 0 20px;
    margin-top: 80px;
    border-top: 3px solid var(--secondary-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #CCC;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #999;
    font-size: 14px;
}

.license-badge {
    max-width: 120px;
    margin: 20px auto;
    display: block;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .nav-menu {
        gap: 15px;
    }
    
    .services-grid,
    .works-grid,
    .reviews-container {
        grid-template-columns: 1fr;
    }
    
    .content-block {
        padding: 25px;
    }
}

/* 加载优化 */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}
