/* ==========================================================================
           1. CSS VARIABLES & DESIGN SYSTEM
           ========================================================================== */
:root {
    /* Color Palette */
    --ivory: #F9F6F2;
    --cream: #FFFDF5;
    --charcoal: #1A1A1A;
    --black: #111111;
    --gold: #C5A059;
    --gold-light: #d4b572;
    --brown: #4A3728;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Spacing */
    --space-section: 120px;
    --space-element: 40px;

    /* Animation */
    --transition-smooth: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ==========================================================================
           2. BASE STYLES & RESET
           ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--ivory);
    color: var(--charcoal);
    line-height: 1.8;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
}

h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
}

h3 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
}

p {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: #444;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Generous Whitespace Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

/* ==========================================================================
           3. UI COMPONENTS
           ========================================================================== */
/* Buttons with Shimmer Effect */
.btn {
    display: inline-block;
    padding: 16px 40px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    border: none;
}

.btn-gold {
    background-color: var(--gold);
    color: #fff;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-25deg);
    transition: 0.7s ease;
}

.btn-gold:hover::before {
    left: 150%;
}

.btn-outline {
    border: 1px solid var(--charcoal);
    color: var(--charcoal);
    background: transparent;
}

.btn-outline:hover {
    background: var(--charcoal);
    color: var(--ivory);
}

/* Scroll Reveal Utility Classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.2s;
}

.reveal-delay-2 {
    transition-delay: 0.4s;
}

/* ==========================================================================
           4. LAYOUT SECTIONS
           ========================================================================== */

/* --- HEADER & NAVIGATION --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    border-bottom: 1px solid transparent;
}

header.scrolled {
    padding: 15px 5%;
    background: rgba(249, 246, 242, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--ivory);
    transition: color 0.5s ease;
    position: relative;
    z-index: 101;
}

header.scrolled .logo,
body.menu-open .logo {
    color: var(--charcoal);
}

/* Desktop Inline Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
}

.desktop-nav ul {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.desktop-nav a {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.4s ease;
    position: relative;
    padding-bottom: 5px;
    font-weight: 800;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--gold);
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.desktop-nav a:hover {
    color: var(--ivory);
}

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

header.scrolled .desktop-nav a {
    color: rgba(26, 26, 26, 0.7);
}

header.scrolled .desktop-nav a:hover {
    color: var(--charcoal);
}

/* Header Right Section (CTA + Hamburger) */
.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
    z-index: 101;
}

.btn-header-cta {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--ivory);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 24px;
    border-radius: 2px;
    transition: all 0.4s ease;
    cursor: pointer;
    font-weight: 800;
}

.btn-header-cta:hover {
    border-color: var(--gold);
    background-color: var(--gold);
    color: #fff;
}

header.scrolled .btn-header-cta {
    color: var(--charcoal);
    border-color: rgba(0, 0, 0, 0.2);
}

header.scrolled .btn-header-cta:hover {
    border-color: var(--gold);
    color: #fff;
}

/* Hamburger Menu (Hidden on Desktop, shown on Mobile) */
.menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    width: 35px;
    height: 20px;
    position: relative;
    display: none;
    /* Hide by default */
}

.menu-line {
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: var(--ivory);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

header.scrolled .menu-line {
    background-color: var(--charcoal);
}

body.menu-open .menu-line {
    background-color: var(--charcoal);
}

.menu-line:nth-child(1) {
    top: 0;
}

.menu-line:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
    width: 70%;
    right: 0;
}

.menu-line:nth-child(3) {
    bottom: 0;
}

.menu-btn:hover .menu-line:nth-child(2) {
    width: 100%;
}

/* Menu Open Animations */
body.menu-open .menu-btn .menu-line:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

body.menu-open .menu-btn .menu-line:nth-child(2) {
    opacity: 0;
}

body.menu-open .menu-btn .menu-line:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* Fullscreen Overlay Menu */
.overlay-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--cream);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

body.menu-open .overlay-menu {
    opacity: 1;
    pointer-events: all;
}

.overlay-menu ul {
    list-style: none;
    text-align: center;
}

.overlay-menu li {
    margin: 20px 0;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s ease;
}

body.menu-open .overlay-menu li {
    transform: translateY(0);
    opacity: 1;
}

body.menu-open .overlay-menu li:nth-child(1) {
    transition-delay: 0.1s;
}

