/* 株洲道川笔记本电脑出租 - 通用样式 */

/* 全局重置 */
* { box-sizing: border-box; }
body {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img, svg {
    max-width: 100%;
    display: block;
}

/* 面包屑导航 */
.breadcrumb-bar {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}
.breadcrumb-inner {
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #4b5563;
}
.breadcrumb-link {
    color: #dc2626;
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    transition: color 0.3s;
}
.breadcrumb-link:hover {
    color: #991b1b;
    text-decoration: underline;
}
.breadcrumb-sep {
    color: #9ca3af;
    font-size: 12px;
    display: flex;
    align-items: center;
}
.breadcrumb-current {
    color: #dc2626;
    font-weight: 500;
}

/* 返回顶部 */
.back-to-top {
    position: fixed;
    bottom: max(30px, env(safe-area-inset-bottom) + 20px);
    right: max(20px, env(safe-area-inset-right) + 10px);
    background-color: #D92121;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
    -webkit-tap-highlight-color: transparent;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* 底部导航 */
.footer-nav {
    margin-bottom: 12px;
    line-height: 1.8;
    text-align: center;
}
.footer-nav a {
    color: #2563eb;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin: 0 6px;
}
.footer-nav a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* 移动端固定电话栏 */
.mobile-call-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #D92121;
    color: white;
    padding: 12px 0;
    text-align: center;
    z-index: 9988;
    display: none;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    -webkit-tap-highlight-color: transparent;
}

/* 响应式 */
@media (max-width: 768px) {
    .mobile-call-bar { display: block; }
    footer { margin-bottom: 60px !important; padding-bottom: 20px !important; }
    html { scroll-padding-top: 180px; }
    .section-title { font-size: 28px !important; }
    .section-subtitle { font-size: 15px !important; }
}
@media (max-width: 640px) {
    html { scroll-padding-top: 220px; }
    .breadcrumb-inner { font-size: 13px; padding: 8px 12px; gap: 6px; }
}
