/* 全局样式 */
:root {
    --gold: #c8a97e;
    --cream: #f5f2e9;
    --dark-text: #333;
    --light-text: #fff;
    --background: #faf8f5;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 350px;
    background-color: #000000;
    z-index: 2999;
    display: flex;
    /* margin-top: 40px; */
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-nav.active {
    opacity: 0.8;
    visibility: visible;
}

.mobile-nav-content {
    text-align: center;
    color: var(--light-text);
}

.nav-section {
    /* margin-bottom: 50px; */
}

.nav-section:last-child {
    margin-bottom: 0;
}

.nav-section h2 {
    font-family: Avenir Next;
    font-weight: normal;
    font-size: 20px;
    color: #C2AC7B;
    line-height: 64px;
}

.nav-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 180px;
}

.nav-section li {
    padding: 0;
    margin: 0;

}

.nav-section a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 300;
    transition: color 0.3s ease;
    font-family: Hiragino Maru Gothic Pro;
    font-weight: normal;
    font-size: 10px;
    color: #EACF95;
    line-height: 3px;
}

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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
    background-color: var(--background);
    color: var(--dark-text);
    line-height: 1.6;
    max-width: 100%;
    font-weight: 300;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
    padding-top: 30px;
}

img {
    max-width: 100%;
    height: auto;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(.4,1.6,.6,1), transform 0.8s cubic-bezier(.4,1.6,.6,1), box-shadow 0.35s, filter 0.35s;
}
img.fade-in {
    opacity: 1;
    transform: translateY(0);
}
/* img:hover {
    transform: translateY(-14px) scale(1.06);
    box-shadow: 0 8px 32px rgba(200, 169, 126, 0.18), 0 2px 8px rgba(0,0,0,0.08);
} */

h1, h2, h3 {
    font-weight: 300;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: var(--dark-text);
}

.logo {
    height: 40px;
}

/* 导航栏样式 */
header {
    background-color: #000000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 3000;
    height: 56px;
    padding: 0 15%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

.main-nav {
    width: auto;
}

.main-nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
}

.main-nav ul li:not(.logo-center) {
    display: none;
}

.main-nav a {
    color: #EACF95;
    font-size: 14px;
    transition: color 0.3s;
    display: block;
    padding: 5px 0;
}

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

.logo-center {
    margin: 0;
}

.logo-center .logo {
    height: 35px;
}

.mobile-menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3100;
    color: var(--gold);
    font-size: 10px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

/* 主视觉区样式 */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    min-height: 780px;
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 100%;
    
    margin-top: 40px;
    /* box-sizing: border-box; */
    background: url('img/1330687893.png') no-repeat center center;
    background-size: cover;
    /* background-position: center 60%; */
    transition: background 0.4s, filter 0.4s, transform 0.4s;
    opacity: 0;
    filter: blur(8px);
}

.hero-section:hover {
    filter: brightness(1.07);
    transform: scale(1.03);
}

.hero-section .product-image {
    transition: transform 0.35s cubic-bezier(.4,1.6,.6,1), box-shadow 0.35s;
}

.hero-section:hover .product-image {
    transform: translateY(-14px) scale(1.06);
    box-shadow: 0 8px 32px rgba(200, 169, 126, 0.18), 0 2px 8px rgba(0,0,0,0.08);
}

.hero-section.fade-in-bg {
    opacity: 1;
    filter: blur(0);
}

.hero-content {
    flex: 0 0 61%;
    padding: 0 0 0 23%;
    z-index: 2;
    color: #412C20;
    background: transparent;
    text-align: left;
}

.hero-image {
    flex: 0 0 52%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 2;
    background: transparent;
    margin-left: -8vw;
}

.hero-image .product-image {
    max-width: 520px;
    width: 90%;
    height: auto;
    filter: drop-shadow(0 8px 32px rgba(0,0,0,0.18));
}

.special-tag {
    font-size: 16px;
    font-family: 'KozGoPr6N-Regular', sans-serif;
}

.hero-content h1 {
    font-size: clamp(28px, 5vw, 48px);
    margin-bottom:50px;
    line-height: 1.2;
    font-family: HiraMinProN-W3;
}

.product-desc {
    font-size: clamp(10px, 2vw, 14px);
    font-family: KozGoPr6N-Regular;
}

.product-feature {
    font-size: clamp(18px, 3vw, 24px);
    color: #412C20;
    font-weight: 300;
    font-family: KozGoPr6N-Regular;
}

/* 品牌介绍区样式 */
.brand-section {
    padding: 80px 5%;
    text-align: center;
    background-color: #fff;
    background: url('img/bj2.png') no-repeat center center;
    background-size: cover;
    opacity: 0;
    filter: blur(8px);
    transition: opacity 1.1s cubic-bezier(.4,1.6,.6,1), filter 1.1s cubic-bezier(.4,1.6,.6,1);
}

