/* ========================================
   武汉伴游网 - 粉红风格主题样式
   域名: www.5941by.cn
   版本: 2.0
   ======================================== */

/* === CSS Reset & Base === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    background: #fff0f5;
    color: #333;
    line-height: 1.8;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* === 渐变背景动画 === */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #fff0f5 0%, #ffe4ec 25%, #ffd6e7 50%, #ffe4ec 75%, #fff0f5 100%);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    z-index: -2;
}
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* === 花瓣飘落动画 === */
.petal {
    position: fixed;
    width: 12px; height: 12px;
    background: radial-gradient(circle, #ffb6c1, #ff69b4);
    border-radius: 50% 0 50% 50%;
    opacity: 0.6;
    z-index: -1;
    animation: fall linear infinite;
    pointer-events: none;
}
@keyframes fall {
    0% { transform: translateY(-10vh) rotate(0deg); opacity: 0.8; }
    100% { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}

/* === 顶部导航 === */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    box-shadow: 0 2px 30px rgba(255, 105, 180, 0.3);
    transition: all 0.3s ease;
}
.header.scrolled {
    background: rgba(0, 0, 0, 0.96);
    box-shadow: 0 4px 40px rgba(255, 105, 180, 0.4);
}
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}
.logo img {
    height: 45px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}
.nav-menu { display: flex; align-items: center; gap: 5px; }
.nav-menu a {
    color: #fff;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}
.nav-menu a:hover, .nav-menu a.active {
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.4);
}
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}
.nav-toggle span {
    width: 25px; height: 3px;
    background: #ff69b4;
    border-radius: 3px;
    transition: 0.3s;
}

/* === Hero Banner === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 60px;
    position: relative;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, transparent 100%);
}
.hero-content { max-width: 800px; }
.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ff69b4, #ff1493, #ff69b4);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
    margin-bottom: 20px;
    text-shadow: none;
}
@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}
.hero p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 35px;
    line-height: 2;
}
.hero-btns { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 35px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}
.btn-primary {
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    color: #fff;
    box-shadow: 0 6px 25px rgba(255, 20, 147, 0.4);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(255, 20, 147, 0.5);
}
.btn-outline {
    background: transparent;
    color: #ff1493;
    border: 2px solid #ff69b4;
}
.btn-outline:hover {
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    color: #fff;
    transform: translateY(-3px);
}

/* === 通用区块 === */
.section {
    padding: 80px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ff69b4, #ff1493);
    border-radius: 2px;
}
.section-title p {
    color: #888;
    font-size: 1rem;
    margin-top: 20px;
}

/* === 服务卡片 === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.service-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 105, 180, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, #ff69b4, #ff1493, #ff69b4);
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(255, 105, 180, 0.2);
}
.service-icon {
    width: 80px; height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #fff0f5, #ffe4ec);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}
.service-card h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 12px;
}
.service-card p {
    color: #777;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* === 文章列表 === */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}
