 /* 全局样式 */
:root {
	--primary-blue: #1a4a9c;
	--secondary-blue: #2d6bc6;
	--light-blue: #e8f1ff;
	--accent-gold: #d4af37;
	--dark-text: #333333;
	--light-text: #666666;
	--white: #ffffff;
	--gray-bg: #f5f7fa;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Microsoft YaHei", "SimHei", sans-serif;
}

body {
	background-color: var(--gray-bg);
	color: var(--dark-text);
	line-height: 1.6;
}

a {
	text-decoration: none;
	color: inherit;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}


  /* 顶部区域 */
.top-bar {
	background-color: var(--primary-blue);
	color: var(--white);
	padding: 8px 0;
	font-size: 14px;
}

.top-bar-content {
	display: flex;
	justify-content: space-between;
}

.top-links a {
	margin-right: 15px;
}

.top-links a:hover {
	text-decoration: underline;
}

/* 头部区域 */
header {
	background-image: url(../cloud.jpg);
	height:300px;
	background-color: var(--white);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 30px 0;
}

.logo-area {
	display: flex;
	align-items: center;
}

.logo {
	width: 70px;
	height: 70px;
	background-color: var(--primary-blue);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 15px;
	color: var(--white);
	font-weight: bold;
	font-size: 14px;
	text-align: center;
}

.site-title h1 {
	margin-left:20px;
	font-size: 38px;
	color: #ca0505;
	margin-bottom: 5px;
	text-shadow: 
	0 0 4px white,
	0 0 4px white,
	0 0 4px white,
	0 0 4px white,
	0 0 4px white,
	0 0 4px white,
	0 0 4px white,
	0 0 4px white; 
}

.site-title p {
	letter-spacing: 0.4em;
	margin-left:20px;
	font-size: 20px;
	color: #ca0505;
	text-shadow: 
	0 0 2px white,
	0 0 2px white,
	0 0 2px white,
	0 0 2px white,
	0 0 2px white,
	0 0 2px white,
	0 0 2px white,
	0 0 2px white; 
}

.search-box {
	display: flex;
}

.search-box input {
	padding: 8px 12px;
	border: 1px solid #ddd;
	border-right: none;
	border-radius: 4px 0 0 4px;
	width: 250px;
}

.search-box button {
	background-color: var(--primary-blue);
	color: var(--white);
	border: none;
	padding: 0 15px;
	border-radius: 0 4px 4px 0;
	cursor: pointer;
}

/* 导航菜单 */
nav {
	background-color: var(--secondary-blue);
}

.nav-menu {
	display: flex;
	list-style: none;
}

.nav-menu li {
	position: relative;
}

.nav-menu a {
	display: block;
	padding: 15px 20px;
	color: var(--white);
	font-size: 16px;
	font-weight: bold;
	transition: background-color 0.3s;
}

.nav-menu a:hover {
	background-color: rgba(255, 255, 255, 0.1);
}

.nav-menu .active a {
	background-color: var(--accent-gold);
}

/* 底部区域 */
footer {
	background-color: var(--primary-blue);
	color: var(--white);
	padding: 40px 0;
	padding-bottom: 0px;
}

.footer-content {
	display: flex;
	justify-content: space-between;
}

.footer-column {
	flex: 1;
}

.footer-column h3 {
	font-size: 24px;
	margin-bottom: 15px;
	color: var(--accent-gold);
}

.footer-links {
	list-style: none;
}

.footer-links li {
	margin-bottom: 8px;
}

.footer-links a:hover {
	text-decoration: underline;
}

.footer-qr {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.footer-qr img {
	width: 120px;
	height: 120px;
	border-radius: 4px;
	background-color: white;
	padding: 5px;
}

.footer-qr p {
	font-size: 14px;
	text-align: center;
}

.copyright {
	text-align: center;
	margin-top: 10px;
	padding: 10px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 14px;
	color: rgba(255, 255, 255, 0.7);
}

/* 口号样式 */
.slogan {
    font-size: 46px;
    font-weight: bold;
    color: #ca0505;
    text-shadow: 
        0 0 4px white,
        0 0 4px white,
        0 0 4px white,
        0 0 4px white,
        0 0 4px white,
        0 0 4px white,
        0 0 4px white,
        0 0 4px white; 
    margin-top: 10px;
    letter-spacing: 10px;
    text-align: center;
    padding: 5px;
}

.slogan span {
    display: inline-block;
    animation: sloganFloat 6s ease-in-out infinite;
}


@keyframes sloganFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-5px) rotate(0.5deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(5px) rotate(-0.5deg);
    }
}
