/* ========================================
   湖北九川规划设计有限公司 - 全局样式
   ======================================== */

/* CSS变量 */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f5f5f5;
    --border-color: #ddd;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --radius: 8px;
    --transition: all 0.3s ease;
}

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

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

ul, ol {
    list-style: none;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   导航栏
   ======================================== */
.header {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 48px;
    width: auto;
}

.logo-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.nav {
    display: flex;
    gap: 8px;
}

.nav-item {
    padding: 10px 20px;
    border-radius: 8px;
    transition: var(--transition);
    font-size: 15px;
    font-weight: 500;
}

.nav-item:hover,
.nav-item.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
}

.nav-admin {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
}

/* ========================================
   轮播图
   ======================================== */
.banner {
    padding: 30px 0;
    background: transparent;
}

.banner-swiper {
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    border-radius: 0;
    overflow: visible;
    position: relative;
    box-shadow: none;
}

.banner-swiper .swiper-slide {
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.carousel-slide-link {
    display: block;
    width: 100%;
    height: 100%;
}

.banner-swiper .swiper-button-prev,
.banner-swiper .swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    color: #fff;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-swiper .swiper-button-prev {
    left: 15px;
}

.banner-swiper .swiper-button-next {
    right: 15px;
}

.banner-swiper .swiper-button-prev::after,
.banner-swiper .swiper-button-next::after {
    font-size: 20px;
    font-weight: bold;
    display: none;
}

.banner-swiper .swiper-button-prev::before {
    content: '‹';
    font-size: 32px;
    line-height: 1;
}

.banner-swiper .swiper-button-next::before {
    content: '›';
    font-size: 32px;
    line-height: 1;
}

.banner-swiper .swiper-button-prev::after,
.banner-swiper .swiper-button-next::after {
    font-size: 18px;
    font-weight: bold;
}

.banner-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    font-size: 24px;
}

/* ========================================
   分类导航
   ======================================== */
.categories {
    padding: 50px 0 30px;
}

.category-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.category-tab {
    padding: 12px 28px;
    background: #fff;
    border: 2px solid transparent;
    border-radius: 30px;
    transition: var(--transition);
    font-size: 14px;
    color: var(--text-color);
    text-align: center;
    min-width: 140px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    font-weight: 500;
}

.category-tab:hover,
.category-tab.active {
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(52, 152, 219, 0.3);
}

/* ========================================
   搜索区域
   ======================================== */
.search-section {
    padding: 40px 0;
}

.search-box {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    gap: 12px;
}

.search-box input {
    flex: 1;
    padding: 14px 24px;
    border: 2px solid #e8e8e8;
    border-radius: 30px;
    font-size: 15px;
    outline: none;
    transition: var(--transition);
}

.search-box input:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.search-box button {
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.search-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(52, 152, 219, 0.4);
}

/* ========================================
   案例展示
   ======================================== */
.cases-section {
    padding: 50px 0;
    background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
}

.section-title {
    text-align: center;
    font-size: 30px;
    color: var(--primary-color);
    margin-bottom: 40px;
    font-weight: 600;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    margin: 15px auto 0;
    border-radius: 2px;
}

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

.case-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.case-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
    flex: 1;
}

.case-card-image {
    position: relative;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.case-card:hover .case-card-image img {
    transform: scale(1.05);
}

.case-card-image .placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    font-size: 48px;
}

.case-card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    font-size: 12px;
    border-radius: 20px;
    font-weight: 500;
}

.case-card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.case-card-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.case-card-desc {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 42px;
}

.case-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.case-card-tag {
    padding: 4px 12px;
    background: #f0f5f9;
    color: var(--text-light);
    font-size: 12px;
    border-radius: 20px;
}

.load-more {
    text-align: center;
    margin-top: 50px;
}

