/* 基本样式 */
body {
    font-family: 'Noto Sans TC', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}

/* Logo样式 */
.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-img {
    height: 2.5rem;
    width: 2.5rem;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

@keyframes rgbCycle {
    0% { color: rgb(255, 0, 0); }
    33% { color: rgb(0, 255, 0); }
    66% { color: rgb(252, 248, 5); }
    100% { color: rgb(255, 0, 0); }
}

.logo span {
    font-weight: 700;
    font-size: 1.2rem;
    animation: rgbCycle 3s linear infinite;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
    .logo-img {
        height: 2rem;
        width: 2rem;
    }
    
    .logo span {
        font-size: 1rem;
    }
}

/* 导航栏样式 - 浮夸商务风 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #1b1b1b 0%, #2a2a2a 35%, #3a2c1e 60%, #a36d2d 85%, #ffbf69 100%);
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 191, 105, 0.45);
    box-shadow: 0 10px 25px rgba(255, 191, 105, 0.35), inset 0 -2px 12px rgba(255, 107, 53, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
}

/* 霓虹底边光效 */
.navbar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,191,105,0), rgba(255,191,105,0.9), rgba(255,191,105,0));
    filter: drop-shadow(0 0 6px rgba(255,191,105,0.8));
}

.navbar nav {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Logo金属质感文字效果 */
.logo span {
    font-weight: 800;
    letter-spacing: 0.5px;
    font-size: 1.25rem;
    background: linear-gradient(180deg, #ffe3a1 0%, #ffbf69 40%, #c2782f 60%, #fff3d6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 12px rgba(255,191,105,0.35), 0 0 18px rgba(255, 107, 53, 0.25);
}

/* Logo图片金色描边与光晕 */
.logo-img {
    border: 2px solid rgba(255,191,105,0.5);
    box-shadow: 0 8px 28px rgba(255,191,105,0.35), inset 0 0 18px rgba(255,191,105,0.6);
}

/* 导航分类与按钮3D样式 */
.categories {
    display: flex;
    gap: 1rem;
    list-style: none;
    align-items: center;
}

.categories li { display: inline-block; }

.categories button {
    background: linear-gradient(135deg, #ffb300, #ff6b35);
    color: #1b1b1b;
    font-weight: 800;
    border: none;
    border-radius: 999px;
    padding: 0.6rem 1.2rem;
    box-shadow: 0 8px 20px rgba(255,107,53,0.45), inset 0 -4px 0 rgba(0,0,0,0.2), inset 0 2px 0 rgba(255,255,255,0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    letter-spacing: 0.4px;
}

.categories button:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 14px 28px rgba(255,107,53,0.55), inset 0 -4px 0 rgba(0,0,0,0.25);
    filter: brightness(1.06) saturate(1.1);
}

/* 语言切换豪华样式 */
.language-toggle button {
    background: linear-gradient(135deg, #2a2a2a, #444444);
    color: #ffbf69;
    border: 1px solid rgba(255,191,105,0.5);
    border-radius: 14px;
    padding: 0.35rem 0.7rem;
    font-weight: 700;
    box-shadow: 0 6px 14px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,191,105,0.3);
    transition: all 0.2s ease;
}

.language-toggle button.active {
    color: #1b1b1b;
    background: linear-gradient(135deg, #ffe3a1, #ffbf69);
    border-color: rgba(255,191,105,0.7);
    box-shadow: 0 10px 22px rgba(255,191,105,0.35);
}

.language-toggle button:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

/* 响应式优化 */
@media (max-width: 768px) {
    .navbar { padding: 0.75rem 1rem; }
    .navbar nav { flex-direction: column; gap: 0.75rem; }
    .categories { flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
    .categories button { padding: 0.5rem 1rem; font-size: 0.95rem; }
    .logo span { font-size: 1.1rem; }
}

@media (max-width: 480px) {
    .logo-img { height: 2rem; width: 2rem; }
    .categories button { padding: 0.45rem 0.9rem; font-size: 0.9rem; }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 1rem;
    }
    
    .navbar nav {
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
    }
    
    .categories {
        flex-direction: column;
        width: 100%;
    }
    
    #promo-button {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .language-toggle {
        width: 100%;
        justify-content: center;
    }
}

.categories {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.language-toggle {
    display: flex;
    gap: 0.5rem;
}

.language-toggle button {
    background: none;
    border: 1px solid white;
    color: white;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
}

.language-toggle button.active {
    background: white;
    color: #1a1a2e;
}

/* 促销按钮样式 */
#promo-button {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
}

#promo-button:hover {
    background: linear-gradient(135deg, #ff5252, #ff7676);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

#promo-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
/* Hero区域样式 - 专业商务风（增强对比与清晰度） */
.hero {
    background: linear-gradient(180deg, rgba(13,27,42,0.94), rgba(13,27,42,0.78)), url('images/hero.webp');
    background-size: cover;
    background-position: center;
    padding: 2.5rem 1.5rem;
    color: #e6edf5;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    font-family: "Microsoft YaHei", "Source Han Sans", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.hero h1 {
    font-weight: 800;
    font-size: 32px;
    line-height: 1.5;
    margin-bottom: 1.2em;
    letter-spacing: 0.5px;
    text-align: left;
    color: #ffffff;
    /* 增强可读性的阴影与描边 */
    -webkit-text-stroke: 0.75px rgba(255,191,105,0.45);
    text-shadow: 0 2px 8px rgba(0,0,0,0.6), 0 0 10px rgba(255,191,105,0.25), 0 0 18px rgba(255,191,105,0.15);
}

.hero-content h1::after {
    content: "";
    display: block;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,191,105,0), rgba(255,191,105,0.85), rgba(255,191,105,0));
    margin-top: 0.75rem;
}

.promo-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1rem;
    align-items: start;
}

.promo-points p {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 1.2em;
    text-align: left;
    color: #f8f9fa;
    padding: 0.75rem 1rem;
    border-left: 3px solid #2f5d89;
    border: 1px solid rgba(255,191,105,0.3); /* 半透明金色边框 */
    background: rgba(18,34,54,0.45);
    border-radius: 8px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.45);
}

