/* 统一的CSS文件 - 包含所有必要的样式 */

/* ===== 基础重置和通用样式 ===== */
@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700&display=swap");

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: "Rubik", sans-serif;
    font-weight: normal;
    font-style: normal;
    color: #6d6d6d;
    font-size: 16px;
    line-height: 28px;
    background-image: url('./images/bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    min-height: 100vh;
}

/* 通用元素样式 */
a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover, a:focus {
    color: inherit;
    text-decoration: none;
}

a:focus,
input:focus,
textarea:focus,
button:focus {
    outline: 2px solid #4361ee;
    outline-offset: 2px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style-type: none;
}

/* 标题样式统一 */
h1, h2, h3, h4, h5, h6 {
    color: #1b3255;
    margin: 0;
    font-weight: 500;
}

h1 { font-size: 100px; line-height: 110px; font-weight: 700; }
h2 { font-size: 50px; line-height: 60px; font-weight: 700; }
h3 { font-size: 30px; }
h4 { font-size: 22px; }
h5 { font-size: 20px; }
h6 { font-size: 16px; }

p {
    color: #6d6d6d;
    margin: 0;
}

/* ===== 布局容器 ===== */
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 15px;
    overflow: hidden;
}

.custom-container {
    max-width: 1750px;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

/* ===== 头部样式 ===== */
header {
    background: #fff;
}

.header {
    overflow: hidden;
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 160px;
}

.logo {
    height: 76px;
    vertical-align: middle;
}

.logo img {
    width: 100px;
}

.slogan {
    font-size: 32px;
    margin-left: 40px;
    color: #2B70A7;
    font-weight: bold;
    width: 80%;
}

/* 导航栏 */
nav {
    height: 52px;
    background-color: #2B70A7;
}

nav ul {
    display: flex;
    width: 100%;
}

nav ul li {
    flex: 1;
}

nav ul li a {
    color: #fff;
    font-size: 16px;
    text-align: center;
    display: block;
    line-height: 52px;
    transition: background-color 0.3s ease;
}

nav ul li a.active,
nav ul li a:hover {
    background-color: #5D9B9B;
}

/* 导航栏容器 */
.daohanglan {
    width: 100%;
    display: flex;
    flex-direction: row;
}

/* ===== 分类导航 ===== */
.cate {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cate li {
    text-align: center;
    width: 25%;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
    height: 200px;
    line-height: 200px;
    margin: 80px 20px;
    color: #fff;
    font-weight: bold;
    font-size: 30px;
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
    transition: transform 0.3s, opacity 0.2s, box-shadow 0.3s;
    opacity: 0.7;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.cate li.active {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
}

.cate li:nth-child(1) { background-image: url('../images/a1.webp'); }
.cate li:nth-child(2) { background-image: url('../images/a2.webp'); }
.cate li:nth-child(3) { background-image: url('../images/a3.webp'); }
.cate li:nth-child(4) { background-image: url('../images/a4.webp'); }

.cate li:hover {
    transform: scale(1.05);
    opacity: 1;
}

/* ===== 表单样式 ===== */
.form_group {
    position: relative;
}

.form_control {
    width: 100%;
    height: 50px;
    border: 1px solid #e1e1e1;
    padding: 0 20px;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form_control:focus {
    border-color: #4361ee;
    box-shadow: 0 0 0 2px rgba(67, 97, 238, 0.1);
}

textarea.form_control {
    height: 150px;
    padding-top: 15px;
    resize: vertical;
    min-height: 80px;
    max-height: 200px;
}

.form_control::placeholder {
    color: #6d6d6d;
}

/* ===== 按钮样式 ===== */
.main-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #4361ee;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.main-btn:hover, .main-btn:focus {
    background-color: #3651d4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.3);
}

.btn-primary {
    background-color: #4361ee;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #3651d4;
}

/* ===== 卡片样式 ===== */
.card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.info-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px;
}

/* ===== 表格样式 ===== */
.shop-table {
    border-collapse: collapse;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto 40px;
}

.shop-table th,
.shop-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: center;
}

.shop-table th {
    background-color: #2B70A7;
    color: white;
}

.shop-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.shop-table tr:hover {
    background-color: #ddd;
}

.shop-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.showtimes {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.showtimes th, .showtimes td {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.showtimes th {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* ===== 图片样式 ===== */
.shop-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.dish-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.dish-item:hover .dish-img {
    transform: scale(1.05);
}

/* ===== 评论样式 ===== */
.comments-section {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 20px;
}

.comment-form {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.form-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background-color: white;
}

.comments-list {
    max-height: 400px;
    overflow-y: auto;
}

.comment {
    padding: 12px;
    margin-bottom: 10px;
    background-color: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #4361ee;
}

.comment:last-child {
    margin-bottom: 0;
}

.comment p {
    margin: 5px 0;
    font-size: 14px;
}

.comment strong {
    color: #4361ee;
}

/* ===== 模态框样式 ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.modal-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.modal-title {
    color: white;
    font-size: 18px;
    margin-top: 15px;
    font-weight: 600;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #ddd;
}

/* ===== 页脚样式 ===== */
footer {
    background: #2B70A7;
    margin-top: 20px;
}

footer p {
    margin: 0;
    color: #fff;
    text-align: center;
    padding: 20px;
}

/* ===== 搜索页面样式 ===== */
.search_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 600px;
    background: rgba(255,255,255,0.7);
    border-radius: 18px;
    margin: 40px auto 30px auto;
    max-width: 800px;
    box-shadow: 0 4px 24px rgba(67,97,238,0.08);
    padding: 32px 24px 24px 24px;
}

.input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 500px;
    margin-bottom: 18px;
}

.input-field {
    width: 100%;
    padding: 14px 16px;
    font-size: 1.1rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    transition: border 0.3s;
    outline: none;
    background: #fff;
}

.input-field:focus {
    border: 2px solid #4361ee;
}

.search-btn {
    background: #4361ee;
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.search-btn:hover {
    background: #2746b0;
}

.category-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 8px 22px;
    border-radius: 20px;
    border: none;
    background: #f0f4ff;
    color: #4361ee;
    font-weight: 500;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s, color 0.2s;
}

.category-btn.active {
    background: #4361ee;
    color: #fff;
}

.search_list {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: transparent;
    min-height: 320px;
}

.search_item_card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(67,97,238,0.06);
    padding: 18px 20px;
    transition: box-shadow 0.2s;
    cursor: pointer;
}

.search_item_card:hover {
    box-shadow: 0 4px 16px rgba(67,97,238,0.13);
}

.search_item_img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    object-fit: cover;
    background: #f3f3f3;
}

