/* ============================================
   瑞悦万象房地产有限公司 - 官方网站样式表
   国风+东南亚轻奢融合风格
   主题色：深咖、金色、米白、墨绿
============================================ */

/* ============ CSS变量定义 ============ */
:root {
    /* 主色调 */
    --primary-dark: #3D2B1F;      /* 深咖色 - 主背景/文字 */
    --gold: #C9A96E;               /* 金色 - 强调/标题 */
    --gold-light: #E8D5A8;         /* 浅金色 */
    --cream: #F5F1EB;              /* 米白色 - 背景 */
    --cream-white: #FDFCFA;       /* 奶白色 */
    --forest-green: #2D4A3E;       /* 墨绿色 - 强调 */
    --forest-light: #3A6B57;       /* 浅墨绿 */
    
    /* 辅助色 */
    --text-dark: #2A1F1A;          /* 深色文字 */
    --text-light: #6B5B4F;         /* 浅色文字 */
    --text-muted: #8B7B6B;         /* 柔和文字 */
    --white: #FFFFFF;
    --border-color: rgba(201, 169, 110, 0.3);
    --shadow: rgba(61, 43, 31, 0.1);
    --shadow-dark: rgba(61, 43, 31, 0.2);
    
    /* 字体 */
    --font-heading: 'Noto Serif SC', 'Songti SC', serif;
    --font-body: 'Noto Sans SC', 'PingFang SC', sans-serif;
    --font-thai: 'Sarabun', sans-serif;
    
    /* 间距 */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 5rem;
    
    /* 圆角 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* 过渡 */
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

/* ============ 基础重置 ============ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--cream);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ============ 语言切换样式 ============ */
[lang="th"] {
    font-family: var(--font-thai);
}

/* ============ 排版 ============ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    line-height: 1.3;
    font-weight: 600;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

/* ============ 容器 ============ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.container-fluid {
    max-width: 100%;
    padding: 0 var(--spacing-md);
}

/* ============ 头部导航 ============ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 252, 250, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 2px 20px var(--shadow);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 0.1em;
}

.logo-tagline {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.15em;
}

/* 导航菜单 */
.nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.nav-menu {
    display: flex;
    gap: var(--spacing-lg);
}

.nav-item {
    position: relative;
}

.nav-link {
    font-size: 0.95rem;
    color: var(--text-dark);
    padding: var(--spacing-xs) 0;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transition: var(--transition);
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
}

/* 语言切换按钮 */
.lang-switch {
    display: flex;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--cream);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.lang-btn {
    padding: 4px 12px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    background: transparent;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.lang-btn.active {
    background: var(--gold);
    color: var(--white);
}

.lang-btn:hover:not(.active) {
    color: var(--gold);
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: transparent;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary-dark);
    transition: var(--transition);
}

/* ============ Hero 区域 ============ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 70px;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(61, 43, 31, 0.7) 0%,
        rgba(45, 74, 62, 0.5) 100%
    );
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: var(--white);
    padding: var(--spacing-xl);
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(201, 169, 110, 0.2);
    border: 1px solid var(--gold);
    border-radius: 30px;
    font-size: 0.9rem;
    color: var(--gold-light);
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.2em;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--white);
    margin-bottom: var(--spacing-md);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-title span {
    color: var(--gold);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255,255,255,0.9);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--gold-light);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ============ 按钮样式 ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--primary-dark);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 169, 110, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-dark);
}

.btn-dark {
    background: var(--primary-dark);
    color: var(--white);
    border: none;
}

.btn-dark:hover {
    background: var(--forest-green);
}

/* ============ 区块通用样式 ============ */
.section {
    padding: var(--spacing-xxl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.section-badge {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(201, 169, 110, 0.1);
    border: 1px solid var(--gold);
    border-radius: 30px;
    font-size: 0.85rem;
    color: var(--gold);
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.1em;
}

.section-title {
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.section-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    margin: var(--spacing-md) auto;
    border-radius: 2px;
}

/* ============ 特色卡片 ============ */
.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    box-shadow: 0 4px 20px var(--shadow);
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 12px 40px var(--shadow-dark);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.feature-title {
    font-size: 1.15rem;
    margin-bottom: var(--spacing-sm);
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============ 项目卡片 ============ */
.project-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px var(--shadow-dark);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 16px;
    background: var(--gold);
    color: var(--primary-dark);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
}

.project-content {
    padding: var(--spacing-md);
}

.project-title {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xs);
}

.project-location {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: var(--spacing-sm);
}

.project-info {
    display: flex;
    gap: var(--spacing-md);
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--border-color);
}

.project-info-item {
    font-size: 0.85rem;
    color: var(--text-light);
}

.project-info-item span {
    color: var(--gold);
    font-weight: 600;
}

/* ============ 关于我们 ============ */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px var(--shadow-dark);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--gold);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-content {
    padding: var(--spacing-lg) 0;
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: var(--spacing-md);
}

