/* ================================
   恒星锰业企业网站 - 样式表
   ================================ */

/* CSS 变量 */
:root {
    --primary-color: #1a5276;
    --secondary-color: #2980b9;
    --accent-color: #e74c3c;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 5px 20px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

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

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

/* 导航栏 */
.navbar {
    position: fixed;
	/*position: sticky;*/
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}


.navbar.scrolled {
    box-shadow: var(--shadow-hover);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
	}


.logo-icon {
    width: 60px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-blue:#2980b9));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    font-weight: bold;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-cn {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-dark);
    line-height: 1.2;
}

.logo-en {
    font-size: 11px;
    color: var(--text-gray);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* Banner */
.banner {
    margin-top: 70px;
    height: 500px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%), url('https://picsum.photos/id/1051/1600/900');
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.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(255,255,255,0.1)" stroke-width="0.5"/></svg>');
    opacity: 0.3;
}

.banner-content {
    position: relative;
    z-index: 1;
    padding: 20px;
}

.banner h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.banner p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* 按钮 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background: transparent;
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline:hover {
    background: var(--secondary-color);
    color: white;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 16px;
}

/* Section */
.section {
    padding: 5px 10px;
}

.section-gray {
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* 首页 - 关于我们预览 */
.about-preview {
    padding: 60px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

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

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

.stat-number {
    display: block;
    font-size: 42px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

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

/* 产品预览 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.product-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.product-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.product-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.product-link {
    color: var(--secondary-color);
    font-weight: 500;
}

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

.center-btn {
    text-align: center;
}

/* 新闻预览 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.news-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-card:hover {
    box-shadow: var(--shadow-hover);
}

.news-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.news-card.featured .news-date {
    color: rgba(255,255,255,0.8);
}

.news-card.featured h3 {
    color: white;
}

.news-card.featured p {
    color: rgba(255,255,255,0.9);
}

.news-card.featured .news-link {
    color: white;
}

.news-date {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.news-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

.news-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.news-link {
    color: var(--secondary-color);
    font-weight: 500;
}

/* 联系预览 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.contact-item {
    text-align: center;
    padding: 30px;
}

.contact-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-item p {
    color: var(--text-light);
}

/* 页脚 */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-section ul li {
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-section ul li a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
    text-align: center;
    opacity: 0.8;
    font-size: 14px;
}

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

/* 页面标题 */
.page-header {
    margin-top: 70px;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.breadcrumb {
    opacity: 0.8;
}

/* 关于页面 */
.about-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

 .about-img{
    position: relative;
    max-width: 1800px;
    width: 100%;
	height: auto;
    margin: 0 auto;      /* 核心：让容器居中 */
    padding: 0 20px;
}

.about-text h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.image-placeholder {
    width: 100%;
    height: auto;
    background: linear-gradient(135deg, #e0e0e0, #f0f0f0);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 18px;
}

/* 企业文化 */
.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.culture-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.culture-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.culture-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.culture-card p,
.culture-card ul {
    color: var(--text-light);
    line-height: 1.8;
}

.culture-card ul li {
    margin-bottom: 8px;
}

/* 企业规模表格 */
.scale-table {
    max-width: 600px;
    margin: 0 auto;
    overflow-x: auto;
}

.scale-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.scale-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 500;
}

.scale-table tr:last-child td {
    border-bottom: none;
}

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

/* 荣誉资质 */
.honors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
}

.honor-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.honor-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.honor-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 16px;
}

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

/* 时间线 */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--secondary-color);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding: 20px 0;
    position: relative;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
}

.timeline-year {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    z-index: 1;
}

.timeline-content {
    width: 45%;
    padding: 20px;
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 50%;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-light);
}

/* 产品页面 */
.product-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.product-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--bg-white);
    border-radius: 30px;
    box-shadow: var(--shadow);
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.product-nav-item:hover,
.product-nav-item.active {
    background: var(--secondary-color);
    color: white;
}

.nav-icon {
    font-size: 24px;
}

.products-detail {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.product-detail-card {
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.product-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: var(--primary-color);
    color: white;
}

.product-detail-header h3 {
    font-size: 24px;
}

.product-tag {
    padding: 5px 15px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    font-size: 14px;
}

.product-tag.hot {
    background: var(--accent-color);
}

.product-detail-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 30px;
}

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

.product-specs th,
.product-specs td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.product-specs th {
    color: var(--primary-color);
    font-weight: 500;
}

.product-desc p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.7;
}

.product-desc ul li {
    color: var(--text-light);
    margin-bottom: 8px;
}

/* 产品优势 */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-card {
    text-align: center;
    padding: 30px;
}

