/* ===================================
   星妃维拉化妆学校 - 官网样式
   黑白大气简约风格
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;700;900&family=Noto+Sans+SC:wght@300;400;500;700&family=Inter:wght@400;500;600;700&family=Inter+Tight:wght@400;700&display=swap');

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', 'Inter', sans-serif;
    background: #ffffff;
    color: #000000;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

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

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

/* ===== Hero Section ===== */
.hero {
    background: #000;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.hero-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    padding: 0 64px;
}

.hero-logo img {
    height: 60px;
    width: auto;
}

.hero-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #fff;
    font-size: 15px;
    font-family: 'Noto Sans SC', sans-serif;
    cursor: pointer;
    position: relative;
}

.nav-item .nav-arrow {
    width: 10px;
    height: 6px;
    transition: transform 0.3s ease;
}

.nav-item:hover .nav-arrow {
    transform: rotate(180deg);
}

/* Dropdown Mega Menu */
.dropdown-menu-bar {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.88);
    height: 220px;
    display: none;
    z-index: 100;
}

.dropdown-menu-bar.active {
    display: block;
}

.dropdown-menu-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.dropdown-col {
    position: absolute;
    top: 28px;
    width: 110px;
}

.dropdown-col a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    padding: 8px 0;
    transition: color 0.3s;
}

.dropdown-col a:hover {
    color: #fff;
    opacity: 1;
}

.cta-btn {
    background: #fff;
    color: #000;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: #333;
    color: #fff;
}

.hero-body {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 64px;
    padding: 80px 64px;
    min-height: 800px;
}

.hero-text {
    flex: 0 0 auto;
    width: 50%;
    max-width: 608px;
}

.hero-label {
    color: #fff;
    font-size: 14px;
    margin-bottom: 32px;
    letter-spacing: 2px;
}

.hero-title {
    font-family: 'Noto Serif SC', serif;
    font-weight: 700;
    font-size: 88px;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 32px;
}

.hero-subtitle {
    color: #fff;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-cta {
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.hero-cta:hover {
    background: #333;
    color: #fff;
}

.hero-visual {
    flex: 0 0 640px;
    width: 640px;
    height: 640px;
    overflow: hidden;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== Section Common ===== */
.section {
    padding: 100px 0;
}

.section-black {
    background: #000;
    color: #fff;
}

.section-white {
    background: #fff;
    color: #000;
}

.section-label {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.6;
}

.section-title {
    font-family: 'Noto Serif SC', serif;
    font-weight: 700;
    font-size: 56px;
    line-height: 1.2;
}

.section-title-sm {
    font-family: 'Noto Serif SC', serif;
    font-weight: 700;
    font-size: 36px;
}

.section-desc {
    font-size: 18px;
    line-height: 1.5;
    opacity: 0.8;
}

.section-header {
    margin-bottom: 64px;
}

.section-header.center {
    text-align: center;
}

.section-header.center .section-label,
.section-header.center .section-title,
.section-header.center .section-desc {
    display: block;
}

/* ===== School Intro ===== */
.intro-body {
    display: flex;
    align-items: center;
    gap: 80px;
}

.intro-image {
    width: 560px;
    height: 420px;
    overflow: hidden;
    flex-shrink: 0;
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.intro-text {
    flex: 1;
}

.intro-text p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 32px;
}

.intro-stats {
    display: flex;
    gap: 48px;
    margin-top: 32px;
    padding-top: 32px;
}

.stat-number {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    margin-top: 8px;
    opacity: 0.7;
}

/* ===== Honors Section ===== */
.honors-stats {
    display: flex;
    justify-content: space-between;
    gap: 64px;
    margin-bottom: 80px;
}

.award-item {
    flex: 1;
}

.award-number {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 700;
    font-size: 56px;
    line-height: 1;
    margin-bottom: 8px;
}

.award-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
}

.award-desc {
    font-size: 14px;
    opacity: 0.6;
}

.photo-gallery {
    display: grid;
    grid-template-columns: 620px 314px 314px;
    grid-template-rows: 280px 240px;
    gap: 40px;
    height: 540px;
}

.photo-card { overflow: hidden; position: relative; display: flex; flex-direction: column; }
.photo-card img { width: 100%; height: calc(100% - 40px); object-fit: cover; flex-shrink: 0; }

.photo-card-1 {
    grid-row: 1 / 3;
}

.photo-card-4 {
    grid-column: 2 / 4;
    grid-row: 2;
}


.photo-card-desc {
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    color: #333;
    text-align: center;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}


/* ===== Teachers Section ===== */
.teacher-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 48px;
}

