﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column; /* 移动端垂直布局 */
    }

    .footer-desc, .footer-right {
        text-align: center; /* 移动端文本居中 */
        width: 100%; /* 占满屏幕宽度 */
    }

    .footer-right {
        margin-top: 15px;
    }

    .footer-copyright, .footer-partner {
        margin-bottom: 8px !important; /* 移动端缩小行间距 */
    }
    .scroll-btn {
        display: none;
    }

    .scroll-item {
        width: 240px;
    }

    .info-card .card-img-top {
        height: 140px;
    }

    .hero-section {
        padding: 5rem 0 3rem;
    }

        .hero-section h1 {
            font-size: 2rem;
        }
}

/* 优化链接 hover 效果 */
.footer-notice a:hover {
    text-decoration: underline;

}
/* 自定义样式 */
.region-selector {
    background-color: #f8f9fa;
    border-radius: 8px;
}

.region-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

    .region-item:hover, .region-item.active {
        background-color: #0d6efd;
        color: white;
    }

/* 全局样式 */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #f9fafb;
}

/* 导航栏样式 */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    background-color: white;
}

.navbar-brand {
    font-weight: 700;
    color: #1E40AF !important;
    display: flex;
    align-items: center;
}

    .navbar-brand img {
        height: 36px;
        margin-right: 8px;
    }

.nav-link {
    color: #555 !important;
    margin-right: 1rem;
    transition: color 0.3s;
}

    .nav-link:hover, .nav-link.active {
        color: #1E40AF !important;
    }

.btn-book {
    background-color: #1E40AF;
    color: white !important;
    border-radius: 4px;
    padding: 6px 16px;
    transition: background-color 0.3s;
}

    .btn-book:hover {
        background-color: #163278;
    }

/* 英雄区样式 */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://picsum.photos/id/1036/1920/600') center/cover no-repeat;
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
}

    .hero-section h1 {
        font-size: 2.2rem;
        margin-bottom: 1.2rem;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

    .hero-section p {
        font-size: 1rem;
        max-width: 700px;
        margin: 0 auto 1.5rem;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }

/* 通用滚动区域样式 */
.consultation-section {
    margin-bottom: 3rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

/* 区域标题样式 */
.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #f1f5f9;
}

    .section-title h3 {
        font-size: 1.3rem;
        font-weight: 600;
        color: #1E40AF;
        display: flex;
        align-items: center;
    }

        .section-title h3 i {
            margin-right: 0.5rem;
            font-size: 1.2em;
        }

    .section-title a {
        color: #64748b;
        text-decoration: none;
        font-size: 0.9rem;
        transition: color 0.3s;
    }

        .section-title a:hover {
            color: #1E40AF;
        }

/* 滚动容器样式 */
.scroll-container {
    display: flex;
    gap: 1.2rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scrollbar-width: none; /* 隐藏Firefox滚动条 */
    scroll-behavior: smooth;
}

    .scroll-container::-webkit-scrollbar {
        display: none; /* 隐藏Chrome/Safari滚动条 */
    }

/* 滚动项目样式 */
.scroll-item {
    flex: 0 0 auto;
    width: 250px;
}

/* 卡片样式 */
.info-card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .info-card:hover {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
        transform: translateY(-3px);
    }

    .info-card .card-img-top {
        width: 100%;
        height: 260px;
        object-fit: cover;
        border-radius: 8px 8px 0 0;
    }

    .info-card .card-body {
        padding: 1rem;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

    .info-card .card-title {
        font-size: 1rem;
        font-weight: 600;
        color: #212529;
        margin-bottom: 0.4rem;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .info-card .card-text {
        font-size: 0.85rem;
        color: #6c757d;
        margin-bottom: 0.8rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        flex-grow: 1;
    }

    .info-card .text-danger {
        color: #dc3545 !important;
        font-size: 1.1rem;
        font-weight: 600;
    }

    .info-card .text-secondary {
        color: #6c757d !important;
        font-size: 0.8rem;
    }

    .info-card .discount-badge {
        display: inline-block;
        font-size: 0.75rem;
        padding: 0.15rem 0.5rem;
        border-radius: 4px;
        margin-left: 0.5rem;
    }

/* 滚动控制按钮 */
.scroll-controls {
    position: relative;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    color: #64748b;
}

    .scroll-btn:hover {
        background: #1E40AF;
        color: white;
    }

    .scroll-btn.left {
        left: -16px;
    }

    .scroll-btn.right {
        right: -16px;
    }
/* 响应式调整 */
@media (max-width: 768px) {
    .scroll-btn {
        display: none;
    }

    .scroll-item {
        width: 200px;
    }

    .info-card .card-img-top {
        height: 120px;
    }

    .hero-section {
        padding: 4rem 0 2rem;
    }

        .hero-section h1 {
            font-size: 1.8rem;
        }

    .consultation-section {
        padding: 1rem;
        margin-bottom: 2rem;
    }
}

