/* ========================================
   小宇纯粮酒官网 - 主样式表
   品牌调性：传统、质朴、可信、本地
   ======================================== */

/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8B2500;
    --secondary-color: #D4A574;
    --accent-color: #C41E3A;
    --text-dark: #2C1810;
    --text-light: #6B5B4F;
    --bg-light: #FFF8F0;
    --bg-white: #FFFFFF;
    --border-color: #E8D5C4;
    --shadow: 0 2px 12px rgba(139, 37, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(139, 37, 0, 0.15);
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
}

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

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

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

ul, ol {
    list-style: none;
}

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

/* ========== 头部导航 ========== */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-color);
}

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

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

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 24px;
    font-weight: bold;
}

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

.logo-text p {
    font-size: 12px;
    color: var(--text-light);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 10px 18px;
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    background: rgba(139, 37, 0, 0.08);
}

.nav-menu .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    min-width: 160px;
    box-shadow: var(--shadow);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    padding: 8px 0;
}

.nav-menu li:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .submenu a {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 0;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 18px;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
}

/* ========== 首页Banner ========== */
.banner {
    position: relative;
    height: 500px;
    background: linear-gradient(135deg, #2C1810 0%, #5C3317 50%, #8B2500 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(212,165,116,0.1)" stroke-width="0.5"/></svg>');
    background-size: 100px 100px;
    opacity: 0.3;
}

.banner-content {
    position: relative;
    z-index: 2;
    color: var(--bg-white);
    max-width: 600px;
}

.banner-content .tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(212, 165, 116, 0.2);
    border: 1px solid var(--secondary-color);
    border-radius: 20px;
    font-size: 14px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.banner-content h2 {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 16px;
    line-height: 1.3;
}

.banner-content h2 span {
    color: var(--secondary-color);
}

.banner-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    line-height: 1.8;
}

.banner-btns {
    display: flex;
    gap: 16px;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--bg-white);
}

.btn-primary:hover {
    background: #6B1C00;
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 37, 0, 0.3);
}

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

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--text-dark);
    transform: translateY(-2px);
}

.banner-image {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    opacity: 0.2;
}

/* ========== 通用区块 ========== */
.section {
    padding: 80px 0;
}

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

.section-header .section-tag {
    display: inline-block;
    font-size: 14px;
    color: var(--primary-color);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 32px;
    color: var(--text-dark);
    font-weight: bold;
    margin-bottom: 16px;
}

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

/* ========== 特色优势 ========== */
.features {
    background: var(--bg-white);
}

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

.feature-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: var(--bg-light);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), #A52A2A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 28px;
}

.feature-item h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: bold;
}

.feature-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========== 产品展示 ========== */
.products {
    background: var(--bg-light);
}

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

.product-card {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.product-image {
    height: 250px;
    background: linear-gradient(135deg, #F5E6D3, #E8D5C4);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image .product-icon {
    font-size: 80px;
    color: var(--primary-color);
    opacity: 0.6;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 12px;
    background: var(--accent-color);
    color: white;
    font-size: 12px;
    border-radius: 20px;
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: bold;
}

.product-info .product-spec {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.product-info .product-price {
    font-size: 24px;
    color: var(--accent-color);
    font-weight: bold;
    margin-bottom: 15px;
}

.product-info .product-price span {
    font-size: 14px;
    color: var(--text-light);
    font-weight: normal;
}

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

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

/* ========== 酿造工艺 ========== */
.craft {
    background: var(--bg-white);
}

.craft-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
}

.craft-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: var(--border-color);
}

.craft-step {
    position: relative;
    text-align: center;
    width: 15%;
    z-index: 2;
}

.craft-step-num {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--bg-white);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
}

.craft-step h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: bold;
}

.craft-step p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ========== 酒厂实拍 ========== */
.gallery {
    background: var(--bg-light);
}

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

.gallery-item {
    position: relative;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: linear-gradient(135deg, #D4A574, #8B2500);
}

.gallery-item::after {
    content: '查看详情';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 24, 16, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item .gallery-label {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* ========== FAQ区域 ========== */
.faq-section {
    background: var(--bg-white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 16px;
    background: var(--bg-light);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(139, 37, 0, 0.05);
}

.faq-question .faq-icon {
    color: var(--primary-color);
    font-size: 20px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    padding: 20px 25px;
    max-height: 500px;
}

/* ========== 联系区域 ========== */
.contact-section {
    background: linear-gradient(135deg, #2C1810 0%, #5C3317 100%);
    color: white;
}

.contact-section .section-header h2,
.contact-section .section-header p {
    color: white;
}

.contact-section .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

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

.contact-card {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(212, 165, 116, 0.2);
}

.contact-card .contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--secondary-color);
}

.contact-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--secondary-color);
}

.contact-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.contact-card .highlight {
    font-size: 22px;
    font-weight: bold;
    color: var(--secondary-color);
}

/* ========== 底部 ========== */
.footer {
    background: #1A0F0A;
    color: rgba(255, 255, 255, 0.6);
    padding: 60px 0 0;
}

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

.footer-about h3 {
    color: var(--secondary-color);
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-col h4 {
    color: var(--secondary-color);
    font-size: 16px;
    margin-bottom: 20px;
}

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

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
}

.footer-bottom p {
    margin-bottom: 5px;
}

/* ========== 面包屑导航 ========== */
.breadcrumb {
    background: var(--bg-white);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-light);
}

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

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