body.menu-open .overlay-menu li:nth-child(2) {
    transition-delay: 0.15s;
}

body.menu-open .overlay-menu li:nth-child(3) {
    transition-delay: 0.2s;
}

body.menu-open .overlay-menu li:nth-child(4) {
    transition-delay: 0.25s;
}

body.menu-open .overlay-menu li:nth-child(5) {
    transition-delay: 0.3s;
}

.overlay-menu a {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--charcoal);
    transition: color 0.3s ease;
}

.overlay-menu a:hover {
    color: var(--gold);
}

/* --- HERO SECTION (MAGAZINE COVER STYLE) --- */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    /* Canh giữa theo chiều dọc */
    color: var(--ivory);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
    transform: scale(1.05);
    animation: heroZoomIn 10s ease-out forwards;
}

@keyframes heroZoomIn {
    to {
        transform: scale(1);
    }
}

/* Gradient phủ từ trái sang để tôn vinh Typography */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(17, 17, 17, 0.8) 0%, rgba(17, 17, 17, 0.4) 50%, transparent 100%);
    z-index: -1;
}

.hero-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    z-index: 1;
}

.hero-text-box {
    max-width: 750px;
    /* Khống chế độ rộng để text không tràn ngang */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 0.95rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--gold);
}

/* Thêm vạch ngang tinh tế trước Subtitle */
.hero-subtitle::before {
    content: '';
    width: 50px;
    height: 1px;
    background-color: var(--gold);
}

/* Typography nhấn mạnh nét Di sản */
.hero-text-box h1 {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 40px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-text-box h1 em {
    font-style: italic;
    font-weight: 400;
    color: var(--gold-light);
    display: block;
    margin-top: 5px;
}

/* Nút Khám Phá kiểu Editorial */
.btn-editorial {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 16px 40px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ivory);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.btn-editorial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--gold);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: -1;
}

.btn-editorial:hover {
    border-color: var(--gold);
}

.btn-editorial:hover::before {
    width: 100%;
}

.btn-editorial svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-editorial:hover svg {
    transform: translateX(5px);
}

/* --- SCROLL INDICATOR --- */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 5%;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

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

.scroll-text {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--ivory);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.scroll-line {
    width: 1px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 50%;
    background-color: var(--gold);
    animation: scrollLine 2s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

@keyframes scrollLine {
    0% {
        top: -50%;
    }

    100% {
        top: 100%;
    }
}

/* --- EDITORIAL INTRO SECTION (NEW 2-COLUMN) --- */
.intro-section {
    padding: var(--space-section) 0;
    background-color: var(--ivory);
    overflow: hidden;
}

.intro-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.intro-image-col {
    position: relative;
}

/* Khối nền lệch tạo chiều sâu (Offset Background) */
.intro-image-col::before {
    content: '';
    position: absolute;
    top: -30px;
    bottom: 30px;
    left: -30px;
    right: 30px;
    background-color: #EFEBE4;
    /* Màu be đậm hơn nền một chút */
    z-index: 0;
    transition: all 0.5s ease;
}

.intro-image-col:hover::before {
    top: -15px;
    bottom: 15px;
    left: -15px;
    right: 15px;
}

.intro-image-wrapper {
    position: relative;
    padding-bottom: 125%;
    /* Tỷ lệ 4:5 */
    overflow: hidden;
    z-index: 1;
    box-shadow: 10px 20px 40px rgba(0, 0, 0, 0.05);
}

.intro-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s ease;
}

.intro-image-wrapper:hover img {
    transform: scale(1.05);
}

.intro-text-col {
    padding-right: 5%;
}

.intro-tag {
    font-family: var(--font-heading);
    color: var(--gold);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 4px;
    margin-bottom: 25px;
    display: block;
}

.intro-desc {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--charcoal);
    margin-bottom: 40px;
}

/* Hiệu ứng Drop Cap (Chữ cái đầu to) */
.intro-desc::first-letter {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    float: left;
    line-height: 0.8;
    padding-right: 15px;
    color: var(--gold);
    margin-top: 5px;
}

/* Lưới thông số tối giản mới */
.intro-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 30px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.intro-stat-item {
    display: flex;
    flex-direction: column;
}

.intro-stat-num {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    color: var(--brown);
    line-height: 1;
    margin-bottom: 8px;
}

.intro-stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #666;
    font-weight: 400;
}

