/* ===================================
   Common Styles (Variables, Reset, Layout, Navbar, Footer)
   =================================== */

/* ===================================
   全局样式
   =================================== */

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

:root {
    /* 颜色变量 - 白天模式 */
    --primary-color: #00B8D4;
    --secondary-color: #FF6B35;
    --accent-color: #FFC107;
    --accent-hover: #FFB300;
    --text-primary: #1A1A1A;
    --text-secondary: #666666;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F5F7FA;
    --bg-dark: #0A0E27;
    --border-color: #E0E0E0;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.2);
    
    /* 字体 */
    --font-primary: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --font-secondary: 'Arial', sans-serif;
    
    /* 过渡 */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 夜间模式变量 */
[data-theme="dark"] {
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0B0;
    --bg-primary: #121212;
    --bg-secondary: #1E1E1E;
    --border-color: #333333;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.4);
    --glow-color: rgba(0, 184, 212, 0.3);
    --text-glow: rgba(0, 184, 212, 0.5);
}

/* 夜景模式 - 介绍内容发光效果 */
[data-theme="dark"] .modal-content {
    box-shadow: 0 0 30px var(--glow-color), 0 0 60px var(--glow-color);
}

[data-theme="dark"] .modal-content h2 {
    text-shadow: 0 0 10px var(--text-glow);
}

[data-theme="dark"] .modal-content p {
    text-shadow: 0 0 5px var(--text-glow);
}

[data-theme="dark"] .section-title {
    text-shadow: 0 0 15px var(--text-glow);
}

[data-theme="dark"] .section-subtitle {
    text-shadow: 0 0 8px var(--text-glow);
}

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

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: var(--transition-slow);
    border-top: none !important; /* 强制移除可能存在的顶部边框 */
}

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

.section {
    padding: 100px 0;
    position: relative;
}

.section-dark {
    background-color: var(--bg-secondary);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 300% 100%;
    margin: 20px auto;
    border-radius: 2px;
    animation: gradientScroll 2s linear infinite;
}

@keyframes gradientScroll {
    0% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

/* ===================================
   导航栏
   =================================== */

#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 100%);
    z-index: 1000;
    transition: var(--transition);
    border-top: none !important; /* 强制移除可能存在的顶部边框 */
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    padding: 15px 0;
}

[data-theme="dark"] #navbar.scrolled {
    background: rgba(18, 18, 18, 0.95);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    transition: var(--transition);
}

#navbar.scrolled .logo {
    color: var(--text-primary);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    max-width: 40px;
    max-height: 40px;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

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

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
    /* 统一尺寸，避免选中时跳动 */
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    border: 1px solid transparent;
}

[data-lang="en"] .nav-menu { gap: 12px; }
[data-lang="en"] .nav-menu a {
    padding: 6px 10px;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: none !important;
}

/* 选中态样式 - 统一改为下划线风格 */
.nav-menu a.active {
    background: transparent !important;
    color: var(--primary-color) !important;
    font-weight: 700;
    box-shadow: none;
}

/* 夜间模式选中态样式 */
[data-theme="dark"] .nav-menu a.active {
    background: transparent !important;
    color: var(--primary-color) !important;
    border-color: transparent;
    box-shadow: none;
    text-shadow: 0 0 10px var(--glow-color);
}

/* 选中态显示下划线 */
.nav-menu a.active::after {
    display: block !important;
    width: 100%;
}

#navbar.scrolled .nav-menu a {
    color: var(--text-primary);
}

/* 滚动后的选中态 - 保持一致 */
#navbar.scrolled .nav-menu a.active {
    background: transparent !important;
    color: var(--primary-color) !important;
}

/* 夜间模式滚动后的选中态 */
[data-theme="dark"] #navbar.scrolled .nav-menu a.active {
    box-shadow: none;
    text-shadow: 0 0 10px var(--glow-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.nav-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.icon-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

#navbar.scrolled .icon-btn {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.icon-btn:hover {
    transform: scale(1.1);
    background: var(--primary-color);
    color: white;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: var(--transition);
}

#navbar.scrolled .menu-toggle span {
    background: var(--text-primary);
}

/* ===================================
   Hero 区域 (通用样式)
   =================================== */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-container img,
.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 184, 212, 0.3), rgba(255, 107, 53, 0.3));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
}

