/* ================================================================
   shared.css  –  Dùng chung cho tất cả các trang
   ================================================================ */

/* ── RESET ── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Be Vietnam Pro', sans-serif;
    color: #333333;
    background: #ffffff;
}

/* ── HEADER ── */
#header {
    transition: box-shadow .3s, background-color .3s;
}

#header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, .1);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* Adaptive Text Color for Header */
.nav-text-adaptive {
    color: #d1d5db;
    transition: color 0.3s;
}

#header.scrolled .nav-text-adaptive {
    color: #111827 !important;
}

#header.scrolled .nav-text-adaptive a {
    color: #111827;
}

#header.scrolled .nav-text-adaptive a:hover,
#header.scrolled .nav-text-adaptive .current-menu-item>a {
    color: #dfb667 !important;
}

/* ── MOBILE MENU ── */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

#mobile-menu.open {
    max-height: 500px;
}

/* ── ANIMATIONS ── */
@keyframes shake {

    0%,
    100% {
        transform: rotate(0);
    }

    20% {
        transform: rotate(-12deg);
    }

    40% {
        transform: rotate(12deg);
    }

    60% {
        transform: rotate(-6deg);
    }

    80% {
        transform: rotate(6deg);
    }
}

.shake-icon {
    animation: shake 1.8s ease infinite;
    display: inline-block;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(223, 182, 103, .7);
    }

    70% {
        box-shadow: 0 0 0 14px rgba(223, 182, 103, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(223, 182, 103, 0);
    }
}

.btn-pulse {
    animation: pulse-ring 2s infinite;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.marquee-track {
    animation: marquee 26s linear infinite;
    display: flex;
    width: max-content;
}

/* ── FADE-UP ── */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .6s ease, transform .6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── SECTION LABEL ── */
.sec-label {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #dfb667;
    margin-bottom: .4rem;
}

.sec-label::before,
.sec-label::after {
    content: '';
    display: block;
    width: 22px;
    height: 2.5px;
    background: linear-gradient(90deg, #dfb667, #c89f55);
    border-radius: 2px;
}

/* ── BUTTONS ── */
.btn-gold {
    background: linear-gradient(to bottom, #ffe4a0 0%, #dfb667 40%, #c89f55 100%);
    color: #3b2505 !important;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border-radius: 9999px;
    padding: .85rem 2rem;
    font-size: 1rem;
    transition: transform .15s, box-shadow .2s;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.6), inset 0 -2px 0 rgba(0, 0, 0, 0.3), 0 4px 15px rgba(223, 182, 103, 0.4);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 1px solid #8c6a2c;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.8), inset 0 -2px 0 rgba(0, 0, 0, 0.3), 0 6px 20px rgba(223, 182, 103, 0.7);
    color: #3b2505 !important;
}

.btn-outline-white {
    border: 2px solid rgba(255, 255, 255, .55);
    color: #fff;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border-radius: 9999px;
    padding: .85rem 2rem;
    font-size: 1rem;
    transition: background .2s;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, .12);
}

/* ── PARTNER LOGO ── */
.partner-logo {
    background: #ffffff;
    border: 2px solid #e5e5e5;
    border-radius: .75rem;
    padding: .6rem 1.3rem;
    font-weight: 900;
    font-size: .9rem;
    color: #333;
    letter-spacing: .05em;
    white-space: nowrap;
    transition: border-color .2s, background .2s, color .2s, box-shadow .2s;
}

.partner-logo:hover {
    border-color: #dc2626;
    background: #fafafa;
    color: #dc2626;
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.2);
}

/* ── TRUST STRIP ── */
.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .3rem;
    text-align: center;
}

/* ── FLOATING BUTTONS ── */
.float-phone {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    height: 58px;
    border-radius: 9999px;
    padding: 0 1.2rem;
    background: linear-gradient(to bottom, #ffe4a0 0%, #dfb667 40%, #c89f55 100%);
    color: #3b2505;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 900;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.6), inset 0 -2px 0 rgba(0, 0, 0, 0.3), 0 6px 24px rgba(223, 182, 103, 0.6);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 1px solid #8c6a2c;
    animation: pulse-ring 2s infinite;
    text-decoration: none;
}

.float-zalo {
    position: fixed;
    bottom: 96px;
    right: 24px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #0068ff;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 6px 20px rgba(0, 104, 255, .38);
    text-decoration: none;
}

.float-scroll-top {
    position: fixed;
    bottom: 96px;
    left: 24px;
    z-index: 1000;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .65);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: opacity .3s, transform .3s;
    opacity: 0;
    pointer-events: none;
}

.float-scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.float-scroll-top:hover {
    background: #000;
    transform: translateY(-2px);
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f9f9f9;
}

::-webkit-scrollbar-thumb {
    background: #dfb667;
    border-radius: 4px;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 50%, #f0f0f0 100%);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://thohansat.com/wp-content/themes/suacuasat-theme/assets/images/bg-hero.webp') center/cover no-repeat;
    /* opacity: 0.05; */
}

.page-hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 55px;
    background: #ffffff;
    clip-path: ellipse(55% 100% at 50% 100%);
}

/* ── BREADCRUMB ── */
.breadcrumb-sep {
    margin: 0 .4rem;
    color: #aaa;
}