.btn-primary {
    display: inline-block;
    padding: 14px 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

/* ========================================
   标签云
   ======================================== */
.tags-section {
    padding: 50px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.tag-item {
    padding: 10px 24px;
    background: #fff;
    border: 2px solid transparent;
    border-radius: 25px;
    font-size: 14px;
    color: var(--text-color);
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    font-weight: 500;
}

.tag-item:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(52, 152, 219, 0.3);
}

/* ========================================
   案例列表页
   ======================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 50px 0;
}

.page-header h1 {
    font-size: 32px;
    margin-bottom: 12px;
    font-weight: 600;
}

.breadcrumb {
    font-size: 14px;
    opacity: 0.9;
}

.breadcrumb a {
    color: #fff;
}

.filter-section {
    padding: 30px 0;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.filter-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 15px;
}

.filter-row:last-child {
    margin-bottom: 0;
}

.filter-label {
    font-weight: 600;
    min-width: 70px;
    color: var(--primary-color);
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-tag {
    padding: 8px 18px;
    border: 2px solid #e8e8e8;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    background: #fff;
}

.filter-tag:hover,
.filter-tag.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-color: transparent;
}

.cases-list {
    padding: 50px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
    min-height: 500px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination a,
.pagination span {
    padding: 10px 16px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-size: 14px;
    transition: var(--transition);
}

.pagination a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-color: transparent;
}

.pagination .active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-color: transparent;
}

/* ========================================
   案例详情页
   ======================================== */
.detail-header {
    padding: 50px 0;
    background: #fff;
    border-bottom: 1px solid #eee;
}

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

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

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

.detail-meta a {
    color: var(--secondary-color);
}

.detail-swiper {
    padding: 40px 50px;
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
}

.detail-swiper .swiper-container {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 40px rgba(0,0,0,0.1);
}

.detail-swiper .swiper-wrapper {
    display: flex;
    align-items: center;
}

.detail-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    width: 100%;
}

.detail-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: contain;
}

.detail-swiper .swiper-pagination {
    display: none;
}

.detail-swiper .swiper-button-prev,
.detail-swiper .swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    color: #fff;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.detail-swiper .swiper-button-prev {
    left: 20px;
}

.detail-swiper .swiper-button-next {
    right: 20px;
}

.detail-swiper .swiper-button-prev::after,
.detail-swiper .swiper-button-next::after {
    display: none;
}

.detail-swiper .swiper-button-prev::before {
    content: '‹';
    font-size: 28px;
    line-height: 1;
}

.detail-swiper .swiper-button-next::before {
    content: '›';
    font-size: 28px;
    line-height: 1;
}

.detail-swiper .swiper-thumbnails {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}

.detail-swiper .thumbnail {
    width: 90px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
}

.detail-swiper .thumbnail.active,
.detail-swiper .thumbnail:hover {
    opacity: 1;
}

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

.detail-content {
    padding: 60px 0;
    background: #fff;
}

.detail-content-inner {
    max-width: 900px;
    margin: 0 auto;
}

.detail-content-inner img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 25px 0;
}

.detail-content-inner p {
    margin-bottom: 18px;
    line-height: 1.9;
    font-size: 15px;
}

/* 详情页图片左右交错布局 */
.detail-image-left {
    float: left;
    margin: 20px 30px 20px 0;
    max-width: 45%;
}

.detail-image-right {
    float: right;
    margin: 20px 0 20px 30px;
    max-width: 45%;
}

.detail-image-left img,
.detail-image-right img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.detail-image-left figcaption,
.detail-image-right figcaption {
    font-size: 13px;
    color: #888;
    text-align: center;
    margin-top: 10px;
    font-style: italic;
}

/* 清除浮动 */
.detail-content-inner::after {
    content: '';
    display: table;
    clear: both;
}

.detail-content-inner h3 {
    color: var(--primary-color);
    font-size: 22px;
    margin: 30px 0 18px;
    padding-top: 20px;
    clear: both;
    font-weight: 600;
}

.detail-content-inner ul {
    list-style: disc;
    padding-left: 28px;
    margin-bottom: 18px;
}

.detail-content-inner ul li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.detail-content-inner strong {
    color: var(--primary-color);
}

