/* 响应式设计 */

/* 大屏幕 (1200px以上) */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-content {
        gap: 6rem;
    }
    
    .title-cn {
        font-size: 4rem;
    }
    
    .logo-circle {
        width: 350px;
        height: 350px;
    }
}

/* 中等屏幕 (768px - 1199px) */
@media (max-width: 1199px) {
    .hero-content {
        gap: 3rem;
    }
    
    .title-cn {
        font-size: 3rem;
    }
    
    .logo-circle {
        width: 280px;
        height: 280px;
    }
    
    .logo-text {
        font-size: 2rem;
    }
}

/* 平板设备 (768px - 1023px) */
@media (max-width: 1023px) {
    :root {
        --container-padding: 0 2rem;
        --section-padding: 4rem 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .title-cn {
        font-size: 2.5rem;
    }
    
    .title-en {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .logo-circle {
        width: 250px;
        height: 250px;
    }
    
    .logo-text {
        font-size: 1.8rem;
    }
    
    .logo-icon {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .apply-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 手机设备 (767px以下) */
@media (max-width: 767px) {
    :root {
        --container-padding: 0 1.5rem;
        --section-padding: 3rem 0;
    }
    
    /* 导航栏移动端 */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--darker-bg);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        margin: 1rem 0;
        font-size: 1.2rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    /* Hero区域移动端 */
    .hero {
        min-height: 90vh;
        padding-top: 100px;
    }
    
    .title-cn {
        font-size: 2rem;
    }
    
    .title-en {
        font-size: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .logo-circle {
        width: 200px;
        height: 200px;
    }
    
    .logo-text {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }
    
    .logo-icon {
        font-size: 2rem;
    }
    
    /* 特色亮点移动端 */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    /* 关于我们移动端 */
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .africa-map {
        height: 200px;
    }
    
    .burundi-highlight {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .ai-teaching-explanation {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .ai-teaching-explanation h3 {
        font-size: 1.2rem;
    }
    
    .ai-teaching-explanation ul {
        padding-left: 1rem;
    }
    
    .ai-teaching-explanation li {
        margin-bottom: 0.6rem;
        font-size: 0.95rem;
    }
    
    /* 课程体系移动端 */
    .course-category {
        padding: 1.5rem;
    }
    
    .course-category h3 {
        font-size: 1.2rem;
    }
    
    /* 申请入学移动端 */
    .apply-info ul {
        margin-bottom: 1.5rem;
    }
    
    .apply-info li {
        padding: 0.3rem 0;
        padding-left: 1.2rem;
    }
    
    .email-info {
        padding: 1rem;
    }
    
    /* 表单移动端 */
    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
    }
    
    /* 联系我们移动端 */
    .contact-item {
        padding: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .contact-icon {
        font-size: 1.2rem;
        margin-right: 0.8rem;
    }
    
    /* 页脚移动端 */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    /* 通用移动端调整 */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .container {
        padding: var(--container-padding);
    }
}

/* 超小屏幕 (480px以下) */
@media (max-width: 480px) {
    :root {
        --container-padding: 0 1.2rem;
        --section-padding: 2.5rem 0;
    }
    
    .title-cn {
        font-size: 1.8rem;
    }
    
    .title-en {
        font-size: 0.9rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
    }
    
    .logo-circle {
        width: 180px;
        height: 180px;
    }
    
    .logo-text {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }
    
    .logo-icon {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .feature-card {
        padding: 1.2rem;
    }
    
    .feature-icon {
        font-size: 2rem;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
    }
    
    .course-category {
        padding: 1.2rem;
    }
    
    .course-category h3 {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.7rem;
        font-size: 0.9rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
}

/* 横屏手机 (高度小于宽度) */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding-top: 80px;
    }
    
    .hero-content {
        gap: 1.5rem;
    }
    
    .title-cn {
        font-size: 2rem;
    }
    
    .title-en {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .logo-circle {
        width: 150px;
        height: 150px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo-icon {
        font-size: 1.5rem;
        margin-top: 0.5rem;
    }
}

/* 高分辨率屏幕 (2x) */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-main,
    .title-cn,
    .section-title {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* 打印样式 */
@media print {
    .navbar,
    .nav-toggle,
    .hero-buttons,
    .btn,
    .contact-form,
    .footer {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .logo-circle {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .section-title {
        color: black !important;
        -webkit-text-fill-color: black !important;
    }
    
    .feature-card,
    .course-category,
    .stat {
        border: 1px solid #ccc !important;
        background: white !important;
        color: black !important;
    }
} 