/* 海洋青蓝主题 - 创美证件制作公司 */
:root {
    --primary: #008080;
    --secondary: #e0f7f7;
    --accent: #ff6f61;
    --dark: #004d4d;
    --light: #f0ffff;
    --text: #333;
    --text-light: #666;
    --white: #fff;
    --border: #b2dfdb;
    --shadow: 0 4px 20px rgba(0,128,128,0.1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Microsoft YaHei', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }
a { text-decoration: none; color: var(--primary); transition: 0.3s; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.header { background: linear-gradient(135deg, var(--primary), var(--dark)); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 15px rgba(0,0,0,0.1); }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; }
.logo { font-size: 24px; font-weight: bold; color: var(--white); letter-spacing: 2px; }
.logo span { color: var(--accent); }
.nav-menu { display: flex; gap: 25px; list-style: none; }
.nav-menu a { color: var(--white); font-size: 15px; padding: 8px 12px; border-radius: 20px; }
.nav-menu a:hover, .nav-menu a.active { background: rgba(255,255,255,0.2); color: var(--white); }
.hamburger { display: none; background: none; border: none; color: var(--white); font-size: 28px; cursor: pointer; }

/* Carousel */
.carousel { position: relative; overflow: hidden; height: 400px; }
.carousel-slides { display: flex; transition: transform 0.5s ease; height: 100%; }
.carousel-slide { min-width: 100%; height: 100%; position: relative; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-slide .slide-text { position: absolute; bottom: 40px; left: 40px; color: var(--white); background: rgba(0,0,0,0.5); padding: 15px 25px; border-radius: 10px; backdrop-filter: blur(5px); }
.carousel-slide h2 { font-size: 26px; margin-bottom: 8px; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.3); border: none; color: var(--white); font-size: 30px; padding: 15px 18px; cursor: pointer; border-radius: 50%; backdrop-filter: blur(5px); }
.carousel-btn.prev { left: 20px; }
.carousel-btn.next { right: 20px; }
.carousel-dots { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.carousel-dots span { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; }
.carousel-dots span.active { background: var(--white); }

/* Sections */
.section { padding: 60px 0; }
.section-title { text-align: center; font-size: 32px; color: var(--dark); margin-bottom: 15px; position: relative; }
.section-title::after { content: ''; display: block; width: 60px; height: 4px; background: var(--primary); margin: 10px auto 0; border-radius: 2px; }
.section-desc { text-align: center; color: var(--text-light); margin-bottom: 40px; font-size: 15px; }
.section-alt { background: var(--secondary); }

/* Wave decoration */
.wave { height: 40px; background: var(--secondary); position: relative; }
.wave::before { content: ''; position: absolute; top: -20px; left: 0; right: 0; height: 40px; background: var(--white); border-radius: 50% 50% 0 0; transform: scaleX(1.5); }

/* Masonry */
.masonry { column-count: 3; column-gap: 25px; }
.masonry-item { break-inside: avoid; margin-bottom: 25px; background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); transition: 0.3s; }
.masonry-item:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(0,128,128,0.2); }
.masonry-item img { width: 100%; height: 220px; object-fit: cover; }
.masonry-item .card-body { padding: 18px; }
.masonry-item h3 { font-size: 17px; color: var(--dark); margin-bottom: 8px; }
.masonry-item p { font-size: 14px; color: var(--text-light); line-height: 1.7; }
.masonry-item .tag { display: inline-block; background: var(--secondary); color: var(--primary); padding: 3px 12px; border-radius: 15px; font-size: 12px; margin-bottom: 8px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-text h2 { font-size: 28px; color: var(--dark); margin-bottom: 20px; }
.about-text p { font-size: 15px; color: var(--text-light); line-height: 1.8; margin-bottom: 15px; }
.about-img { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.about-img img { width: 100%; height: 350px; object-fit: cover; }

/* Reviews */
.review-card { background: var(--white); padding: 25px; border-radius: 12px; box-shadow: var(--shadow); margin-bottom: 20px; border-left: 4px solid var(--primary); }
.review-card .stars { color: #ffc107; margin-bottom: 10px; }
.review-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; margin-bottom: 12px; }
.review-card .author { font-weight: bold; color: var(--dark); }

/* FAQ */
.faq-item { background: var(--white); border-radius: 10px; margin-bottom: 12px; overflow: hidden; box-shadow: var(--shadow); }
.faq-question { padding: 18px 22px; cursor: pointer; font-size: 16px; font-weight: bold; color: var(--dark); display: flex; justify-content: space-between; align-items: center; }
.faq-question .icon { font-size: 20px; color: var(--primary); transition: 0.3s; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; padding: 0 22px; }
.faq-item.active .faq-answer { max-height: 300px; padding: 0 22px 18px; }
.faq-item.active .icon { transform: rotate(45deg); }
.faq-answer p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info h3 { font-size: 22px; color: var(--dark); margin-bottom: 20px; }
.contact-info p { font-size: 15px; color: var(--text-light); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.contact-info .icon { width: 36px; height: 36px; background: var(--secondary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.contact-form { background: var(--white); padding: 30px; border-radius: 12px; box-shadow: var(--shadow); }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 15px; border: 1px solid var(--border); border-radius: 8px; margin-bottom: 15px; font-size: 14px; }
.contact-form button { width: 100%; padding: 14px; background: var(--primary); color: var(--white); border: none; border-radius: 8px; font-size: 16px; cursor: pointer; transition: 0.3s; }
.contact-form button:hover { background: var(--dark); }

/* Links */
.links-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.links-card { background: var(--white); padding: 20px; border-radius: 10px; box-shadow: var(--shadow); text-align: center; }
.links-card h4 { color: var(--dark); margin-bottom: 12px; }
.links-card a { display: block; font-size: 14px; color: var(--text-light); padding: 5px 0; }

/* Article */
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 30px; }
.article-content { background: var(--white); padding: 30px; border-radius: 12px; box-shadow: var(--shadow); }
.article-content h1 { font-size: 26px; color: var(--dark); margin-bottom: 20px; }
.article-content h2 { font-size: 20px; color: var(--primary); margin: 25px 0 12px; padding-left: 12px; border-left: 4px solid var(--primary); }
.article-content p { font-size: 15px; line-height: 1.8; color: var(--text); margin-bottom: 15px; }
.article-content ul { margin: 15px 0; padding-left: 20px; }
.article-content ul li { margin-bottom: 8px; color: var(--text); line-height: 1.7; }
.article-img { width: 100%; max-width: 500px; margin: 20px auto; border-radius: 8px; box-shadow: var(--shadow); }
.article-sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-widget { background: var(--white); padding: 20px; border-radius: 12px; box-shadow: var(--shadow); }
.sidebar-widget h3 { font-size: 16px; color: var(--dark); margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid var(--primary); }
.sidebar-widget ul { list-style: none; }
.sidebar-widget ul li { margin-bottom: 10px; }
.sidebar-widget ul li a { font-size: 14px; color: var(--text-light); }
.sidebar-widget ul li a:hover { color: var(--primary); }

/* Buttons */
.btn-primary { display: inline-block; padding: 12px 30px; background: var(--primary); color: var(--white); border-radius: 25px; font-size: 15px; transition: 0.3s; border: none; cursor: pointer; }
.btn-primary:hover { background: var(--dark); transform: translateY(-2px); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-item { padding: 25px; }
.stat-num { font-size: 40px; font-weight: bold; color: var(--primary); }
.stat-label { font-size: 14px; color: var(--text-light); margin-top: 5px; }

/* Footer */
.footer { background: var(--dark); color: var(--white); padding: 50px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.footer-col h4 { font-size: 16px; margin-bottom: 15px; color: var(--accent); }
.footer-col p, .footer-col a { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.8; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 13px; color: rgba(255,255,255,0.5); }

/* Back to top */
.back-top { position: fixed; right: 20px; bottom: 100px; width: 45px; height: 45px; background: var(--primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; cursor: pointer; opacity: 0; transition: 0.3s; z-index: 999; }
.back-top.visible { opacity: 1; }