.detail-nav {
    display: flex;
    justify-content: space-between;
    padding: 40px 0;
    border-top: 1px solid #eee;
}

.detail-nav a {
    color: var(--secondary-color);
    font-weight: 500;
}

.detail-nav a:hover {
    text-decoration: underline;
}

/* ========================================
   联系我们页
   ======================================== */
.contact-section {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.contact-info {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-info h2 {
    font-size: 26px;
    color: var(--primary-color);
    margin-bottom: 35px;
    font-weight: 600;
}

.contact-info h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    margin-top: 15px;
    border-radius: 2px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 18px 20px;
    background: #fafafa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #f0f5f9;
    transform: translateX(5px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-item-text h4 {
    font-size: 14px;
    color: #999;
    margin-bottom: 6px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item-text p {
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 500;
}

.contact-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 420px;
}

/* ========================================
   底部
   ======================================== */
.footer {
    background: linear-gradient(135deg, var(--primary-color), #1a252f);
    color: #fff;
    padding: 50px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-contact h3 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
}

.footer-contact strong {
    color: #fff;
    font-weight: 500;
}

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

.footer-qrcode h3 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;
}

.qrcode-placeholder {
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

.footer-bottom a {
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: #fff;
}

/* ========================================
   后台登录页
   ======================================== */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.login-box {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 400px;
}

.login-box h1 {
    text-align: center;
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus {
    border-color: var(--secondary-color);
}

.btn-login {
    width: 100%;
    padding: 12px;
    background: var(--secondary-color);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-login:hover {
    background: var(--primary-color);
}

.login-error {
    color: var(--accent-color);
    font-size: 13px;
    margin-top: 10px;
    text-align: center;
    display: none;
}

/* ========================================
   后台管理
   ======================================== */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 220px;
    background: var(--primary-color);
    color: #fff;
    padding: 20px 0;
}

.admin-sidebar h2 {
    padding: 0 20px 20px;
    font-size: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 20px;
}

.admin-menu-item {
    padding: 12px 20px;
    cursor: pointer;
    transition: var(--transition);
}

.admin-menu-item:hover,
.admin-menu-item.active {
    background: rgba(255,255,255,0.1);
}

.admin-menu-item.active {
    border-left: 3px solid var(--secondary-color);
}

.admin-content {
    flex: 1;
    background: var(--bg-light);
    padding: 30px;
}

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

.admin-header h1 {
    font-size: 24px;
    color: var(--primary-color);
}

.admin-header .user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.admin-table {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.admin-table table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.admin-table th {
    background: var(--primary-color);
    color: #fff;
    font-weight: 500;
}

.admin-table tr:hover {
    background: var(--bg-light);
}

.admin-table .actions {
    display: flex;
    gap: 10px;
}

.admin-table .btn-edit,
.admin-table .btn-delete {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    border: none;
}

.admin-table .btn-edit {
    background: var(--secondary-color);
    color: #fff;
}

.admin-table .btn-delete {
    background: var(--accent-color);
    color: #fff;
}

.btn-add {
    display: inline-block;
    padding: 10px 20px;
    background: var(--secondary-color);
    color: #fff;
    border-radius: var(--radius);
    font-size: 14px;
}

/* ========================================
   富文本编辑器
   ======================================== */
.editor-container {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
}

.ql-toolbar {
    border-bottom: 1px solid var(--border-color);
}

.ql-container {
    min-height: 300px;
    font-size: 15px;
}

/* ========================================
   响应式
   ======================================== */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
    }

    .nav {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .banner-swiper {
        height: 300px;
    }

    .category-tabs {
        gap: 10px;
    }

    .category-tab {
        padding: 15px 20px;
        min-width: 100px;
    }

    .cases-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 15px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        width: 60px;
    }

    .admin-sidebar h2,
    .admin-menu-item span {
        display: none;
    }

    .admin-menu-item {
        text-align: center;
        padding: 15px;
    }
}
