/* =========================================================
   Alphonse Mucha
   配色：
     页面背景   #FEFFF7   米白
     标题红     #7F1414   深红
     正文       #3C3C3C   深灰
     棕色点缀   #A65D1E   棕褐
     金色装饰   #C9A15A   暗金
     导航底色   #E6FCFF   浅蓝（78% 透明）
     页脚底色   #EAF9FA   浅蓝
   ========================================================= */

/* ABC Honeymoon：花体（logo 用 Bold，大标题用 Semibold） */
@font-face {
    font-family: "Honeymoon";
    src: url("../fonts/ABCHoneymoon-Bold-Trial.otf") format("opentype");
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Honeymoon";
    src: url("../fonts/ABCHoneymoon-Semibold-Trial.otf") format("opentype");
    font-weight: 600;
    font-display: swap;
}

/* ABC Gaisyr Semi Mono：导航栏（默认 Book，选中用 Regular） */
@font-face {
    font-family: "Gaisyr Semi Mono";
    src: url("../fonts/ABCGaisyrCyrillicSemi-Mono-Book-Trial.otf") format("opentype");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Gaisyr Semi Mono";
    src: url("../fonts/ABCGaisyrCyrillicSemi-Mono-Regular-Trial.otf") format("opentype");
    font-weight: 500;
    font-display: swap;
}

/* ABC Gramercy Greek Display：作品大标题 Black / 作品名 Book / 小标题 Bold */
@font-face {
    font-family: "Gramercy Display";
    src: url("../fonts/ABCGramercyGreekDisplay-Black-Trial.otf") format("opentype");
    font-weight: 900;
    font-display: swap;
}

@font-face {
    font-family: "Gramercy Display";
    src: url("../fonts/ABCGramercyGreekDisplay-Bold-Trial.otf") format("opentype");
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Gramercy Display";
    src: url("../fonts/ABCGramercyGreekDisplay-Book-Trial.otf") format("opentype");
    font-weight: 400;
    font-display: swap;
}

/* ABC Ginto Nord Variable：正文 */
@font-face {
    font-family: "Ginto Nord";
    src: url("../fonts/ABC-Ginto-Nord-Plus-Variable-Trial.ttf") format("truetype");
    font-weight: 100 900;
    font-display: swap;
}

/* ---------- 全局基础 ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #FEFFF7;
    color: #3C3C3C;
    font-family: "Ginto Nord", "Helvetica Neue", Arial, "PingFang SC", sans-serif;
    font-size: 17px;
    line-height: 1.7;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 分区通用标题（ABOUT MUCHA / STYLE CODE / MASTERPIECES）：Gramercy Display Black */