/* ============ 服务区块 ============ */
.service-card {
    background: linear-gradient(145deg, var(--forest-green), var(--forest-light));
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    color: var(--white);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: scale(1.02);
}

.service-card:hover .service-icon,
.service-card:hover .service-title,
.service-card:hover .service-desc {
    color: var(--primary-dark);
    position: relative;
    z-index: 1;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    color: var(--gold-light);
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--white);
}

.service-desc {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
}

/* ============ 统计区块 ============ */
.stats {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--forest-green) 100%);
    padding: var(--spacing-xxl) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--gold);
    font-family: var(--font-heading);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
}

/* ============ 资讯卡片 ============ */
.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px var(--shadow-dark);
}

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

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: var(--spacing-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 0.8rem;
    color: var(--gold);
    margin-bottom: var(--spacing-xs);
}

.news-title {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold);
    font-weight: 600;
    margin-top: var(--spacing-sm);
}

.news-link:hover {
    gap: 10px;
}

/* ============ 联系方式区块 ============ */
.contact-section {
    background: var(--cream-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-xxl);
}

.contact-info {
    padding: var(--spacing-lg);
}

.contact-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-details p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

/* ============ 联系表单 ============ */
.contact-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: 0 4px 30px var(--shadow);
}

.form-title {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-dark);
    background: var(--cream);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.2);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-submit {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
    margin-top: var(--spacing-sm);
}

/* ============ 页脚 ============ */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-brand .logo-name {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-title {
    font-size: 1.1rem;
    color: var(--gold);
    margin-bottom: var(--spacing-md);
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-contact p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: var(--spacing-sm);
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gold);
    color: var(--primary-dark);
}

/* ============ 画廊/相册 ============ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-sm);
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(61, 43, 31, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ============ 面包屑导航 ============ */
.breadcrumb {
    padding: var(--spacing-lg) 0;
    padding-top: 100px;
    background: var(--cream-white);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.breadcrumb-list li:not(:last-child)::after {
    content: '/';
    margin-left: var(--spacing-sm);
    color: var(--border-color);
}

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

.breadcrumb-list .current {
    color: var(--gold);
}

/* ============ 分页 ============ */
.pagination {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-xl);
}

.pagination-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.pagination-btn:hover,
.pagination-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

/* ============ 回到顶部 ============ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    box-shadow: 0 4px 20px rgba(201, 169, 110, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* ============ 页面标题区 ============ */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--forest-green) 100%);
    padding: 120px 0 80px;
    text-align: center;
    color: var(--white);
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.page-hero p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
}

/* ============ 项目详情 ============ */
.project-detail {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-xxl);
}

.project-detail-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow-dark);
}

.project-detail-image img {
    width: 100%;
    height: auto;
}

.project-detail-info h2 {
    margin-bottom: var(--spacing-md);
}

.project-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.meta-item span {
    color: var(--gold);
    font-weight: 600;
}

.project-detail-desc {
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: var(--spacing-lg);
}

/* ============ 户型展示 ============ */
.floor-plan {
    background: var(--cream-white);
    padding: var(--spacing-xxl) 0;
}

.floor-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.floor-plan-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
}

.floor-plan-image {
    height: 200px;
    overflow: hidden;
}

.floor-plan-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floor-plan-info {
    padding: var(--spacing-md);
}

.floor-plan-name {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
}

.floor-plan-specs {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ============ 响应式设计 ============ */

/* 平板设备 */
@media (max-width: 1024px) {
    .nav-menu {
        gap: var(--spacing-md);
    }
    
    .about-intro {
        gap: var(--spacing-xl);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-lg);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .project-detail {
        grid-template-columns: 1fr;
    }
    
    .floor-plan-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 移动端设备 */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: var(--spacing-md);
        gap: var(--spacing-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        box-shadow: 0 10px 30px var(--shadow);
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .nav-item {
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-link {
        padding: var(--spacing-sm);
        display: block;
    }
    
    .lang-switch {
        margin-top: var(--spacing-sm);
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero-content {
        padding: var(--spacing-md);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section {
        padding: var(--spacing-xl) 0;
    }
    
    .about-intro {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-image::before {
        display: none;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-md);
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
    
    .floor-plan-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

/* 小屏幕手机 */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .logo-text {
        display: none;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 16px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ============ 动画 ============ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ============ 辅助类 ============ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.bg-cream { background-color: var(--cream); }
.bg-dark { background-color: var(--primary-dark); color: var(--white); }
.bg-green { background: linear-gradient(135deg, var(--forest-green), var(--forest-light)); color: var(--white); }