/* --- LOCATION SECTION (MAGAZINE SPREAD STYLE) --- */
.location-section {
    padding: var(--space-section) 0;
    background-color: var(--cream);
}

/* Phong cách Khung tranh bảo tàng (Museum Passepartout) */
.location-hero-image {
    position: relative;
    width: 100%;
    margin-bottom: 80px;
    background-color: #FFFFFF;
    padding: 15px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.03);
    border-radius: 4px;
}

/* Điểm nhấn viền vàng nghệ thuật ở đáy khung */
.location-hero-image::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 3px;
    background-color: var(--gold);
    transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.location-hero-image:hover::after {
    width: 300px;
}

.location-hero-inner {
    position: relative;
    overflow: hidden;
    background-color: #f5f5f5;
}

.location-hero-inner img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 2s cubic-bezier(0.25, 1, 0.5, 1);
}

.location-hero-image:hover .location-hero-inner img {
    transform: scale(1.03);
}

/* Lớp kính lọc làm dịu mắt (Polarized Glass effect) */
.map-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.02), rgba(0,0,0,0.08));
    pointer-events: none;
    z-index: 1;
}

.map-lightbox-trigger {
    cursor: pointer;
}

.zoom-hint {
    position: absolute;
    top: 20px; right: 20px;
    width: 45px; height: 45px;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 2;
}

.location-hero-image:hover .zoom-hint {
    opacity: 1;
    transform: scale(1);
}

.location-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: flex-start;
}

.location-subtitle {
    font-family: var(--font-heading);
    color: var(--gold);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 4px;
    margin-bottom: 20px;
    display: block;
}

.location-title {
    font-size: clamp(2rem, 3vw, 4.2rem);
    color: var(--charcoal);
    line-height: 1.15;
    margin-bottom: 30px;
}

.location-desc {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.9;
    font-weight: 400;
}

/* Lưới 4 mốc thời gian */
.distance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px 40px;
    margin-top: 10px;
}

.distance-grid-item {
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 25px;
    transition: border-color 0.4s ease;
}

.distance-grid-item:hover {
    border-top-color: var(--gold);
}

.distance-grid-item .distance-time {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--charcoal);
    line-height: 0.9;
    margin-bottom: 15px;
    display: flex;
    align-items: baseline;
    gap: 10px;
    transition: color 0.4s ease;
}

.distance-grid-item .distance-time span {
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
}

.distance-grid-item:hover .distance-time {
    color: var(--gold);
}

.distance-grid-item .distance-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
}

/* --- PHOENIX ISLAND (HIGH-END EDITORIAL - GRID FIX) --- */
.phoenix-section {
    position: relative;
    background-color: var(--black);
    color: var(--ivory);
    padding: 150px 0;
    overflow: hidden;
}

.phoenix-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: 24vw;
    color: rgba(255, 255, 255, 0.03);
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
    user-select: none;
}

.phoenix-container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Thay đổi từ Flex sang Grid để khóa cứng bố cục không bị vỡ */
.phoenix-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0;
}

.phoenix-image-col {
    position: relative;
    z-index: 1;
}

.phoenix-image-wrapper {
    position: relative;
    padding-bottom: 125%;
    /* Tỷ lệ 4:5 thời thượng */
    overflow: hidden;
}

.phoenix-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 2s ease;
}

.phoenix-image-wrapper:hover img {
    transform: scale(1.05);
}

.phoenix-image-wrapper::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    bottom: 20px;
    left: 20px;
    border: 1px solid rgba(197, 160, 89, 0.4);
    pointer-events: none;
    z-index: 2;
}

.phoenix-text-col {
    background-color: #171717;
    padding: 80px 60px;
    margin-left: -80px;
    /* Độ đè vừa phải, an toàn cho text */
    position: relative;
    z-index: 3;
    box-shadow: -20px 20px 60px rgba(0, 0, 0, 0.8);
}

.phoenix-tag {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--gold);
    font-size: 1.4rem;
    margin-bottom: 15px;
    display: block;
}

.phoenix-text-col h2 {
    font-size: clamp(2.2rem, 3.5vw, 3.8rem);
    color: var(--ivory);
    margin-bottom: 30px;
    line-height: 1.2;
}

.phoenix-lead {
    font-size: 1.1rem;
    color: #ddd;
    line-height: 1.9;
    margin-bottom: 25px;
    border-left: 2px solid var(--gold);
    padding-left: 25px;
}

