/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
    color: #1d1d1f;
    line-height: 1.6;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
    font-weight: 500;
}

/* 导航栏 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.logo {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
}

.logo-main {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 2px;
}

.logo-sub {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #0071e3;
}

/* 英雄区 */
.hero {
    height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    background: url('https://images.unsplash.com/photo-1508700115892-45ecd05ae2ad?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover fixed no-repeat;
    color: white;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5));
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 600px;
    padding: 50px 40px;
    margin-bottom: 60px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border-radius: 30px;
    overflow: hidden;
}

.hero-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: -10%;
    width: 60%;
    height: 100%;
    background: url('/images/logo/logo-red.jpg') center/cover no-repeat;
    opacity: 0.15;
    mix-blend-mode: soft-light;
    z-index: -1;
    transform: skewX(-15deg);
    transition: all 0.5s ease;
}

.hero-content::after {
    content: "";
    position: absolute;
    top: 0;
    right: -10%;
    width: 60%;
    height: 100%;
    background: url('/images/logo/logo-black.jpg') center/cover no-repeat;
    opacity: 0.15;
    mix-blend-mode: overlay;
    z-index: -1;
    transform: skewX(-15deg);
    transition: all 0.5s ease;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 16px;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.hero h2 {
    font-size: 24px;
    margin-bottom: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
}

.hero p {
    font-size: 16px;
    margin-bottom: 30px;
    font-weight: 500;
    line-height: 1.6;
    color: #fff;
    opacity: 0.9;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-button {
    background: linear-gradient(135deg, #ff3366 0%, #ff5533 100%);
    color: white;
    border: none;
    padding: 14px 36px;
    font-size: 16px;
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(255, 51, 102, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 51, 102, 0.5);
    background: linear-gradient(135deg, #ff4d7d 0%, #ff6e4d 100%);
}

/* 课程部分 */
.courses {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.courses h2 {
    font-size: 48px;
    margin-bottom: 50px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.course-card {
    background-color: #f5f5f7;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.course-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.course-card h3 {
    font-size: 20px;
    margin: 20px 0 10px;
}

.course-card p {
    font-size: 14px;
    margin-bottom: 20px;
    padding: 0 20px;
    color: #6e6e73;
}

/* 导师部分 */
.instructors {
    padding: 70px 20px;
    background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
    text-align: center;
}

.instructors h2 {
    font-size: 48px;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #1d1d1f 0%, #333333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.instructors h2::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ff3366, #ff5533);
    border-radius: 3px;
}

.instructors-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.instructor {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.instructor::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 51, 102, 0.05), rgba(255, 85, 51, 0.05));
    z-index: 0;
}

.instructor:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.instructor-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin: 0 auto 25px;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.instructor:hover .instructor-photo {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.instructor h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #1d1d1f;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.instructor p {
    color: #6e6e73;
    line-height: 1.6;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.instructor-specialty {
    display: inline-block;
    padding: 6px 15px;
    background: linear-gradient(135deg, #ff3366 0%, #ff5533 100%);
    color: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-top: 10px;
    position: relative;
    z-index: 1;
}

/* 联系我们 */
.contact {
    padding: 100px 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact h2 {
    font-size: 48px;
    margin-bottom: 50px;
}

.contact-form {
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

input, select, textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #d2d2d7;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #0071e3;
}

.submit-button {
    background-color: #0071e3;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    background-color: #0062c3;
}

/* 页脚 */
footer {
    background-color: #f5f5f7;
    padding: 60px 20px 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
}

.footer-logo .logo-main {
    font-size: 24px;
    margin-bottom: 2px;
}

.footer-logo .logo-sub {
    font-size: 12px;
    color: #666;
}

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

.footer-column h4 {
    font-size: 16px;
    margin-bottom: 15px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    font-size: 14px;
    color: #6e6e73;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #0071e3;
}

.copyright {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid #d2d2d7;
    text-align: center;
    color: #6e6e73;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content {
        padding: 40px 24px;
        margin-bottom: 40px;
    }
    
    .hero h1 {
        font-size: 40px;
    }
    
    .hero h2 {
        font-size: 20px;
    }
    
    .hero p {
        font-size: 14px;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .courses h2, .instructors h2, .contact h2, .activities h2 {
        font-size: 36px;
        margin-bottom: 30px;
    }
    
    /* 改进移动导航 */
    header {
        padding: 10px 0;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .logo-sub {
        font-size: 10px;
    }
    
    .footer-logo .logo-sub {
        font-size: 10px;
    }
    
    /* 添加汉堡菜单 */
    .mobile-menu-toggle {
        display: block;
        font-size: 24px;
        cursor: pointer;
    }
    
    .hero {
        height: 70vh;
    }
    
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .instructors-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
        padding: 10px;
    }
    
    .instructor-photo {
        width: 150px;
        height: 150px;
    }
    
    .instructor h3 {
        font-size: 20px;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    .course-image {
        height: 140px;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        margin: 0 auto;
        width: 100%;
    }
    
    .course-card h3 {
        font-size: 18px;
        margin: 15px 0 8px;
    }
    
    .course-card p {
        font-size: 12px;
        margin-bottom: 15px;
        padding: 0 10px;
    }
    
    .instructors {
        padding: 50px 20px;
    }
    
    .activities {
        padding: 50px 20px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 30px 20px;
        margin-bottom: 30px;
    }

    .hero h1 {
        font-size: 36px;
    }
    
    .hero h2 {
        font-size: 18px;
    }
    
    .hero p {
        font-size: 14px;
    }
    
    .cta-button {
        padding: 10px 24px;
        font-size: 14px;
    }
    
    .courses h2, .instructors h2, .contact h2, .activities h2 {
        font-size: 28px;
        margin-bottom: 25px;
    }

    .instructors-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .instructor {
        padding: 20px;
    }

    .instructor-photo {
        width: 120px;
        height: 120px;
    }

    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .course-card {
        border-radius: 10px;
    }
    
    .course-image {
        height: 120px;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        width: 100%;
        margin: 0;
    }
    
    .course-card h3 {
        font-size: 16px;
        margin: 10px 0 5px;
    }
    
    .course-card p {
        font-size: 12px;
        margin-bottom: 10px;
        padding: 0 5px;
    }
    
    .instructors {
        padding: 40px 15px;
    }
    
    .activities {
        padding: 40px 15px;
    }
}

/* 添加在文件末尾 */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #000;
        color: #f5f5f7;
    }
    
    header {
        background-color: rgba(0, 0, 0, 0.8);
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }
    
    .course-card, .instructors, footer {
        background-color: #1a1a1a;
    }
    
    .course-card p, .instructor p, .footer-column a, .copyright {
        color: #a1a1a6;
    }
    
    input, select, textarea {
        background-color: #1a1a1a;
        border-color: #424245;
        color: #f5f5f7;
    }
    
    input:focus, select:focus, textarea:focus {
        border-color: #0071e3;
    }

    .instructors {
        background: linear-gradient(180deg, #1a1a1a 0%, #000000 100%);
    }

    .instructors h2 {
        background: linear-gradient(135deg, #f5f5f7 0%, #a1a1a6 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .instructor {
        background: rgba(26, 26, 26, 0.8);
    }

    .instructor h3 {
        color: #f5f5f7;
    }

    .instructor::before {
        background: linear-gradient(45deg, rgba(255, 51, 102, 0.1), rgba(255, 85, 51, 0.1));
    }
}

/* 活动轮播 */
.activities {
    padding: 70px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
    order: -1;
}

.activities-container {
    max-width: 1200px;
    margin: 0 auto;
}

.activities h2 {
    font-size: 48px;
    margin-bottom: 40px;
    text-align: center;
    background: linear-gradient(135deg, #1d1d1f 0%, #333333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.activities h2::after {
    content: none;
}

.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    background: #000;
    margin: 0 20px;
}

.carousel-inner {
    display: flex;
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    height: 600px;
}

.carousel-item {
    min-width: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-item:hover img {
    transform: scale(1.03);
}

.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    pointer-events: none;
}

.carousel-control {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.carousel-control:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.carousel-control svg {
    width: 24px;
    height: 24px;
    fill: #000;
    transition: transform 0.3s ease;
}

.carousel-control:hover svg {
    transform: scale(0.9);
}

.carousel-progress {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    cursor: pointer;
}

.progress-dot.active {
    background: white;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .carousel-inner {
        height: 400px;
    }

    .carousel-controls {
        padding: 0 20px;
    }

    .carousel-control {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .carousel-inner {
        height: 300px;
    }

    .carousel-control {
        width: 36px;
        height: 36px;
    }
}

/* 暗色模式适配 */
@media (prefers-color-scheme: dark) {
    .activities {
        background: linear-gradient(180deg, #000000 0%, #1a1a1a 100%);
    }

    .location {
        background: #000000;
    }

    .location-item {
        background: rgba(26, 26, 26, 0.8);
    }

    .location-item:hover {
        background: rgba(26, 26, 26, 1);
    }

    .location-text h3 {
        color: #f5f5f7;
    }

    .location-text p {
        color: #a1a1a6;
    }
    
    .map-overlay:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .carousel-control {
        background: rgba(0, 0, 0, 0.8);
    }

    .carousel-control:hover {
        background: rgba(0, 0, 0, 0.9);
    }
}

/* 位置信息 */
.location {
    padding: 100px 20px;
    background: #ffffff;
}

.location-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.location-info {
    padding-right: 40px;
}

.location h2 {
    font-size: 48px;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #1d1d1f 0%, #333333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.location-details {
    margin-bottom: 30px;
}

.location-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(245, 245, 247, 0.8);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.location-item:hover {
    transform: translateX(10px);
    background: rgba(245, 245, 247, 1);
}

.location-icon {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    color: #ff3366;
}

.location-text {
    flex: 1;
}

.location-text h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #1d1d1f;
}

.location-text p {
    font-size: 16px;
    color: #6e6e73;
    line-height: 1.6;
}

.map-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    background: #f5f5f7;
    cursor: pointer;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 10;
    cursor: pointer;
}

.map-overlay:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* 添加加载状态样式 */
.map-container::before {
    content: "地图加载中...";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #666;
    font-size: 14px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .location-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .location-info {
        padding-right: 0;
    }

    .carousel-item img {
        height: 300px;
    }

    .carousel-caption {
        padding: 20px;
    }

    .carousel-caption h3 {
        font-size: 20px;
    }

    .carousel-caption p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .location h2 {
        font-size: 32px;
    }

    .location-item {
        padding: 15px;
    }

    .carousel-item img {
        height: 250px;
    }

    .carousel-control {
        width: 40px;
        height: 40px;
    }
}

/* 暗色模式适配 */
@media (prefers-color-scheme: dark) {
    .activities {
        background: linear-gradient(180deg, #000000 0%, #1a1a1a 100%);
    }

    .location {
        background: #000000;
    }

    .location-item {
        background: rgba(26, 26, 26, 0.8);
    }

    .location-item:hover {
        background: rgba(26, 26, 26, 1);
    }

    .location-text h3 {
        color: #f5f5f7;
    }

    .location-text p {
        color: #a1a1a6;
    }

    .carousel-control {
        background: rgba(0, 0, 0, 0.8);
    }

    .carousel-control:hover {
        background: rgba(0, 0, 0, 0.9);
    }
}

/* 白天和夜晚风格切换 */
body.night-mode {
    background-color: #1a1a1a;
    color: #f5f5f7;
}

body.night-mode header {
    background-color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

body.night-mode .course-card, 
body.night-mode .instructors, 
body.night-mode footer {
    background-color: #1a1a1a;
}

body.night-mode .course-card p, 
body.night-mode .instructor p, 
body.night-mode .footer-column a, 
body.night-mode .copyright {
    color: #a1a1a6;
}

body.night-mode input, 
body.night-mode select, 
body.night-mode textarea {
    background-color: #1a1a1a;
    border-color: #424245;
    color: #f5f5f7;
}

body.night-mode input:focus, 
body.night-mode select:focus, 
body.night-mode textarea:focus {
    border-color: #0071e3;
}

body.night-mode .instructor {
    background: rgba(26, 26, 26, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

body.night-mode .instructor:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

body.night-mode .instructors {
    background: linear-gradient(180deg, #1a1a1a 0%, #000000 100%);
}

body.night-mode .activities {
    background: linear-gradient(180deg, #000000 0%, #1a1a1a 100%);
}

body.night-mode .location {
    background: linear-gradient(180deg, #1a1a1a 0%, #000000 100%);
}

body.night-mode .activities-container h2,
body.night-mode .location h2 {
    background: linear-gradient(135deg, #f5f5f7 0%, #a1a1a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.night-mode .location-item {
    background: rgba(45, 45, 45, 0.8);
}

body.night-mode .location-item:hover {
    background: rgba(55, 55, 55, 0.9);
}

body.night-mode .location-text h3 {
    color: #f5f5f7;
}

body.night-mode .location-text p {
    color: #a1a1a6;
}

body.night-mode .map-overlay:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* 主题切换按钮样式 */
.theme-toggle {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

.theme-toggle .sun,
.theme-toggle .moon {
    position: absolute;
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

.theme-toggle .sun {
    opacity: 0;  /* 改为0，默认隐藏太阳图标 */
    transform: translateY(-20px);  /* 初始位置在上方 */
}

.theme-toggle .moon {
    opacity: 1;  /* 改为1，默认显示月亮图标 */
    transform: translateY(0);  /* 初始位置正常显示 */
}

body.night-mode .theme-toggle .sun {
    opacity: 1;  /* 夜间模式显示太阳图标 */
    transform: translateY(0);  /* 位置正常 */
}

body.night-mode .theme-toggle .moon {
    opacity: 0;  /* 夜间模式隐藏月亮图标 */
    transform: translateY(20px);  /* 位置在下方 */
}

/* 图标颜色 */
.theme-toggle .sun {
    color: #ff9500;
}

.theme-toggle .moon {
    color: #1d1d1f;
}

body.night-mode .theme-toggle {
    background-color: transparent;
}

/* 专业导师夜间模式文字颜色调整 */
body.night-mode .instructor h3,
body.night-mode .instructor p {
    color: #f5f5f7;
}

/* Header 固定样式 - 不受夜间模式影响 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* 移除之前的 header 夜间模式样式 */
body.night-mode header {
    background-color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

body.night-mode .logo,
body.night-mode .nav-links a {
    color: #1d1d1f;  /* 保持原来的深色文字 */
}

body.night-mode .logo-sub {
    color: #666;  /* 保持原来的副标题颜色 */
}

/* 专业导师标题和图标在夜间模式下的颜色调整 */
body.night-mode .instructors h2 {
    color: #f5f5f7;
    background: none;
    -webkit-text-fill-color: #f5f5f7;
}

body.night-mode .instructors h2::after {
    background: linear-gradient(90deg, #ff3366, #ff5533);
}

/* 夜间模式下的主题切换按钮颜色 */
body.night-mode .theme-toggle .moon {
    color: #1d1d1f;  /* 保持黑色月亮图标 */
}

body.night-mode .theme-toggle .sun {
    color: #ff9500;  /* 修改为橙色太阳图标，与夜间模式背景对比 */
}

body.night-mode .qr-description {
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1200px) {
    .pricing-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 15px;
    }
    
    .qr-grid {
        grid-template-columns: repeat(2, 1fr);
    }
} 