/* 基础样式 */


*:hover {
    cursor: url('https://www.skyfurry.top/cur/lc.cur'), auto !important;
}

a:hover {
  cursor: url('https://www.skyfurry.top/cur/lc-link.cur'), auto !important;
}
:root {
    --primary-color: #4a6fa5;
    --secondary-color: #ff7e5f;
    --dark-color: #333;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --white-color: #fff;
    --black-color: #000;
    --overlay-color: rgba(0, 0, 0, 0.7);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    margin: 0;
    min-height: 100vh;
    display: grid;
    grid-template-rows: 1fr auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background-color: #3a5a8f;
    transform: translateY(-2px);
}

/* 导航栏样式 */
.navbar {
    background-color: var(--white-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.nav-list {
    display: flex;
}

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

.nav-list a {
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--secondary-color);
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* 轮播图样式 */
.slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin-top: 70px;
}

.slides-container {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 10; /* 低于文字盒子但高于其他元素 */
}
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.fixed-caption {
    position: absolute;
    left: 50%;
    bottom: 80px;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background-color: rgba(0, 0, 0, 0.507);
    color: white;
    padding: 20px 30px;
    border-radius: 8px;
    z-index: 20;
    pointer-events: none;
    text-align: center;
}

.fixed-caption h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.fixed-caption p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.slide-content {
    position: absolute;
    bottom: 100px;
    left: 50px;
    max-width: 600px;
    background-color: var(--overlay-color);
    color: var(--white-color);
    padding: 30px;
    border-radius: 5px;
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.8s ease;
}

.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.slide-content p {
    font-size: 1.2rem;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
}

.slider-controls button {
    background-color: rgba(53, 66, 73, 0.781);
    color: var(--white-color);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    margin: 0 20px;
}

.slider-controls button:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dots .dot.active {
    background-color: var(--white-color);
    transform: scale(1.2);
}

/* 相册区域样式 */
.albums-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

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

.album-card {
    position: relative;
    height: 350px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

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

.album-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.album-card:hover .album-bg {
    transform: scale(1.1);
}

.album-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--white-color);
    transform: translateY(100%);
    transition: var(--transition);
}

.album-card:hover .album-info {
    transform: translateY(0);
}

.album-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.album-info p {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* 页脚样式 */
.footer {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    margin-right: 10px;
}

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

.footer-links a {
    transition: var(--transition);
}

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

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: var(--gray-color);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .slider {
        height: 400px;
    }
    
    .slide-content {
        left: 30px;
        bottom: 80px;
        padding: 20px;
    }
    
    .slide-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-list {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--white-color);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.4s ease;
    }
    
    .nav-list.active {
        transform: translateY(0);
    }
    
    .nav-list li {
        margin: 15px 0;
    }
    
    .slider {
        height: 350px;
    }
    
    .slide-content {
        left: 20px;
        bottom: 60px;
        max-width: 80%;
    }
    
    .slide-content h2 {
        font-size: 1.8rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .albums-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .album-card {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .slider {
        height: 300px;
    }
    
    .slide-content {
        left: 15px;
        bottom: 40px;
        padding: 15px;
    }
    
    .slide-content h2 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .albums-grid {
        grid-template-columns: 1fr;
    }
}

/* 无数据提示样式 */
.no-data-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    font-size: 1.5rem;
    color: var(--gray-color);
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .no-data-message {
        font-size: 1.2rem;
        padding: 40px 20px;
    }
}

/* 相册信息始终可见 */
.album-info.always-visible {
    transform: translateY(0) !important;
    opacity: 1 !important;
}

/* 相册卡片调整 */
.album-card {
    position: relative;
    height: 350px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.album-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.album-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--white-color);
    transition: var(--transition);
}

.slide-content {
    position: absolute;
    bottom: 100px;
    left: 50px;
    max-width: 600px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 30px;
    border-radius: 5px;
    transition: all 0.8s ease;
    opacity: 1; /* 确保初始可见 */
}

/* 响应式调整 */
@media (max-width: 768px) {
    .slide-content {
        left: 20px;
        bottom: 60px;
        padding: 20px;
        max-width: 80%;
    }
}

.youqing_link a{
    display: inline-block;
    margin-right: 8px;
    margin-bottom: 3px;
    line-height: 18px;
}

.footer-link {
    text-align: center;
    padding-top: 20px;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.beian {
    display: inline;
    width: 18px;
    margin-bottom: -4px;
}