/* ========== 全局样式与变量 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Poppins', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
    background-color: #fff;
    color: #2e2e2e;
    scroll-behavior: smooth;
}

/* 主色调定义 */
:root {
    --primary: #ff4d7d;
    --primary-dark: #e63e6b;
    --primary-soft: #ffecf0;
    --gray-light: #f8f5f7;
    --radius-card: 24px;
}

/* 全局容器 */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
.mymain {
    width: 1200px;
    overflow: hidden;
    margin: 0 auto;
}
.fl {float: left;}
.fr {float: right;}
/* ========== Banner 区域 ========== */
.banner {
    position: relative;
    width: 100%;
    min-height: 560px;
    background: linear-gradient(135deg, #000 0%, #000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 80px;
}

.banner-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 24px;
    max-width: 1100px;
    width: 100%;
}

.banner-subtitle {
    font-size: 1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    display: inline-block;
    padding: 6px 20px;
    border-radius: 40px;
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
}

.banner-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.banner-title span {
    display: inline-block;
    padding-bottom: 6px;
}

.advantage-points {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin-top: 40px;
}

.advantage-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border-radius: 60px;
    padding: 12px 28px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.advantage-item i {
    font-size: 1.3rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.05));
}

.advantage-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* ========== 通用模块 ========== */
.section {
    margin-bottom: 90px;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-subtitle {
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 12px;
    display: inline-block;
    background: var(--primary-soft);
    padding: 6px 20px;
    border-radius: 40px;
}

.section-header .main-title {
    font-size: 42px;
    color: var(--primary);
    font-weight: bold;
    margin-bottom: 15px;
    position: relative;
    display: block;
}

.section-header .main-title:after {
    content: "";
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary));
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-header .sub-title {
    font-size: 20px;
    color: var(--bme-gray);
}

.section-desc {
    text-align: center;
    font-size: 18px;
    color: var(--bme-gray);
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.8;
}
/* ========== 图文卡片网格 (在校时光) ========== */
.cards-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
}

.memory-card {
    flex: 1 1 300px;
    max-width: 360px;
    background: white;
    border-radius: var(--radius-card);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #ffe0e8;
}

.memory-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
}

.card-img {
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: #f1eef0;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.memory-card:hover .card-img img {
    transform: scale(1.03);
}

.card-content {
    padding: 24px 20px 28px;
    text-align: center;
}

.card-content h3 {
    font-size: 1.65rem;
    font-weight: 700;
    color: #232323;
    margin-bottom: 12px;
}

.card-content h3 i {
    color: var(--primary);
    margin-right: 8px;
    font-size: 1.5rem;
}

.card-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #5a5a6e;
    margin-top: 8px;
    font-weight: 400;
}

.card-tag {
    display: inline-block;
    margin-top: 16px;
    background: var(--primary-soft);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ========== 毕业影像馆 - 画廊区域 ========== */
.gallery-wrapper {
    border-radius: 48px;
    padding-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
    margin-bottom: 48px;
}

.gallery-item {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    transition: all 0.25s ease;
    border: 1px solid #ffe0e8;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.gallery-item:hover img {
    transform: scale(1.02);
}

.gallery-item:hover {
    border-color: var(--primary);
}

/* ========== 分页控件样式 ========== */
.pagination-full {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.page-btn {
    background: white;
    border: 1px solid #ffe0e8;
    color: var(--primary);
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border-radius: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    font-size: 0.95rem;
    gap: 6px;
}

.page-btn i {
    font-size: 0.9rem;
}

.page-btn:hover:not(.disabled):not(.active) {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.page-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f5f5f5;
    color: #bdbdbd;
    border-color: #ececec;
}

.page-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    cursor: default;
}

.page-numbers {
    display: flex;
    gap: 8px;
    align-items: center;
}

.page-number {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 44px;
    background: white;
    border: 1px solid #ffe0e8;
    color: #5e5e72;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.page-number:hover {
    background: var(--primary-soft);
    color: var(--primary);
    border-color: var(--primary);
}

.page-number.active-page {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}


.ui_div{width:100%; min-width:1200px; overflow:hidden;}
.ui_div_center{width:1200px; margin:0px auto;}
.n_box2{width:100%; padding-top: 25px;}
.n_box2 li{width:24%; margin-right: 15px; margin-bottom: 20px; height:auto; list-style: none; float:left;}
.n_box2 li:nth-child(4n+4) {margin-right: 0;}
.n_box2 li .a_img{width:100%; height:auto; display:inline-block; overflow:hidden; transition: all 0.8s cubic-bezier(0.445, 0.145, 0.355, 1) 0s;-webkit-transition: transition: all 0.8s cubic-bezier(0.445, 0.145, 0.355, 1) 0s;}
.n_box2 li .a_text{width:278px; height:46px; line-height:46px; display:inline-block; overflow:hidden; text-align:center; color:#333333; font-size:18px;}
.n_box2 li .a_text:hover{ text-decoration:none; color:#f31d51;}
.n_box2 li .a_img:hover{-moz-box-shadow:0px 0px 10px #c7c5bf;/*firefox*/  
-webkit-box-shadow:0px 0px 10px #c7c5bf;/*webkit*/  
box-shadow:0px 0px 10px #c7c5bf;/*opera或ie9*/
-webkit-transform: translateY(-13px); -ms-transform: translateY(-13px); -o-transform: translateY(-13px); transform: translateY(-13px);}
.n_gsqdiv_b{width:100%; padding:55px 0px 20px 0px;text-align:center; overflow:hidden;}
.n_gsqdiv_b a{ height:30px; line-height:30px; margin:0px 3px 5px 3px; padding:0px 13px; background-color:#06050c; display:inline-block; overflow:hidden; color:#fff; font-size:14px; }
.n_gsqdiv_b a:hover,.n_gsqdiv_b a.activepages{ color:#fff; background-color:#f31d51;text-decoration:none;}

/* 模块咨询按钮样式 */
.module-consult-wrap {
    text-align: center;
    margin-top: 48px;
}
.consult-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 60px;
    background: linear-gradient(135deg, #ff4d7d, #ff8da1);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(255, 77, 125, 0.3);
}

.consult-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 77, 125, 0.4);
}

/* ========== 响应式布局 ========== */
@media (max-width: 780px) {
    .container {
        padding: 0 20px;
    }

    .banner {
        min-height: 520px;
    }

    .banner-title {
        font-size: 2.2rem;
    }

    .advantage-item {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .advantage-points {
        gap: 16px;
    }

    .section-title {
        font-size: 1.9rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }

    .memory-card {
        max-width: 100%;
    }

    .page-number {
        width: 38px;
        height: 38px;
    }

    .page-btn {
        min-width: 38px;
        height: 38px;
        padding: 0 12px;
    }
}

