/* 
 * 啄木鸟家庭维修 - 现代化UI样式
 * 配色方案：专业蓝 + 活力橙
 */

/* ==================== 基础重置与变量 ==================== */
:root {
    --primary-color: #1E88E5;
    --primary-dark: #1565C0;
    --primary-light: #42A5F5;
    --secondary-color: #FF6B35;
    --secondary-dark: #E55A2B;
    --secondary-light: #FF8A5C;
    --bg-color: #F5F7FA;
    --bg-white: #FFFFFF;
    --text-primary: #2D3436;
    --text-secondary: #636E72;
    --text-light: #B2BEC3;
    --border-color: #DFE6E9;
    --success-color: #00B894;
    --warning-color: #FDCB6E;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==================== 字体引入 ==================== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;900&display=swap');

/* ==================== 通用样式 ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    border: none;
    outline: none;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
}

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

/* ==================== 动画定义 ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ==================== 顶部导航 ==================== */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-top {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.nav-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-top-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-top-left i {
    margin-right: 6px;
}

.nav-top-right a {
    color: white;
    margin-left: 20px;
    opacity: 0.9;
}

.nav-top-right a:hover {
    opacity: 1;
    text-decoration: underline;
}

.nav-main {
    padding: 15px 0;
}

.nav-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    animation: float 3s ease-in-out infinite;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
    list-style: none;
}

.nav-menu a {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    position: relative;
    padding: 8px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.header-phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.header-phone i {
    font-size: 20px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==================== 英雄区域 ==================== */
.hero {
    margin-top: 120px;
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.05), rgba(255, 107, 53, 0.05));
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30, 136, 229, 0.1), transparent);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1), transparent);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite 2s;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.hero-badge i {
    color: var(--secondary-color);
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title span {
    color: var(--secondary-color);
    -webkit-text-fill-color: var(--secondary-color);
}

.hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-features {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--text-secondary);
}

.hero-feature-item i {
    color: var(--success-color);
    font-size: 18px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 16px rgba(30, 136, 229, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(30, 136, 229, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.hero-image {
    position: relative;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero-float-card {
    position: absolute;
    background: white;
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    animation: float 3s ease-in-out infinite;
}

.hero-float-card.card-1 {
    top: 20%;
    left: -30px;
    animation-delay: 0s;
}

.hero-float-card.card-2 {
    bottom: 20%;
    right: -30px;
    animation-delay: 1.5s;
}

.float-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-light), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-bottom: 10px;
}

.float-card-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.float-card-text strong {
    display: block;
    color: var(--text-primary);
    font-size: 16px;
}

/* ==================== 服务分类 ==================== */
.services {
    padding: 80px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    display: inline-block;
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.1), rgba(255, 107, 53, 0.1));
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.service-card {
    background: var(--bg-color);
    border-radius: var(--radius-md);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    background: white;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: white;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--secondary-light), var(--secondary-color));
    transform: scale(1.1) rotate(5deg);
}

.service-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.service-count {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ==================== 为什么选择我们 ==================== */
.why-us {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-color), white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.why-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(180deg, transparent, rgba(30, 136, 229, 0.05));
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.why-card:hover::after {
    height: 100%;
}

.why-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 36px;
    color: white;
    position: relative;
    z-index: 1;
}

.why-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.why-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* ==================== 热门服务 ==================== */
.hot-services {
    padding: 80px 0;
    background: white;
}

.hot-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.hot-service-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.hot-service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.hot-service-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.hot-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.hot-service-card:hover .hot-service-image img {
    transform: scale(1.1);
}

.hot-service-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--secondary-color);
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.hot-service-content {
    padding: 20px;
}

.hot-service-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.hot-service-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.6;
}

.hot-service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hot-service-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
}

.hot-service-price span {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
}

.hot-service-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
}

.hot-service-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.3);
}

/* ==================== 客户评价 ==================== */
.reviews {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.03), rgba(255, 107, 53, 0.03));
}

.reviews-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    background: white;
    padding: 35px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 80px;
    font-family: Georgia, serif;
    color: var(--border-color);
    line-height: 1;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.review-stars {
    color: #FFD700;
    font-size: 18px;
    margin-bottom: 15px;
}

.review-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 700;
}

.review-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.review-info p {
    font-size: 13px;
    color: var(--text-light);
}