.search_item_info {
    flex: 1;
}

.search_item_title {
    font-size: 1.15rem;
    font-weight: bold;
    color: #222;
    margin-bottom: 4px;
}

.search_item_desc {
    color: #666;
    font-size: 0.98rem;
    margin-bottom: 2px;
}

.search_item_cate {
    font-size: 0.92rem;
    color: #4361ee;
    margin-top: 2px;
}

/* ===== 登录页面样式 ===== */
.control {
    max-width: 400px;
    margin: 50px auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.control .item {
    display: flex;
    border-bottom: 1px solid #eee;
}

.control .item div {
    flex: 1;
    text-align: center;
    padding: 15px;
    cursor: pointer;
    background: #f5f5f5;
    transition: background 0.3s;
}

.control .item div.active {
    background: #4361ee;
    color: white;
}

.control .content div {
    padding: 20px;
    display: none;
}

.control .content div:nth-child(1) {
    display: block;
}

.control input[type="text"],
.control input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.control input[type="submit"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    background: #4361ee;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.control input[type="submit"]:hover {
    background: #3651d4;
}

/* ===== 详情页面样式 ===== */
.center-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    margin-bottom: 20px;
}

.left-panel {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.right-panel {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.item-image {
    text-align: center;
}

.media-card {
    background: linear-gradient(135deg, #f8faff 60%, #e3e9ff 100%);
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(67,97,238,0.13), 0 1.5px 4px rgba(67,97,238,0.08);
    padding: 32px 24px 24px 24px;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.media-flex {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
    align-items: center;
}

.img-box, .video-box {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(67,97,238,0.07);
    padding: 12px 12px 18px 12px;
    transition: transform 0.18s cubic-bezier(.4,1.3,.6,1);
    border: 1.5px solid #e3e9ff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.img-box img, .video-box video {
    width: 100%;
    max-width: 340px;
    height: auto;
    max-height: 500px;
    aspect-ratio: 2/3;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(67,97,238,0.10);
    background: #f3f3f3;
    border: 1px solid #e3e9ff;
    transition: transform 0.18s cubic-bezier(.4,1.3,.6,1);
    display: block;
}

.img-box {
    width: 100%;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-title {
    margin: 18px 0 8px 0;
    font-size: 1.18rem;
    color: #4361ee;
    font-weight: bold;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.video-title .icon {
    font-size: 1.3em;
    margin-right: 4px;
}

.dynamic-content {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px;
}

.dish-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dish-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

.dish-item:last-child {
    border-bottom: none;
}

.dish-info p {
    margin: 0;
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

.main-trailer-box {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 28px auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(67,97,238,0.10);
    padding: 18px 18px 24px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-trailer-title {
    font-size: 1.25rem;
    color: #4361ee;
    font-weight: bold;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-trailer-title .icon {
    font-size: 1.5em;
}

.main-trailer-video {
    width: 100%;
    max-width: 540px;
    height: 320px;
    border-radius: 10px;
    background: #000;
    box-shadow: 0 2px 8px rgba(67,97,238,0.13);
    border: 1.5px solid #e3e9ff;
    object-fit: cover;
}

/* ===== 关于我们页面样式 ===== */
.about-hero {
    background: linear-gradient(135deg, #ffffff 0%, #2664e9 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('./images/bg.jpg') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
}

.about-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color: white;
}

.about-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
    color: white;
}

.about-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-text h2 {
    font-size: 2.5rem;
    color: #2B70A7;
    margin-bottom: 30px;
    font-weight: 700;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.features-section {
    padding: 80px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #2B70A7;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

.gallery-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.gallery-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.gallery-slider {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-slide.active {
    opacity: 1;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: #2B70A7;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
    left: 20px;
}

.gallery-nav.next {
    right: 20px;
}

.gallery-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-dot.active {
    background: white;
    transform: scale(1.2);
}

/* ===== 联系方式页面样式 ===== */
.main {
    min-height: 70vh;
}

/* ===== 响应式设计 ===== */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    h1 { font-size: 80px; line-height: 90px; }
    h2 { font-size: 40px; line-height: 50px; }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    h1 { font-size: 60px; line-height: 70px; }
    h2 { font-size: 32px; line-height: 40px; }
    
    .slogan {
        font-size: 24px;
        margin-left: 20px;
    }
    
    .main-content {
        grid-template-columns: 1fr;
    }
    
    .media-flex {
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    h1 { font-size: 40px; line-height: 50px; }
    h2 { font-size: 28px; line-height: 36px; }
    
    .header {
        height: 120px;
        flex-direction: column;
        text-align: center;
    }
    
    .slogan {
        font-size: 20px;
        margin-left: 0;
        margin-top: 10px;
    }
    
    .cate {
        flex-direction: column;
        gap: 20px;
    }
    
    .cate li {
        width: 100%;
        height: 150px;
        line-height: 150px;
        margin: 0;
        font-size: 24px;
    }
    
    .shop-image {
        width: 100%;
        max-width: 300px;
        height: 250px;
    }
    
    .search_container { padding: 10px 2vw; }
    .search_list { max-width: 98vw; }
    .input-wrapper { max-width: 98vw; }
    
    .img-box img, .video-box video {
        width: 100vw;
        max-width: 100vw;
        height: auto;
        max-height: 320px;
        aspect-ratio: unset;
    }
    
    .img-box { max-width: 100vw; }
    
    .main-trailer-video { height: 220px; max-width: 98vw; }
    .main-trailer-box { max-width: 98vw; }
    
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-slider {
        height: 300px;
    }
    
    .media-flex {
        flex-direction: column;
        gap: 32px;
        width: 100%;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 10px;
    }
    
    h1 { font-size: 32px; line-height: 40px; }
    h2 { font-size: 24px; line-height: 30px; }
    
    .main-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .about-hero {
        padding: 60px 0;
    }
    
    .about-hero h1 {
        font-size: 2rem;
    }
}

/* ===== 动画 ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        transform: translateY(20px);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

.animate-slide-up {
    animation: slideUp 0.3s ease-out;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* ===== 响应式工具类 ===== */
.hidden-mobile {
    display: block;
}

.visible-mobile {
    display: none;
}

@media (max-width: 768px) {
    .hidden-mobile {
        display: none;
    }
    
    .visible-mobile {
        display: block;
    }
}

/* ===== 无障碍优化 ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== 高对比度模式支持 ===== */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid currentColor;
    }
}

/* ===== 减少动画偏好 ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== 打印样式 ===== */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}

/* ===== 自定义工具类 ===== */
.text-shadow {
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.25);
}

.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.content-auto {
    content-visibility: auto;
}