/* 重置和基本样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    transition: all 0.3s ease;
}

html[dir="rtl"] {
    font-family: 'Inter', Arial, sans-serif;
}

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

/* 语言切换器 */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 5px;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 5px;
}

html[dir="rtl"] .language-switcher {
    right: auto;
    left: 20px;
}

.lang-btn {
    padding: 8px 16px;
    border: none;
    background: transparent;
    color: white;
    cursor: pointer;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: #d4af37;
    color: #1a1a1a;
}

.lang-btn:hover {
    background: rgba(212, 175, 55, 0.3);
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 999;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d4af37;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-logo i {
    font-size: 1.8rem;
}

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

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

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #d4af37;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #d4af37;
    transition: width 0.3s ease;
}

html[dir="rtl"] .nav-menu a::after {
    left: auto;
    right: 0;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* 英雄区域 */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f4c75 100%);
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/burj-khalifa-hero.jpg') center/cover;
    opacity: 0.3;
    z-index: 1;
}

.hero-content {
    flex: 1;
    padding: 80px 50px 50px;
    z-index: 2;
    position: relative;
}

html[dir="rtl"] .hero-content {
    text-align: right;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(45deg, #d4af37, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.5;
}

.cta-button {
    background: linear-gradient(45deg, #d4af37, #ffd700);
    color: #1a1a1a;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.hero-image {
    flex: 1;
    height: 100%;
    background: url('images/burj-khalifa-hero.jpg') center/cover;
    position: relative;
    z-index: 2;
}

/* 区域标题 */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: #1a1a2e;
    position: relative;
}

html[dir="rtl"] .section-title {
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 3px;
    background: linear-gradient(45deg, #d4af37, #ffd700);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* 文化区域 */
.culture-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.culture-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.culture-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.culture-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.culture-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.3));
}

.culture-content {
    padding: 30px;
}

.culture-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1a1a2e;
    font-weight: 600;
}

.culture-content p {
    color: #666;
    line-height: 1.7;
}

/* 城市区域 */
.cities-section {
    padding: 100px 0;
    background: white;
}

.cities-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.city-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.city-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.city-image {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.city-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
}

.city-info {
    padding: 30px;
    position: relative;
}

.city-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 15px;
    color: #1a1a2e;
}

.city-info p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
}

.city-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

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

.highlight {
    background: linear-gradient(45deg, #d4af37, #ffd700);
    color: #1a1a1a;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* 美食区域 */
.cuisine-section {
    padding: 100px 0;
    background: #1a1a2e;
    color: white;
}

.cuisine-section .section-title {
    color: white;
}

.cuisine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.dish-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dish-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.dish-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.dish-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.3rem;
    color: #d4af37;
}

.dish-card p {
    padding: 0 20px 20px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* 传统区域 */
.heritage-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.heritage-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.heritage-item {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.heritage-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.heritage-icon {
    font-size: 3rem;
    color: #d4af37;
    margin-bottom: 20px;
}

.heritage-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1a1a2e;
}

.heritage-item p {
    color: #666;
    line-height: 1.7;
}

/* 页脚 */
.footer {
    background: #1a1a2e;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3 {
    color: #d4af37;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.footer-links h4 {
    color: #d4af37;
    margin-bottom: 20px;
}

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

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #d4af37;
}

.footer-contact h4 {
    color: #d4af37;
    margin-bottom: 15px;
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-content {
        padding: 80px 20px 50px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .culture-grid,
    .cities-carousel,
    .cuisine-grid,
    .heritage-content {
        grid-template-columns: 1fr;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-image {
        display: none;
    }
}

@media (max-width: 480px) {
    .language-switcher {
        top: 10px;
        right: 10px;
    }
    
    html[dir="rtl"] .language-switcher {
        right: auto;
        left: 10px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.culture-card,
.city-card,
.dish-card,
.heritage-item {
    animation: fadeInUp 0.6s ease forwards;
}

/* 滚动效果 */
html {
    scroll-behavior: smooth;
}

/* RTL 特定样式 */
html[dir="rtl"] {
    text-align: right;
}

html[dir="rtl"] .hero-content {
    text-align: right;
}

html[dir="rtl"] .culture-content,
html[dir="rtl"] .city-info,
html[dir="rtl"] .dish-card,
html[dir="rtl"] .heritage-item {
    text-align: right;
}

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

/* 加载动画 */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
} 