.phoenix-text-col p {
    color: #999;
    font-size: 0.95rem;
}

/* --- PRODUCT COLLECTION (INTERACTIVE CATALOG) --- */
.product-section {
    padding: var(--space-section) 0;
    background-color: var(--ivory);
}

.product-header {
    margin-bottom: 60px;
}

.product-header h3 {
    color: var(--gold);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 4px;
    margin-bottom: 15px;
}

.product-header h2 {
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    color: var(--charcoal);
    line-height: 1.1;
}

.product-layout {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.product-image-col {
    flex: 1;
    position: sticky;
    top: 120px;
    /* Cố định khi cuộn */
}

.product-image-wrapper {
    position: relative;
    padding-bottom: 125%;
    /* Tỷ lệ 4:5 */
    overflow: hidden;
    box-shadow: 10px 20px 40px rgba(0, 0, 0, 0.08);
}

.product-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.6s ease, transform 1.5s ease;
}

/* Hình ảnh mờ đi trong lúc đang chuyển đổi */
.product-image-wrapper img.fading {
    opacity: 0.3;
    transform: scale(1.02);
}

.product-list-col {
    flex: 1.2;
    display: flex;
    flex-direction: column;
}

.product-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 30px 0;
    cursor: pointer;
    transition: border-color 0.4s ease;
}

.product-item:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.product-item:hover {
    border-color: var(--gold);
}

.product-item-header {
    display: flex;
    align-items: center;
    gap: 30px;
}

.product-item-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: rgba(0, 0, 0, 0.2);
    transition: color 0.4s ease;
}

.product-item-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--charcoal);
    margin-bottom: 0;
    transition: color 0.4s ease;
}

.product-item-title span {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    margin-left: 15px;
    vertical-align: middle;
}

.product-item.active .product-item-num,
.product-item.active .product-item-title {
    color: var(--gold);
}

.product-item-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-item-content {
    padding: 25px 0 10px 55px;
    /* Thụt lùi so với số thứ tự */
}

.product-item-content p {
    color: #555;
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.product-category {
    margin-bottom: 15px;
}

.product-category strong {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--charcoal);
    display: block;
    margin-bottom: 8px;
}

/* Thẻ tag kích thước */
.size-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.size-tag {
    font-size: 0.75rem;
    padding: 4px 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #666;
    border-radius: 2px;
    letter-spacing: 1px;
}

.product-styles {
    margin-top: 50px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: #777;
    font-style: italic;
    line-height: 1.8;
}

.product-styles span {
    color: var(--gold);
}

/* --- SMART CITY (EDITORIAL LAYOUT) --- */
.smart-section {
    padding: var(--space-section) 0;
    background-color: var(--cream);
}

.smart-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 80px;
}

.smart-header {
    flex: 1;
    min-width: 350px;
    /* Sticky effect for desktop */
    position: sticky;
    top: 150px;
    align-self: flex-start;
}

.smart-header h3 {
    color: var(--gold);
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.smart-header p {
    margin-top: 30px;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.9;
}

.smart-list {
    flex: 1.5;
    min-width: 350px;
    display: flex;
    flex-direction: column;
}

.smart-item {
    display: flex;
    gap: 40px;
    padding: 50px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.5s ease;
    position: relative;
}

/* .smart-item:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
} */

.smart-item:nth-last-child(1) {
    border-bottom: none;
}

/* Tương tác khi Hover */
.smart-item:hover {
    border-bottom-color: var(--gold);
}

.smart-num {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    line-height: 0.8;
    color: rgba(0, 0, 0, 0.05);
    transition: color 0.5s ease, transform 0.5s ease;
}

.smart-item:hover .smart-num {
    color: var(--gold-light);
    transform: translateX(-10px);
}

.smart-info h4 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--charcoal);
    display: flex;
    align-items: center;
    gap: 15px;
}

.smart-icon {
    width: 32px;
    height: 32px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.smart-info p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0;
}

/* --- GALLERY & VIDEO SECTION (MODERN EDITORIAL BENTO) --- */
.gallery-section {
    padding: var(--space-section) 0;
    background-color: var(--ivory);
}

.gallery-header-split {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    gap: 40px;
}

.gallery-title-left h3 {
    color: var(--gold);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 4px;
    margin-bottom: 15px;
}

