/* Khung chung của Nhân Lưu: logo tròn, nút menu ■●▼, menu toàn màn hình, footer + mạng xã hội.
   Dùng cho trang portfolio và các trang showcase (/showcase/...). Không đặt style toàn cục ở đây
   để không ảnh hưởng thiết kế riêng của từng showcase. */
.circle-logo-wrapper,.menu-wrapper,.right-menu,.menu-close-wrapper,.nl-foot{box-sizing:border-box}
.circle-logo-wrapper *,.menu-wrapper *,.right-menu *,.menu-close-wrapper *,.nl-foot *{box-sizing:border-box}
.circle-logo-wrapper img,.menu-wrapper img{max-width:none}
.right-menu-title,.circle-logo-wrapper{text-decoration:none;color:inherit}

/* ===== Header – giữ nguyên từ theme wpbootstrap (nhanluu.com) ===== */
.circle-logo-wrapper{height:96px;width:96px;position:fixed;top:28px;z-index:300;border-radius:50%;transition:.4s cubic-bezier(.175,.885,.32,1.275)}
.circle-logo{width:50%;height:50%;position:absolute;top:25%;left:25%;z-index:1;border-radius:50%;opacity:0;transition:.4s cubic-bezier(.175,.885,.32,1.275)}
.logo{width:54px;height:auto;z-index:1;position:absolute;top:calc(50% - 31px);left:calc(50% - 27px);transition:.4s cubic-bezier(.175,.885,.32,1.275)}
.circle-logo-wrapper:hover .circle-logo{background:#fff;border:1px solid #fff;transform:scale(2);opacity:1}
.circle-logo-wrapper:hover img.logo{filter:invert(100%);transform:scale(.8)}

.menu-wrapper{width:64px;height:64px;z-index:300;position:fixed;top:4.5%;right:0;background:transparent;border:none;padding:0;cursor:pointer;overflow:visible;transition:.4s cubic-bezier(.175,.885,.32,1.275)}
.menu-1{width:10px;height:10px;position:absolute;left:calc(50% - 19px);top:calc(50% - 5px);transition:.4s cubic-bezier(.175,.885,.32,1.275)}
.menu-2{width:10px;height:10px;position:absolute;top:calc(50% - 5px);left:calc(50% - 5px);background:#fff;border-radius:50%;transition:.4s cubic-bezier(.175,.885,.32,1.275)}
.menu-3{width:14px;height:10px;position:absolute;left:calc(50% + 8px);top:calc(50% - 5px);transition:.4s cubic-bezier(.175,.885,.32,1.275)}
.menu-wrapper:hover .menu-1{z-index:2;filter:invert(100%);transform:translateX(14px) translateY(-8px)}
.menu-wrapper:hover .menu-2{z-index:1;transform:scale(6.4)}
.menu-wrapper:hover .menu-3{z-index:2;filter:invert(100%);transform:translateX(-15px) translateY(8px)}

@media screen and (min-width:769px){.circle-logo-wrapper{left:calc(6.875% - 48px)}.menu-wrapper,.menu-close-wrapper{width:6.875%}}
@media screen and (max-width:768px){.circle-logo-wrapper{left:calc(12% - 48px)}.menu-wrapper,.menu-close-wrapper{width:12%}}
@media screen and (max-width:575px){.menu-close-wrapper{width:16%}}

.right-menu{width:100%;height:100%;z-index:310;position:fixed;top:0;left:0;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background-image:linear-gradient(90deg,rgba(33,33,33,.1),#212121 95%);opacity:0;transition:opacity .4s}
.right-menu.is-open{opacity:1}
.right-menu-list{display:flex;flex-direction:column;justify-content:center;align-items:flex-end;height:100%}
/* Chữ và icon nằm cùng dòng chữ, cách nhau 1 dấu cách (giống theme gốc) – icon không đè lên chữ cuối */
.right-menu-item{display:block;white-space:nowrap;transition:.8s cubic-bezier(.175,.885,.32,1.275)}
.right-menu-item:last-child{margin-bottom:0!important}
.right-menu-title{color:inherit;font-family:"Playfair Display",Georgia,"Times New Roman",serif;text-decoration:none}
@media screen and (min-width:768px){.right-menu-item{height:64px;font-weight:900;line-height:64px;letter-spacing:.5em;color:#c4c4c4;font-size:48px;margin-right:139px;margin-bottom:36px}}
@media screen and (max-width:767px){.right-menu-item{height:32px;line-height:32px;font-size:24px;font-weight:900;letter-spacing:.5em;color:#fff;margin-right:47px;margin-bottom:58px}}
@media screen and (min-width:769px){
  .right-menu-item>img{display:inline-block;vertical-align:middle;margin-left:-24px;opacity:0;transition:.8s cubic-bezier(.175,.885,.32,1.275)}
  .right-menu-item:hover,.right-menu-item:hover .right-menu-icon{transform:translateX(-20px);opacity:1;color:#fff}
}
@media screen and (max-width:768px){.right-menu-item>img{display:none}}

.menu-close-wrapper{width:64px;height:64px;z-index:320;position:fixed;top:4.5%;right:0;text-align:center;background:none;border:none;padding:0;cursor:pointer;opacity:0;transition:opacity .4s}
.menu-close-wrapper.is-open{opacity:1}
.menu-close-wrapper .outer{display:block;position:relative;margin:auto;width:64px;cursor:pointer}
.menu-close-wrapper .inner{display:block;width:inherit;text-align:center}
.menu-close-wrapper .mc-label{display:block;font-family:"Playfair Display",Georgia,"Times New Roman",serif;font-size:.8em;line-height:4em;text-transform:uppercase;color:#fff;transition:.3s ease-in;opacity:0}
.menu-close-wrapper .inner::before,.menu-close-wrapper .inner::after{position:absolute;content:"";height:1px;width:inherit;background:#fff;left:0;transition:.3s ease-in}
.menu-close-wrapper .inner::before{top:50%;transform:rotate(45deg)}
.menu-close-wrapper .inner::after{bottom:50%;transform:rotate(-45deg)}
.menu-close-wrapper:hover .label{opacity:1}
.menu-close-wrapper:hover .inner::before,.menu-close-wrapper:hover .inner::after{transform:rotate(0)}
.menu-close-wrapper:hover .inner::before{top:0}
.menu-close-wrapper:hover .inner::after{bottom:0}

/* Ẩn logo + nút menu khi cuộn xuống, hiện lại khi cuộn lên (class scroll-down/up của theme gốc) */
.scroll-down{transform:translateY(-200%)}
.scroll-up{transform:none}
.circle-logo-wrapper:focus-visible,.menu-wrapper:focus-visible,.menu-close-wrapper:focus-visible,.right-menu-title:focus-visible{outline:1px solid #fff;outline-offset:4px}

/* ===== Footer + mạng xã hội ===== */
.nl-foot{font-family:"Mulish","Muli",system-ui,-apple-system,"Segoe UI",sans-serif;font-weight:300;font-size:14px;line-height:1.5;color:rgba(255,255,255,.62);padding-block:40px 56px}
.nl-foot-in{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px 24px}
.nl-foot a{color:#fff;text-decoration:none}
.nl-foot-site{border-bottom:1px solid rgba(255,255,255,.14);transition:border-color .3s}
.nl-foot-site:hover{border-color:#fff}
.nl-social{display:flex;gap:4px;list-style:none;margin:0 0 0 auto;padding:0}
.nl-social a{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;color:rgba(255,255,255,.62);transition:color .3s,background .3s,transform .4s cubic-bezier(.175,.885,.32,1.275)}
.nl-social a:hover{color:#000;background:#fff;transform:translateY(-2px)}
.nl-social a:focus-visible{outline:1px solid #fff;outline-offset:2px}
.nl-social svg{width:18px;height:18px;fill:currentColor;display:block}
/* Showcase: footer chiếm hết chiều ngang, nền đen như trang chủ */
.nl-foot.is-standalone{position:relative;z-index:1;background:#000;padding-inline:6.875%;border-top:1px solid rgba(255,255,255,.14)}
@media screen and (max-width:768px){.nl-foot.is-standalone{padding-inline:12%}}
@media screen and (max-width:575px){.nl-foot-in{justify-content:center;text-align:center}.nl-social{margin:0;order:-1;width:100%;justify-content:center}}

/* ===== Showcase có thanh menu riêng (body.nl-bar): logo và nút menu nằm giữa thanh cao --nl-bar-h, không ẩn khi cuộn ===== */
.nl-bar{--nl-bar-h:84px}
/* logo 46px, căn giữa thanh (khung tròn 96px: tâm = giữa thanh) */
.nl-bar .circle-logo-wrapper{top:calc(env(safe-area-inset-top,0px) + var(--nl-bar-h) / 2 - 48px)}
.nl-bar .circle-logo-wrapper .logo{width:46px;top:calc(50% - 23px);left:calc(50% - 23px)}
.nl-bar .menu-wrapper,.nl-bar .menu-close-wrapper{top:calc(env(safe-area-inset-top,0px) + var(--nl-bar-h) / 2 - 32px)}
.nl-bar .circle-logo-wrapper.scroll-down,.nl-bar .menu-wrapper.scroll-down{transform:none}
@media (prefers-reduced-motion:reduce){.circle-logo-wrapper,.menu-wrapper,.right-menu,.menu-close-wrapper,.nl-foot,.circle-logo-wrapper *,.menu-wrapper *,.right-menu *,.menu-close-wrapper *,.nl-social a{transition:none!important}}
