﻿:root {
    --bg-page: #f7f4ef;
    --bg-card: #ffffff;
    --bg-soft: #f0ece5;
    --bg-dark-section: #3a3630;
    --bg-dark-card: #46413a;
    --gold: #c6a15b;
    --gold-hover: #b08d45;
    --gold-light: #FCF9F3;
    --gold-soft: #e8d9c0;
    --green: #9e3675;
    --green-dark: #7a2157;
    --text-primary: #2b2824;
    --text-secondary: #5a554d;
    --text-muted: #8a847a;
    --text-on-dark: #f0ede8;
    --text-muted-dark: #c0b8ad;
    --border: #e0d9cf;
    --border-dark: #5a524a;
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.06);
    --radius-sm: 4px;
    --radius-md: 6px;
    --font-sans: 'Helvetica Neue', 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    --transition: 0.25s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    font-size: 16px;
    padding-top: 0; /* 确保无顶部空白 */
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 32px;
}

/* 头部导航 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.90);
    transition: var(--transition);
    width: 100%;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.60);
    box-shadow: var(--shadow-sm);
}

.header .container {
    max-width: 96%;
    padding: 0 40px;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 84px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 1.6rem;
    letter-spacing: 0.5px;
    background: url(https://www.szfudu.com/assets/images/logo.png) no-repeat left center;
    background-size: 333px 60px;
    width: 333px;
    height: 60px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 50px;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: #333333;
    font-size: 1.1rem;
    font-weight: bold;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--green);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--green);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.language-switch {
    display: flex;
    align-items: center;
    gap: 4px;
    background-color: #3F8327;
    border-radius: 18px;
    padding: 4px 6px;
    border: 1px solid #3F8327;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 400;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 16px;
    transition: var(--transition);
    font-family: var(--font-sans);
}

.lang-btn.active {
    background: #fff;
    color: #192519;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    font-weight: 500;
}

.lang-btn:hover {
    color: var(--text-primary);
}


/* 导航栏"报名咨询"按钮 */
.nav-cta {
    display: inline-block;
    background: var(--green);
    color: #ffffff;
    padding: 9px 22px;
    border-radius: 20px;
    font-size: 0.98rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
    letter-spacing: 0.3px;
    border: 1px solid var(--green);
}

.nav-cta:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(157, 54, 117, 0.30);
}


.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    width: 26px;
    height: 2px;
    background: #333333; /* 白色线条 */
    transition: var(--transition);
    border-radius: 1px;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* 横幅 Hero */
.hero {
    position: relative;
    min-height: 750px;
    display: flex;
    align-items: center;
    background: url(https://www.szfudu.com/assets/images/hero-bg-2.jpg) #202733 no-repeat fixed center center;
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
    max-width: 100%;
    margin: 0;
    padding: 0 0 0 80px;
}

.hero-content {
    max-width: 800px;
    padding: 0px 0;
}

.hero-badge {
    display: inline-block;
    background: none;
    color: var(--gold-soft);
    padding: 0px 0px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 24px;
    letter-spacing: -0.3px;
    color: #FFFFFF;
}

.hero h1 .gold-text {
    color: var(--gold);
}

.hero p {
    font-size: 1.25rem;
    color: #FFFFFF;
    margin-bottom: 36px;
    max-width: 600px;
    line-height: 1.8;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.blog-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 50px 0px 0px 0px;
}

.btn-primary {
    background: var(--gold);
    color: #fff;
    padding: 14px 32px;
    border-radius: 20px;
    font-weight: 400;
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.2px;
}

.btn-primary:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(198, 161, 91, 0.35);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 20px;
    font-weight: 400;
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--transition);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline:hover {
    color: var(--green);
}

/* 通用 section */
.section {
    padding: 100px 0;
}

.section.section-dark {
    background-color: var(--bg-dark-section);
}

.section.section-soft {
    background-color: var(--bg-soft);
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.2px;
    color: #2b2824;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 12px auto 0;
}

