:root {
    --forest-green: #2d5016;
    --light-green: #4a7023;
    --gold: #e8b923;
    --text-color: #f5f5f5;
    --dark-bg: #0a0a0a;
    --card-bg: #1a1a1a;
    --shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.8;
    overflow-x: hidden;
    font-weight: 400;
}

/* 头部样式 */
header {
    position: sticky;
    top: 0;
    width: 100%;
    background: var(--forest-green);
    padding: 1rem 2.5rem;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: var(--shadow);
}

header .logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

header img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
}

header h1 {
    font-size: 1.8rem;
    color: var(--gold);
    font-weight: 600;
}

.hamburger-checkbox {
    display: none;
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    color: var(--gold);
    cursor: pointer;
}

nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

nav a {
    text-decoration: none;
    color: #e6e6e6;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
}

nav a:hover,
nav a:focus {
    color: var(--gold);
    background: rgba(255, 255, 255, 0.1);
}

nav a.active {
    color: var(--gold);
    border-bottom: 3px solid var(--gold);
}

/* 主要内容区域 */
section {
    padding: 80px 30px;
    border-bottom: 2px solid #2a2a2a;
    position: relative;
}

.blurry-background {
    background-image: url('../image/bg1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.blurry-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.85);
    z-index: 0;
}

section > * {
    position: relative;
    z-index: 1;
}

/* 英雄区域 */
.hero {
    position: relative;
    width: 100%;
    min-height: 70vh;
    background-image: url('../image/bg1.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
}

.hero .chinese-name {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.hero .hero-description {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero img {
    width: 200px;
    height: 200px;
    margin-bottom: 1.5rem;
    border-radius: 50%;
    box-shadow: var(--shadow);
    border: 4px solid var(--gold);
}

.cta-button {
    background: var(--forest-green);
    color: #fff;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
    margin: 0 10px;
    display: inline-block;
}

.cta-button:hover {
    background: var(--gold);
    transform: scale(1.05);
}

/* 内容包装器 */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.intro-text {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.8;
    color: #e6e6e6;
}

/* 标题样式 */
.section-title {
    color: var(--light-green);
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
    text-align: center;
    justify-content: center;
}

.section-title::after {
    content: '';
    flex-grow: 1;
    height: 3px;
    background: var(--light-green);
    margin-left: 1rem;
    max-width: 200px;
}

/* 网格布局 */
.grid {
    display: grid;
    gap: 2.5rem;
    margin-top: 2.5rem;
}

.advantages-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.programs-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.faculty-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* 卡片样式 */
.card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #3a3a3a;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6);
}

.card h3 {
    color: #e6e6e6;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.card h3 i {
    color: var(--gold);
    margin-right: 0.5rem;
}

.card ul {
    list-style: none;
    margin-top: 1rem;
}

.card ul li {
    padding: 0.3rem 0;
    color: #ccc;
}

.card ul li::before {
    content: "▸ ";
    color: var(--gold);
    font-weight: bold;
}

/* 师资卡片 */
.faculty-card {
    text-align: center;
}

.faculty-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid var(--gold);
}

.faculty-card .title {
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* 联系我们 */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    color: var(--gold);
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.contact-item h4 {
    color: var(--light-green);
    margin-bottom: 0.5rem;
}

.map-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

/* 学校图片 */
.school-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 2rem auto;
    display: block;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

/* 页脚 */
footer {
    padding: 3rem 2.5rem;
    background: #000;
    text-align: center;
    font-size: 0.9rem;
    color: #999;
    border-top: 2px solid #2a2a2a;
}

footer p {
    margin-bottom: 0.8rem;
}

.social-links {
    margin-top: 1rem;
}

.social-links a {
    color: var(--gold);
    font-size: 1.5rem;
    margin: 0 10px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--light-green);
    transform: scale(1.2);
}

/* 响应式设计 */
@media (max-width: 768px) {
    header {
        padding: 1rem;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .hero .chinese-name {
        font-size: 1.8rem;
    }

    .hamburger {
        display: block;
    }

    nav {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 1rem;
        background: var(--forest-green);
        position: absolute;
        top: 100%;
        left: 0;
    }

    .hamburger-checkbox:checked ~ nav {
        display: flex;
    }

    .section-title {
        font-size: 2.2rem;
        flex-direction: column;
        text-align: center;
    }

    .section-title::after {
        display: none;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    section {
        padding: 60px 20px;
    }
}

/* Student Portal Styles */
.login-section {
    background: var(--dark-bg);
}

.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.login-form-container {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.login-form .form-group {
    margin-bottom: 1.5rem;
}

.login-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.login-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    background: #2c3539;
    color: #fff;
    font-size: 1rem;
}

.login-form input:focus {
    outline: none;
    border-color: var(--gold);
}

.checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
}

.login-btn {
    width: 100%;
    background: var(--forest-green);
    color: white;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 1rem;
}

.login-btn:hover {
    background: var(--gold);
    transform: translateY(-2px);
}

.login-links {
    text-align: center;
}

.login-links a {
    color: var(--gold);
    text-decoration: none;
    display: block;
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.login-links a:hover {
    text-decoration: underline;
}

.login-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-info h3 {
    color: var(--light-green);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.login-info ul {
    list-style: none;
}

.login-info li {
    padding: 0.8rem 0;
    color: #e6e6e6;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.login-info li i {
    color: var(--gold);
    width: 20px;
}

/* Services Grid */
.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.service-card {
    text-align: center;
    transition: var(--transition);
}

.service-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.service-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--light-green);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--gold);
}

/* Quick Links */
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.quick-link-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
    border: 1px solid #3a3a3a;
    text-align: center;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    border-color: var(--gold);
}

.quick-link-card i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.quick-link-card h4 {
    margin-bottom: 0.5rem;
    color: var(--light-green);
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.news-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.news-content h3 {
    margin-bottom: 0.5rem;
    color: var(--light-green);
}

.news-date {
    color: var(--gold);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--light-green);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--gold);
}

/* Application Form Styles */
.application-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #3a3a3a;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    color: var(--light-green);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    background: #2c3539;
    color: #fff;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.submit-btn,
.reset-btn {
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.submit-btn {
    background: var(--forest-green);
    color: white;
}

.submit-btn:hover {
    background: var(--gold);
    transform: translateY(-2px);
}

.reset-btn {
    background: #666;
    color: white;
}

.reset-btn:hover {
    background: #888;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-number {
    background: var(--gold);
    color: var(--dark-bg);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--light-green);
    margin-bottom: 0.5rem;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
}

.contact-card i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: var(--light-green);
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .login-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 2rem;
    }

    .hero .chinese-name {
        font-size: 1.5rem;
    }

    .card {
        padding: 1.5rem;
    }

    .login-form-container {
        padding: 2rem;
    }

    .application-form {
        padding: 2rem;
    }
}