.promo-points p::before {
    content: "\25B8"; /* ▸ 商務風指示符號 */
    margin-right: 0.5rem;
    color: #ffbf69;
    font-weight: 700;
}

/* 響應式排版調整（平板/手機） */
@media (max-width: 768px) {
    .hero { padding: 1.8rem 1.2rem; }
    .hero h1 { font-size: 28px; letter-spacing: 0.4px; }
    .promo-points { grid-template-columns: 1fr; }
    .promo-points p { font-size: 17px; padding: 0.6rem 0.8rem; }
}

@media (max-width: 480px) {
    .hero { padding: 1.5rem 1rem; }
    .hero h1 { font-size: 24px; letter-spacing: 0.3px; }
    .promo-points p { font-size: 16px; }
}

@media (max-width: 768px) {
    .hero {
        padding: 2rem 1rem;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero h2 {
        font-size: 1.3rem;
    }
    
    .hero h3, 
    .hero h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.3rem;
    }
    
    .hero h2 {
        font-size: 1.1rem;
    }
    
    .hero h3, 
    .hero h4 {
        font-size: 1rem;
    }
}

/* 主内容容器 */
.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* 场所卡片容器 */
.venues {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

/* 场所卡片样式 - 专业商务风 */
.venue-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border: none;
    border-radius: 14px;
    padding: 1.25rem;
    width: calc(33.333% - 1rem);
    max-width: 380px;
    min-width: 300px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 60%, #243447 100%);
    color: #e6edf5;
    border-top: 1px solid rgba(255,191,105,0.35);
    box-shadow: 0 8px 22px rgba(0,0,0,0.25);
    position: relative;
    overflow: hidden;
}

@media (max-width: 900px) {
    .venue-card { width: calc(50% - 1rem); }
}

@media (max-width: 600px) {
    .venue-card {
        width: 100%;
        min-width: auto;
        padding: 1rem;
    }
    .venue-card img { height: 180px; }
    .venue-card h3 { font-size: 1.2rem; }
    .venue-card p { font-size: 0.95rem; }
    .tags span { font-size: 0.75rem; }
    .map-link { padding: 0.55rem 1.1rem; font-size: 0.95rem; }
}

.venue-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 16px 28px rgba(0,0,0,0.35);
}

.venue-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 0.75rem;
    transition: transform 0.3s ease, filter 0.3s ease;
    border: 1px solid rgba(255,255,255,0.06);
}

.venue-card:hover img { transform: scale(1.03); }

.venue-card h3 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin: 0 0 0.4rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #ffbf69 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    transition: transform 0.25s ease, filter 0.25s ease;

    /* 外框：金色邊框與半透明背景，強化引流視覺 */
    border: 1px solid #ffbf69;
    background-color: rgba(255,191,105,0.1);
    padding: 8px 12px;
    border-radius: 6px;
    display: inline-block;
    text-decoration: none;
}

.venue-card:hover h3 {
    transform: translateY(-2px);
    filter: drop-shadow(0 0 10px rgba(255,191,105,0.6));
}