.title-line {
    display: block;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.title-line-2 {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 10px;
    animation-delay: 0.3s;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.scroll-indicator:hover {
    opacity: 1;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.arrow-down {
    color: white;
    font-size: 2rem;
    animation: bounce 2s infinite;
}

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

.wheel {
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    animation: scroll 1.5s ease-in-out infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(10px); }
}

/* ===================================
   Footer
   =================================== */

.footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* 调整快速链接内容对齐 */
.footer-content .footer-section:nth-child(2) {
    text-align: right;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

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

/* ===================================
   返回顶部
   =================================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 16px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.15s ease;
    z-index: 998;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none;
    outline: none;
}

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

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

/* ===================================
   模态框样式
   =================================== */

/* 模态框遮罩层 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

/* 模态框内容 */
.modal-content {
    max-width: 800px;
    width: 80%;
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 50px 30px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    animation: zoomIn 0.3s ease;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .modal-content {
        width: 90%;
        min-width: auto;
        padding: 40px 20px;
    }
    
    .modal-content img {
        height: 250px;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
    }
    
    .modal-content p {
        font-size: 1rem;
    }
    
    .modal-close {
        top: 15px;
        right: 10px;
    }
}

/* 模态框关闭按钮 */
.modal-close {
    position: absolute;
    top: 20px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-primary);
    transition: var(--transition);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    transform: rotate(90deg);
}

/* 模态框图片 */
.modal-content img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 25px;
}

/* 模态框标题 */
.modal-content h2 {
    margin-bottom: 20px;
    font-size: 2rem;
    color: var(--text-primary);
    text-align: left;
}

/* 模态框描述 */
.modal-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1.1rem;
    text-align: justify;
}

/* 模态框信息 */
.modal-info {
    display: flex;
    gap: 20px;
    margin-bottom: 0;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.modal-info span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-secondary);
    font-size: 1rem;
}

/* 模态框按钮 */
.modal-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 184, 212, 0.3);
}

.modal-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 184, 212, 0.5);
}

/* 模态框动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes zoomOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.8);
    }
}

/* ===================================
   主题图标动画
   =================================== */

/* 主题切换图标旋转动画 */
@keyframes themeIconRotate {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }
    50% {
        transform: rotate(180deg) scale(0.8);
        opacity: 0.5;
    }
    100% {
        transform: rotate(360deg) scale(1);
        opacity: 1;
    }
}

/* 主题图标缩放动画 */
@keyframes themeIconZoom {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* 应用动画的类 */
.theme-icon-animate {
    animation: themeIconRotate 0.6s ease-in-out;
}

/* ===================================
   通用按钮样式
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 10px 30px rgba(0, 184, 212, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 184, 212, 0.5);
}

@media (max-width: 768px) {
    .btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* ===================================
   Common Animations
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 样式已合并到上方 */


/* ===================================
   轮播图样式 (Carousel)
   =================================== */

.carousel-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
}

.carousel-container, .carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s ease-in-out;
    transform: scale(1.1);
    z-index: 0;
}

.carousel-item.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* �ֲ�����/��Ļ */
.carousel-caption {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    z-index: 5;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    width: 80%;
    max-width: 800px;
    animation: fadeInUp 1s ease 0.5s forwards;
    opacity: 0;
    display: block;
}

.carousel-caption h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.carousel-caption p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 轮播中间的深圳标题 (SHENZHEN) */
.carousel-title {
    position: absolute;
    top: 35%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    text-align: center;
    z-index: 10;
    animation: fadeInUp 1.5s ease-out forwards;
    opacity: 0;
    pointer-events: none;
    margin: 0 auto;
    width: auto;
    max-width: 90%;
    white-space: nowrap;
}

.carousel-title h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    color: white;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 0, 0, 0.5);
    margin: 0;
    line-height: 1;
    animation: fadeInUp 1s ease-out 0.3s forwards;
    opacity: 0;
    transition: all 0.3s ease;
}

.carousel-title h2 {
    font-size: clamp(1rem, 3vw, 2rem);
    font-weight: 300;
    letter-spacing: clamp(5px, 2vw, 10px);
    color: white;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 0, 0, 0.5);
    margin: 10px 0 0;
    text-transform: uppercase;
    animation: fadeInUp 1s ease-out 0.6s forwards;
    opacity: 0;
    transition: all 0.3s ease;
}

/* 夜间模式轮播图增强 */
[data-theme="dark"] .carousel-section {
    position: relative;
}

/* 添加轮播图叠加层，增强对比度 */
[data-theme="dark"] .carousel-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 184, 212, 0.2), rgba(255, 107, 53, 0.2));
    z-index: 1;
}

/* 夜间模式轮播标题增强发光效果 */
[data-theme="dark"] .carousel-title h1 {
    text-shadow: 0 0 20px rgba(0, 184, 212, 0.8), 0 0 40px rgba(0, 184, 212, 0.5), 0 0 60px rgba(0, 184, 212, 0.3);
    color: white;
}

