@charset "utf-8";
/* CSS Document */

@font-face {
    font-family: 'Montserrat';
    src: url('../libs/ghostyle/font/Montserrat.ttf');
}
@font-face {
    font-family: 'Oswald';
    src: url('../libs/ghostyle/font/Oswald.ttf');
}

:root {
    --primary-red: #C41E3A;
    --primary-red-dark: #8B0000;
    --primary-red-light: #DC143C;
    --gold: #D4AF37;
    --gold-light: #F4D03F;
    --dark-bg: rgba(0, 0, 0, 0.7);
    --dark-bg-light: rgba(0, 0, 0, 0.5);
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', 'Oswald', 'Microsoft YaHei', sans-serif;
}

.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.3) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(196, 30, 58, 0.2) 100%);
}

.navbar-custom {
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 4px 20px rgba(139, 0, 0, 0.3);
    background-image: linear-gradient(80deg,
    rgba(92, 9, 0, 0.75),
    rgba(253, 76, 92, 0.75),
    rgba(142, 31, 32, 0.75),
    rgba(92, 9, 0, 0.75),
    rgba(92, 9, 0, 0.75),
    rgba(92, 9, 0, 0.75),
    rgba(92, 9, 0, 0.75)
    );

}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-brand img {
    height: 60px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    letter-spacing: 2px;
}

.brand-subtitle {
    font-size: 12px;
    color: var(--gold);
    letter-spacing: 3px;
}

.nav-item {
    position: relative;

}

.nav-link {
    color: #fff !important;
    font-size: 15px;
    letter-spacing: 1px;
    padding: 15px 20px !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: var(--gold);
    transition: left 0.3s ease;
}

.nav-link:hover::before {
    left: 0;
}

.nav-link:hover {
    color: var(--gold) !important;
    background: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    color: var(--gold) !important;
    background: rgba(255, 255, 255, 0.15);
}

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 150px 0 100px;
}

.hero-content {
    text-align: center;
    color: #fff;
    z-index: 1;
}

.hero-title {
    font-size: 56px;
    font-weight: bold;
    letter-spacing: 8px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 24px;
    letter-spacing: 6px;
    color: var(--gold);
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.3s;
    animation-fill-mode: both;
}

.hero-divider {
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0 auto 40px;
    animation: fadeIn 1s ease 0.6s;
    animation-fill-mode: both;
}

.hero-desc {
    font-size: 18px;
    line-height: 2;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.8s;
    animation-fill-mode: both;
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold);
    animation: bounce 2s infinite;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.content-section {
    position: relative;
    background: rgba(255, 255, 255, 0.8);
    padding-top: 50px;
}

.section-title {
    text-align: center;
    color: #333;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 32px;
    letter-spacing: 4px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    color: var(--primary-red);
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gold);
}

.card-custom {
    background: #fff;
    border: 1px solid rgba(196, 30, 58, 0.2);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.4s ease;

    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.card-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-red), var(--gold));
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.card-custom:hover::before {
    transform: scaleY(1);
}

.card-custom:hover {
    transform: translateY(-10px);
    border-color: var(--primary-red);
    box-shadow: 0 15px 35px rgba(196, 30, 58, 0.15);
}

.card-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    border-radius: 10px;
    transition: all 0.4s ease;
    position: relative;
}

.card-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    border-top: 3px solid var(--gold);
    border-right: 3px solid var(--gold);
    transition: all 0.4s ease;
}

.card-custom:hover .card-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--gold), #D4AF37);
}

.card-icon i {
    font-size: 35px;
    color: #fff;
}

.card-custom:hover .card-icon i {
    color: var(--primary-red);
}

.card-title {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.card-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.card-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-red);
    font-size: 12px;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border: 1px solid var(--primary-red);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.card-more:hover {
    color: #fff;
    background: var(--primary-red);
    border-color: var(--primary-red);
    text-decoration: none;
}

.card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-list li {
    padding: 0;
    border-bottom: 1px solid rgba(196, 30, 58, 0.1);
    transition: all 0.3s ease;
}

.card-list li:last-child {
    border-bottom: none;
}

.card-list li a {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    padding: 12px 0;
    color: #333;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.card-list .news-title {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.5;
}

.card-list li a:hover {
    padding-left: 10px;
    text-decoration: none;
}

.card-list li a:hover .news-title {
    color: var(--primary-red);
}

.card-list .date {
    color: var(--gold);
    font-size: 12px;
    flex-shrink: 0;
    white-space: nowrap;
}