.breadcrumb .current {
    color: var(--primary-color);
}

/* ========== 页面头部 ========== */
.page-header {
    background: linear-gradient(135deg, #2C1810 0%, #5C3317 100%);
    padding: 60px 0;
    text-align: center;
    color: white;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

/* ========== 列表页 ========== */
.list-page {
    padding: 50px 0;
}

.list-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.news-list .news-item {
    display: flex;
    gap: 25px;
    padding: 25px 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.news-list .news-item:hover {
    padding-left: 10px;
}

.news-thumb {
    width: 200px;
    height: 140px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #D4A574, #8B2500);
}

.news-info {
    flex: 1;
}

.news-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
}

.news-info h3 a {
    color: var(--text-dark);
}

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

.news-meta {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
    display: flex;
    gap: 20px;
}

.news-summary {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 侧边栏 */
.sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.sidebar-widget {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
}

.sidebar-widget h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
    font-weight: bold;
}

.sidebar-widget ul li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color);
    font-size: 14px;
}

.sidebar-widget ul li:last-child {
    border-bottom: none;
}

.sidebar-widget ul li a {
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-widget ul li a:hover {
    color: var(--primary-color);
}

.sidebar-widget ul li .date {
    color: var(--text-light);
    font-size: 12px;
}

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

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.pagination a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination .current {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* ========== 内容页 ========== */
.article-page {
    padding: 50px 0;
}

.article-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.article-main {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.article-title {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.4;
    font-weight: bold;
}

.article-meta {
    display: flex;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
    font-size: 14px;
    color: var(--text-light);
}

.article-body {
    font-size: 16px;
    line-height: 2;
    color: var(--text-dark);
}

.article-body h2 {
    font-size: 22px;
    margin: 30px 0 15px;
    color: var(--text-dark);
    font-weight: bold;
    padding-left: 15px;
    border-left: 4px solid var(--primary-color);
}

.article-body h3 {
    font-size: 18px;
    margin: 25px 0 12px;
    color: var(--text-dark);
    font-weight: bold;
}

.article-body p {
    margin-bottom: 15px;
    text-indent: 2em;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 20px 0;
}

.article-body ul,
.article-body ol {
    margin: 15px 0;
    padding-left: 2em;
}

.article-body ul li,
.article-body ol li {
    margin-bottom: 8px;
    list-style: disc;
}

.article-body blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 15px 20px;
    background: var(--bg-light);
    margin: 20px 0;
    color: var(--text-light);
    font-style: italic;
}

/* ========== 关于我们页面 ========== */
.about-page {
    padding: 60px 0;
}

.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-section.reverse {
    direction: rtl;
}

.about-section.reverse > * {
    direction: ltr;
}

.about-image {
    height: 400px;
    border-radius: 12px;
    background: linear-gradient(135deg, #D4A574, #8B2500);
    position: relative;
    overflow: hidden;
}

.about-text h2 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: bold;
}

.about-text p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 2;
    margin-bottom: 15px;
}

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

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
}

.stat-item .stat-num {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-item .stat-label {
    font-size: 14px;
    color: var(--text-light);
}

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

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.contact-info-card {
    text-align: center;
    padding: 30px;
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.contact-info-card .icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
}

.contact-info-card h3 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.contact-info-card p {
    font-size: 14px;
    color: var(--text-light);
}

.contact-info-card .highlight {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
}

.contact-form-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-form h2 {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--text-dark);
    font-weight: bold;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

.map-placeholder {
    height: 100%;
    min-height: 400px;
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.map-placeholder .map-icon {
    font-size: 60px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.map-placeholder h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .list-content,
    .article-content {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .header .container {
        height: 60px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 15px;
        box-shadow: var(--shadow);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .header-contact {
        display: none;
    }
    
    .banner {
        height: 400px;
    }
    
    .banner-content h2 {
        font-size: 28px;
    }
    
    .banner-content p {
        font-size: 16px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .craft-timeline {
        flex-direction: column;
        gap: 30px;
    }
    
    .craft-timeline::before {
        display: none;
    }
    
    .craft-step {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 20px;
        text-align: left;
    }
    
    .craft-step-num {
        margin: 0;
        flex-shrink: 0;
    }
    
    .footer-grid {
        
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-section.reverse {
        direction: ltr;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-section {
        grid-template-columns: 1fr;
    }
    
    .news-list .news-item {
        flex-direction: column;
    }
    
    .news-thumb {
        width: 100%;
        height: 180px;
    }
    
    .article-main {
        padding: 25px;
    }
    
    .article-title {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .banner-btns {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}