[data-theme="dark"] .carousel-title h2 {
    text-shadow: 0 0 15px rgba(255, 107, 53, 0.8), 0 0 30px rgba(255, 107, 53, 0.5), 0 0 45px rgba(255, 107, 53, 0.3);
    color: white;
}

/* 夜间模式轮播按钮增强 */
[data-theme="dark"] .carousel-btn {
    background: rgba(0, 184, 212, 0.3);
    box-shadow: 0 0 15px rgba(0, 184, 212, 0.5);
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .carousel-btn:hover {
    background: rgba(0, 184, 212, 0.6);
    box-shadow: 0 0 25px rgba(0, 184, 212, 0.8);
    color: white;
}

/* 夜间模式轮播指示器增强 */
[data-theme="dark"] .carousel-indicator {
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .carousel-indicator.active {
    background: rgba(0, 184, 212, 0.8);
    box-shadow: 0 0 15px rgba(0, 184, 212, 0.8);
}

/* 夜间模式美食卡片增强 */
[data-theme="dark"] .attraction-card {
    border: 1px solid rgba(0, 184, 212, 0.3);
    box-shadow: 0 0 20px rgba(0, 184, 212, 0.1);
}

[data-theme="dark"] .attraction-card:hover {
    box-shadow: 0 0 30px rgba(0, 184, 212, 0.3);
    border-color: rgba(0, 184, 212, 0.6);
}

/* 夜间模式美食卡片标题增强 */
[data-theme="dark"] .card-title {
    text-shadow: 0 0 10px rgba(0, 184, 212, 0.5);
}

/* 夜间模式美食卡片分隔线增强 */
[data-theme="dark"] .card-meta {
    border-top-color: rgba(0, 184, 212, 0.3);
}

/* 轮播底部文字/说明 */
.carousel-caption {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    z-index: 10;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
    width: 80%;
    max-width: 800px;
    animation: fadeInUp 1s ease 0.5s forwards;
    opacity: 0;
    display: block;
}

.carousel-caption h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 10px;
    font-weight: 700;
}

.carousel-caption p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    opacity: 0.95;
}

/* 轮播控制按钮 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 1.5rem;
    transition: var(--transition);
    z-index: 10;
}

.carousel-btn:hover {
    color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn { left: 30px; }
.next-btn { right: 30px; }

/* �ֲ�ָʾ�� */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-indicator.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

/* ===================================
   ͨ����Դչʾ (Grid & Card)
   =================================== */

.attractions-detail-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.attraction-card {
    background: var(--bg-primary);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.attraction-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

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

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.card-content {
    padding: 25px;
}

.card-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.card-description {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.6;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.card-location {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.detail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 35px;
    height: 35px;
    padding: 0 15px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 35px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: auto;
    white-space: nowrap;
    width: auto;
}

.detail-btn:hover {
    transform: scale(1.1);
    background: var(--secondary-color);
}

@media (max-width: 992px) and (min-width: 769px) {
    .nav-menu {
        gap: 15px;
    }
    .nav-menu a {
        font-size: 0.95rem;
        padding: 6px 12px;
        white-space: nowrap;
    }
    .logo {
        font-size: 1.3rem;
    }
    .logo-icon {
        max-width: 35px;
        max-height: 35px;
    }
}

@media (max-width: 768px) {
    .nav-container { padding: 0 16px; }
    .nav-actions { gap: 10px; }
    .menu-toggle { display: flex; }
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        right: 10px;
        left: auto;
        width: 200px;
        background: var(--bg-primary);
        border: 1px solid var(--border-color);
        border-radius: 12px;
        flex-direction: column;
        gap: 8px;
        padding: 8px 14px 14px;
        box-shadow: var(--shadow);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        z-index: 1000;
    }
    #navbar.scrolled .nav-menu {
        top: 60px;
        max-height: calc(100vh - 60px);
    }
    .nav-menu.active { display: flex; }
    .nav-menu a {
        color: var(--text-primary);
        padding: 8px;
        border-radius: 8px;
        display: block;
    }
    [data-lang="en"] .nav-menu { width: 230px; }
    [data-lang="zh"] .nav-menu { width: 200px; }
    .carousel-section { height: 60vh; }
    .carousel-caption h2 { font-size: 1.8rem; }
    .carousel-title h1 { font-size: 3rem; }
    .attractions-grid { grid-template-columns: 1fr; }
}



@media (max-width: 480px) {
    .nav-menu {
        right: 8px;
        width: 180px;
        padding: 8px 12px 12px;
        gap: 6px;
    }
    [data-lang="en"] .nav-menu { width: 210px; }
    [data-lang="zh"] .nav-menu { width: 180px; }
}