.article-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 105, 180, 0.08);
}
.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255, 105, 180, 0.15);
}
.article-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid #ff69b4;
}
.article-body {
    padding: 25px;
}
.article-body h3 {
    font-size: 1.15rem;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.6;
    transition: color 0.3s;
}
.article-card:hover .article-body h3 { color: #ff1493; }
.article-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 12px;
}
.article-body p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #ff69b4;
    font-size: 0.9rem;
    margin-top: 12px;
    font-weight: 500;
}
.read-more:hover { color: #ff1493; gap: 10px; }

/* === 栏目页头部 === */
.page-banner {
    padding: 120px 0 60px;
    text-align: center;
    background: linear-gradient(135deg, rgba(255,105,180,0.08), rgba(255,20,147,0.05));
}
.page-banner h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
}
.page-banner .breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #999;
}
.page-banner .breadcrumb a { color: #ff69b4; }
.page-banner .breadcrumb a:hover { text-decoration: underline; }

/* === 文章详情页 === */
.article-detail {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 50px;
    margin: -30px auto 60px;
    max-width: 900px;
    box-shadow: 0 10px 40px rgba(255,105,180,0.1);
    position: relative;
    z-index: 10;
}
.article-detail h1 {
    font-size: 1.8rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
}
.article-detail .meta {
    display: flex;
    gap: 20px;
    color: #999;
    font-size: 0.9rem;
    padding-bottom: 20px;
    border-bottom: 1px solid #ffe4ec;
    margin-bottom: 30px;
}
.article-detail .content { font-size: 1rem; line-height: 2; color: #555; }
.article-detail .content p { margin-bottom: 20px; }
.article-detail .content h2 {
    font-size: 1.4rem;
    color: #333;
    margin: 30px 0 15px;
    padding-left: 15px;
    border-left: 4px solid #ff69b4;
}
.article-detail .content img {
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* === 关于我们 === */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-text h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 20px;
}
.about-text p {
    color: #666;
    line-height: 2;
    margin-bottom: 15px;
}
.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(255,105,180,0.15);
}
.about-image img { width: 100%; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}
.stat-item {
    text-align: center;
    background: rgba(255,255,255,0.9);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(255,105,180,0.1);
}
.stat-item .number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-item .label { color: #888; font-size: 0.9rem; margin-top: 5px; }

/* === 联系我们 === */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.contact-card {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(255,105,180,0.1);
}
.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255,105,180,0.15);
}
.contact-card .icon {
    width: 70px; height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #fff;
}
.contact-card h3 { font-size: 1.2rem; color: #333; margin-bottom: 10px; }
.contact-card p { color: #666; font-size: 0.95rem; }
.contact-card .copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 15px;
    padding: 8px 20px;
    background: linear-gradient(135deg, #fff0f5, #ffe4ec);
    border: 1px solid #ffb6c1;
    border-radius: 25px;
    color: #ff1493;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
}
.contact-card .copy-btn:hover {
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    color: #fff;
    border-color: transparent;
}

/* === 悬浮按钮 === */
.float-buttons {
    position: fixed;
    right: 20px;
    bottom: 30%;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.float-btn {
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    border: none;
    position: relative;
    font-size: 24px;
}
.float-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 30px rgba(255,105,180,0.4);
}
.float-btn.phone {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: #fff;
    animation: pulse 2s infinite;
}
.float-btn.wechat {
    background: linear-gradient(135deg, #07C160, #06ad56);
    color: #fff;
}
.float-btn.qq {
    background: linear-gradient(135deg, #12B7F5, #0d9fdd);
    color: #fff;
}
.float-btn.top {
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    color: #fff;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
}
.float-btn.top.show { opacity: 1; pointer-events: auto; }
@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(76,175,80,0.3); }
    50% { box-shadow: 0 4px 30px rgba(76,175,80,0.6); }
}

/* 悬浮按钮弹窗 */
.float-popup {
    display: none;
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    min-width: 220px;
    text-align: center;
    z-index: 1000;
    animation: popIn 0.3s ease;
}
.float-popup.show { display: block; }
@keyframes popIn {
    from { opacity: 0; transform: translateY(-50%) scale(0.8); }
    to { opacity: 1; transform: translateY(-50%) scale(1); }
}
.float-popup::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: #fff;
}
.float-popup h4 { font-size: 1rem; color: #333; margin-bottom: 10px; }
.float-popup p { font-size: 0.9rem; color: #666; margin-bottom: 8px; }
.float-popup .highlight {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ff1493;
    letter-spacing: 1px;
}
.float-popup .popup-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 25px;
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    color: #fff;
    border-radius: 25px;
    font-size: 0.85rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}
.float-popup .popup-btn:hover {
    box-shadow: 0 4px 15px rgba(255,20,147,0.4);
}

/* === 底部 === */
.footer {
    background: rgba(0, 0, 0, 0.95);
    color: #ccc;
    padding: 60px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer h4 {
    color: #ff69b4;
    font-size: 1.1rem;
    margin-bottom: 20px;
}
.footer p, .footer a {
    color: #999;
    font-size: 0.9rem;
    line-height: 2;
}
.footer a:hover { color: #ff69b4; }
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    color: #666;
}
.footer-bottom a { color: #ff69b4; }

/* === 面包屑 === */
.breadcrumb-nav {
    padding: 15px 0;
    font-size: 0.85rem;
    color: #999;
}
.breadcrumb-nav a { color: #ff69b4; }
.breadcrumb-nav a:hover { text-decoration: underline; }

/* === 侧边栏 === */
.content-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}
.sidebar {
    position: sticky;
    top: 90px;
}
.sidebar-widget {
    background: rgba(255,255,255,0.95);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid rgba(255,105,180,0.08);
}
.sidebar-widget h4 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff69b4;
}
.sidebar-widget ul li {
    padding: 8px 0;
    border-bottom: 1px dashed #ffe4ec;
}
.sidebar-widget ul li a {
    color: #666;
    font-size: 0.9rem;
    transition: all 0.3s;
}
.sidebar-widget ul li a:hover { color: #ff1493; padding-left: 5px; }
.sidebar-cta {
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    color: #fff;
}
.sidebar-cta h4 { color: #fff; border: none; font-size: 1.2rem; margin-bottom: 10px; }
.sidebar-cta p { font-size: 0.9rem; opacity: 0.9; margin-bottom: 15px; }

/* === Toast 提示 === */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: rgba(0,0,0,0.85);
    color: #fff;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 0.95rem;
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}
.toast.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* === 分页 === */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    font-size: 0.9rem;
    transition: all 0.3s;
}
.pagination a {
    background: rgba(255,255,255,0.9);
    color: #666;
    border: 1px solid #ffe4ec;
}
.pagination a:hover, .pagination .current {
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    color: #fff;
    border-color: transparent;
}

/* === 响应式 === */
@media (max-width: 1024px) {
    .content-with-sidebar { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-content { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0; right: 0;
        background: rgba(0,0,0,0.96);
        flex-direction: column;
        padding: 20px;
        transform: translateY(-120%);
        transition: transform 0.3s ease;
    }
    .nav-menu.open { transform: translateY(0); }
    .nav-toggle { display: flex; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    .section-title h2 { font-size: 1.6rem; }
    .articles-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .article-detail { padding: 25px; margin: -20px 15px 40px; }
    .float-buttons { right: 12px; }
    .float-btn { width: 48px; height: 48px; font-size: 20px; }
    .page-banner h1 { font-size: 1.8rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 1.6rem; }
    .btn { padding: 12px 25px; font-size: 14px; }
    .service-card { padding: 25px 20px; }
}

/* === 滚动条美化 === */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #fff0f5; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    border-radius: 4px;
}

/* === 选中文字颜色 === */
::selection { background: #ff69b4; color: #fff; }

/* === 加载动画 === */
.page-loader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #fff0f5;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s;
}
.page-loader.hide { opacity: 0; pointer-events: none; }
.loader-spinner {
    width: 50px; height: 50px;
    border: 4px solid #ffe4ec;
    border-top-color: #ff1493;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* === 友情链接区域 === */
.friend-links {
    padding: 30px 0;
    border-top: 1px solid rgba(255,105,180,0.1);
}
.friend-links h4 { font-size: 1rem; color: #999; margin-bottom: 15px; }
.friend-links a {
    display: inline-block;
    margin: 0 10px 8px 0;
    padding: 5px 15px;
    background: rgba(255,255,255,0.8);
    border-radius: 20px;
    font-size: 0.85rem;
    color: #888;
    border: 1px solid rgba(255,105,180,0.1);
    transition: all 0.3s;
}
.friend-links a:hover {
    color: #ff1493;
    border-color: #ff69b4;
    background: #fff;
}
