/* ===========================
   Reset / Base
=========================== */
* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: "Microsoft YaHei", Arial, sans-serif;
    color: #222;
    background: #fff;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

/* ===========================
   Header
=========================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 76px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 64px;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,.06);
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    font-size: 22px;
    color: #7b1e2b;
}

.brand img {
    max-height: 42px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 34px;
    font-size: 15px;
}

.nav a {
    color: #333;
}

.nav a:hover {
    color: #7b1e2b;
}

.mobile-menu-btn {
    display: none;
    border: none;
    background: transparent;
    font-size: 28px;
    color: #7b1e2b;
    cursor: pointer;
}

/* ===========================
   Search
=========================== */
.search-toggle {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    color: #7b1e2b;
}

.site-search {
    display: none;
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    padding: 25px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
    z-index: 99;
}

.site-search form {
    max-width: 720px;
    margin: auto;
    display: flex;
}

.site-search input {
    flex: 1;
    height: 48px;
    padding: 0 20px;
    border: 1px solid #ddd;
    border-right: none;
    outline: none;
}

.site-search button {
    width: 100px;
    background: #7b1e2b;
    color: #fff;
    border: none;
    cursor: pointer;
}

/* ===========================
   Common Buttons
=========================== */
.banner-btn,
.section-btn,
.more-btn,
.back-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 999px;
    text-decoration: none;
}

.section-btn,
.more-btn,
.back-btn {
    background: #7b1e2b;
    color: #fff;
}

.banner-btn {
    border: 1px solid rgba(255,255,255,.9);
    color: #fff;
    letter-spacing: 2px;
}

/* ===========================
   Common Footer
=========================== */
.footer {
    background: #2a1518;
    color: rgba(255,255,255,.75);
    padding: 36px 10%;
    text-align: center;
    font-size: 14px;
    line-height: 1.8;
}

.footer img {
    max-width: 100%;
}

/* ===========================
   Common Helpers
=========================== */
.page-main {
    padding-top: 76px;
}

.section-title {
    text-align: center;
    font-size: 34px;
    margin-bottom: 40px;
    color: #7b1e2b;
    font-weight: 400;
    letter-spacing: 3px;
}

.more-btn-wrap {
    text-align: center;
    margin-top: 30px;
}

.site-header {
    transition: box-shadow .25s ease, background .25s ease;
}

.site-header.scrolled {
    background: #fff;
    box-shadow: 0 10px 36px rgba(0,0,0,.22);
    border-bottom-color: transparent;
}

.nav a.active {
    color: #7b1e2b;
    font-weight: 600;
}

.nav a.active::after {
    content: "";
    display: block;
    height: 2px;
    margin-top: 6px;
    background: #7b1e2b;
    border-radius: 999px;
}

/* ===========================
   Back To Top
=========================== */

button.back-to-top {
    position: fixed !important;
    right: 32px !important;
    left: auto !important;
    bottom: 32px !important;
    top: auto !important;

    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background: linear-gradient(135deg, #7b1e2b, #b98a57);
    color: #fff;

    font-size: 26px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;

    box-shadow: 0 14px 36px rgba(0,0,0,.24);

    opacity: 0;
    visibility: hidden;

    transform: translateY(14px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;

    z-index: 9999;
}

button.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

button.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 46px rgba(0,0,0,.3);
}


/* ===========================
   Scroll Reveal
=========================== */

.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity .75s ease, transform .75s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: .08s;
}

.reveal-delay-2 {
    transition-delay: .16s;
}

.reveal-delay-3 {
    transition-delay: .24s;
}

.reveal-delay-4 {
    transition-delay: .32s;
}