/* --- RESET & CƠ BẢN --- */
* { box-sizing: border-box; }
body {
    font-family: 'Inter', sans-serif;
    background-color: #000;
    margin: 0;
    padding: 0;
    color: #fff;
    padding-top: 45px;
    overflow-x: hidden;
}

h1, h2, h3, .title-font, .font-oswald {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    margin: 0;
}

/* --- MÀU SẮC & TEXT --- */
.text-orange { color: #ea580c !important; }
.text-white { color: #ffffff !important; }
.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.font-light { font-weight: 300; }
.italic-text { font-style: italic; color: #e2e8f0; font-weight: 600; font-size: 0.875rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.ml-auto { margin-left: auto; }

/* --- HEADER NAVIGATION --- */
.sp-sticky-header {
    position: fixed; top: 0; left: 0; width: 100%; height: 45px;
    background-color: #000; display: flex; align-items: center; justify-content: space-between;
    z-index: 99999; border-bottom: 1px solid #333;
}
.left-group, .right-group { display: flex; align-items: center; height: 100%; }
.sp-back-to-k14 {
    display: flex; align-items: center; justify-content: center; width: 45px; height: 45px;
    background-color: #00d2c1; color: white; text-decoration: none; font-size: 18px;
}
.sp-mag-logo { margin-left: 15px; }
.sp-mag-logo img { height: 24px; filter: brightness(0) saturate(100%) invert(65%) sepia(50%) saturate(4644%) hue-rotate(128deg) brightness(97%) contrast(101%); }
.center-logo img { height: 26px; }
.fb-custom-btn { display: flex; align-items: center; gap: 6px; color: #ccc; text-decoration: none; font-size: 13px; font-weight: bold; padding-right: 15px; }

@media (max-width: 600px) { .center-logo { display: none; } }

/* --- BACKGROUND SCROLLY --- */
.background-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
.bg-slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 0.8s ease-in-out, transform 10s ease-out;
    transform: scale(1.05); object-fit: cover;
}
.bg-slide.active { opacity: 0.7; transform: scale(1); }
video.bg-slide.active { opacity: 1; }
.overlay-gradient {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 100%);
    z-index: -1; pointer-events: none;
}

/* --- SECTIONS & CONTENT --- */
.scrolly-section {
    min-height: 100vh; display: flex; align-items: center; padding: 2rem; position: relative; z-index: 10;
}
.pos-center { justify-content: center; }
.pos-left { justify-content: flex-start; }
.pos-right { justify-content: flex-end; }

@media (min-width: 768px) {
    .pos-left { padding-left: 5%; }
    .pos-right { padding-right: 5%; }
}

.content-box {
    max-width: 800px; width: 100%;
    text-shadow: 0 4px 8px rgba(0,0,0,0.9);
    transform: translateY(30px); opacity: 0; transition: all 0.8s ease-out;
}
.scrolly-section.active .content-box { transform: translateY(0); opacity: 1; }

.main-headline { font-size: 2.25rem; font-weight: 900; line-height: 1.2; margin-bottom: 1.5rem; color: white; }
.section-title { font-size: 1.875rem; font-weight: 700; margin-bottom: 1rem; position: relative; display: inline-block; }
.section-title::after {
    content: ''; position: absolute; left: 0; bottom: -5px; width: 60px; height: 3px; background-color: #ea580c;
}
.label-orange { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; color: #ea580c; font-weight: 700; text-transform: uppercase; font-size: 0.875rem; }
.price-tag { font-size: 1.875rem; font-weight: 700; color: #ea580c; margin-bottom: 0.5rem; }
.price-tag.big { font-size: 2.25rem; font-weight: 900; }
.desc-text { font-size: 1rem; line-height: 1.6; font-weight: 600; color: #fff; }

/* --- COMPONENTS --- */
.btn-main {
    background-color: #ea580c; color: white; font-weight: 700; padding: 0.75rem 1.5rem;
    border-radius: 9999px; border: none; cursor: pointer; display: flex; align-items: center; gap: 0.5rem;
    transition: all 0.3s; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); width: fit-content; text-decoration: none;
}
.btn-main:hover { transform: scale(1.05); background-color: #c2410c; }

.btn-pulse { animation: pulse-orange 2s infinite; }
@keyframes pulse-orange {
    0% { box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(234, 88, 12, 0); }
    100% { box-shadow: 0 0 0 0 rgba(234, 88, 12, 0); }
}

.scroll-hint { font-size: 1.5rem; margin-top: 3rem; color: white; }
.animate-bounce { animation: bounce 2s infinite; }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-10px); } 60% { transform: translateY(-5px); } }

.no-bg-force { background: rgba(0,0,0,0.3) !important; border: 1px solid rgba(255,255,255,0.3) !important; padding: 1rem; border-radius: 0.5rem; }
.info-list ul { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; font-size: 0.875rem; font-weight: 600; }
.info-list i { color: #ea580c; }

.grid-2-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
@media (max-width: 768px) { .grid-2-cols { grid-template-columns: 1fr; } }
.card-item { padding: 1rem; border-radius: 0.5rem; }
.img-wrapper { border-radius: 0.5rem; overflow: hidden; border: 1px solid rgba(255,255,255,0.2); height: 128px; }
.img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.img-wrapper:hover img { transform: scale(1.1); }
.card-title { color: #ea580c; font-weight: 700; text-transform: uppercase; margin: 0.5rem 0; }
.card-price { font-size: 1.5rem; font-weight: 700; color: #ea580c; }
.card-desc { font-size: 0.875rem; color: white; font-weight: 600; }
.btn-small { background: transparent; border: 1px solid rgba(255,255,255,0.3); color: white; font-size: 0.75rem; padding: 0.25rem 0.5rem; border-radius: 0.25rem; cursor: pointer; margin-top: 0.5rem; }

.grid-4-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
@media (max-width: 768px) { .grid-4-cols { grid-template-columns: 1fr 1fr; } }
.grid-item { text-align: center; border-top: 2px solid #ea580c !important; cursor: pointer; transition: 0.3s; }
.grid-item:hover { background: rgba(255,255,255,0.05) !important; }
.grid-price { color: #ea580c; font-weight: 700; font-size: 1.25rem; }
.grid-name { font-weight: 700; color: white; margin-bottom: 0.25rem; }
.grid-hint { font-size: 0.75rem; color: #9ca3af; }

/* --- MAP STYLES --- */
.map-section-container { position: relative; z-index: 20; background: #000; }
.map-wrapper { position: relative; width: 100%; height: 95vh; border-top: 2px solid #ea580c; border-bottom: 2px solid #ea580c; overflow: hidden; }
.map-wrapper.fullscreen { position: fixed; top: 0; left: 0; right: 0; bottom: 0; width: 100vw; height: 100vh; z-index: 9999; border: none; margin: 0; }
.map-element { width: 100%; height: 100%; outline: none; background: #0c1220; }

.nav-strip {
    position: absolute; top: 0; bottom: 0; left: 0; width: 60px;
    background: rgba(15, 23, 42, 0.9); display: flex; flex-direction: column; align-items: center;
    padding-top: 20px; z-index: 1000; backdrop-filter: blur(5px); transition: transform 0.3s;
}
@media (max-width: 768px) { .nav-strip { transform: translateX(-100%); } .nav-strip.active { transform: translateX(0); } }

.nav-dot {
    width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.7); display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 12px; margin-bottom: 12px; cursor: pointer; transition: 0.2s;
}
.nav-dot.active { background: #ea580c; color: white; border-color: #ea580c; transform: scale(1.15); box-shadow: 0 0 10px #ea580c; }
.nav-home-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center; cursor: pointer; margin-bottom: 20px; color: white; }

.location-label-card {
    position: absolute; bottom: 40px; left: 80px; width: 340px;
    background: rgba(15, 23, 42, 0.95); padding: 24px; border-radius: 8px; border-left: 4px solid #ea580c;
    z-index: 900; opacity: 0; transform: translateY(20px); transition: 0.4s; pointer-events: none;
}
.location-label-card.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
@media (max-width: 768px) { .location-label-card { left: 20px; right: 20px; bottom: 80px; width: auto; } }

.preview-title { font-size: 1.5rem; color: white; margin: 0.25rem 0; font-family: 'Oswald', sans-serif; }
.preview-capital { color: #ea580c; font-weight: 700; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; }
.preview-status { color: white; font-style: italic; font-size: 0.75rem; display: block; margin-bottom: 1rem; }
.btn-detail {
    border: 1px solid #ea580c; color: white; padding: 10px; text-align: center; cursor: pointer;
    text-transform: uppercase; font-weight: 700; font-size: 0.8125rem; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-detail:hover { background: #ea580c; }

/* --- MODAL SPLIT --- */
.split-modal {
    position: absolute; inset: 0; z-index: 2000; background: #0f172a;
    display: flex; flex-direction: column; transform: translateX(100%); transition: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (min-width: 768px) { .split-modal { flex-direction: row; } }
.split-modal.active { transform: translateX(0); }

.split-left { width: 100%; aspect-ratio: 16/9; background: #000; position: relative; }
@media (min-width: 768px) { .split-left { height: 100%; width: 50%; aspect-ratio: auto; } }
.split-right { flex-grow: 1; padding: 20px; overflow-y: auto; color: #e2e8f0; }
@media (min-width: 768px) { .split-right { padding: 40px; width: 50%; } }

.detail-headline { font-family: 'Oswald', sans-serif; font-size: 2rem; font-weight: 700; color: white; line-height: 1.1; margin-bottom: 20px; }
.detail-desc { font-size: 0.875rem; line-height: 1.6; text-align: justify; margin-bottom: 1.5rem; }
.close-modal-btn { position: absolute; top: 60px; right: 20px; z-index: 50; width: 40px; height: 40px; border-radius: 50%; background: #0f172a; border: 1px solid rgba(255,255,255,0.2); color: white; cursor: pointer; }

/* --- INTERACTIVE BOX --- */
.interactive-box { background: #1e293b; border: 1px solid #334155; padding: 1rem; border-radius: 0.5rem; cursor: pointer; position: relative; transition: 0.3s; }
.interactive-box:hover { border-color: #ea580c; }
.box-header { display: flex; justify-content: space-between; align-items: center; color: #ea580c; font-size: 0.875rem; font-weight: 700; margin: 0 0 0.75rem 0; text-transform: uppercase; }
.area-list { list-style: none; padding: 0; margin: 0; font-size: 0.875rem; color: white; }
.area-list li { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.area-list i { color: #ea580c; width: 20px; }

/* --- MARKER ANIMATION --- */
.marker-pulse { background: rgba(234, 88, 12, 0.5); border-radius: 50%; height: 24px; width: 24px; position: absolute; animation: pulse-me 2s infinite; }
.marker-dot { background-color: #ea580c; width: 100%; height: 100%; border-radius: 50%; border: 2px solid white; }
@keyframes pulse-me { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(3); opacity: 0; } }

/* --- FOOTER --- */
.main-footer { background: #020617; padding: 3rem 1rem; border-top: 1px solid #0f172a; text-align: center; }
.footer-container { max-width: 1024px; margin: 0 auto; }
.footer-credits { font-size: 1.125rem; color: white; margin-bottom: 1rem; }
.text-gray-light { color: #d1d5db; font-size: 0.875rem; }
.footer-copy { font-size: 0.75rem; color: #4b5563; }

/* --- UTILS --- */
.fullscreen-btn { position: absolute; bottom: 20px; right: 20px; z-index: 1001; background: rgba(15, 23, 42, 0.9); color: white; padding: 10px 20px; border: 1px solid rgba(255,255,255,0.2); border-radius: 4px; cursor: pointer; font-weight: 700; font-size: 12px; display: flex; align-items: center; gap: 8px; }
.mobile-menu-btn { display: none; position: absolute; bottom: 24px; right: 24px; z-index: 800; width: 48px; height: 48px; background: white; border-radius: 50%; justify-content: center; align-items: center; cursor: pointer; }
@media (max-width: 768px) { .mobile-menu-btn { display: flex; } }
.map-title-overlay { position: absolute; top: 0; left: 0; right: 0; z-index: 500; display: flex; justify-content: center; padding: 60px 0 40px; background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent); }
.map-headline { font-family: 'Phudu', cursive; font-size: 1.5rem; color: #f0fdfa; text-transform: uppercase; letter-spacing: 2px; }