/* 全局样式 */
:root {
    --primary-color: #f97316;
    --secondary-color: #ea580c;
    --text-color: #1f2937;
    --light-bg: #fff7ed;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* 导航栏样式 */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
    color: var(--text-color) !important;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* 移动端导航栏样式 */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: #ffffff;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        margin-top: 0.5rem;
    }

    .nav-link {
        color: var(--text-color) !important;
        padding: 0.75rem 1rem !important;
        border-radius: 4px;
    }

    .nav-link:hover {
        background-color: rgba(249, 115, 22, 0.1);
    }

    .navbar-toggler {
        border-color: rgba(0, 0, 0, 0.1);
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }
}

/* 英雄区域样式 */
.hero-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    position: relative;
    overflow: hidden;
    color: white;
    padding: 0;
    margin-top: 76px;
    height: 600px;
    width: 100%;
    display: flex;
    align-items: center;
}

/* 新闻页面英雄区域样式 */
.news-hero {
    height: 400px !important;
    padding: 120px 0 80px !important;
}

.news-hero .container {
    position: relative;
    z-index: 2;
}

.news-hero .row {
    text-align: left;
}

.news-hero .hero-title {
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    font-size: 3rem;
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.news-hero .hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.news-hero .hero-text {
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(249, 115, 22, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(249, 115, 22, 0.1) 0%, transparent 50%);
    z-index: 1;
    animation: gradientAnimation 20s ease infinite;
    will-change: transform;
}

@keyframes gradientAnimation {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 600px;
    padding: 0 15px;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(247, 115, 22, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 1;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-section .container {
    position: relative;
    z-index: 3;
    padding: 80px 0;
}

.min-vh-75 {
    min-height: 75vh;
}

.badge-pill {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(247, 115, 22, 0.1);
    border: 1px solid rgba(247, 115, 22, 0.2);
    border-radius: 50px;
}

.badge-text {
    color: #f97316;
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn-gradient {
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    border: none;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    color: white;
}

.btn-gradient i {
    transition: transform 0.3s ease;
}

.btn-gradient:hover i {
    transform: translateX(5px);
}

.hero-image {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.globe-container {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.globe-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: float 6s ease-in-out infinite;
}

.globe {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('../img/world-map.png') no-repeat center center;
    background-size: contain;
    opacity: 0.8;
    animation: rotate 20s linear infinite;
}

.globe-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(247, 115, 22, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    animation: pulse 4s ease-in-out infinite;
}

.hero-cards {
    position: absolute;
    display: flex;
    gap: 1.5rem;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.card-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(247, 115, 22, 0.1);
    border-radius: 50%;
}

.card-icon i {
    font-size: 1.5rem;
    color: #f97316;
}

.feature-card h3 {
    color: white;
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

.hero-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}

.hero-shape svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

/* 响应式调整 */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-text {
        font-size: 1.1rem;
    }
    
    .globe-container {
        width: 300px;
        height: 300px;
    }
    
    .hero-cards {
        position: relative;
        bottom: 0;
        margin-top: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section .container {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .hero-cards {
        flex-direction: column;
        gap: 1rem;
    }
    
    .globe-container {
        width: 250px;
        height: 250px;
        margin-top: 2rem;
    }
}

.hero-banner {
    background-color: var(--primary-color);
}

.hero-banner .fas {
    color: #fff;
    opacity: 0.9;
    transition: transform 0.3s ease;
}

.hero-banner .col-md-3:hover .fas {
    transform: translateY(-10px);
}

.hero-section h1 {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.btn-primary {
    background: #f97316;
    border-color: #f97316;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #fb923c;
    border-color: #fb923c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(249, 115, 22, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* 快递查询区域样式 */
.tracking-form {
    max-width: 600px;
    margin: 0 auto;
    transition: transform 0.3s ease;
    background: #fff;
}

.tracking-form .form-control {
    height: 60px;
    font-size: 1.1rem;
    border-width: 2px;
}

.tracking-form .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

/* 页脚样式 */
footer {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

/* 社交链接样式 */
.social-links a {
    transition: transform 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    transform: translateY(-3px);
}

/* 动画效果 */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* 新闻区域样式 */
.news-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #fff 0%, #f8f9fa 100%);
}

.section-header {
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(247, 115, 22, 0.1);
    color: #f97316;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.news-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
}

.news-category {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #f97316;
}

.news-content {
    padding: 30px;
    position: relative;
}

.news-date {
    position: absolute;
    top: -50px;
    right: 20px;
    background: #f97316;
    color: white;
    padding: 10px 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(249, 115, 22, 0.3);
}

.news-date .day {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    display: block;
}

.news-date .month {
    font-size: 0.8rem;
    opacity: 0.9;
}

.news-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.news-excerpt {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.read-more {
    color: #f97316;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 0.8rem;
    color: #f97316;
}

.news-meta {
    display: flex;
    gap: 1rem;
    color: #999;
    font-size: 0.9rem;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: flex;
    gap: 20px;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateX(5px);
}

.news-item-date {
    min-width: 60px;
    text-align: center;
    padding: 10px;
    background: rgba(247, 115, 22, 0.1);
    border-radius: 10px;
    color: #f97316;
}

.news-item-date .day {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
    display: block;
}

.news-item-date .month {
    font-size: 0.8rem;
    opacity: 0.9;
}

.news-item-content {
    flex: 1;
}

.news-item-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0.5rem 0;
    line-height: 1.4;
}

.news-item-excerpt {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.news-item-link {
    color: #f97316;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.news-item-link:hover {
    gap: 0.8rem;
    color: #f97316;
}

/* 响应式调整 */
@media (max-width: 991.98px) {
    .news-section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-image {
        height: 250px;
    }
}

@media (max-width: 767.98px) {
    .news-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .news-item {
        flex-direction: column;
        gap: 15px;
    }
    
    .news-item-date {
        align-self: flex-start;
    }
}

/* 查询和登录区域 */
.search-login-section {
    background-color: #f8f9fa;
}

.search-login-section .card {
    transition: transform 0.3s ease;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.search-login-section .card-body {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(248, 249, 250, 0.95));
    border-radius: inherit;
}

.search-login-section .form-control {
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.search-login-section .form-control:focus {
    background-color: #fff;
}

.search-login-section .card-title {
    color: var(--text-color);
    font-weight: 500;
}

.search-login-section .btn-primary {
    padding: 0.8rem 2rem;
}

.search-login-section .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* 查询结果样式 */
.tracking-timeline {
    position: relative;
    padding: 20px 0;
}

.tracking-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 20px;
}

.tracking-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #f97316;
    z-index: 1;
}

.tracking-item::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 12px;
    width: 2px;
    height: calc(100% + 8px);
    background-color: #e5e7eb;
}

.tracking-item:last-child::after {
    display: none;
}

.tracking-time {
    margin-bottom: 5px;
}

.tracking-time .date {
    font-weight: 600;
    color: #1f2937;
}

.tracking-time .time {
    font-size: 0.875rem;
    color: #6b7280;
}

.tracking-content {
    background-color: #f9fafb;
    padding: 12px;
    border-radius: 8px;
}

.tracking-content .status {
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 4px;
}

.tracking-content .location {
    font-size: 0.875rem;
    color: #6b7280;
}

.no-result {
    text-align: center;
    padding: 20px;
    color: #6b7280;
}

/* Toast 消息样式 */
.toast {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    margin-bottom: 10px;
    min-width: 300px;
}

.toast.success .toast-header {
    background-color: #10b981;
    color: white;
    border-bottom: none;
}

.toast.error .toast-header {
    background-color: #ef4444;
    color: white;
    border-bottom: none;
}

.toast .btn-close {
    filter: brightness(0) invert(1);
}

.toast-body {
    padding: 12px;
    color: #1f2937;
}

/* 加载动画样式 */
.spinner-border {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .tracking-timeline {
        padding: 15px 0;
    }
    
    .tracking-item {
        padding-left: 25px;
    }
    
    .tracking-content {
        padding: 10px;
    }
    
    .toast {
        min-width: 250px;
    }
}

.network-item {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #ffe0cc;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.network-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,107,0,0.1) 0%, rgba(255,107,0,0) 100%);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1;
}

.network-item:hover {
    transform: translateY(-10px);
    border-color: #f97316;
    box-shadow: 0 15px 30px rgba(255,107,0,0.1);
    background: #fff !important;
}

.network-item:hover::before {
    opacity: 1;
}

.network-item h4 {
    color: #2c3e50 !important;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.network-item:hover h4 {
    color: #2c3e50 !important;
} 

.footer-contact-info {
    margin-top: 20px;
}

.footer-contact-info .contact-item {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    position: relative;
}

.footer-contact-info .contact-item i {
    color: #FF6B00;
    font-size: 18px;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.footer-contact-info .contact-item span {
    color: #fff;
    font-size: 16px;
}

.footer-contact-info .service-time {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
    margin-left: 30px;
    display: block;
}

.text-primary {
    color: #FF6B00 !important;
} 