.advantage-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.advantage-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.advantage-card p {
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.cta-section p {
    opacity: 0.9;
    margin-bottom: 30px;
    font-size: 18px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-section .btn-outline {
    border-color: white;
    color: white;
}

.cta-section .btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

/* 新闻页面 */
.news-category {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 10px 25px;
    border: 2px solid var(--secondary-color);
    background: transparent;
    color: var(--secondary-color);
    border-radius: 25px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}

.category-btn:hover,
.category-btn.active {
    background: var(--secondary-color);
    color: white;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-item {
    display: flex;
    gap: 30px;
    padding: 30px;
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-item:hover {
    box-shadow: var(--shadow-hover);
}

.news-item-date {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: white;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.news-item-date .day {
    font-size: 32px;
    font-weight: bold;
    line-height: 1;
}

.news-item-date .month {
    font-size: 14px;
    opacity: 0.8;
}

.news-item-content {
    flex: 1;
}

.news-item-tag {
    display: inline-block;
    padding: 5px 12px;
    background: var(--bg-light);
    color: var(--secondary-color);
    border-radius: 15px;
    font-size: 13px;
    margin-bottom: 10px;
}

.news-item-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

.news-item-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.7;
}

.read-more {
    color: var(--secondary-color);
    font-weight: 500;
}

/* 新闻弹窗 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    overflow-y: auto;
    padding: 50px 20px;
}

.modal-content {
    background: var(--bg-white);
    max-width: 800px;
    margin: 0 auto;
    border-radius: 10px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: var(--text-light);
    z-index: 1;
}

.modal-close:hover {
    color: var(--text-color);
}

.modal-body {
    padding: 40px;
}

.modal-body h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.news-meta {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
}

.modal-body hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 20px 0;
}

.modal-body h3 {
    color: var(--primary-color);
    margin: 25px 0 15px;
}

.modal-body p,
.modal-body li {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 10px;
}

.modal-body ol,
.modal-body ul {
    margin-left: 20px;
    list-style: disc;
}

.modal-body ol {
    list-style: decimal;
}

.news-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.news-table th,
.news-table td {
    padding: 12px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.news-table th {
    background: var(--bg-light);
    color: var(--primary-color);
}

/* 联系页面 */
.contact-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.contact-detail-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.contact-detail-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

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

.contact-detail-card p {
    color: var(--text-light);
}

/* 部门表格 */
.department-table {
    overflow-x: auto;
}

.department-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.department-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 500;
}

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

/* 联系表单 */
.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

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

.required {
    color: var(--accent-color);
}

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

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

.form-group textarea {
    resize: vertical;
}

/* 地图占位 */
.map-placeholder {
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.map-content {
    padding: 60px;
    text-align: center;
}

.map-icon {
    font-size: 60px;
    display: block;
    margin-bottom: 20px;
}

.map-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.map-content p {
    color: var(--text-light);
    margin-bottom: 10px;
}

.map-hint {
    color: #999;
    font-style: italic;
    margin-bottom: 30px;
}

.map-directions {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 5px;
    text-align: left;
}

.map-directions p {
    margin-bottom: 10px;
}

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

.faq-item {
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question h3 {
    color: var(--primary-color);
    font-size: 18px;
}

.faq-icon {
    font-size: 24px;
    color: var(--secondary-color);
    font-weight: 300;
}

.faq-answer {
    display: none;
    padding: 0 25px 25px;
    color: var(--text-light);
    line-height: 1.8;
}

.faq-answer p,
.faq-answer li {
    margin-bottom: 10px;
}

.faq-answer ol,
.faq-answer ul {
    margin-left: 20px;
}

.faq-answer ol {
    list-style: decimal;
}

.faq-answer ul {
    list-style: disc;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: var(--shadow);
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .banner {
        height: 350px;
        margin-top: 60px;
    }

    .banner h1 {
        font-size: 28px;
    }

    .banner p {
        font-size: 16px;
    }

    .section {
        padding: 50px 0;
    }

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

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-card.featured {
        grid-column: span 1;
    }

    .about-main {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-year {
        left: 30px;
        transform: translateX(-50%);
        width: 60px;
        height: 60px;
        font-size: 14px;
    }

    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
    }

    .product-detail-body {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 25px;
    }

    .modal-content {
        margin: 20px;
    }

    .modal-body {
        padding: 25px;
    }

    .news-item {
        flex-direction: column;
    }

    .news-item-date {
        width: 100%;
        height: 50px;
        flex-direction: row;
        gap: 10px;
    }

    .news-item-date .day {
        font-size: 20px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo-text {
        font-size: 20px;
    }

    .banner h1 {
        font-size: 24px;
    }

    .stat-number {
        font-size: 32px;
    }

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

    .culture-grid,
    .honors-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
    }
}
