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

:root {
    --bg-dark: #242424;      /* 主背景深灰 */
    --bg-taupe: #a5a39c;     /* 灰褐色区块背景 */
    --text-light: #f4f0e6;   /* 奶油白文字 */
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Jost', sans-serif;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] .nav-center { flex-direction: row-reverse; }

/* 标题字体 */
h1, h2, h3, .logo {
    font-family: var(--font-serif);
    font-weight: 400;
}

/* 导航栏 */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 5%;
    position: absolute;
    width: 100%;
    z-index: 100;
}

.logo {
    font-size: 2.2rem;
}

.nav-center {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-center a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 1rem;
    transition: opacity 0.3s;
}

.nav-center a:hover { opacity: 0.7; }

/* 语言切换器 */
.lang-dropdown {
    background: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 5px 10px;
    font-family: var(--font-sans);
    cursor: pointer;
}
.lang-dropdown option { background: var(--bg-dark); }

/* Hero 第一屏 (带有大背景图) */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* 这里是一张热带植物的高清网图 */
    background: linear-gradient(rgba(36,36,36,0.3), rgba(36,36,36,0.6)), url('https://images.unsplash.com/photo-1463936575829-25148e1db1b8?q=80&w=2000&auto=format&fit=crop') no-repeat center center/cover;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 30px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 1rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-solid {
    background-color: rgba(255, 255, 255, 0.7); /* 半透明灰白按钮 */
    color: #1a1a1a;
    border: none;
}
.btn-solid:hover { background-color: #fff; }

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--text-light);
}
.btn-outline:hover {
    background: var(--text-light);
    color: var(--bg-dark);
}

/* 三栏图片区 */
.favorites-section {
    padding: 100px 5%;
    background-color: #1e1e1e;
    text-align: center;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 60px;
}

.grid-3 {
    display: flex;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.grid-item {
    flex: 1;
}

.grid-item img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}

/* 左右图文拼接区 */
.split-section {
    display: flex;
    flex-wrap: wrap;
    background-color: var(--bg-taupe); /* 灰褐色背景 */
}

.split-image {
    flex: 1 1 50%;
    min-height: 600px;
    /* 拼接区左侧植物图片 */
    background: url('https://images.unsplash.com/photo-1416879598555-46e30089e17b?q=80&w=1000&auto=format&fit=crop') no-repeat center center/cover;
}

.split-text {
    flex: 1 1 50%;
    padding: 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

html[dir="rtl"] .split-text { align-items: flex-end; }

.split-text h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.split-text p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* 邮件订阅区 */
.newsletter-section {
    padding: 150px 5%;
    text-align: center;
    /* 龟背竹暗调背景 */
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1542838686-37ed7a9df003?q=80&w=2000&auto=format&fit=crop') no-repeat center center/cover;
}

.newsletter-content h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.news-form {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.news-form input {
    padding: 15px 20px;
    width: 300px;
    border: none;
    outline: none;
    font-family: var(--font-sans);
}

/* Footer */
footer {
    background-color: #333333;
    padding: 80px 10%;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-container {
    display: flex;
    justify-content: space-between;
}

.footer-left h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.footer-right {
    display: flex;
    gap: 80px;
}

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

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.7;
    font-size: 1.1rem;
}

html[dir="rtl"] .footer-container {
    flex-direction: row-reverse;
}
