/**
 * SMT Industry 主题样式
 * 文件名: theme-style.css
 * 版本: 1.0.0
 */

/* ==================== 全局样式 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

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

/* ==================== 头部样式 ==================== */
.site-header {
    background-color: var(--header-bg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 100;
}

.header-top {
    background-color: #f5f5f5;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid #eee;
}

.header-info {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.header-info span {
    display: inline-flex;
    align-items: center;
}

.header-info i {
    margin-right: 5px;
    color: var(--primary-color);
}

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

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

.logo-area {
    flex-shrink: 0;
}

.logo-area .site-title {
    margin: 0;
    font-size: 24px;
}

.logo-area .site-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.custom-logo {
    max-height: 60px;
    width: auto;
}

/* 导航菜单 */
.main-navigation {
    flex: 1;
    text-align: center;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
    margin: 0 5px;
}

.nav-menu li a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

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

.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    list-style: none;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
    border-radius: 4px;
}

.nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
}

.nav-menu .sub-menu li {
    margin: 0;
}

.nav-menu .sub-menu li a {
    padding: 8px 20px;
    font-size: 14px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    color: #333;
}

/* ==================== 搜索框样式 ==================== */
.header-search {
    position: relative;
    margin-left: 20px;
}

.search-toggle {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 10px;
    color: #333;
    transition: color 0.3s, transform 0.3s;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-toggle:hover {
    color: var(--primary-color);
    background: rgba(0,0,0,0.05);
}

.search-toggle.active {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.search-form-container {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 320px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding: 20px;
    display: none;
    z-index: 1000;
}

.search-form {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.search-form label {
    flex: 1;
    margin: 0;
}

.search-form input[type="search"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-right: none;
    border-radius: 6px 0 0 6px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
    background: #f8f9fa;
}

.search-form input[type="search"]:focus {
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}

.search-submit {
    padding: 12px 24px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.search-submit:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-top: 5px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1001;
}

.suggestion-item {
    display: block;
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    transition: background 0.2s;
}

.suggestion-item:hover {
    background: #f8f9fa;
}

.suggestion-title {
    display: block;
    color: #333;
    font-size: 14px;
}

/* ==================== 轮播图样式 ==================== */
.front-slider {
    width: 100%;
    height: 600px;
    position: relative;
    overflow: hidden;
}

.front-slider .swiper-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.front-slider .swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
}

.slider-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    width: 80%;
    max-width: 800px;
}

.slider-title {
    font-size: 48px;
    margin-bottom: 20px;
}

.slider-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
}

.slider-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s;
}

.slider-btn:hover {
    background: var(--secondary-color);
    color: #fff;
    transform: translateY(-2px);
}

.swiper-button-prev,
.swiper-button-next {
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    transition: all 0.3s;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: var(--primary-color);
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
}

/* ==================== 首页模块样式 ==================== */
.front-section {
    padding: 80px 0;
}

.front-section:nth-child(even) {
    background-color: #f9f9f9;
}

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

.section-title {
    font-size: 36px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.section-subtitle {
    font-size: 16px;
    color: #666;
    margin-top: 20px;
}

.section-footer {
    text-align: center;
    margin-top: 40px;
}

/* 服务模块 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-item {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 40px;
    color: #fff;
}

.service-title {
    font-size: 20px;
    margin-bottom: 15px;
}

.service-description {
    color: #666;
}

/* 产品模块 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.product-item:hover {
    transform: translateY(-5px);
}

.product-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-content {
    padding: 20px;
}

.product-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.product-title a {
    color: #333;
    text-decoration: none;
}

.product-title a:hover {
    color: var(--primary-color);
}

.product-excerpt {
    color: #666;
    font-size: 14px;
}

/* 新闻模块 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.news-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-date {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.news-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.news-title a {
    color: #333;
    text-decoration: none;
}

.news-title a:hover {
    color: var(--primary-color);
}

.news-excerpt {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.news-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

/* TAB切换样式 */
.tab-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    border-bottom: 1px solid #e0e0e0;
}