.section-dark .section-title {
    color: var(--text-on-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 1.15rem;
    font-weight: 400;
}

.section-dark .section-subtitle {
    color: var(--text-muted-dark);
}

.gold-text {
    color: var(--gold);
}

/* 服务卡片 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-soft);
}

.service-card.featured {
    background: var(--gold-light);
    border-color: var(--gold-soft);
    padding: 40px 32px;
}

.service-card.featured .service-icon {
    font-size: 3rem;
}

.service-card.featured h3 {
    font-size: 1.5rem;
}

.service-card.featured p {
    font-size: 1.05rem;
}

.service-icon {
    font-size: 2.8rem;
    margin-bottom: 16px;
    display: block;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    font-weight: 500;
    color: #2b2824;
}

.service-card p {
    font-size: 1.00rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* 城市覆盖 */
.cities-wrapper {
    background: none;
    padding: 20px 40px 20px 40px;
}

.cities-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 18px;
    justify-content: center;
}

.city-tag {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 10px 22px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 400;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
    display: inline-block;
}

.city-tag:hover {
    background: var(--gold-light);
    border-color: var(--gold-soft);
    color: var(--gold);
    text-decoration: none;
}

/* 为什么选择我们 */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.why-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: var(--bg-card);
    padding: 28px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.section-dark .why-item {
    background: var(--bg-dark-card);
    border-color: var(--border-dark);
    box-shadow: none;
}

.why-item:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
    box-shadow: var(--shadow-md);
}

.why-icon {
    font-size: 2rem;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--gold-light);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-text h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2b2824;
}

.section-dark .why-text h4 {
    color: var(--text-on-dark);
}

.why-text p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.section-dark .why-text p {
    color: var(--text-muted-dark);
}

/* 预约流程 */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.process-step {
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    padding: 36px 24px 30px;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.section-dark .process-step {
    background: var(--bg-dark-card);
    border-color: var(--border-dark);
    box-shadow: none;
}

.process-step:hover {
    border-color: var(--gold-soft);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gold);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 14px;
    box-shadow: 0 2px 6px rgba(198, 161, 91, 0.4);
}

.process-step h4 {
    font-size: 1.25rem;
    font-weight: 500;
    color: #2b2824;
    margin-bottom: 8px;
}

.section-dark .process-step h4 {
    color: var(--text-on-dark);
}

.process-step p {
    font-size: 1rem;
    color: var(--text-muted);
}

.section-dark .process-step p {
    color: var(--text-muted-dark);
}

/* 钢琴保养知识 */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-soft);
}

.blog-img {
    height: 200px;
    background-color: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--gold-soft);
    background-size: cover;
    background-position: center;
}

.blog-body {
    padding: 24px 28px;
}

.blog-body .blog-tag {
    font-size: 0.85rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
    font-weight: 400;
}

.blog-body h3 {
    font-size: 1.3rem;
    font-weight: 500;
    color: #2b2824;
    margin-bottom: 10px;
}

.blog-body p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* FAQ */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    padding: 30px 28px 35px 28px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--gold-soft);
}

.faq-question {
    font-size: 1.2rem;
    font-weight: 500;
    color: #2b2824;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-question .faq-icon {
    color: var(--gold);
    font-weight: 400;
    font-size: 1.4rem;
}

.faq-answer {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    padding-left: 30px;
}

/* 联系区域 */
.contact-section {
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    padding: 56px 48px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 500;
    color: #2b2824;
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 28px;
    font-size: 1.1rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.contact-detail .icon {
    width: 42px;
    height: 42px;
    background: var(--gold-light);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--bg-page);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 1.05rem;
    font-family: var(--font-sans);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(198, 161, 91, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    background: var(--gold);
    color: #fff;
    padding: 14px 28px;
    border-radius: 20px;
    font-weight: 400;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.2px;
    margin-top: 8px;
    display: inline-block;
    width: fit-content;
}

.submit-btn:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(198, 161, 91, 0.3);
}

/* Footer */
.footer {
    background: var(--bg-soft);
    padding: 80px 0 80px 0px;
    text-align: center;
    color: #8C7E6C;
    font-size: 0.95rem;
}

.footer .container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #8C7E6C;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
}
