/* 全局样式 */
:root {
    --primary-color: #6B46C1;
    --secondary-color: #D4AF37;
    --dark-color: #333333;
    --medium-color: #666666;
    --light-color: #EEEEEE;
    --white-color: #FFFFFF;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
}

/* 导航栏 */
.navbar {
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.navbar-nav .nav-link {
    color: var(--white-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* 英雄区域 */
.hero {
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=theater%20stage%20with%20lights&image_size=landscape_16_9');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(107, 70, 193, 0.3), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero .btn {
    background-color: var(--secondary-color);
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero .btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* 核心优势 */
.advantages {
    background-color: var(--white-color);
}

.advantages h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.advantage-item {
    padding: 30px;
    border-radius: 10px;
    transition: all 0.3s ease;
    background-color: var(--white-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.advantage-item .icon {
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.advantage-item:hover .icon {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.advantage-item h3 {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* 课程展示 */
.courses {
    background-color: var(--light-color);
}

.courses h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.course-card {
    background-color: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.course-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.course-card:hover img {
    transform: scale(1.05);
}

.course-content {
    padding: 20px;
}

.course-content h3 {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.course-content .btn {
    background-color: var(--primary-color);
    border: none;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.course-content .btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* 演员展示 */
.actors {
    background-color: var(--white-color);
}

.actors h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.actor-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.actor-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.actor-card:hover img {
    transform: scale(1.05);
}

.actor-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    color: var(--white-color);
    padding: 20px;
    transition: all 0.3s ease;
}

.actor-card:hover .actor-info {
    background: linear-gradient(to top, rgba(107, 70, 193, 0.9), rgba(107, 70, 193, 0.3));
}

.actor-info h3 {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* 新闻动态 */
.news {
    background-color: var(--light-color);
}

.news h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.news-card {
    background-color: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.news-card:hover img {
    transform: scale(1.05);
}

.news-content {
    padding: 20px;
}

.news-content h3 {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

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

.news-content .btn {
    background-color: var(--primary-color);
    border: none;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.news-content .btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* 联系我们 */
.contact {
    background-color: var(--white-color);
}

.contact h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.contact-form {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form .form-control {
    border: 1px solid var(--medium-color);
    border-radius: 5px;
    padding: 12px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(107, 70, 193, 0.25);
}

.contact-form .btn {
    background-color: var(--primary-color);
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-form .btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.contact-info {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.social-media {
    margin-top: 2rem;
}

.social-link {
    display: inline-block;
    margin-right: 15px;
    color: var(--white-color);
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

/* 页脚 */
.footer {
    background-color: var(--dark-color);
    color: var(--white-color);
}

.footer h3 {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--light-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .advantages h2,
    .courses h2,
    .actors h2,
    .news h2,
    .contact h2 {
        font-size: 2rem;
    }
    
    .advantage-item,
    .course-card,
    .actor-card,
    .news-card {
        margin-bottom: 20px;
    }
    
    .contact-form,
    .contact-info {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .advantages h2,
    .courses h2,
    .actors h2,
    .news h2,
    .contact h2 {
        font-size: 1.8rem;
    }
}