/* Global Styles */
:root {
    --primary-color: #1a365d;
    --secondary-color: #c9a227;
    --text-color: #333;
    --light-bg: #f7f9fc;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans TC', 'Noto Sans SC', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Header */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 30px;
}

/* 水墨书法风格Logo */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-brush {
    position: relative;
    display: inline-block;
}

.logo-cn {
    font-family: 'Ma Shan Zheng', 'STKaiti', 'KaiTi', 'FangSong', 'STFangsong', serif;
    font-size: 32px;
    color: #1a1a1a;
    letter-spacing: 4px;
    position: relative;
    text-shadow: 
        1px 1px 0px rgba(0,0,0,0.1),
        2px 2px 4px rgba(0,0,0,0.1);
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 50%, #333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.2));
    line-height: 1.2;
}

.logo-en {
    font-family: 'Times New Roman', Georgia, serif;
    font-size: 11px;
    color: #666;
    letter-spacing: 4px;
    font-style: italic;
    margin-top: 2px;
    display: block;
}

/* 默认显示中文，英文时隐藏 */
.logo-en {
    display: block;
}

/* 英文模式下只显示英文logo */
html[lang="en"] .logo-cn {
    display: none;
}
html[lang="en"] .logo-en {
    font-family: 'Ma Shan Zheng', 'STKaiti', 'KaiTi', 'FangSong', 'STFangsong', serif;
    font-size: 28px;
    letter-spacing: 6px;
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 50%, #333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.2));
}

/* 中文/简体模式下只显示中文logo */
html[lang="zh"] .logo-en,
html[lang="sc"] .logo-en {
    display: none;
}

.logo-brush::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9a227, #c9a227, transparent);
    opacity: 0.6;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 10px;
    align-items: center;
}

.lang-btn {
    padding: 8px 15px;
    border: 1px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
}

.lang-btn.active,
.lang-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Hero Section */
.hero {
    margin-top: 80px;
    height: 80vh;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.9), rgba(26, 54, 93, 0.7)),
                url('imgs/hong-kong-skyline-victoria-harbour-night-promenade.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-content {
    max-width: 900px;
    padding: 20px;
}

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201, 162, 39, 0.3);
}

/* Section Styles */
section {
    padding: 80px 30px;
}

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

.section-title h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-title p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.about-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

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

/* Trust Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-item {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefit-icon svg {
    width: 40px;
    height: 40px;
    fill: white;
}

/* Services Section */
.services-bg {
    background: var(--light-bg);
}

.service-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 15px;
    transition: var(--transition);
}

.service-icon {
    width: 100px;
    height: 100px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.service-icon svg {
    width: 50px;
    height: 50px;
    stroke: var(--primary-color);
}

/* Contact Section */
.contact-bg {
    background: var(--primary-color);
    color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    fill: var(--secondary-color);
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    color: var(--text-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

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

/* Footer */
footer {
    background: #0d1b2a;
    color: var(--white);
    padding: 50px 30px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-about h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.footer-links h4,
.footer-social h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links ul li a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--white);
}

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

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Family Office Page */
.hero-small {
    height: 50vh;
}

.breadcrumb {
    padding: 20px 30px;
    background: var(--light-bg);
}

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

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    padding: 30px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-left: 4px solid var(--secondary-color);
}

/* Process Steps */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .hero-content h2 {
        font-size: 32px;
    }
    
    .about-grid,
    .contact-content,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid,
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), #2d4a6f);
    color: var(--white);
    padding: 120px 30px 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}
