/* 全局基础样式 */
body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
}


header {
    text-align: center;
    background-color: #00796b;
    color: white;
    padding: 5px 0;
    border-radius: 8px;
    text-shadow: 0 0 6px rgba(243, 4, 24, 0.8), 0 0 8px rgba(124, 136, 220, 0.5);
}

h1 {
    font-size: 2.5rem;
    margin: 0;
    font-weight: bold;
}

.items-section, .contacts-section {
    margin-top: 5px;
}

.item-box, .contact-box {
    background: linear-gradient(145deg, #f0fcf5, #e8f5e9); /* 柔和渐变背景 */
    border: 1px solid #b2dfdb; /* 边框颜色柔和 */
    border-radius: 10px; /* 边角更圆润 */
    margin-top: 5px;
    padding: 10px;
    position: relative; /* 为伪元素定位做准备 */
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
    overflow: hidden; /* 隐藏溢出的光效 */
}

.item-box:hover, .contact-box:hover {
    transform: translateY(-2px); /* 悬停时稍微上移 */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.08); /* 阴影增强 */
}

/* 添加动态光泽效果 */
.item-box::after, .contact-box::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 60%);
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: shimmer 2s infinite;
    z-index: 1;
}

/* 动态光泽动画 */
@keyframes shimmer {
    0% {
        transform: translate(-50%, -50%) rotate(45deg);
        opacity: 0.1;
    }
    50% {
        transform: translate(0, 0) rotate(45deg);
        opacity: 0.3;
    }
    100% {
        transform: translate(50%, 50%) rotate(45deg);
        opacity: 0.1;
    }
}

.item-box:hover::after, .contact-box:hover::after {
    opacity: 0.5; /* 悬停时光泽更明显 */
}

/* 文字发光效果 */
.item-box h3, .contact-box a {
    color: #00796b;
    font-weight: bold;
}

.item-box p {
    color: #555;
    font-size: 0.9rem;
}

/* 调整主容器高度 */
.main-container {
    display: flex;
    flex-direction: column;
    height: 100vh; /* 视口高度 */
    padding: 5px;
}

/* 调整浮动按钮位置 */
.floating-buttons {
    position: fixed;
    bottom: 20px; /* 移动到底部 */
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

/* 响应式设计 */
@media (min-width: 1600px) {
    .main-container {
        padding: 5px;
    }

    .floating-buttons {
        bottom: 40px;
    }
}
/* 底部联系方式样式 */
#contacts-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.contact-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 30px;
    border-radius: 10px;
    background-color: #00796b;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: white;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s, background-color 0.3s;
}

.contact-box img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.contact-box span {
    white-space: nowrap;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 0 6px rgba(0, 255, 128, 0.8), 0 0 8px rgba(0, 255, 128, 0.5);
    color: black;
}

.contact-box:hover {
    transform: scale(1.1);
    background-color: #005d4a;
}
.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #00796b;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: white;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s, background-color 0.3s;
}

.floating-btn img {
    width: 24px;
    height: 24px;
}

.floating-btn span {
    position: absolute;
    right: 60px;
    white-space: nowrap;
    font-size: 14px;
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 5px 10px;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s;
}

.floating-btn:hover {
    transform: scale(1.1);
    background-color: #005d4a;
}

.floating-btn:hover span {
    opacity: 1;
}
.item-box:hover, .contact-box:hover {
    background: #c8e6c9;
}

.item-box h3, .contact-box a {
    color: #00796b;
    margin: 0;
    font-size: 1.2rem;
}

.item-box p {
    margin: 0px;
    color: #555;
    font-size: 1rem;
}

.contact-box a {
    text-decoration: none;
    font-weight: bold;
}

.contact-box a:hover {
    color: #004d40;
    text-decoration: underline;
}

.highlight-title {
    text-align: center;
    font-size: 1.8rem;
    color: #ff5722;
    margin: 10px 0;
    font-weight: bold;
    text-shadow: 0 0 6px rgba(0, 255, 128, 0.8), 0 0 8px rgba(0, 255, 128, 0.5);
}

.description {
    font-size: 0.95rem;
    text-align: center;
    color: #666;
    margin-top: 5px;
}

.description a {
    color: #00796b;
    text-decoration: none;
    font-weight: bold;
}

.description a:hover {
    color: #004d40;
    text-decoration: underline;
}