.gallery-title-left h2 {
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    color: var(--charcoal);
    line-height: 1.1;
    margin-bottom: 0;
}

.gallery-title-right {
    max-width: 500px;
    padding-bottom: 10px;
}

.gallery-title-right p {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 0;
    border-left: 1px solid var(--gold);
    padding-left: 20px;
}

/* Khung lưới 12 cột hiện đại */
.modern-gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.gallery-media-item {
    position: relative;
    overflow: hidden;
    background-color: var(--charcoal);
    cursor: pointer;
}

.gallery-media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s ease, opacity 0.5s ease;
    opacity: 0.9;
}

.gallery-media-item:hover img {
    transform: scale(1.05);
    opacity: 0.7;
}

/* Định vị từng ô trong lưới */
.grid-video {
    grid-column: 1 / 9;
    /* Chiếm 8/12 cột */
    aspect-ratio: 16/9;
}

.grid-img-tall {
    grid-column: 9 / 13;
    /* Chiếm 4/12 cột */
    height: 100%;
    /* Bằng chiều cao của Video */
}

.grid-img-small-1 {
    grid-column: 1 / 5;
    aspect-ratio: 4/3;
}

.grid-img-small-2 {
    grid-column: 5 / 9;
    aspect-ratio: 4/3;
}

.grid-img-small-3 {
    grid-column: 9 / 13;
    aspect-ratio: 4/3;
}

/* Ẩn ô video khi không cấu hình URL — giữ lưới giống bản gốc */
.modern-gallery-grid.gallery-grid--no-video .grid-video.gallery-grid-video--disabled {
    display: none;
}

.modern-gallery-grid.gallery-grid--no-video .grid-img-tall {
    grid-column: 1 / 9;
    height: auto;
    aspect-ratio: 16 / 9;
}

/* Nút Play phong cách Kính mờ (Glassmorphism) */
.grid-video .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--ivory);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s ease;
    z-index: 2;
}

.grid-video:hover .play-btn {
    background: var(--gold);
    border-color: var(--gold);
    transform: translate(-50%, -50%) scale(1.1);
}

.grid-video .play-btn svg {
    width: 32px;
    height: 32px;
    margin-left: 5px;
    /* Căn chỉnh quang học cho hình tam giác */
}

.album-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--ivory);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    display: flex;
    align-items: flex-end;
    pointer-events: none;
    /* Không cản trở click */
}

.gallery-media-item:hover .album-overlay {
    opacity: 1;
    transform: translateY(0);
}

.album-overlay span {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 1px;
}

/* Lớp phủ Xem thêm (+X Hình ảnh) */
.more-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.7);
    color: var(--ivory);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    z-index: 2;
}

.more-overlay:hover {
    background: rgba(197, 160, 89, 0.85);
}

.more-overlay span:first-child {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1;
}

.more-overlay .text-small {
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 10px;
}

.hidden-item {
    display: none !important;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--ivory);
    font-size: 2.5rem;
    font-weight: 400;
    cursor: pointer;
    transition: color 0.3s ease;
    background: none;
    border: none;
    z-index: 1001;
}

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

/* Lightbox Nav UI */
.lightbox-counter {
    position: absolute;
    top: 40px;
    left: 40px;
    color: var(--ivory);
    font-family: var(--font-body);
    font-size: 1.2rem;
    letter-spacing: 2px;
    z-index: 1001;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--ivory);
    font-size: 3rem;
    cursor: pointer;
    z-index: 1001;
    padding: 20px;
    transition: color 0.3s ease;
    outline: none;
}

