/* =========================================
   Cenco Music - 新学院风配色样式表
   ========================================= */

/* --- 1. 全局变量与重置 --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', 'Helvetica Neue', sans-serif;
}

:root {
    /* --- 核心配色 (New Palette) --- */
    --primary-color: #f0d32d; /* 亮黄：高亮、强调 */
    --accent-color: #ab3a2c;  /* 砖红：渐变、热情元素 */
    --secondary-blue: #4a71c0; /* 中蓝：辅助文字、次要元素 */
    
    /* --- 背景色体系 --- */
    --dark-bg: #f1f2ed;       /* 主背景：米白 */
    --section-bg: #ffffff;    /* 板块背景：纯白 */
    --footer-bg: #314290;     /* 页脚背景：深蓝 */
    
    /* --- 文字颜色 --- */
    --text-color: #314290;    /* 正文：深蓝 (高对比度) */
    --light-text: #4a71c0;    /* 次要文字：中蓝 */
    
    /* --- 辅助 --- */
    --shadow-color: rgba(49, 66, 144, 0.1); /* 深蓝色的投影 */
}

body {
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- 2. 导航栏 (深蓝底色) --- */
.navbar {
    background: rgba(49, 66, 144, 0.95); /* 深蓝半透明 */
    height: 80px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    transition: 0.3s;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-menu { display: flex; list-style: none; align-items: center; }

.nav-link {
    color: #f1f2ed; /* 导航文字米白 */
    text-decoration: none;
    padding: 0 20px;
    transition: 0.3s;
    font-weight: 500;
}

.nav-link:hover { color: var(--primary-color); /* 悬停变亮黄 */ }

/* 汉堡菜单 */
.menu-toggle { display: none; cursor: pointer; }
.bar { display: block; width: 25px; height: 3px; margin: 5px auto; background-color: #fff; transition: 0.3s; }

/* --- 3. Hero Section (主视觉 - 全屏背景) --- */
.hero-section {
    height: 100vh;
    width: 100%;
    /* 深蓝遮罩 + 背景图 */
    background: linear-gradient(rgba(49, 66, 144, 0.6), rgba(49, 66, 144, 0.1)), url('images/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 80px;
    position: relative;
}

.hero-content h1 {
    font-size: 40pt;
	font-weight: 100;
    margin-bottom: 20px;
    color: #ffffff;
}

.main-btn {
    padding: 15px 40px;
    /* 按钮渐变：砖红 -> 亮黄 */
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(171, 58, 44, 0.4);
}

.main-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(240, 211, 45, 0.5); /* 悬停光晕 */
}

/* 动画 */
.animate-text { opacity: 0; transform: translateY(30px); animation: fadeInUp 0.8s forwards ease-out; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* --- 4. 关于我们 (About Section) --- */
.about-section {
    padding: 80px 0;
    background-color: var(--dark-bg); /* 米白背景 */
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.highlight-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color); /* 砖红高亮，突出重点 */
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color); /* 深蓝字 */
    margin-bottom: 20px;
}

/* --- 5. 精彩亮点 (Events) --- */
.features-section { 
    padding: 80px 0; 
    background-color: var(--section-bg); /* 纯白背景 */
}
.section-title { 
    text-align: center; 
    font-size: 2.5rem; 
    margin-bottom: 60px; 
    color: var(--text-color); 
}

.grid-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }

.card {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: 0.3s;
    /* 浅色投影 */
    box-shadow: 0 5px 15px var(--shadow-color);
    border: 1px solid #eee;
}

.card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 15px 30px rgba(49, 66, 144, 0.15);
    border-bottom: 4px solid var(--primary-color);
}
.card-icon { font-size: 3rem; margin-bottom: 20px; }

/* --- 6. 联系表单 (Contact) --- */
.contact-section { 
    padding: 80px 0; 
    background-color: var(--dark-bg); /* 米白 */
}

.contact-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.form-group { margin-bottom: 20px; }

.form-group label { 
    display: block; 
    margin-bottom: 8px; 
    color: var(--text-color); 
    font-weight: bold; 
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: 2px solid #ddd;
    background: #fdfdfd;
    color: #333;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-color); /* 聚焦变亮黄 */
    background: #fff;
    box-shadow: 0 0 10px rgba(240, 211, 45, 0.3);
}
.submit-btn { width: 100%; margin-top: 10px; }

/* --- 7. 页脚 (Footer) --- */
footer {
    padding: 60px 0 40px;
    background: var(--footer-bg); /* 深蓝 */
    color: var(--dark-bg); /* 米白文字 */
    text-align: center;
}

.social-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #8da4d0; /* 浅蓝图标文字 */
    transition: transform 0.3s ease;
}

.social-item:hover { transform: translateY(-5px); }

.social-item img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 10px;
    background: rgba(255,255,255,0.05);
}

.social-item p { font-size: 0.9rem; margin: 0; color: #f1f2ed; }
.social-item:hover p { color: var(--primary-color); }

.company-info {
    font-size: 0.9rem;
    line-height: 1.8;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.company-name { color: #fff; font-weight: 500; margin-bottom: 10px; }

.icp-info a {
    color: #8da4d0;
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.85rem;
}
.icp-info a:hover { color: var(--primary-color); text-decoration: underline; }

/* --- 8. 响应式适配 --- */
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    
    .nav-menu {
        position: fixed; 
        left: -100%; 
        top: 80px; 
        flex-direction: column;
        background-color: var(--footer-bg); /* 手机菜单使用深蓝 */
        width: 100%; 
        height: calc(100vh - 80px);
        transition: 0.4s; 
        text-align: center;
        border-top: 1px solid rgba(255,255,255,0.05);
    }
    .nav-menu.active { left: 0; }
    .nav-menu li { margin: 25px 0; }
    
    .hero-content h1 { font-size: 2.5rem; }
    .contact-wrapper { padding: 20px; }
    
    .social-group { gap: 15px; }
    .social-item img { width: 70px; height: 70px; }
    .social-item p { font-size: 0.8rem; }
}