.teacher-tab {
    padding: 12px 24px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    background: none;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s;
}

.teacher-tab.active {
    background: #fff;
    color: #000;
    font-weight: 500;
}

.teachers-grid {
    display: flex;
    gap: 32px;
}

.teacher-card {
    flex: 1;
}

.teacher-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    margin-bottom: 16px;
}

.teacher-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teacher-name {
    font-size: 22px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 4px;
}

.teacher-role {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== Campus Section ===== */
.city-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 0;
}

.city-tab {
    padding: 14px 24px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    background: none;
    color: #000;
    transition: all 0.3s;
}

.city-tab.active {
    background: #000;
    color: #fff;
    font-weight: 500;
}

.campus-carousel {
    position: relative;
    width: 100%;
    height: 720px;
    overflow: hidden;
    background: #000;
}

.campus-main-image {
    width: 100%;
    height: 100%;
}

.campus-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.campus-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    font-size: 20px;
    z-index: 2;
    transition: opacity 0.3s;
}

.campus-arrow:hover {
    opacity: 0.8;
}

.campus-arrow-left {
    left: 40px;
}

.campus-arrow-right {
    right: 40px;
}

.campus-info-card {
    position: absolute;
    top: 140px;
    right: 40px;
    width: 400px;
    height: 440px;
    background: #000;
    padding: 48px 40px;
    color: #fff;
}

.campus-info-quote {
    font-family: 'Noto Serif SC', serif;
    font-size: 48px;
    line-height: 1;
}

.campus-info-name {
    font-family: 'Noto Serif SC', serif;
    font-size: 32px;
    font-weight: 700;
    margin: 24px 0;
}

.campus-info-desc {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 24px;
}

.campus-info-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #fff;
    border-bottom: 1px solid #fff;
    padding-bottom: 4px;
}

/* ===== Popular Courses ===== */
.courses-main {
    display: flex;
    align-items: center;
    min-height: 580px;
}

.course-info-panel {
    width: 560px;
    padding-right:50px;
    /*padding: 0 64px;*/
}

.course-english {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.course-chinese {
    font-family: 'Noto Serif SC', serif;
    font-weight: 700;
    font-size: 32px;
    color: #fff;
    margin-bottom: 24px;
}

.course-desc-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 24px;
}

.course-meta {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
}

.course-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.course-meta-value {
    font-size: 20px;
    font-weight: 500;
    color: #fff;
}

.course-meta-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.enroll-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #000;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.enroll-btn:hover {
    background: #333;
    color: #fff;
}

.course-image-panel {
    flex: 1;
    height: 480px;
    overflow: hidden;
}

.course-image-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-tabs {
    display: flex;
    gap: 8px;
    padding: 0 64px;
    margin-top: 0;
}

.course-tab {
    padding: 14px 24px;
    font-size: 15px;
    cursor: pointer;
    border: none;
    background: none;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s;
}

.course-tab.active {
    background: #fff;
    color: #000;
    font-weight: 500;
}

/* ===== Works Section ===== */
.works-tabs {
    display: flex;
    justify-content: center;
    /*gap: 24px;*/
    margin-bottom: 62px;
}

.works-tab {
    width: 108px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    border: none;
    background: none;
    transition: all 0.3s;
}

.works-tab.active {
    background: #fff;
    color: #000;
    font-weight: 500;
}

.works-tab:not(.active) {
    color: rgba(255, 255, 255, 0.5);
}

.works-tab-dark:not(.active) {
    color: rgba(0, 0, 0, 0.5);
}

.works-tab-dark.active {
    background: #000;
    color: #fff;
}

