/* * Allure Group 2026 - Master Stylesheet (Final Verified Version)
 * 整合：Blueprint 視覺規範、160px 絕對居中 Logo、左側 6 項導覽、Margiela-Scroller
 */

:root {
    --allure-gold: #C5A059;
    --pearl-bg: #FDFCF8;
    --espresso: #1A1A1A;
    --noble-red: #E34234;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* =========================================
   1. 基礎重置 (Reset & Base)
   ========================================= */
* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--pearl-bg);
    color: var(--espresso);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, .playfair {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    margin: 0;
}

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

/* =========================================
   2. 導覽列 (Corrected: Left-Heavy, Logo-Centered)
   ========================================= */
.main-header {
    width: 100%;
    padding: 30px 50px;
    background: var(--pearl-bg);
    z-index: 1000;
}

.header-container {
    display: flex;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
    position: relative; /* 關鍵：提供給 Logo 絕對定位的參考座標 */
}

/* 左側導航：包含 6 個項目 */
.nav-left {
    flex: 1;
    display: flex;
    gap: 25px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 13px;
    font-weight: 600;
}

.nav-left a:hover {
    color: var(--allure-gold);
}

/* 中間 Logo：絕對置中，不佔據 Flex 空間，確保視覺對稱 */
.brand-identity {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.site-logo {
    height: 160px; /* 您要求的巨大的 Logo */
    width: auto;
    display: block;
    transition: var(--transition);
}

.site-logo:hover {
    transform: translateX(-50%) scale(1.02); /* 保持位移的同時縮放 */
}

/* 右側：僅語言切換 */
.nav-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.lang-switch {
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 600;
}

.lang-switch .en-link {
    border: 1px solid var(--espresso);
    padding: 4px 10px;
    margin-left: 10px;
}

.lang-switch .en-link:hover {
    background: var(--espresso);
    color: #fff;
}

/* =========================================
   3. 首頁內容佈局 (Content Sections)
   ========================================= */
.home-wrapper {
    padding-bottom: 100px;
}

.hero-block {
    text-align: center;
    padding: 100px 20px 60px;
    max-width: 900px;
    margin: 0 auto;
}

.gold-subtitle {
    display: block;
    color: var(--allure-gold);
    text-transform: uppercase;
    letter-spacing: 6px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 25px;
}

.hero-block h1 {
    font-size: 42px;
    letter-spacing: 2px;
    margin-bottom: 30px;
    line-height: 1.2;
}

.hero-desc {
    font-size: 16px;
    opacity: 0.8;
    max-width: 650px;
    margin: 0 auto;
    font-weight: 300;
}

/* =========================================
   4. 入口網格 (Portal Grid)
   ========================================= */
.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1px;
    background-color: rgba(197, 160, 89, 0.2);
}

.grid-box {
    background: var(--pearl-bg);
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    transition: var(--transition);
}

.grid-box:hover {
    background: var(--allure-gold);
    color: #FFF;
}

.grid-box h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.grid-box p {
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.7;
}

/* =========================================
   5. Margiela-Scroller (Letterboxing)
   ========================================= */
.margiela-section {
    padding: 120px 0;
    overflow: hidden;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 60px;
    letter-spacing: 3px;
}

.scroller-viewport {
    display: flex;
    overflow-x: auto;
    padding: 0 40px 40px;
    gap: 30px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.scroller-viewport::-webkit-scrollbar {
    display: none;
}

.scroll-item {
    flex: 0 0 380px;
    aspect-ratio: 9 / 16;
    background-color: var(--allure-gold); /* 金色底色 */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    scroll-snap-align: center;
}

.scroll-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* 核心：保持比例不變形並置中 */ [cite: 11]
    transition: var(--transition);
    padding: 20px; /* 給予圖片與金色邊框一點呼吸空間 */
}

/* Facade Overlays */
.play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    font-size: 11px;
    letter-spacing: 4px;
    font-weight: 700;
    transition: var(--transition);
}

.scroll-item:hover .play-overlay {
    background: rgba(26, 26, 26, 0.1);
}

.scroll-item iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* =========================================
   6. 媒體訪問區 (Media Feature)
   ========================================= */
.media-feature {
    padding: 100px 40px;
    background: #f4f2ee;
    text-align: center;
}

.media-container {
    max-width: 1100px;
    margin: 0 auto;
}

#youtube-facade {
    position: relative;
    cursor: pointer;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

#youtube-facade .cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.gold-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--allure-gold);
    color: #FFF;
    border: none;
    padding: 18px 40px;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.gold-btn:hover {
    background: var(--espresso);
}

/* =========================================
   7. 響應式優化 (Responsive)
   ========================================= */
@media (max-width: 1200px) {
    .nav-left { gap: 15px; font-size: 11px; }
}

@media (max-width: 1024px) {
    .site-logo { height: 120px; }
    .header-container { padding: 0 10px; }
}

@media (max-width: 768px) {
    .header-container { flex-direction: column; height: auto; padding: 20px 0; } 
	.nav-left { 
    justify-content: center; 
    flex-wrap: wrap; 
    gap: 10px 15px; /* 縮小間距防止重疊 */
    margin-bottom: 20px; 
    order: 2;
    letter-spacing: 1px; /* 稍微縮小字距以適應手機寬度 */
}
	
    .brand-identity { 
        position: relative; 
        left: 0; 
        transform: none; 
        margin-bottom: 20px;
        order: 1;
    }
    .site-logo { height: 100px; margin: 0 auto; }
    .site-logo:hover { transform: scale(1.02); }
    .nav-right { order: 3; width: 100%; justify-content: center; }
    
    .hero-block h1 { font-size: 32px; }
    .scroll-item { flex: 0 0 280px; }
}
/* =========================================
   8. 影片彈窗組件 (Video Modal) - Added 2026
   ========================================= */
.video-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease;
}

.video-container {
    position: relative;
    width: 90%;
    max-width: 1000px;
    aspect-ratio: 16 / 9;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.video-close:hover {
    color: var(--allure-gold);
}

/* =========================================
   9. 語言切換器 (Language Switcher) - v25.0
   ========================================= */
.lang-switch-v25 {
    display: flex;
    align-items: center;
    font-size: 13px; /* 細緻字體 */
    letter-spacing: 0.1em;
    font-family: 'Optima', 'Didot', serif;
}

.lang-switch-v25 .lang-link {
    color: #999; /* 未選中時淡灰色 */
    transition: color 0.3s ease;
    text-decoration: none;
}

.lang-switch-v25 .lang-link:hover {
    color: var(--allure-gold); /* 懸停時變金色 */
}

.lang-switch-v25 .active-lang {
    color: var(--allure-gold); /* 當前語系金色 */
    font-weight: 500;
}

.lang-switch-v25 .lang-divider {
    margin: 0 10px;
    color: #EEE;
    font-weight: 100;
}