.brand-section.fade-in-bg {
    opacity: 1;
    filter: blur(0);
}

.brand-content {
    max-width: 900px;
    margin: 0 auto;
}

.brand-content h2 {
    font-size: clamp(30px, 4vw, 36px);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.brand-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
    font-family: HarmonyOS_Sans_SC
}

.brand-description {
    font-size: clamp(16px, 2.5vw, 20px);
    margin-bottom: 30px;
    font-weight: 300;
    font-family: AlibabaPuHuiTi-Regular;
}

.brand-text {
    font-size: 14px;
    line-height: 1.8;
    font-family: AlibabaPuHuiTi-Regular;
}

/* 产品展示区样式 */
.product-section {
    display: flex;
    align-items: center;
    /* padding: 80px 5%;
    min-height: 500px; */
}

.cream-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 750px;
    justify-content: flex-end;
    background: url('img/bj3.png') no-repeat center center;
    background-size: cover;
    opacity: 0;
    filter: blur(8px);
    transition: background 0.4s, filter 0.4s, transform 0.4s;
}

.cream-section.fade-in-bg {
    opacity: 1;
    filter: blur(0);
}
.tool_name{
    font-size: 18px;
    color: #8D5719;
    font-weight: 300;
    letter-spacing: 1px;
    font-family: KozGoPr6N-Regular;
}
.tool_desc{
    font-size: 12px;
    color: #412C20;
    line-height: 1.7;
    margin: 0;
    letter-spacing: 0.2px;
    font-family: KozGoPr6N-Regular;
    width: 210px;
    text-align: center;
}
.cream-section .product-content {
    text-align: left;
    align-items: flex-start;
    justify-content: center;
    color: #412C20;
    padding-left: 40px;
    padding-right: 5%;
    flex: 0 0 50%;
}

.cream-section .product-image-container {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.product-image-container, .product-content {
    flex: 1;
}

.product-content {
    padding-left: 50px;
}

.product-content h2 {
    font-size: clamp(16px, 5vw, 42px);
    margin-bottom: 20px;
    line-height: 1.2;
    color: #412C20;
    font-family: HiraMinProN-W3;
}

/* 产品网格区样式优化 */
.products-grid {
    display: flex
;
    justify-content: center;
    align-items: flex-start;
    padding: 30px 5%;
}

.product-link-wrapper, .product-link-wrapper:hover, .product-link-wrapper:visited {
    text-decoration: none;
    color: inherit;
}


.cream-section:hover {
    /* filter: brightness(1.07); */
    transform: scale(1.03);
}

.cream-section:hover .product-image {
    transform: translateY(-14px) scale(1.06);
    box-shadow: 0 8px 32px rgba(200, 169, 126, 0.18), 0 2px 8px rgba(0,0,0,0.08);
}

.product-card {
       overflow: hidden;
    max-width: 340px;
    min-width: 280px;
    width: 100%;
    width: 264px;
    text-align: center;
    /* margin: auto; */
    transition: transform 0.25s cubic-bezier(.4,2,.6,1), box-shadow 0.25s;
    /* padding-bottom: 24px; */
    margin-bottom: 0;
}
.product-card img:hover {
    transform: translateY(-8px) scale(1.03);
}

.product-img {
    margin: 32px 0 18px 0;
    align-items: center;
    justify-content: center;
    background: none;
}
.product-img img {
    max-width: 90%;
    max-height: 240px;
}

.product-card h3 {
    font-size: 18px;
    color: #8D5719;
    font-weight: 300;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-decoration-line: underline;
    font-family: KozGoPr6N-Regular;
}
.product-card p {
    font-size: 14px;
    color: #6d5c3a;
    line-height: 1.7;
    letter-spacing: 0.2px;
    font-family: KozGoPr6N-Regular;
}

/* 美容工具区样式 */
.beauty-tools {
    padding: 30px 5%;
    text-align: center;
    background-color: var(--background);
    margin-bottom: 50px;
}

.beauty-tools h2 {
    text-align: center;
    font-size: clamp(2.5rem, 7vw, 4rem);
    color: var(--gold);
    letter-spacing: 0.22em;
    margin-top: 0;
    margin-bottom: 38px;
}

.tools-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.tool-card {
    flex: 0 0 calc(25% - 30px);
    max-width: 200px;
    text-align: center;
}

.tool-card img {
    margin-bottom: 15px;
    transition: transform 0.35s cubic-bezier(.4,1.6,.6,1);
}

.tool-card:hover img {
    transform: translateY(-10px) scale(1.08);
}

.beauty-tools .tool-card p:first-child {
    font-size: 16px;
    color: #6d5c3a;
    font-weight: 500;
    font-family: 'KozGoPr6N-Regular', 'Hiragino Kaku Gothic Pro', 'メイリオ', sans-serif;
    margin-bottom: 4px;
    margin-top: 0;
    letter-spacing: 1px;
}
.beauty-tools .tool-card p:last-child {
    font-size: 13px;
    color: #ad9d7b;
    font-family: 'KozGoPr6N-Regular', 'Hiragino Kaku Gothic Pro', 'メイリオ', sans-serif;
    margin: 0;
    letter-spacing: 0.1em;
}

/* 页脚样式 */
footer {
    display: flex
    ;
        justify-content: space-between;
        align-items: center;
        padding: 38px 15%;
        background-color: #000;
        color: var(--light-text);
        height: 30px;
        position: relative;
        border: none;
}
footer:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 16px;
    background: #c8a97e;
}
.footer-social {
    display: flex;
    align-items: center;
    gap: 32px;
    z-index: 1;
}
.footer-social a {
    color: #c8a97e;
    font-size: 32px;
    margin-right: 0;
    transition: color 0.2s;
}
.footer-social a:hover {
    color: #fff;
}
.footer-copyright {
    color: #6D6147;
    font-size: 15px;
    z-index: 1;
    margin-left: auto;
    font-family: KozGoPr6N-Regular;
}

