html {
    font-size: 18px;
    scroll-behavior: smooth;
}

:root {
    --hl-primary: #c42026;
    --hl-gold: #cfa667;
    --hl-gold-dark: #b88d4d;
    --hl-dark: #3a3a3a;
    --hl-darker: #2b2b2b;
}

body {
    font-size: 18px;
    font-family: 'Roboto', sans-serif;
    color: #333;
    background-color: #fff;
    overflow-x: clip;
}

/* Header */
.site-header {
    background-color: rgba(25, 25, 25, 0.60);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.site-header .nav-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-list a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 19px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
    display: inline-block;
    padding: 8px 14px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}

.nav-list a:hover {
    color: var(--hl-gold);
}



/* Center Logo */
.header-logo {
    text-align: center;
    padding: 0 15px;
}

.header-logo img {
    max-height: 85px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.header-logo img:hover {
    transform: scale(1.05);
}

/* Mobile Header */
.mobile-header {
    display: none;
    background-color: rgba(25, 25, 25, 0.60);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 12px 20px;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 991px) {
    .site-header {
        display: none;
    }

    .mobile-header {
        display: flex;
    }
}

/* Dropdown menu */
.nav-item-dropdown {
    position: relative;
}

.nav-item-dropdown .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 280px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    padding: 10px 0;
    list-style: none;
    margin: 0;
    display: none;
    z-index: 1000;
}

.nav-item-dropdown:hover .sub-menu {
    display: block;
    animation: fadeInMenu 0.25s ease forwards;
}

@keyframes fadeInMenu {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-item-dropdown .sub-menu li a {
    color: #333333 !important;
    font-size: 16px !important;
    font-weight: 500;
    text-transform: none !important;
    padding: 10px 20px !important;
    display: block;
    border-bottom: 1px solid #f0f0f0;
    text-shadow: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: all 0.2s ease;
}

.nav-item-dropdown .sub-menu li:last-child a {
    border-bottom: none;
}

.nav-item-dropdown .sub-menu li a:hover,
.nav-item-dropdown .sub-menu li a.active-cat {
    background-color: #fbf6ee !important;
    color: var(--hl-primary) !important;
    font-weight: 700;
    padding-left: 24px !important;
}

/* Breadcrumbs Bar */
.breadcrumbs {
    background-color: #fdf4f4;
    padding: 14px 0;
    border-bottom: 1px solid #fae1e1;
    font-size: 18px;
}

.breadcrumbs ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumbs li a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs li a:hover {
    color: var(--hl-primary);
}

.breadcrumbs li.active {
    color: var(--hl-primary);
    font-weight: 600;
}

.breadcrumbs .separator {
    color: #999;
    font-size: 14px;
}

.page-subtitle {
    display: inline-block;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--hl-primary);
    font-size: 15px;
    letter-spacing: 0.5px;
}

/* Page Header Title */
.page-title {
    color: #cc181e;
    font-size: 41px;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    margin: 35px 0 30px;
    letter-spacing: 0.5px;
}

/* Inner Page Sidebar Box */
.cat-sidebar {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    margin-bottom: 30px;
}

.cat-sidebar-header {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 19px;
    text-transform: uppercase;
    color: #222;
}

.cat-sidebar-list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.cat-sidebar-list li a {
    display: block;
    padding: 12px 20px;
    color: #444;
    text-decoration: none;
    font-size: 19px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.cat-sidebar-list li a:hover,
.cat-sidebar-list li.active a {
    background-color: #fbf6ee;
    color: var(--hl-primary);
    border-left-color: var(--hl-primary);
    padding-left: 24px;
    font-weight: 700;
}

/* Artwork Cards */
.art-item {
    margin-bottom: 30px;
}

.art-card {
    text-decoration: none;
    display: block;
    color: inherit;
}

.art-img {
    position: relative;
    width: 100%;
    padding-top: 100%;
    
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
    background-color: #f8f8f8;
    margin-bottom: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.art-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.art-card:hover .art-img {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.14);
}

.art-card:hover .art-img img {
    transform: scale(1.05);
}

.art-title {
    font-size: 21px;
    font-weight: 700;
    color: #222;
    margin-bottom: 4px;
    transition: color 0.2s;
}

.art-card:hover .art-title {
    color: var(--hl-primary);
}

.art-link {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    display: inline-block;
    transition: color 0.2s;
}

.art-card:hover .art-link {
    color: var(--hl-primary);
}

/* Footer */
.site-footer {
    background-color: #222222;
    color: #b0b0b0;
    padding-top: 50px;
    padding-bottom: 25px;
    margin-top: 0;
    border-top: 4px solid var(--hl-gold);
}

.footer-logo-box img {
    max-width: 280px;
    height: auto;
    margin-bottom: 20px;
}

.footer-title {
    color: #ffffff;
    font-size: 21px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.4 !important;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--hl-gold);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: #b5b5b5;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 18px;
}

.footer-links li a:hover {
    color: var(--hl-gold);
    padding-left: 5px;
}

.footer-contact {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 18px;
}

.footer-contact i {
    color: var(--hl-gold);
    margin-top: 4px;
    font-size: 21px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #333;
    color: #fff;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--hl-gold);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #333333;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 17px;
    color: #888;
}

/* Floating action buttons */
.floating-btns {
    position: fixed;
    bottom: 30px;
    right: 25px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.floating-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.floating-btn:hover {
    transform: scale(1.1);
    color: #ffffff;
}

.btn-call {
    background: #e50914;
    animation: pulseTarget 1.8s infinite;
}

.btn-zalo {
    background: #0068ff;
}

.btn-messenger {
    background: #0084ff;
}

/* Go To Top Button */
.btn-top {
    background: #1f1f1f;
    color: #d4a96a;
    border: 2px solid #d4a96a;
    display: none;
    cursor: pointer;
    outline: none;
    order: -1;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-top.show {
    display: flex;
    animation: fadeInScale 0.3s forwards ease-out;
}

.btn-top:hover {
    background: #d4a96a;
    color: #111111;
    border-color: #d4a96a;
    box-shadow: 0 6px 20px rgba(212, 169, 106, 0.5);
    transform: scale(1.12);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.6) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes pulseTarget {
    0% {
        box-shadow: 0 0 0 0 rgba(229, 9, 20, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(229, 9, 20, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(229, 9, 20, 0);
    }
}

/* Mobile drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background: #2b2b2b;
    z-index: 10000;
    transition: left 0.3s ease;
    padding: 20px;
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.4);
    overflow-y: auto;
}

.mobile-drawer.open {
    left: 0;
}

.drawer-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.drawer-backdrop.open {
    display: block;
}

.mobile-drawer ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.mobile-drawer ul li a {
    display: block;
    color: #ffffff;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    font-size: 19px;
    font-weight: 600;
}

.mobile-drawer ul li a:hover {
    color: var(--hl-gold);
}