/* ===================== ROOT ===================== */
:root {
    --bg: #000000;
    --bg2: #000000e5;
    --card: #000000;
    --paper: #f5f0e8;
    --muted: #a9a59d;
    --gold: #d4a747;
    --gold2: #e8c86a;
    --gold-glow: rgba(212, 167, 71, 0.15);
    --line: rgba(255, 255, 255, 0.07);
    --max: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--paper);
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
    line-height: 1.7;
}

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

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

.container {
    width: min(calc(100% - 40px), var(--max));
    margin: auto;
}

/* Làm cho thanh topbar trong suốt và đè lên phần banner/nền phía dưới */
.topbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999; /* Đảm bảo topbar nằm trên cùng */
    background: transparent; /* Nền hoàn toàn trong suốt */
    color: #f0f0f0;
    font-size: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Đường viền mỏng nhẹ bên dưới nếu cần */
}

.topbar-in {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-info, .topbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Style cho SVG icon mạ vàng bóng */
.gold-icon {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.8));
}

.topbar-info .dot {
    margin: 0 8px;
    color: #888;
}

/* Nút chữ vàng ánh kim */
.topbar-btn {
    background: linear-gradient(135deg, #FFE898 0%, #D4A038 50%, #FDF1A9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    text-decoration: none;
}

/* ===================== TOPBAR ===================== */
.topbar {
    background: #000000d3;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
    color: var(--muted);
}

.topbar-in {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

.topbar a {
    color: var(--gold);
}

/* ===================== HEADER ===================== */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}

.nav {
    height: 78px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 210px;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(212, 167, 71, 0.5);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--gold);
    font-size: 18px;
}

.brand b {
    display: block;
    letter-spacing: 2px;
    font-family: Georgia, serif;
}

.brand small {
    display: block;
    font-size: 8px;
    letter-spacing: 2px;
    color: var(--muted);
}

/* Logo ảnh */
.brand-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
    border: 1.5px solid #d4af37;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.25);
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-left: auto;
}

.nav-links a {
    font-size: 12px;
    color: #d8d4cc;
    transition: color 0.2s;
}

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

.menu-btn {
    display: none;
    background: none;
    border: 0;
    color: white;
    font-size: 25px;
    cursor: pointer;
}

/* ===================== BUTTONS ===================== */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 2px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.3px;
    border: 1px solid transparent;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.btn-gold:hover {
    background: var(--gold2);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 167, 71, 0.3);
}

.btn-outline {
    border-color: rgba(212, 167, 71, 0.55);
    color: var(--paper);
}

.btn-outline:hover {
    background: var(--gold-glow);
    border-color: var(--gold);
    transform: translateY(-2px);
}

/* ===================== HERO ===================== */
.hero {
    min-height: 720px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(10, 10, 10, 0.96) 0%, rgba(0, 0, 0, 0.7) 48%, rgba(10, 10, 10, 0.3) 100%);
    will-change: transform;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    padding: 90px 0;
}

.eyebrow,
.section-label {
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 800;
}

.hero h1 {
    font: 700 clamp(48px, 7vw, 82px) / 1.04 Georgia, serif;
    margin: 18px 0;
}

.hero h1 em {
    color: var(--gold);
    font-style: normal;
}

.hero p {
    max-width: 680px;
    color: #c4c0b7;
    font-size: 17px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 38px;
    color: #c6c1b7;
    font-size: 12px;
}

/* ===================== SECTIONS ===================== */
.section {
    padding: 105px 0;
}

