/* ============================================================
   金乐坊 JinLeFang - 乐享生活，金色年华
   Company Website Stylesheet
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --gold: #C7923E;
    --gold-light: #D4A84B;
    --gold-dark: #A0722E;
    --gold-pale: #FDF5E6;
    --white: #FFFFFF;
    --off-white: #FAFAF7;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --border: #E8E3D5;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--off-white);
    -webkit-font-smoothing: antialiased;
}

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* --- Buttons --- */
.btn-primary {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--white);
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(199, 146, 62, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(199, 146, 62, 0.4);
}

.btn-outline {
    display: inline-block;
    padding: 12px 32px;
    border: 2px solid var(--gold);
    color: var(--gold-dark);
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
    background: transparent;
}
.btn-outline:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-login {
    padding: 8px 24px;
    background: var(--gold);
    color: var(--white);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}
.btn-login:hover {
    background: var(--gold-dark);
    transform: translateY(-1px);
}

.btn-lg { padding: 16px 40px; font-size: 17px; }

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo-link { display: flex; align-items: center; }

.logo-img {
    height: 44px;
    width: auto;
    border-radius: 8px;
}

.main-nav ul {
    display: flex;
    gap: 36px;
}

.main-nav a {
    font-size: 15px;
    color: var(--text);
    font-weight: 500;
    position: relative;
    padding: 4px 0;
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }
.main-nav a:hover,
.main-nav a.active { color: var(--gold-dark); }

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(199, 146, 62, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(212, 168, 75, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, var(--gold-pale) 0%, var(--off-white) 100%);
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.hero-logo {
    width: 140px;
    height: auto;
    margin: 0 auto 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--gold-dark);
    margin-bottom: 12px;
    letter-spacing: 2px;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.hero-desc {
    font-size: 17px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Section Common --- */
section { padding: 100px 0; }

.section-title {
    text-align: center;
    font-size: 34px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.section-desc {
    text-align: center;
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 56px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Services --- */
.services {
    background: var(--white);
}

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

.service-card {
    padding: 40px 28px;
    border-radius: var(--radius);
    background: var(--off-white);
    border: 1px solid var(--border);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-light);
}

.service-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--gold-pale), #FFF8EE);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}

.service-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.service-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* --- About --- */
.about {
    background: var(--off-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.about-text .section-title { text-align: left; }

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

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 32px;
}

.stat-item {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--gold);
    line-height: 1.2;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-logo {
    width: 220px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* --- Features --- */
.features {
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-num {
    font-size: 48px;
    font-weight: 800;
    color: var(--gold-pale);
    line-height: 1;
    flex-shrink: 0;
}

.feature-item h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
}

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

/* --- Contact --- */
.contact {
    background: var(--off-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-size: 15px;
    color: var(--text-light);
}

.contact-item svg {
    color: var(--gold);
    flex-shrink: 0;
}

.contact-form {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    color: var(--text);
    background: var(--off-white);
    transition: var(--transition);
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(199, 146, 62, 0.1);
}

.contact-form textarea {
    resize: vertical;
    margin-bottom: 16px;
}

.contact-form .btn-primary {
    width: 100%;
}

/* --- CTA --- */
.cta-section {
    text-align: center;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--white);
    padding: 80px 0;
}

.cta-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-section p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-section .btn-primary {
    background: var(--white);
    color: var(--gold-dark);
    box-shadow: var(--shadow-md);
}
.cta-section .btn-primary:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* --- Footer --- */
.site-footer {
    background: #2C2418;
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 8px;
}

.footer-brand p {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

.footer-links h4 {
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}
.footer-links a:hover { color: var(--gold-light); }

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.35);
}

/* --- Responsive --- */
@media (max-width: 968px) {
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; }
    .about-image { order: -1; }
    .about-logo { width: 160px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 640px) {
    .site-header .container { height: 60px; }
    .main-nav { display: none; }
    .logo-img { height: 34px; }
    .hero-title { font-size: 28px; }
    .hero-subtitle { font-size: 16px; }
    .hero-logo { width: 100px; }
    .section-title { font-size: 26px; }
    .service-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .about-stats { gap: 20px; }
    .btn-login { padding: 6px 16px; font-size: 13px; }
}