.lightbox-nav:hover {
    color: var(--gold);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Video Modal Fix */
.video-modal .lightbox-content {
    width: 100%;
    max-width: 1100px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* --- CONTACT & FOOTER SECTION --- */
footer {
    background-color: var(--charcoal);
    color: var(--ivory);
    padding: 100px 5% 40px;
}

.footer-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    justify-content: space-between;
    margin-bottom: 80px;
}

.footer-info {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.footer-info p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-contact {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: var(--ivory);
}

.footer-contact-item span {
    color: var(--gold);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    min-width: 90px;
}

.footer-contact-item a {
    transition: color 0.3s ease;
    font-size: 1.05rem;
    font-family: var(--font-body);
}

.footer-contact-item a:hover {
    color: var(--gold);
}

.footer-form-container {
    flex: 1;
    min-width: 300px;
    max-width: 550px;
    background: rgba(255, 255, 255, 0.02);
    padding: 40px 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.luxury-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.luxury-form h3 {
    font-family: var(--font-heading);
    color: var(--ivory);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.input-group {
    position: relative;
}

.input-group input {
    width: 100%;
    padding: 10px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--ivory);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: all 0.4s ease;
}

/* Float Label Effect */
.input-group input:focus,
.input-group input:not(:placeholder-shown) {
    border-bottom-color: var(--gold);
}

.input-group label {
    position: absolute;
    top: 10px;
    left: 0;
    color: #777;
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    font-family: var(--font-body);
}

.input-group input:focus~label,
.input-group input:not(:placeholder-shown)~label {
    top: -15px;
    font-size: 0.75rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-brand {
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #555;
    text-transform: uppercase;
    text-align: center;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {

    /* Ẩn Desktop Nav & Hiện Hamburger trên iPad/Tablet trở xuống */
    .desktop-nav {
        display: none;
    }

    .btn-header-cta {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    /* Ngăn vỡ layout trên iPad/Tablet */
    .phoenix-layout {
        grid-template-columns: 1fr;
    }

    .phoenix-text-col {
        margin-left: 0;
        margin-top: -80px;
        /* Chuyển từ đè ngang sang đè dọc */
        padding: 50px 40px;
    }
}

@media (max-width: 900px) {
    :root {
        --space-section: 80px;
    }

    /* Responsive Hero */
    .hero-overlay {
        background: linear-gradient(to bottom, rgba(17, 17, 17, 0.3) 0%, rgba(17, 17, 17, 0.8) 100%);
    }

    .hero-subtitle {
        justify-content: flex-start;
    }

    .scroll-indicator {
        display: none;
    }

    /* Tinh chỉnh Responsive Intro */
    .intro-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .intro-text-col {
        padding-right: 0;
    }

    .intro-image-col::before {
        display: none;
    }

    .editorial-text p {
        font-size: 1.2rem;
    }

    .split-layout,
    .smart-layout,
    .product-layout {
        flex-direction: column;
        gap: 40px;
    }

    /* Responsive Product Layout */
    .product-image-col {
        position: relative;
        top: 0;
        width: 100%;
    }

    .product-item-header {
        gap: 15px;
    }

    .product-item-title {
        font-size: 1.5rem;
    }

    .product-item-content {
        padding-left: 0;
    }

    /* Tinh chỉnh riêng cho Mobile Vị Trí (Magazine Layout) */
    .location-hero-image {
        padding: 8px;
        margin-bottom: 40px;
    }
    .location-hero-image::after { width: 80px; }
    .location-hero-image:hover::after { width: 150px; }

    .location-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .distance-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 0;
    }

    /* Tinh chỉnh riêng cho Mobile Đảo Phượng Hoàng */
    .phoenix-text-col {
        padding: 40px 25px;
    }

    .phoenix-watermark {
        font-size: 35vw;
    }

    .smart-header {
        position: relative;
        top: 0;
    }

    .smart-item {
        gap: 20px;
        padding: 30px 0;
    }

    .smart-num {
        font-size: 3rem;
    }

    /* Responsive Gallery Bento */
    .gallery-header-split {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .grid-video {
        grid-column: 1 / 13;
        aspect-ratio: 16/9;
    }

    .grid-img-tall {
        grid-column: 1 / 7;
        aspect-ratio: 4/5;
        height: auto;
    }

    .modern-gallery-grid.gallery-grid--no-video .grid-img-tall {
        grid-column: 1 / 13;
        aspect-ratio: 4/5;
    }

    .grid-img-small-1 {
        grid-column: 7 / 13;
        aspect-ratio: 4/5;
        height: auto;
    }

    .grid-img-small-2 {
        grid-column: 1 / 7;
        aspect-ratio: 4/3;
    }

    .grid-img-small-3 {
        grid-column: 7 / 13;
        aspect-ratio: 4/3;
    }

    .lightbox-nav {
        padding: 10px;
        font-size: 2rem;
    }

    .lightbox-prev {
        left: 5px;
    }

    .lightbox-next {
        right: 5px;
    }

    .footer-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .footer-form-container {
        padding: 30px 20px;
    }
}

@media (max-width: 600px) {
    footer {
        padding-bottom: 100px;
    }
    .hero-text-box {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: center;
        align-items: center;
    }
}