.soft {
    background: var(--bg2);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.section h2 {
    font: 700 clamp(36px, 4.4vw, 58px) / 1.1 Georgia, serif;
    margin: 12px 0 22px;
}

.section p {
    color: var(--muted);
}

.feature-photo {
    border: 1px solid var(--line);
    padding: 10px;
    background: #101216;
}

.feature-photo img {
    aspect-ratio: 16/10;
    object-fit: cover;
}

.text-link {
    display: inline-block;
    color: var(--gold);
    margin-top: 16px;
    font-weight: 700;
}

/* ===================== STATS ===================== */
.stats {
    margin-top: 75px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stats>div {
    padding: 28px;
    border-right: 1px solid var(--line);
    text-align: center;
}

.stats>div:last-child {
    border-right: 0;
}

.stats strong {
    display: block;
    font: 700 30px Georgia, serif;
    color: var(--gold);
}

.stats span {
    font-size: 12px;
    color: var(--muted);
}

/* ===================== SECTION HEAD ===================== */
.section-head {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    align-items: end;
    margin-bottom: 45px;
}

.section-head>p {
    max-width: 430px;
}

/* ===================== CARDS ===================== */
.cards-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.card {
    background: var(--bg2);
    padding: 32px;
    transition: background 0.3s;
}

.card:hover {
    background: #1a1a1a;
}

.card span,
.service span,
.article span {
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 2px;
}

.card h3,
.service h3,
.product h3,
.article h3 {
    font: 700 23px Georgia, serif;
    margin: 10px 0;
}

.card p {
    font-size: 14px;
    margin: 0;
}

/* ===================== SERVICE ===================== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.service {
    border: 1px solid var(--line);
    background: #111317;
    padding: 14px;
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 24px;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border-color: var(--gold);
}

.service img {
    width: 190px;
    height: 130px;
    object-fit: cover;
}

.service p {
    font-size: 13px;
}

/* ===================== GALLERY RẠP, XE, HOA ===================== */
.gallery-rap,
.gallery-xe,
.gallery-hoa {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.rap-item,
.xe-item,
.hoa-item {
    overflow: hidden;
    border: 1px solid var(--line);
    background: #101216;
    transition: transform 0.3s;
}

.rap-item img,
.xe-item img,
.hoa-item img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    transition: transform 0.5s;
}

.rap-item:hover img,
.xe-item:hover img,
.hoa-item:hover img {
    transform: scale(1.04);
}

/* ===================== PACKAGES ===================== */
.packages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.package {
    padding: 35px;
    border: 1px solid var(--line);
    background: #111317;
    transition: all 0.3s;
}

.package.featured {
    border-color: rgba(212, 167, 71, 0.65);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.package-tag {
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--gold);
    font-weight: 800;
}

.package h3 {
    font: 700 32px Georgia, serif;
    margin: 10px 0;
}

.package-desc {
    font-size: 14px;
    min-height: 70px;
}

.package ul {
    padding: 0;
    margin: 25px 0 30px;
    list-style: none;
}

.package li {
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
}

.package li:before {
    content: "✓";
    color: var(--gold);
    margin-right: 9px;
}

/* ===================== TIMELINE ===================== */
.timeline {
    margin-top: 50px;
    border-left: 1px solid rgba(212, 167, 71, 0.45);
    margin-left: 20px;
}

.step {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 25px;
    padding: 0 0 45px 30px;
    position: relative;
}

.step b {
    width: 40px;
    height: 40px;
    border: 1px solid var(--gold);
    color: var(--gold);
    display: grid;
    place-items: center;
    border-radius: 50%;
    position: absolute;
    left: -20px;
    background: var(--bg);
    font-size: 14px;
}

.step h3 {
    margin: 0;
    font: 700 24px Georgia, serif;
}

.step p {
    margin: 5px 0 0;
}

/* ===================== VIDEO ===================== */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #000;
}

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

/* ===================== TEAM ===================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.team-member {
    background: #111317;
    border: 1px solid var(--line);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s;
}

.team-member:hover {
    transform: translateY(-6px);
}

.team-member img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--gold);
    margin-bottom: 12px;
}

.team-member h4 {
    margin: 6px 0 4px;
    font-size: 18px;
}

.team-member span {
    font-size: 13px;
    color: var(--muted);
}

/* ===================== REVIEWS ===================== */
.reviews {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 45px;
}

.review {
    background: #111317;
    border: 1px solid var(--line);
    padding: 30px;
}

.stars {
    color: var(--gold);
    letter-spacing: 3px;
}

.review p {
    font: 18px/1.65 Georgia, serif;
    color: #ddd8ce;
}

.review small {
    color: var(--muted);
}

/* ===================== FAQ ===================== */
.faq {
    background: #101216;
}

.faq-list {
    max-width: 850px;
    margin-top: 40px;
}

.faq-list details {
    border-bottom: 1px solid var(--line);
    padding: 20px 0;
}

.faq-list summary {
    cursor: pointer;
    font: 700 20px Georgia, serif;
    color: var(--paper);
    transition: color 0.2s;
}

.faq-list summary:hover {
    color: var(--gold);
}

.faq-list p {
    margin: 12px 0 0;
    font-size: 14px;
}

/* ===================== AREA CARD ===================== */
.area-card {
    padding: 50px;
    background: linear-gradient(120deg, #17191d, #0e1013);
    border: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 50px;
    align-items: center;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 500px;
}

.chips span {
    padding: 9px 13px;
    border: 1px solid rgba(212, 167, 71, 0.3);
    font-size: 12px;
    color: #ddd4c2;
}

/* ===================== CTA ===================== */
.cta {
    padding: 70px 0;
    background: #17140e;
    border-top: 1px solid rgba(212, 167, 71, 0.18);
    border-bottom: 1px solid rgba(212, 167, 71, 0.18);
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cta h2 {
    margin: 7px 0;
    font: 700 46px Georgia, serif;
}

.cta p {
    margin: 0;
    color: var(--muted);
}

/* ===================== CONTACT ===================== */
.contact-info {
    margin-top: 30px;
}

.contact-info>div {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.contact-info>div>span {
    color: var(--gold);
    font-size: 22px;
}

.contact-info b {
    display: block;
}

.contact-info p,
.contact-info a {
    margin: 0;
    color: var(--muted);
}

.contact-form {
    background: #15171b;
    border: 1px solid var(--line);
    padding: 30px;
}

.contact-form label {
    display: block;
    font-size: 12px;
    color: #bbb5aa;
    margin-bottom: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    display: block;
    width: 100%;
    margin-top: 7px;
    background: #0e1013;
    color: #eee;
    border: 1px solid var(--line);
    padding: 13px 14px;
    outline: none;
    font: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: rgba(212, 167, 71, 0.6);
}

.contact-form button {
    width: 100%;
    margin-top: 5px;
}

.form-note {
    font-size: 12px;
    color: var(--gold);
    margin-top: 10px;
}

/* ===================== FOOTER ===================== */
.footer {
    background: #08090b;
    padding: 70px 0 20px;
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer p {
    color: var(--muted);
    max-width: 380px;
}

.footer h4 {
    margin-top: 0;
    color: var(--gold);
}

.footer-grid>div>a:not(.brand) {
    display: block;
    color: var(--muted);
    font-size: 13px;
    padding: 4px 0;
}

.copyright {
    border-top: 1px solid var(--line);
    margin-top: 45px;
    padding-top: 18px;
    text-align: center;
    color: #666;
    font-size: 11px;
}

/* ===================== FLOATING ===================== */
.floating {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 60;
    display: grid;
    gap: 9px;
}

.floating a {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--gold);
    color: #17130a;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
    font-weight: 800;
    transition: transform 0.2s;
}

.floating a:hover {
    transform: scale(1.1);
}

/* ===================== LIGHTBOX ===================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    display: none;
    z-index: 100;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.lightbox.open {
    display: flex;
}

.lightbox img {
    max-height: 90vh;
    max-width: 90vw;
    object-fit: contain;
}

.lightbox button {
    position: absolute;
    right: 30px;
    top: 20px;
    background: none;
    border: 0;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}

/* ===================== REVEAL ANIMATION ===================== */
.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Stagger effect */
.reveal:nth-child(1) { transition-delay: 0.05s; }
.reveal:nth-child(2) { transition-delay: 0.10s; }
.reveal:nth-child(3) { transition-delay: 0.15s; }
.reveal:nth-child(4) { transition-delay: 0.20s; }
.reveal:nth-child(5) { transition-delay: 0.25s; }
.reveal:nth-child(6) { transition-delay: 0.30s; }
.reveal:nth-child(7) { transition-delay: 0.35s; }
.reveal:nth-child(8) { transition-delay: 0.40s; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1000px) {
    .nav-links {
        display: none;
    }
    .menu-btn {
        display: block;
        margin-left: auto;
    }
    .nav-call {
        display: none;
    }
    .nav.mobile-open .nav-links {
        display: flex;
        position: absolute;
        left: 20px;
        right: 20px;
        top: 70px;
        background: #101216;
        border: 1px solid var(--line);
        padding: 18px;
        flex-direction: column;
        align-items: flex-start;
    }
    .grid-2,
    .price-box {
        grid-template-columns: 1fr;
    }
    .cards-3,
    .reviews {
        grid-template-columns: repeat(2, 1fr);
    }
    .packages {
        grid-template-columns: 1fr;
    }
    .package.featured {
        transform: none;
    }
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-rap,
    .gallery-xe,
    .gallery-hoa {
        grid-template-columns: 1fr 1fr;
    }
    .area-card,
    .section-head,
    .cta-inner {
        display: block;
    }
    .section-head>p {
        margin-top: 15px;
    }
    .cta-inner .btn {
        margin-top: 25px;
    }
}

@media (max-width: 650px) {
    .container {
        width: min(calc(100% - 28px), var(--max));
    }
    .topbar {
        display: none;
    }
    .hero {
        min-height: 650px;
    }
    .hero h1 {
        font-size: 48px;
    }
    .hero p {
        font-size: 15px;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .trust-row {
        display: grid;
        gap: 8px;
    }
    .section {
        padding: 72px 0;
    }
    .section h2 {
        font-size: 38px;
    }
    .grid-2 {
        gap: 35px;
    }
    .stats {
        grid-template-columns: 1fr 1fr;
    }
    .stats>div:nth-child(2) {
        border-right: 0;
    }
    .stats>div {
        padding: 20px;
    }
    .cards-3,
    .reviews,
    .service-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    .service {
        grid-template-columns: 1fr;
    }
    .service img {
        width: 100%;
        height: auto;
    }
    .gallery-rap,
    .gallery-xe,
    .gallery-hoa {
        grid-template-columns: 1fr 1fr;
    }
    .price-box {
        padding: 30px 22px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-grid>div:first-child {
        grid-column: 1/-1;
    }
    .brand {
        min-width: auto;
    }
    .nav {
        height: 68px;
    }
    .floating a {
        width: 44px;
        height: 44px;
    }
    .area-card {
        padding: 30px 22px;
    }
    .chips {
        margin-top: 25px;
    }
}

/* ——— SỬA LỖI HIỂN THỊ CHỮ TRÊN MOBILE ——— */
@media (max-width: 420px) {
    /* KHÔNG ẨN CHỮ NỮA, chỉ thu nhỏ lại */
    .brand {
        min-width: auto !important;
        gap: 8px !important;
    }
    .brand b {
        font-size: 15px !important;
    }
    .brand small {
        font-size: 8px !important;
    }
    .brand-logo {
        width: 36px !important;
        height: 36px !important;
    }
    /* Nếu vẫn muốn ẩn trên cực nhỏ (dưới 360px) thì có thể giữ, nhưng tôi khuyên để hiển thị */
}
/* ===== VIDEO NỀN TOÀN MÀN HÌNH ===== */
#bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
    background: #0a0a0a; /* fallback nếu video không tải được */
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

/* Đảm bảo nội dung nằm trên video */
.hero, .header, .topbar, .section, .footer {
    position: relative;
    z-index: 1;
}

/* =========================================
   FIX LỖI FONT TIẾNG VIỆT / DẤU BỊ TÁCH
   ========================================= */

html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  font-variant-ligatures: normal;
}

body,
button,
input,
select,
textarea {
  font-family: "Noto Sans", "Segoe UI", Arial, sans-serif;
  font-kerning: normal;
  font-variant-ligatures: normal;
  text-rendering: optimizeLegibility;
}

/* Font serif cho tiêu đề */
.hero h1,
.section h2,
.card h3,
.service h3,
.product h3,
.article h3,
.package h3,
.step h3,
.review p,
.faq-list summary,
.cta h2,
.brand b {
  font-family: "Noto Serif", Georgia, "Times New Roman", serif;
  font-kerning: normal;
  font-variant-ligatures: normal;
  letter-spacing: normal;
  text-rendering: optimizeLegibility;
}

/* Nội dung tiếng Việt */
p,
li,
label,
input,
select,
textarea,
button {
  font-kerning: normal;
  font-variant-ligatures: normal;
  text-rendering: optimizeLegibility;
  letter-spacing: normal;
}

/* Card tổng thể */
.owner-card {
    display: flex;
    align-items: center;
    gap: 45px;
    background: rgba(20, 20, 20, 0.75);
    border: 1px solid rgba(212, 160, 56, 0.3);
    border-radius: 16px;
    padding: 35px 40px;
    margin-top: 30px;
    backdrop-filter: blur(8px);
}

/* Khung Avatar Tròn Ánh Kim */
.owner-avatar-circle {
    flex: 0 0 220px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    padding: 6px; /* Khoảng hở tạo hiệu ứng viền */
    background: linear-gradient(135deg, #FFE898 0%, #D4A038 50%, #A67C1E 100%);
    box-shadow: 0 0 20px rgba(212, 160, 56, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.owner-avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #000; /* Viền đen tách biệt giữa ảnh và khung vàng */
}

/* Thông tin chi tiết */
.owner-info {
    flex: 1;
}

.owner-role {
    font-size: 13px;
    color: #d4a038;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.owner-name {
    font-size: 28px;
    color: #fff;
    margin: 8px 0 16px;
    background: linear-gradient(135deg, #FFE898 0%, #D4A038 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.owner-quote {
    font-size: 15px;
    line-height: 1.7;
    color: #d1d1d1;
    font-style: italic;
    border-left: 3px solid #d4a038;
    padding-left: 15px;
    margin-bottom: 24px;
}

.owner-commit {
    display: flex;
    gap: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 18px;
}

.commit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e0e0e0;
    font-size: 14px;
}

.commit-item i {
    color: #d4a038;
    font-size: 16px;
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .owner-card {
        flex-direction: column;
        padding: 25px;
        text-align: center;
        gap: 25px;
    }
    .owner-avatar-circle {
        flex: 0 0 180px;
        width: 180px;
        height: 180px;
    }
    .owner-quote {
        border-left: none;
        border-top: 2px solid #d4a038;
        padding-left: 0;
        padding-top: 12px;
    }
    .owner-commit {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

/* Hiệu ứng xuất hiện mượt mà cho các phần tử có class .reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* Tối ưu hóa GPU render cho di động */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), 
                transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

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

.hero-bg {
    will-change: transform;
}

/* CSS Dành riêng cho phần Quy trình dạng Thẻ (Grid) Compact */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.process-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 160, 56, 0.2);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.process-card:hover {
    border-color: #D4A038;
    transform: translateY(-5px);
    background: rgba(212, 160, 56, 0.08);
}

.process-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.process-num {
    font-size: 2rem;
    font-weight: 800;
    color: #D4A038;
    line-height: 1;
    font-family: 'Noto Serif', serif;
}

.process-badge {
    font-size: 0.75rem;
    background: rgba(212, 160, 56, 0.15);
    color: #FFE898;
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid rgba(212, 160, 56, 0.3);
    font-weight: 600;
}

.process-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: #fff;
}

.process-card p {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.5;
    margin: 0;
}

/* Responsive cho Máy tính bảng và Điện thoại */
@media (max-width: 992px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
}

.photo-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(212, 160, 56, 0.4); /* Viền vàng nhẹ */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.photo-wrapper:hover img {
    transform: scale(1.03); /* Hiệu ứng phóng to nhẹ khi di chuột */
}

/* Huy hiệu nổi đè lên góc dưới bên trái ảnh */
.photo-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 1px solid #D4A038;
    padding: 10px 18px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

.photo-badge strong {
    font-size: 1.8rem;
    color: #D4A038;
    font-family: 'Noto Serif', serif;
    line-height: 1;
}

.photo-badge span {
    font-size: 0.85rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Styling Slider Trôi Nhẹ Nhàng (Infinite Smooth Scroll) */
.gallery-slider-section {
    overflow: hidden;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.text-center {
    text-align: center;
}

.text-center p {
    margin: 0 auto;
    max-width: 600px;
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-top: 35px;
    padding: 15px 0;
    /* Làm mờ 2 bên mép màn hình giúp ảnh xuất hiện & biến mất dịu mắt, nhẹ nhàng */
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.marquee-track {
    display: flex;
    gap: 25px;
    width: max-content;
    /* Thời gian 35 giây: tốc độ trôi chậm rãi, tạo cảm giác an yên */
    animation: smoothMarquee 35s linear infinite;
}

/* Rê chuột vào sẽ tạm dừng trôi để xem chi tiết ảnh */
.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-item {
    position: relative;
    width: 320px;
    height: 220px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(212, 160, 56, 0.25);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.marquee-item:hover {
    transform: translateY(-6px);
    border-color: #D4A038;
}

.marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.9);
    transition: filter 0.4s ease, transform 0.6s ease;
}

.marquee-item:hover img {
    filter: brightness(1.05);
    transform: scale(1.05);
}

/* Chú thích ảnh phía dưới đè nhẹ */
.img-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 12px 10px;
    background: linear-gradient(0deg, rgba(15, 15, 15, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
    color: #FFE898;
    font-size: 0.88rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.3px;
}

/* Hiệu ứng cuộn vô tận */
@keyframes smoothMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive Điện thoại */
@media (max-width: 768px) {
    .marquee-item {
        width: 250px;
        height: 175px;
    }
    .marquee-track {
        animation-duration: 25s; /* Điều chỉnh tốc độ vừa phải cho điện thoại */
    }
}

/* CSS HÌNH ẢNH HOẠT ĐỘNG (ĐÃ TĂNG KÍCH THƯỚC & TẠO HIỆU ỨNG TRONG SUỐT MỜ NỀN) */
.activity-gallery-section {
    position: relative;
    width: 100%;
    padding: 70px 0;
    /* Nền trong suốt nhẹ để hiện video/nền phía sau */
    background: rgba(10, 10, 10, 0.4); 
    backdrop-filter: blur(5px);
    overflow: hidden;
    clear: both;
}

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

/* Tiêu đề căn giữa */
.gallery-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 40px auto;
}

.gallery-label {
    display: inline-block;
    color: #D4A038;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.gallery-title {
    color: #ffffff;
    font-family: 'Noto Serif', serif;
    font-size: 2.3rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
}

.gallery-subtitle {
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 auto;
}

/* Wrapper lướt ảnh */
.gallery-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 15px 0;
    /* Làm mờ 2 mép màn hình dịu mắt */
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
}

.gallery-marquee-track {
    display: flex;
    gap: 25px;
    width: max-content;
    animation: marqueeScroll 35s linear infinite;
}

.gallery-marquee-wrapper:hover .gallery-marquee-track {
    animation-play-state: paused;
}

/* Thẻ chứa ảnh: Tăng kích thước & Trong suốt mờ nhẹ */
.gallery-card {
    position: relative;
    /* Tăng kích thước ảnh to hơn (420px x 270px) */
    width: 420px;
    height: 270px;
    flex-shrink: 0;
    border-radius: 14px;
    overflow: hidden;
    
    /* Nền kính trong suốt mờ nhạt */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    
    border: 1px solid rgba(212, 160, 56, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-card:hover {
    transform: translateY(-8px);
    border-color: #D4A038;
    box-shadow: 0 12px 35px rgba(212, 160, 56, 0.25);
    background: rgba(255, 255, 255, 0.08);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* Ảnh có độ mờ dịu nhẹ, rê chuột vào sẽ sáng rõ */
    opacity: 0.88;
    filter: brightness(0.92);
    transition: all 0.5s ease;
}

.gallery-card:hover img {
    opacity: 1;
    filter: brightness(1.05);
    transform: scale(1.03);
}

/* Chú thích ảnh phía dưới trong suốt nhẹ */
.gallery-card-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px 15px 12px;
    background: linear-gradient(0deg, rgba(10, 10, 10, 0.85) 0%, rgba(10, 10, 10, 0) 100%);
    color: #FFE898;
    font-size: 0.92rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.3px;
}

/* Animation cuộn */
@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive Điện thoại */
@media (max-width: 768px) {
    .gallery-title {
        font-size: 1.6rem;
    }
    .gallery-card {
        width: 300px;
        height: 200px;
    }
}

.gallery-title {
    font-family: 'Noto Serif', serif;
    font-size: 2.3rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
    
    /* Hiệu ứng màu Vàng Ánh Kim */
    background: linear-gradient(180deg, #FFFFFF 15%, #E6C687 60%, #C49231 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* Bóng đổ nhẹ giúp chữ nổi bật khỏi nền */
    filter: drop-shadow(0px 2px 8px rgba(0, 0, 0, 0.7));
}

 .photo-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(212, 160, 56, 0.4); /* Viền vàng nhẹ */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.photo-wrapper:hover img {
    transform: scale(1.03); /* Hiệu ứng phóng to nhẹ khi di chuột */
}

/* Huy hiệu nổi đè lên góc dưới bên trái ảnh */
.photo-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 1px solid #D4A038;
    padding: 10px 18px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

.photo-badge strong {
    font-size: 1.8rem;
    color: #D4A038;
    font-family: 'Noto Serif', serif;
    line-height: 1;
}

.photo-badge span {
    font-size: 0.85rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/*-- Khung chứa tạo không gian chiều sâu 3D --*/
.feature-photo {
    perspective: 1000px;
    width: 100%;
    display: block;
}

.photo-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(212, 160, 56, 0.4); /* Viền vàng nhẹ */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    background: #141414;
    
    /* Bật tính năng không gian 3D */
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out, box-shadow 0.3s ease;
    will-change: transform;
}

/*-- Hiệu ứng vệt sáng quét khi xoay nghiêng --*/
.photo-shine {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: translateZ(0);
}

/*-- Huy hiệu 3D nổi cao hẳn hơn mặt ảnh 35px --*/
.photo-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid #D4A038;
    padding: 10px 18px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.7);
    z-index: 3;

/*-- Đẩy huy hiệu bay nổi hẳn lên phía trước mặt người xem --*/
transform: translateZ(35px);
    transition: transform 0.2s ease;
}

.photo-badge strong {
    font-size: 1.8rem;
    color: #D4A038;
    font-family: 'Noto Serif', serif;
    line-height: 1;
}

.photo-badge span {
    font-size: 0.85rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-photo {
    perspective: 1000px;
    width: 100%;
    display: block;
    
    /* Thêm 3 dòng này để xóa sạch ô đen phía sau */
    background: transparent !important; 
    border: none !important;
    box-shadow: none !important;
}

.photo-wrapper {
    /* Giúp ảnh chuyển động nhạy */
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.1s linear !important; /* Phản hồi siêu tốc theo con quay */
}

/* -- 1. Cấu hình lại thanh lướt ảnh -- */
.gallery-marquee-wrapper {
    width: 100%;
    overflow-x: auto; /* Cho phép cuộn ngang */
    scroll-behavior: auto;
    cursor: grab;
    /* Ẩn thanh cuộn mặc định cho mượt */
    -ms-overflow-style: none;  
    scrollbar-width: none;  
}

.gallery-marquee-wrapper::-webkit-scrollbar {
    display: none; 
}

.gallery-marquee-wrapper:active {
    cursor: grabbing;
}

.gallery-marquee-track {
    display: flex;
    gap: 20px; /* Khoảng cách giữa các ảnh */
    width: max-content; 
    padding: 20px 0;
    /* Bỏ hoàn toàn animation keyframes cũ ở đây */
}

/* -- 2. Thiết kế khung phóng to ảnh (Lightbox) -- */
.lightbox-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(10, 10, 10, 0.95);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(5px);
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: #D4A038;
    cursor: pointer;
    transition: transform 0.2s ease;
    z-index: 2;
}

.lightbox-close:hover {
    transform: scale(1.1);
}

.lightbox-content {
    text-align: center;
    position: relative;
}

/* Hiệu ứng 3D bật nảy ra khi mở ảnh */
.lightbox-img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 12px;
    border: 1px solid rgba(212, 160, 56, 0.3);
    box-shadow: 0 15px 40px rgba(0,0,0,0.8);
    transform: scale(0.7) translateY(30px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
}

.lightbox-overlay.active .lightbox-img {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.lightbox-caption {
    color: #fff;
    margin-top: 15px;
    font-size: 1.2rem;
    font-family: 'Noto Serif', serif;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.2s; /* Chạy sau ảnh một chút */
}

.lightbox-overlay.active .lightbox-caption {
    opacity: 1;
    transform: translateY(0);
}

/* -- CHỐNG COPY, KÉO THẢ, NHẤN GIỮ LƯU ẢNH -- */
.gallery-card img, 
.lightbox-img {
    -webkit-touch-callout: none !important; /* Chặn menu "Lưu ảnh" khi nhấn đè trên iOS/Safari */
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-user-drag: none !important; /* Chặn kéo thả ảnh sang tab khác trên PC */
    pointer-events: none; /* Khóa hoàn toàn tương tác chuột/cảm ứng vào trực tiếp thẻ img */
}

/* -- Thiết lập lớp khiên trong suốt đè lên ảnh -- */
.image-protection-wrapper {
    position: relative;
    display: inline-block;
}

.glass-shield {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: default;
    background: transparent; 
}

.gallery-card {
    cursor: pointer; /* Bật biểu tượng bàn tay để báo hiệu có thể click */
}

.lightbox-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(10, 10, 10, 0.95);
    z-index: 999999 !important; /* Ép buộc luôn nằm trên cùng mọi lớp */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(5px);
}

/* Nền đen album full màn hình */
.lightbox-fullscreen {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.98);
    z-index: 99999999; /* Luôn đè lên trên cùng mọi thứ */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

/* Kích hoạt hiển thị */
.lightbox-fullscreen.show {
    opacity: 1;
    visibility: visible;
}

/* Nút X đóng góc phải */
.lightbox-closeBtn {
    position: absolute;
    top: 20px; right: 30px;
    font-size: 50px;
    color: #fff;
    cursor: pointer;
    z-index: 10;
}

/* Vùng chứa ảnh giới hạn kích thước */
.lightbox-wrapper {
    position: relative;
    max-width: 100vw;
    max-height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Ảnh bung to không bị méo tỉ lệ */
#lightboxImgDisplay {
    max-width: 95vw;
    max-height: 85vh;
    object-fit: contain;
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    -webkit-user-select: none;
    pointer-events: none; /* Khóa đè ngón tay / chuột phải */
}

.lightbox-fullscreen.show #lightboxImgDisplay {
    transform: scale(1); /* Hiệu ứng nảy to ra */
}

/* Kính chắn bảo vệ đè lên màn hình */
.glass-shield-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 5;
    background: transparent;
}

/* Chú thích dưới ảnh */
#lightboxCaptionDisplay {
    color: #f1f1f1;
    margin-top: 20px;
    font-size: 1.2rem;
    font-family: 'Noto Serif', serif;
    text-align: center;
}