/* 响应式媒体查询 */
@media (max-width: 1200px) {
       .hero-section {
    /* background-size: initial; */
        min-height: 450px;


    }
  
    .nav-section ul {
        gap: 90px;

    }
    .hero-content {
        padding-left: 16%;
    }
    .hero-image {
        margin-left: -4vw;
    }
    .hero-image .product-image {
        max-width: 400px;
    }
    header {
    padding: 0 8%;

    }
}

@media (max-width: 992px) {
    .cream-section{
        min-height: 450px;


    }
    .cream-section {
        min-height: 450px;

    }
      .hero-section {
    /* background-size: initial; */
        min-height: 750px;


    }
    .nav-section ul {
        gap: 70px;

    }
    header {
        padding: 0 5%;
    
        }
   .mobile-nav {
    margin-top: 40px;
    height: 350px;

   }
    .hero-section {
        flex-direction: column;
        justify-content: center;
        padding: 40px 5% 0;
        min-height: 300px;
        /* background: url(img/1330687893.png) no-repeat center center; */
    }
    .hero-content {
        flex: 1 1 auto;
        width: 100%;
        padding: 40px 0;
        position: relative;
        /* top: -59px;
        left: -26%; */
        text-align: left;
        order: 2;
    }
    .hero-image {
        flex: 1 1 auto;
        width: 100%;
        margin: 0;
        justify-content: center;
        order: 1;
    }
    .hero-image .product-image {
        max-width: 320px;
    }
    .products-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .product-card {
        max-width: 95vw;
        min-width: 0;
    }
    .tools-grid {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }
    .tool-card {
        /* max-width: 340px; */
        flex-basis: auto;
    }
}

@media (max-width: 768px) {
    .mobile-nav {
        margin-top: 15px;
        height: 550px;
    
       }
    .hero-section, .product-section {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .product-content {
        padding-left: 0;
    }

    .hero-content, .product-content {
        flex: 1 1 auto;
        padding: 30px 0 0 0;
        position: relative;
        top: -75px;
        left: -2%;
        width: 100%;
    }

    .brand-section {
        padding: 50px 20px;
    }

    .brand-text br {
        display: none;
    }

    footer {
        gap: 20px;
        text-align: center;
        flex-direction: column;
        height: auto;
        padding-top: 38px;
        padding-bottom: 20px;
    }

    .footer-copyright {
        margin-left: 0;
    }

    .social-icons a {
        margin: 0 10px;
    }

    .mobile-menu-topbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 44px;
        background: #000;
        z-index: 1999;
        pointer-events: none;
    }

    .nav-section ul {
        flex-direction: column;
        gap: 20px;
    }

    .hero-section {
        background-position: 60% center !important;
    }

    .cream-section {
        background-position: 45% center !important;
        height: 400px;
    }
    .hero-content, .product-content {
        top: -18px;
    }
}

@media (max-width: 480px) {
    .mobile-nav {
        margin-top: 40px;
        height: 550px !important;
    
       }
    .tool-card {
        flex: 0 0 calc(50% - 15px);
    }
}

.products-grid-section {
    padding: 60px 0 0 0;
}
.products-title {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 100;
    font-size: clamp(2.5rem, 7vw, 3rem);
    color: var(--gold);
    letter-spacing: 0.22em;
    margin-top: 0;
    text-align: center;
    text-transform: uppercase;
}

.products-subtitle {
    text-align: center;
    color: var(--gold);
    font-size: clamp(16px, 2.5vw, 20px);
    letter-spacing: 0.12em;
    margin-top: 8px;
    margin-bottom: 38px;
    font-family: 'KozGoPr6N-Regular', 'Hiragino Kaku Gothic Pro', 'メイリオ', sans-serif;
}

.mobile-nav li {
    display: block;
}

.product-section:hover {
    /* filter: brightness(1.07); */
    transform: scale(1.03);
} 