/* 厦门要账公司官网样式 - 轻奢低调高级风 */

/* 颜色变量 */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #c9a96e;
    --accent-color: #b8941f;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
}

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部导航 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s;
}

.header.scrolled {
    background: rgba(26, 26, 26, 0.95);
}

.header.scrolled .nav-menu a {
    color: #ffffff;
}

.header.scrolled .logo h1 {
    color: #ffffff;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo h1 {
    font-size: 24px;
    font-weight: 300;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.logo span {
    color: var(--secondary-color);
    font-weight: 600;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-menu a {
    font-size: 14px;
    color: var(--text-dark);
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--secondary-color);
    transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-color);
}

/* 面包屑 */
.breadcrumb {
    background: var(--bg-light);
    padding: 15px 0;
    margin-top: 80px;
    font-size: 14px;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--text-light);
}

.breadcrumb a:hover {
    color: var(--secondary-color);
}

/* 页面横幅 */
.page-banner {
    height: 400px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><path d="M0,200 Q300,100 600,200 T1200,200" fill="none" stroke="%23c9a96e" stroke-width="0.5" opacity="0.3"/></svg>');
    opacity: 0.1;
}

.page-banner h2 {
    font-size: 48px;
    color: #ffffff;
    font-weight: 300;
    letter-spacing: 5px;
    position: relative;
}

.page-banner h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: var(--secondary-color);
    margin: 20px auto 0;
}

/* 首页横幅 */
.hero-banner {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.05) 0%, transparent 70%);
}

.hero-content {
    text-align: center;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    font-size: 60px;
    font-weight: 300;
    letter-spacing: 8px;
    margin-bottom: 20px;
}

.hero-content h2 span {
    color: var(--secondary-color);
    font-weight: 600;
}

.hero-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 3px;
    margin-bottom: 40px;
}

.hero-btn {
    display: inline-block;
    padding: 15px 50px;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    font-size: 14px;
    letter-spacing: 2px;
    transition: all 0.3s;
}

.hero-btn:hover {
    background: var(--secondary-color);
    color: #ffffff;
}

/* 服务优势 */
.advantages {
    padding: 100px 0;
    background: var(--bg-white);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h3 {
    font-size: 36px;
    font-weight: 300;
    color: var(--primary-color);
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-light);
    font-size: 14px;
    letter-spacing: 2px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.advantage-item {
    text-align: center;
    padding: 40px 30px;
    transition: all 0.3s;
}

.advantage-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    border: 1px solid var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--secondary-color);
}

.advantage-item h4 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.advantage-item p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.8;
}

/* 关于我们简介 */
.about-preview {
    padding: 100px 0;
    background: var(--bg-light);
}

.about-preview-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    background: #e0e0e0;
}

.about-image::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 1px solid var(--secondary-color);
    z-index: -1;
}

.about-text h3 {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.about-text p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 2;
    margin-bottom: 30px;
}

.about-btn {
    display: inline-block;
    padding: 12px 40px;
    background: var(--primary-color);
    color: #ffffff;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.about-btn:hover {
    background: var(--secondary-color);
}

/* 新闻资讯 */
.news-preview {
    padding: 100px 0;
    background: var(--bg-white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-item {
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    overflow: hidden;
}

.news-item:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

.news-image {
    height: 200px;
    background: #e0e0e0;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 30px;
}

.news-date {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.news-content h4 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 15px;
    line-height: 1.5;
    letter-spacing: 0.5px;
}

.news-content p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.8;
}

/* 联系方式 */
.contact-preview {
    padding: 100px 0;
    background: var(--primary-color);
    color: #ffffff;
}

.contact-preview .section-title h3 {
    color: #ffffff;
}

.contact-preview .section-title p {
    color: rgba(255, 255, 255, 0.6);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border: 1px solid var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--secondary-color);
}

.contact-grid h4 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.contact-grid p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* 页脚 */
.footer {
    background: #0a0a0a;
    color: rgba(255, 255, 255, 0.6);
    padding: 60px 0 30px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h2 {
    font-size: 24px;
    color: #ffffff;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.footer-logo p {
    font-size: 14px;
    line-height: 1.8;
}

.footer-links h4,
.footer-contact h4,
.footer-services h4 {
    font-size: 16px;
    color: #ffffff;
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-services a {
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--secondary-color);
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 13px;
}

/* 关于我们页面 */
.about-content {
    padding: 80px 0;
}

.about-section {
    margin-bottom: 80px;
}

.about-section h3 {
    font-size: 30px;
    font-weight: 300;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.about-section p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 2;
    margin-bottom: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    background: var(--bg-light);
}

.stat-number {
    font-size: 48px;
    font-weight: 300;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    letter-spacing: 1px;
}

/* 新闻资讯页面 */
.news-list {
    padding: 80px 0;
}

.news-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.news-list-item {
    display: flex;
    gap: 30px;
    padding: 30px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.news-list-item:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.news-list-date {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.news-list-date .day {
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
}

.news-list-date .month {
    font-size: 12px;
    letter-spacing: 1px;
    margin-top: 5px;
}

.news-list-content h4 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 10px;
    line-height: 1.5;
}

.news-list-content p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.8;
}

/* 产品服务页面 */
.services-content {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-item {
    padding: 50px 30px;
    background: var(--bg-light);
    text-align: center;
    transition: all 0.3s;
}

.service-item:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.service-item:hover p {
    color: rgba(255, 255, 255, 0.7);
}

.service-item:hover .service-icon {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    transition: all 0.3s;
}

.service-item h4 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.service-item p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.8;
    transition: color 0.3s;
}

/* 联系我们页面 */
.contact-content {
    padding: 80px 0;
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info h3 {
    font-size: 30px;
    font-weight: 300;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.contact-info p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 2;
    margin-bottom: 30px;
}

.contact-details {
    margin-top: 40px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-detail-icon {
    width: 50px;
    height: 50px;
    border: 1px solid var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.contact-detail-text h5 {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 5px;
}

.contact-detail-text p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* 联系表单 */
.contact-form h3 {
    font-size: 30px;
    font-weight: 300;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
    background: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    padding: 15px 50px;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
}

.form-submit:hover {
    background: var(--secondary-color);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .advantages-grid,
    .news-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-preview-inner,
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-inner {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-content h2 {
        font-size: 36px;
    }
    
    .advantages-grid,
    .news-grid,
    .services-grid,
    .news-list-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ========== 占位图片样式（替代缺失的jpg图片）========== */
.placeholder-img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}
.placeholder-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201,169,110,0.08) 0%, transparent 60%);
}
.placeholder-img .placeholder-icon {
    font-size: 48px;
    z-index: 1;
    margin-bottom: 8px;
}
.placeholder-img span {
    font-size: 14px;
    color: rgba(201,169,110,0.8);
    letter-spacing: 2px;
    z-index: 1;
}

/* 关于我们占位图 */
.about-placeholder {
    min-height: 380px;
}
.about-placeholder .placeholder-icon {
    font-size: 72px;
}
.about-placeholder span {
    font-size: 18px;
}

/* 新闻列表占位图 */
.news-placeholder {
    min-height: 200px;
}
.news-placeholder .placeholder-icon {
    font-size: 40px;
}
a.placeholder-img {
    text-decoration: none;
    transition: opacity 0.3s;
}
a.placeholder-img:hover {
    opacity: 0.85;
}