.footer {
    background: rgba(196, 30, 58, 0.95);
    padding: 40px 0 20px;
    border-top: 2px solid var(--gold);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.footer-logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo-img {
    height: 55px;
    max-width: 100%;
}

.footer-contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
}

.contact-item i {
    color: var(--gold);
    font-size: 16px;
    flex-shrink: 0;
}

.contact-item span {
    word-break: break-word;
}

/* 平板及以上设备 */
@media (min-width: 768px) {
    .footer {
        padding: 50px 0 25px;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .footer-logo-img {
        height: 65px;
    }
    
    .footer-contact-section {
        flex-direction: row;
        justify-content: center;
        gap: 35px;
    }
    
    .contact-item {
        font-size: 15px;
    }
}

/* 桌面设备 */
@media (min-width: 992px) {
    .footer {
        padding: 60px 0 30px;
    }
    
    .footer-logo-img {
        height: 70px;
    }
    
    .footer-contact-section {
        gap: 50px;
    }
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    margin-top: 30px;
}

.footer-bottom p {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    margin: 0;
    letter-spacing: 1px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gold);
    color: var(--primary-red);
    transform: translateY(-5px);
}

.mobile-nav-toggle {
    color: #fff;
    font-size: 24px;
    border: none;
    background: none;
}

.side-nav {
    position: fixed;
    left: -300px;
    top: 0;
    width: 300px;
    height: 100vh;
    background: rgba(196, 30, 58, 0.98);
    backdrop-filter: blur(10px);
    z-index: 2000;
    transition: left 0.4s ease;
    padding-top: 20px;
}

.side-nav.active {
    left: 0;
}

.side-nav .nav-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 30px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 15px;
}

.side-nav .nav-link i {
    flex-shrink: 0;
    width: 24px;
    text-align: left;
}

.side-nav .bg-red {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
    margin-bottom: 10px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    display: none;
}

.overlay.active {
    display: block;
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 32px;
        letter-spacing: 4px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
}

.glow-effect {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    }
    to {
        text-shadow: 0 0 20px rgba(212, 175, 55, 0.8), 0 0 30px rgba(212, 175, 55, 0.5);
    }
}

/* Footer Video Section */
.footer-video-section {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 400px;
    overflow: hidden;
}

.footer-video-section video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}


/* 首页小轮播图样式 */
.carousel {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.carousel-inner {
    width: 100%;
    position: relative;
}

.carousel-item {
    position: relative;
}

.carousel-item img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 轮播图标题区域 */
.carousel-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6), transparent);
    padding: 60px 20px 20px;
    text-align: left;
}

.carousel-title h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px !important;
    height: 40px !important;
    background: rgba(0, 0, 0, 0.4) !important;
    border-radius: 50% !important;
    margin: auto 10px !important;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(196, 30, 58, 0.8) !important;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .carousel-control-prev,
    .carousel-control-next {
        width: 30px !important;
        height: 30px !important;
    }
}

/* 友情链接样式 */
.links-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    padding: 5px 0;
}

.link-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(196, 30, 58, 0.12);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

.link-item img {
    display: block;
    height: 100px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: grayscale(30%) opacity(0.85);
}

.link-item:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--primary-red);
    box-shadow: 0 4px 16px rgba(196, 30, 58, 0.15);
    transform: translateY(-3px);
}

.link-item:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .links-grid {
        gap: 10px;
    }
    
    .link-item {
        padding: 8px;
    }

    .link-item img {
        height: 38px;
    }
}




#subpage {
    margin-top: 80px;
    padding-top: 20px;
    padding-bottom: 60px;
    background: rgba(255, 255, 255, 0.8);
    min-height: 100vh;

}

/* 面包屑导航 */
.breadcrumb-nav {
    margin-bottom: 30px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    border: 1px solid rgba(196, 30, 58, 0.1);
}

.breadcrumb {
    margin-bottom: 0;
    background: transparent;
    padding: 0;
}

.breadcrumb-item {
    display: inline-block;
    color: #666;
    font-size: 14px;
}

.breadcrumb-item a {
    color: var(--primary-red);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--gold);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: #999;
    padding: 0 10px;
}

.breadcrumb-item.active {
    color: var(--gold);
}

/* 文章列表区域 */
.article-list-section {
    margin-bottom: 30px;
}

/* 二级页面卡片去掉左侧 hover 边框线效果 */
#subpage .card-custom::before {
    display: none;
}

#subpage .card-custom:hover {
    transform: none;
    border-color: rgba(196, 30, 58, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}