.section-title {
    font-family: "Gramercy Display", Georgia, serif;
    font-size: clamp(40px, 6.2vw, 100px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: 6px;
    color: #7F1414;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 80px;
}

/* =========================================================
   顶部导航栏
   左侧手写体 Mucha 标识 + 右侧圆角浅蓝胶囊菜单
   ========================================================= */
.topbar {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 18px 40px 0;
}

.logo {
    font-family: "Honeymoon", "Great Vibes", cursive;
    font-size: 44px;
    font-weight: 700;
    color: #74220B;
    white-space: nowrap;
}

.nav-pill {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex: 1;
    max-width: 1575px;
    height: 72px;
    margin-left: auto;
    padding: 0 30px;
    background-color: rgba(230, 252, 255, 0.78);
    border-radius: 999px;
}

.nav-link {
    font-family: "Gaisyr Semi Mono", "Courier New", monospace;
    font-size: clamp(15px, 1.7vw, 28px);
    font-weight: 400;
    letter-spacing: 1px;
    color: #3C3C3C;
    transition: color 0.25s;
}

.nav-link:hover {
    color: #A65D1E;
}

.nav-link.active {
    color: #7F1414;
    font-weight: 500;          /* 选中状态用 Gaisyr Regular */
}

/* =========================================================
   主视觉 Hero
   背景人物剪影 + 花体标题 + 四张作品图散落摆放
   ========================================================= */
.hero {
    position: relative;
    height: clamp(560px, 62vw, 900px);
    margin-top: -102px;          /* 让导航叠在 hero 背景上方 */
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg img:first-child {
    opacity: 0.5;
}

.hero-bg img:last-child {
    opacity: 0.29;
}

/* 花体大标题：Honeymoon Semibold，两行分别定位对齐设计稿 */
.hero-title {
    position: absolute;
    z-index: 3;
    inset: 0;
    font-family: "Honeymoon", "Great Vibes", cursive;
    font-weight: 600;
    color: #6d4a2b;
    line-height: 1.1;
    pointer-events: none;
}

.hero-title span {
    position: absolute;
    display: block;
}

/* Alphonse：左上 */
.hero-title span:first-child {
    left: 24.8%;
    top: 15%;
    font-size: clamp(56px, 10.4vw, 200px);
}

/* Mucha：右下，与 Alphonse 错开 */
.hero-title span:last-child {
    left: 65%;
    top: 30%;
    font-size: clamp(56px, 10.4vw, 200px);
}

/* 四张作品图（按原型坐标摆放，无白边无阴影） */
.hero-art-item {
    position: absolute;
    z-index: 2;
    width: 14.5%;
    border-radius: 10px;
}

.art-1 { left: 18%;  top: 48%; }   /* 夏 */
.art-2 { left: 3%;   top: 18%; }   /* 春 */
.art-3 { left: 33%;  top: 38%; }   /* 冬 */
.art-4 { left: 48%;  top: 53%; }   /* 秋 */

/* =========================================================
   关于穆夏 About
   ========================================================= */
.about {
    padding: 130px 0 140px;
}

.about-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 90px;
    align-items: start;
}

.about-photo {
    border-radius: 14px;
    overflow: hidden;
}

.about-photo img {
    width: 100%;
    height: auto;
}

.about-name {
    font-family: "Gramercy Display", Georgia, serif;
    font-size: clamp(30px, 3.5vw, 56px);
    font-weight: 700;
    color: #8a5a2b;
    margin-bottom: 8px;
}

.about-info {
    font-size: clamp(16px, 1.5vw, 22px);
    color: #a08a70;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.about-follow {
    display: inline-block;
    font-size: 20px;
    color: #7F1414;
    border-bottom: 2px solid #7F1414;
    padding-bottom: 2px;
    margin-bottom: 34px;
}

.about-follow:hover {
    color: #A65D1E;
    border-bottom-color: #A65D1E;
}

.about-desc {
    font-size: clamp(18px, 1.8vw, 26px);
    color: #4a4a4a;
    margin-bottom: 22px;
    max-width: 720px;
}

/* =========================================================
   风格密码 Style Code
   ========================================================= */
.style-code {
    padding: 30px 0 140px;
}

.style-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 34px;
}

.style-col {
    text-align: center;
}

.style-img {
    height: 470px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 26px;
    overflow: hidden;
}

.style-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.style-name {
    font-family: "Gramercy Display", Georgia, serif;
    font-size: clamp(22px, 2.2vw, 34px);
    font-weight: 700;
    color: #3C3C3C;
    margin-bottom: 8px;
}

.style-desc {
    font-size: clamp(15px, 1.5vw, 22px);
    color: #5c5c5c;
    margin-bottom: 10px;
    padding: 0 6px;
}

.style-keyword {
    font-size: 14px;
    letter-spacing: 0.5px;
    color: #a08a70;
    font-style: normal;
}

/* =========================================================
   代表作 Masterpieces
   ========================================================= */
.masterpieces {
    padding: 40px 0 140px;
}

/* 每件作品：信息与图片左右排布 */
.work {
    margin-bottom: 150px;
}

.work:last-child {
    margin-bottom: 0;
}

.work-text-left,
.work-text-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

.work-name {
    font-family: "Gramercy Display", Georgia, serif;
    font-size: clamp(36px, 5.5vw, 90px);
    font-weight: 400;
    line-height: 1.15;
    color: #262626;
    margin-bottom: 26px;
}

.work-desc {
    font-size: clamp(17px, 1.7vw, 25px);
    color: #4a4a4a;
    max-width: 560px;
}

/* 作品图片：无白边、无描边、无阴影 */
.work-img {
    border-radius: 10px;
    overflow: hidden;
}

.work-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* 作品三：四季 四联画 */
.seasons-name {
    text-align: center;
    margin-bottom: 50px;
}

.seasons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-bottom: 55px;
}

.seasons-grid figure {
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
}

.seasons-grid img {
    width: 100%;
    height: auto;
    display: block;
}

.seasons-desc {
    margin: 0 auto;
    text-align: center;
}

