/* ========================================
   睿拓拓网络 - 首页专用样式
======================================== */

/* Hero Banner */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(10,10,10,0.85) 0%, rgba(26,26,26,0.75) 100%),
                url('../images/banner.jpg') center/cover no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(10,10,10,0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 20px;
    letter-spacing: 8px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.8),
                 0 0 30px rgba(139, 26, 26, 0.5);
    animation: fadeInUp 1s ease forwards;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-silver);
    margin-bottom: 40px;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* 优势板块 */
.advantages {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--color-black) 0%, var(--color-dark) 100%);
    position: relative;
}

.advantages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern-bg.png') repeat;
    opacity: 0.05;
}

.advantage-card {
    background: linear-gradient(145deg, var(--color-darker) 0%, var(--color-dark) 100%);
    border: 1px solid var(--color-darker);
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-red-dark), var(--color-red), var(--color-red-dark));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.advantage-card:hover::before {
    transform: scaleX(1);
}

.advantage-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-red);
    box-shadow: 0 15px 40px rgba(139, 26, 26, 0.3);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    object-fit: contain;
}

.advantage-card h3 {
    color: var(--color-silver);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.advantage-card p {
    color: var(--color-gray);
    line-height: 1.8;
}

/* 快速入口 */
.quick-access {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--color-dark) 0%, var(--color-black) 100%);
}

.access-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.access-item {
    position: relative;
    height: 280px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.access-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.access-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10,10,10,0.3) 0%, rgba(139,26,26,0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    transition: all 0.4s ease;
}

.access-item:hover .access-image {
    transform: scale(1.1);
}

.access-title {
    color: var(--color-white);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.access-desc {
    color: var(--color-silver);
    font-size: 0.95rem;
    opacity: 0.9;
}

@media (max-width: 992px) {
    .access-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .access-grid {
        grid-template-columns: 1fr;
    }
}

/* 服务项目 */
.services {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--color-black) 0%, var(--color-darker) 100%);
}

.service-card {
    background: linear-gradient(145deg, var(--color-darker) 0%, var(--color-dark) 100%);
    border: 1px solid var(--color-darker);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-red);
    box-shadow: 0 10px 30px rgba(139, 26, 26, 0.3);
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-content {
    padding: 25px;
}

.service-card h3 {
    color: var(--color-silver);
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--color-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    color: var(--color-red-bright);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 12px;
}

/* 资讯中心 */
.news-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--color-darker) 0%, var(--color-black) 100%);
}

.news-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.news-tab {
    padding: 10px 25px;
    background: var(--color-darker);
    color: var(--color-gray);
    border: 1px solid var(--color-darker);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.news-tab:hover,
.news-tab.active {
    background: var(--color-red);
    color: var(--color-white);
    border-color: var(--color-red-bright);
}

.news-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .news-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .news-list {
        grid-template-columns: 1fr;
    }
}

/* CTA 板块 */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-red-dark) 0%, var(--color-red) 100%);
    text-align: center;
}

.cta-title {
    color: var(--color-white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-text {
    color: var(--color-silver);
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    background: var(--color-black);
    color: var(--color-white);
    padding: 15px 40px;
    font-size: 1.1rem;
    border: 2px solid var(--color-black);
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}