.tab-btn {
    background: none;
    border: none;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

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

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

.tab-more {
    margin-left: auto;
    padding: 12px 20px;
    font-size: 14px;
    color: var(--primary-color);
    text-decoration: none;
}

.tab-more:hover {
    color: var(--secondary-color);
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: #fff;
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

/* ==================== 页脚样式 ==================== */
.site-footer {
    background-color: var(--footer-bg);
    color: #fff;
    margin-top: 40px;
}

.footer-widgets {
    padding: 50px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-widgets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-widget h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-widget p,
.footer-widget a {
    color: #aaa;
    text-decoration: none;
    line-height: 1.8;
}

.footer-widget a:hover {
    color: var(--primary-color);
}

.footer-widget i {
    margin-right: 10px;
    width: 20px;
}

.footer-menu {
    list-style: none;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-bottom {
    padding: 20px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright p {
    color: #aaa;
    margin: 0;
}

.footer-filing a {
    color: #aaa;
    text-decoration: none;
    margin-left: 20px;
}

.footer-filing a:hover {
    color: var(--primary-color);
}

/* ==================== 文章样式 ==================== */
.content-area {
    padding: 40px 0;
}

.post-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.post-thumbnail {
    flex-shrink: 0;
    width: 200px;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.entry-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.entry-title a {
    color: #333;
    text-decoration: none;
}

.entry-title a:hover {
    color: var(--primary-color);
}

.entry-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

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

.entry-meta span {
    margin-right: 15px;
}

.entry-summary {
    color: #666;
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.archive-post {
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
}

.archive-post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.archive-post-content {
    padding: 20px;
}

.archive-post-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.archive-post-excerpt {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.archive-post-link {
    color: var(--primary-color);
    text-decoration: none;
}

.related-posts {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.related-post-item {
    text-align: center;
}

.related-post-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.pagination {
    margin-top: 40px;
    text-align: center;
}

.page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 2px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
}

.page-numbers.current {
    background: var(--primary-color);
    color: #fff;
}

/* ==================== 404错误页面样式 ==================== */
.error-404 {
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #eef2f7 100%);
    position: relative;
    overflow: hidden;
}

.error-404::before {
    content: '404';
    position: absolute;
    font-size: 300px;
    font-weight: bold;
    color: rgba(0,0,0,0.03);
    bottom: -50px;
    right: -50px;
    font-family: Arial, sans-serif;
    pointer-events: none;
}

.error-404::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0.05;
    top: -100px;
    left: -100px;
    border-radius: 50%;
    pointer-events: none;
}

.error-content {
    text-align: center;
    max-width: 600px;
    width: 100%;
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,0.95);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.6s ease;
}

.error-title {
    font-size: 120px;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
    line-height: 1;
    text-shadow: 4px 4px 0 rgba(0,0,0,0.05);
    animation: pulse 2s ease infinite;
}

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

.error-title span {
    display: inline-block;
    animation: bounce 1s ease infinite;
}

.error-title span:nth-child(1) { animation-delay: 0s; }
.error-title span:nth-child(2) { animation-delay: 0.1s; }
.error-title span:nth-child(3) { animation-delay: 0.2s; }

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

.error-content h2 {
    font-size: 28px;
    color: #333;
    margin: 20px 0 15px;
    font-weight: 600;
}

.error-content p {
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
}

.error-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.error-content .btn-primary {
    background: var(--primary-color);
    color: #fff;
    padding: 12px 28px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,102,204,0.3);
}

.error-content .btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,102,204,0.4);
}

.error-content .btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 26px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.error-content .btn-secondary:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.error-search {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.error-search-title {
    font-size: 14px;
    color: #999;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.error-search-title:before,
.error-search-title:after {
    content: '';
    width: 30px;
    height: 1px;
    background: #ddd;
}

.error-404 .search-form {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.error-404 .search-form input[type="search"] {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #e0e0e0;
    border-right: none;
    border-radius: 50px 0 0 50px;
    font-size: 14px;
    outline: none;
}

.error-404 .search-form button {
    padding: 14px 25px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
}

.error-suggestions {
    margin-top: 30px;
    text-align: center;
}

.error-suggestions h4 {
    font-size: 14px;
    color: #999;
    margin-bottom: 15px;
    font-weight: 500;
}

.error-suggestions-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.error-suggestions-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    position: relative;
}

.error-suggestions-links a:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.error-suggestions-links a:hover:after {
    width: 100%;
}

.error-icon {
    font-size: 60px;
    color: var(--primary-color);
    opacity: 0.5;
    margin-bottom: 20px;
    animation: float 3s ease infinite;
}

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

/* 搜索页面 */
.search-header {
    margin-bottom: 30px;
}

.search-title {
    font-size: 28px;
}

.search-result {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.search-result-title {
    font-size: 20px;
    margin-bottom: 10px;
}

.search-result-excerpt {
    color: #666;
    margin-bottom: 10px;
}

/* 返回顶部 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    z-index: 1000;
    transition: all 0.3s;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 768px) {
    .front-slider {
        height: 400px;
    }
    
    .slider-title {
        font-size: 28px;
    }
    
    .slider-subtitle {
        font-size: 16px;
    }
    
    .front-section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    .nav-menu.show {
        display: flex;
    }
    
    .nav-menu li {
        margin: 0;
    }
    
    .nav-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        padding-left: 20px;
    }
    
    .services-grid,
    .products-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .post-item {
        flex-direction: column;
    }
    
    .post-thumbnail {
        width: 100%;
    }
    
    .archive-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-filing a {
        margin: 0 10px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
    
    .tab-nav {
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        flex-wrap: nowrap;
    }
    
    .tab-btn {
        flex-shrink: 0;
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .error-404 {
        padding: 60px 15px;
    }
    
    .error-content {
        padding: 30px 25px;
    }
    
    .error-title {
        font-size: 80px;
    }
    
    .error-content h2 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .front-slider {
        height: 300px;
    }
    
    .slider-title {
        font-size: 22px;
    }
    
    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .error-title {
        font-size: 60px;
    }
    
    .error-content h2 {
        font-size: 18px;
    }
    
    .error-buttons {
        flex-direction: column;
    }
    
    .error-suggestions-links {
        flex-direction: column;
        gap: 10px;
    }
}