/* 作品四：两幅海报并排，右侧海报下移形成错落 */
.two-posters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: start;
}

.poster-item:last-child {
    margin-top: clamp(120px, 28vw, 480px);
}

.poster-item {
    text-align: center;
}

.poster-caption {
    font-family: "Gramercy Display", Georgia, serif;
    font-size: clamp(24px, 4vw, 66px);
    font-weight: 400;
    line-height: 1.2;
    color: #3C3C3C;
    margin-bottom: 24px;
}

.poster-desc {
    font-size: clamp(15px, 1.4vw, 22px);
    color: #4a4a4a;
    max-width: 480px;
    margin: 20px auto 0;
    text-align: left;
}

/* =========================================================
   页脚 Footer
   ========================================================= */
.footer {
    background-color: #EAF9FA;
    padding: 42px 40px;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-logo {
    font-family: "Honeymoon", "Great Vibes", cursive;
    font-size: 42px;
    font-weight: 700;
    color: #8a5a2b;
}

.footer-mail {
    font-family: "Gaisyr Semi Mono", "Courier New", monospace;
    font-size: clamp(18px, 1.7vw, 26px);
    font-weight: 400;
    color: #8a5a2b;
    letter-spacing: 0.5px;
}

.footer-mail:hover {
    color: #7F1414;
}

.footer-social {
    display: flex;
    gap: 22px;
}

.social-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon img {
    width: 32px;
    height: 32px;
}

.social-icon:hover {
    opacity: 0.7;
}

/* =========================================================
   响应式适配
   平板（<=1024px）与手机（<=768px）
   ========================================================= */
@media (max-width: 1024px) {
    .container {
        padding: 0 28px;
    }

    .section-title {
        font-size: 42px;
        margin-bottom: 60px;
    }

    /* Hero：散落的图改为下方两列网格，标题居中 */
    .hero {
        height: auto;
        min-height: 560px;
        padding: 120px 20px 40px;
        margin-top: 0;
    }

    .hero-title {
        position: static;
        text-align: center;
        margin: 0 auto 40px;
    }

    .hero-title span {
        position: static;
        display: block;
    }

    .hero-title span:last-child {
        margin-left: 0;
    }

    .hero-art {
        position: relative;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
        max-width: 700px;
        margin: 0 auto;
    }

    .hero-art-item {
        position: static;
        width: 100%;
    }

    /* 关于：左右堆叠 */
    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-photo {
        max-width: 380px;
    }

    /* 风格：两列 */
    .style-cols {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    /* 代表作：左右堆叠，图片在上 */
    .work-text-left,
    .work-text-right {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .work-img {
        max-width: 620px;
        margin: 0 auto;
    }

    .seasons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .two-posters {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .poster-item:last-child {
        margin-top: 0;
    }

    .poster-item .work-img {
        max-width: 480px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    .container {
        padding: 0 18px;
    }

    /* 导航：整体收进一个统一的浅蓝圆角容器，logo 在上、链接在下 */
    .topbar {
        flex-direction: column;
        gap: 12px;
        margin: 12px 16px 0;
        padding: 16px 16px 14px;
        background-color: rgba(230, 252, 255, 0.78);
        border-radius: 28px;
    }

    .logo {
        font-size: 38px;
        text-align: center;
    }

    .nav-pill {
        width: 100%;
        max-width: none;
        height: auto;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px 20px;
        padding: 0;
        background-color: transparent;
        border-radius: 0;
    }

    .nav-link {
        font-size: 15px;
        padding: 4px 6px;
    }

    /* Hero：两张图一排 */
    .hero {
        padding-top: 30px;
    }

    .hero-art {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title span:first-child {
        font-size: 52px;
    }

    .hero-title span:last-child {
        font-size: 78px;
    }

    .section-title {
        font-size: 34px;
        letter-spacing: 1px;
    }

    .about {
        padding: 80px 0;
    }

    .about-name {
        font-size: 32px;
    }

    /* 风格：单列 */
    .style-cols {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .style-img {
        height: 380px;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }

    .masterpieces {
        padding: 20px 0 90px;
    }

    .work {
        margin-bottom: 100px;
    }

    .work-name {
        font-size: 28px;
    }

    .seasons-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .poster-caption {
        font-size: 20px;
    }

    /* 页脚：纵向排列 */
    .footer {
        padding: 34px 20px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