.works-grid {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.work-item {
    width: 310px;
    overflow: hidden;
    position: relative;
    border: 3px solid rgba(255, 255, 255, 0.8);
}

.works-section-black .work-item {
    border-color: rgba(255, 255, 255, 0.8);
}

.works-section-white .work-item {
    border-color: rgba(0, 0, 0, 0.1);
}

.work-item.tall {
    height: 360px;
}

.work-item.short {
    height: 290px;
    margin-top: 70px;
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.work-item:hover .work-overlay {
    opacity: 1;
}

.work-overlay-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
}

.work-overlay-desc {
    font-size: 13px;
    opacity: 0.8;
}

/* ===== Activities Section ===== */
.activities-cards {
    display: flex;
    gap: 32px;
}

.activity-card {
    flex: 1;
}

.activity-image {
    width: 100%;
    height: 260px;
    overflow: hidden;
    margin-bottom: 20px;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-date {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 13px;
    margin-bottom: 8px;
}

.activity-title {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 8px;
}

.activity-text {
    font-size: 15px;
    opacity: 0.7;
}

/* ===== Career Partners ===== */
.career-cards {
    display: flex;
    gap: 24px;
}

.career-card {
    flex: 1;
    background: #1a1a1a;
    padding: 32px 28px;
    min-height: 280px;
}

.career-card-label {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.career-card-title {
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 16px;
}

.career-card-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
}

/* ===== Outstanding Students ===== */
.students-grid {
    display: flex;
    gap: 32px;
}

.student-card {
    flex: 1;
    background: #f5f5f5;
    padding: 32px;
    display: flex;
    gap: 8px;
    min-height: 337px;
}

.student-photo {
    width: 180px;
    height: 270px;
    flex-shrink: 0;
    overflow: hidden;
}

.student-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.student-text {
    flex: 1;
    padding-left: 8px;
}

.student-name {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 12px;
}

.student-achievement {
    font-size: 14px;
    font-weight: 500;
    color: #c7102e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.student-quote {
    font-size: 14px;
    line-height: 1.6;
    color: #000;
}

/* ===== Admissions Section ===== */
.admissions-body {
    display: flex;
    gap: 64px;
    align-items: center;
}

.admissions-courses {
    width: 624px;
}

.admissions-course-item {
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 24px;
}

.admissions-course-item:last-child {
    margin-bottom: 0;
}

.admissions-course-name {
    font-size: 24px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 12px;
}

.admissions-course-info {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.admissions-course-price {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: #fff;
}

.registration-form {
    flex: 1;
    background: #fff;
    padding: 48px;
}

.reg-title {
    font-family: 'Noto Serif SC', serif;
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 24px;
    color: #000;
}

.reg-input {
    width: 100%;
    height: 56px;
    border: 1px solid #ddd;
    padding: 0 20px;
    font-size: 15px;
    margin-bottom: 24px;
    font-family: inherit;
    background: #fff;
}

.reg-input:focus {
    outline: none;
    border-color: #000;
}

.reg-input::placeholder {
    color: #999;
    text-align: center;
}

.reg-submit {
    width: 100%;
    height: 56px;
    background: #000;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.reg-submit:hover {
    background: #333;
}

/* ===== Footer ===== */
.footer {
    background: #000;
    color: #fff;
    padding: 80px 64px 40px;
}

.footer-top {
    display: flex;
    gap: 80px;
    margin-bottom: 64px;
}

.footer-brand {
    width: 360px;
}

.footer-logo {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-tagline {
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-links-col h4 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 16px;
}

.footer-links-col a {
    display: block;
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 16px;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin-bottom: 24px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 13px;
    opacity: 0.7;
}

.footer-legal {
    font-size: 13px;
    opacity: 0.7;
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 999;
    transition: all 0.3s;
}

.back-to-top:hover {
    background: #333;
}

.back-to-top.show {
    display: flex;
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
    .hero-title { font-size: 64px; }
    .hero-visual { width: 480px; height: 480px; }
    .section-title { font-size: 42px; }
    .container { padding: 0 32px; }
}

@media (max-width: 768px) {
    .hero-header { flex-direction: column; height: auto; padding: 20px; }
    .hero-nav { flex-wrap: wrap; gap: 20px; justify-content: center; }
    .hero-body { flex-direction: column; padding: 40px 20px; }
    .hero-text { width: 100%; text-align: center; }
    .hero-title { font-size: 42px; }
    .hero-visual { width: 100%; height: 300px; }
    .section { padding: 60px 0; }
    .section-title { font-size: 32px; }
    .container { padding: 0 20px; }
    .intro-body { flex-direction: column; }
    .intro-image { width: 100%; height: 280px; }
    .honors-stats { flex-direction: column; gap: 32px; }
    .photo-gallery { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; }
    .photo-card-1 { grid-row: auto; }
    .photo-card-4 { grid-column: auto; grid-row: auto; }
    .teachers-grid { flex-direction: column; }
    .courses-main { flex-direction: column; }
    .course-info-panel { width: 100%; padding: 0 20px; }
    .course-image-panel { width: 100%; height: 300px; }
    .works-grid { flex-direction: column; }
    .work-item { width: 100%; }
    .work-item.short { margin-top: 0; }
    .activities-cards { flex-direction: column; }
    .career-cards { flex-direction: column; }
    .students-grid { flex-direction: column; }
    .admissions-body { flex-direction: column; }
    .admissions-courses { width: 100%; }
    .footer-top { flex-direction: column; gap: 32px; }
    .footer-links { flex-wrap: wrap; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; }
    .campus-info-card { display: none; }
    .campus-carousel { height: 400px; }
}