/* ==================== 底部 ==================== */
.footer {
    background: linear-gradient(135deg, var(--text-primary), #1a1d1e);
    color: white;
    padding-top: 60px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 40px;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.footer-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

.footer-contact-item i {
    color: var(--secondary-color);
    font-size: 18px;
    width: 20px;
}

.footer-column h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-qrcode {
    text-align: center;
}

.footer-qrcode img {
    width: 150px;
    height: 150px;
    background: white;
    padding: 10px;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
}

.footer-qrcode p {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.footer-bottom a {
    color: rgba(255,255,255,0.6);
    margin: 0 10px;
}

.footer-bottom a:hover {
    color: var(--secondary-color);
}

/* ==================== 列表页样式 ==================== */
.breadcrumb {
    background: white;
    padding: 15px 0;
    margin-top: 120px;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.breadcrumb-list a {
    color: var(--text-secondary);
}

.breadcrumb-list a:hover {
    color: var(--primary-color);
}

.breadcrumb-list i {
    font-size: 12px;
    color: var(--text-light);
}

.list-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    padding: 40px 0;
}

.list-sidebar {
    background: white;
    border-radius: var(--radius-md);
    padding: 25px;
    height: fit-content;
    position: sticky;
    top: 140px;
    box-shadow: var(--shadow-sm);
}

.filter-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--bg-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.filter-option:hover,
.filter-option.active {
    background: var(--primary-color);
    color: white;
}

.filter-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.list-main {
    background: white;
    border-radius: var(--radius-md);
    padding: 25px;
    box-shadow: var(--shadow-sm);
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.list-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.list-count {
    font-size: 14px;
    color: var(--text-secondary);
}

.list-sort {
    display: flex;
    gap: 10px;
}

.sort-btn {
    padding: 8px 16px;
    background: var(--bg-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-secondary);
}

.sort-btn.active,
.sort-btn:hover {
    background: var(--primary-color);
    color: white;
}

.service-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.service-list-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.service-list-card:hover {
    box-shadow: var(--shadow-md);
    border-color: transparent;
    transform: translateY(-5px);
}

.service-list-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.service-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-list-card:hover .service-list-image img {
    transform: scale(1.1);
}

.service-list-content {
    padding: 20px;
}

.service-list-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.service-list-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.6;
}

.service-list-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 13px;
    color: var(--text-light);
}

.service-list-meta i {
    margin-right: 5px;
}

.service-list-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.service-list-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color);
}

.service-list-price span {
    font-size: 14px;
    font-weight: 400;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-btn {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.page-btn:hover,
.page-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ==================== 详情页样式 ==================== */
.detail-container {
    padding: 40px 0;
}

.detail-header {
    background: white;
    border-radius: var(--radius-md);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.detail-title-section {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
}

.detail-images {
    position: relative;
}

.detail-main-image {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 15px;
}

.detail-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-thumbnails {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.detail-thumbnail {
    height: 70px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.detail-thumbnail.active,
.detail-thumbnail:hover {
    border-color: var(--primary-color);
}

.detail-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-info {
    padding-left: 30px;
    border-left: 1px solid var(--border-color);
}

.detail-category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    margin-bottom: 15px;
}

.detail-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    line-height: 1.4;
}

.detail-meta {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
    font-size: 14px;
    color: var(--text-secondary);
}

.detail-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-meta-item i {
    color: var(--primary-color);
}

.detail-price-box {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 107, 53, 0.05));
    border-radius: var(--radius-md);
    padding: 25px;
    margin-bottom: 25px;
}

.detail-price-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.detail-price {
    font-size: 42px;
    font-weight: 700;
    color: var(--secondary-color);
}

.detail-price span {
    font-size: 18px;
    font-weight: 400;
}

.detail-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.detail-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.detail-feature i {
    color: var(--success-color);
    font-size: 18px;
}

.detail-buttons {
    display: flex;
    gap: 15px;
}

.detail-btn {
    flex: 1;
    padding: 16px;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

.detail-btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: white;
}

.detail-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.detail-btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.detail-btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* 详情内容区 */
.detail-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

.detail-main-content {
    background: white;
    border-radius: var(--radius-md);
    padding: 35px;
    box-shadow: var(--shadow-sm);
}

.detail-section {
    margin-bottom: 40px;
}

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
    position: relative;
}

.detail-section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
}

.detail-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.detail-desc p {
    margin-bottom: 15px;
}

/* 服务流程 */
.service-process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.process-step {
    text-align: center;
    padding: 25px 15px;
    background: var(--bg-color);
    border-radius: var(--radius-md);
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -12px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid var(--primary-color);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.process-step:last-child::after {
    display: none;
}

.process-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 28px;
    color: white;
}

.process-step h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.process-step p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* 预约表单 */
.booking-form {
    background: white;
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 140px;
}

.booking-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 25px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-primary);
    transition: var(--transition);
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 136, 229, 0.3);
}

.form-note {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 15px;
    text-align: center;
}

/* 相关推荐 */
.related-services {
    margin-top: 40px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.related-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.related-image {
    height: 150px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.related-card:hover .related-image img {
    transform: scale(1.1);
}

.related-content {
    padding: 15px;
}

.related-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.related-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
}

.related-price span {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-secondary);
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-image {
        order: 0;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hot-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .reviews-slider {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .list-container {
        grid-template-columns: 1fr;
    }
    
    .list-sidebar {
        position: static;
    }
    
    .detail-title-section {
        grid-template-columns: 1fr;
    }
    
    .detail-info {
        padding-left: 0;
        border-left: none;
        padding-top: 30px;
        border-top: 1px solid var(--border-color);
    }
    
    .detail-content {
        grid-template-columns: 1fr;
    }
    
    .booking-form {
        position: static;
    }
    
    .service-process {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-step::after {
        display: none;
    }
    
    .related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-top {
        display: none;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .header-phone {
        display: none;
    }
    
    .hero {
        margin-top: 80px;
        min-height: auto;
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-desc {
        font-size: 16px;
    }
    
    .hero-float-card {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .service-card {
        padding: 20px 15px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .hot-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reviews-slider {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .service-list-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-title {
        font-size: 24px;
    }
    
    .detail-price {
        font-size: 32px;
    }
    
    .detail-features {
        grid-template-columns: 1fr;
    }
    
    .service-process {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .services-grid,
    .hot-services-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-buttons {
        flex-direction: column;
    }
    
    .detail-btn {
        width: 100%;
    }
}

/* ==================== 工具类 ==================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }

.hidden { display: none; }
.visible { display: block; }