.venue-card p {
    color: #e6edf5;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 12px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}

.venue-card p::before {
    content: "\25B8"; /* ▸ 商務風指示符號 */
    position: absolute;
    left: 0;
    color: #ffbf69;
    font-weight: 800;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.tags span {
    background: rgba(255,191,105,0.15);
    border: 1px solid rgba(255,191,105,0.3);
    color: #ffbf69;
    padding: 0.3rem 0.85rem;
    border-radius: 16px;
    font-size: 0.8rem;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.tags span:hover {
    background: rgba(255,191,105,0.25);
    filter: brightness(1.06);
    transform: scale(1.05);
}

.map-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    align-self: flex-end;
    background: linear-gradient(135deg, #ffe3a1, #ffbf69, #d4af37);
    color: #1b1b1b;
    font-weight: 800;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    transition: all 0.25s ease;
    box-shadow: 0 8px 18px rgba(255,191,105,0.35), inset 0 -3px 0 rgba(0,0,0,0.2), inset 0 2px 0 rgba(255,255,255,0.4);
    border: none;
    position: relative;
}

@keyframes ctaPulse {
    0% { box-shadow: 0 8px 18px rgba(255,191,105,0.35); }
    50% { box-shadow: 0 10px 24px rgba(255,191,105,0.5); }
    100% { box-shadow: 0 8px 18px rgba(255,191,105,0.35); }
}

.venue-card:hover .map-link {
    transform: translateY(-2px) scale(1.04);
    filter: brightness(1.06);
    animation: ctaPulse 1.6s ease-in-out infinite;
}

.map-link::before {
    content: "📍";
    font-size: 1.2rem;
}

/* 详情页样式 */
.detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.detail-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.detail-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.image-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    width: 100%;
}

.image-gallery img {
    flex: 1 1 300px;
    max-width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.image-gallery img:hover {
    transform: scale(1.02);
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    overflow: auto;
}

.modal-content {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover {
    color: #ccc;
}

.detail-info {
    max-width: 800px;
    width: 100%;
    text-align: center;
}

.back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #1a73e8;
    color: white;
    font-weight: 500;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    align-self: flex-start;
}

.back-button:hover {
    background: #0d5bba;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.back-button::before {
    content: "←";
    font-size: 1.2rem;
}

/* detail2.html 移动端优化 */
@media (max-width: 768px) {
    /* 基础字体设置 */
    html {
        font-size: 14px;
    }
    
    /* 导航栏优化 */
    .navbar {
        padding: 0.8rem 5%;
    }
    
    .categories a, .language-toggle button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    /* 内容区域优化 */
    .detail-content {
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .detail-image {
        width: 100%;
        margin-bottom: 1.2rem;
    }
    
    /* 图片画廊优化 */
    .image-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* 文字内容优化 */
    .detail-info p, .detail-info li {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    /* 按钮优化 */
    .back-button, .map-link {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* 超小屏幕优化(480px以下) */
@media (max-width: 480px) {
    html {
        font-size: 13px;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .detail-info ul {
        padding-left: 1rem;
    }
    
    .tags span {
        font-size: 0.8rem;
    }
    
    .map-link {
        width: 100%;
        text-align: center;
    }
}

/* 页脚样式 */
.contact {
    text-align: center;
    padding: 2rem;
    background-color: #1a1a2e;
    color: white;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-links a {
    color: white;
    text-decoration: none;
}

.social-links a:hover {
    text-decoration: underline;
}

/* 页面背景主题 - 与卡片商务风协调 */
/* 方案一：深蓝商务渐变 */
body.theme-bg-deepblue {
    /* 深蓝线性渐变叠加金色微光，强化层次与专业感 */
    background: radial-gradient(80% 60% at 50% 0%, rgba(255,191,105,0.08), rgba(255,191,105,0) 60%),
                linear-gradient(180deg, #0a0f1a, #121a2a);
    color: #e6edf5; /* 提升通用文字对比度，符合WCAG */
    background-attachment: fixed;
}

/* 方案二：优雅深灰 */
body.theme-bg-darkgray {
    /* 深灰线性渐变+金色轻光晕，现代简约；突出金色元素 */
    background: radial-gradient(70% 50% at 50% 0%, rgba(255,191,105,0.05), rgba(255,191,105,0) 50%),
                linear-gradient(180deg, #1a1a1a, #2d2d3a);
    color: #e8ecf1;
    background-attachment: fixed;
}

/* 方案三：奢华夜幕 */
body.theme-bg-luxnight {
    /* 夜幕深蓝+顶部金色微光，营造高端夜生活氛围 */
    background: radial-gradient(85% 65% at 50% 0%, rgba(255,191,105,0.10), rgba(255,191,105,0) 65%),
                linear-gradient(180deg, #0c0f1b, #15182b);
    color: #e6edf5;
    background-attachment: fixed;
}

/* 背景与内容的响应式调优：在小屏减少金光占比，避免过度干扰正文 */
@media (max-width: 768px) {
    body.theme-bg-deepblue,
    body.theme-bg-darkgray,
    body.theme-bg-luxnight {
        background: radial-gradient(70% 45% at 50% 0%, rgba(255,191,105,0.06), rgba(255,191,105,0) 45%),
                    linear-gradient(180deg, var(--bg-start, #0a0f1a), var(--bg-end, #121a2a));
    }
}

@media (max-width: 480px) {
    body.theme-bg-deepblue,
    body.theme-bg-darkgray,
    body.theme-bg-luxnight {
        background: radial-gradient(60% 40% at 50% 0%, rgba(255,191,105,0.05), rgba(255,191,105,0) 40%),
                    linear-gradient(180deg, var(--bg-start, #0a0f1a), var(--bg-end, #121a2a));
    }
}
