/* ============================================
   奥卡达皮具 - 三语言官网公共样式
   主色调：深灰(#1a1a2e) + 藏蓝(#1b3a5c) + 纯白 + 金色(#c9a96e)
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root { --bg-dark: #1a1a2e; --bg-blue: #1b3a5c; --white: #ffffff; --gold: #c9a96e; --gold-light: #d4b87a; --gray-100: #f5f5f5; --gray-200: #e5e5e5; --gray-300: #d4d4d4; --gray-500: #888; --gray-700: #444; --text: #333; --text-light: #666; --radius: 8px; --shadow: 0 4px 20px rgba(0,0,0,0.1); --transition: 0.3s ease; --max-width: 1280px; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif; color: var(--text); background: var(--white); line-height: 1.7; font-size: 15px; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(26,26,46,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.logo { font-size: 20px; font-weight: 700; color: var(--white); white-space: nowrap; }
.logo span { color: var(--gold); }
.nav { display: flex; gap: 4px; }
.nav a { color: rgba(255,255,255,0.8); padding: 8px 16px; border-radius: 6px; font-size: 14px; transition: var(--transition); font-weight: 500; }
.nav a:hover, .nav a.active { color: var(--gold); background: rgba(255,255,255,0.06); }
.lang-switch { position: relative; }
.lang-btn { background: rgba(255,255,255,0.08); color: var(--white); border: 1px solid rgba(255,255,255,0.15); padding: 8px 14px; border-radius: 6px; cursor: pointer; font-size: 13px; display: flex; gap: 6px; align-items: center; }
.lang-dropdown { display: none; position: absolute; top: 100%; right: 0; background: var(--bg-dark); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; min-width: 130px; overflow: hidden; margin-top: 6px; }
.lang-dropdown.show { display: block; }
.lang-dropdown a { display: block; padding: 10px 16px; color: rgba(255,255,255,0.8); font-size: 13px; transition: var(--transition); }
.lang-dropdown a:hover, .lang-dropdown a.active { color: var(--gold); background: rgba(255,255,255,0.06); }
.menu-toggle { display: none; background: none; border: none; color: var(--white); font-size: 24px; cursor: pointer; padding: 4px; }
.hero { position: relative; height: 560px; overflow: hidden; margin-top: 70px; background: linear-gradient(135deg, var(--bg-dark), var(--bg-blue)); }
.hero-slider { position: relative; height: 100%; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease; display: flex; align-items: center; justify-content: center; }
.hero-slide.active { opacity: 1; }
.hero-slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(26,26,46,0.4), rgba(26,26,46,0.8)); }
.hero-content { position: relative; z-index: 2; text-align: center; color: var(--white); max-width: 700px; padding: 0 20px; }
.hero-content h1 { font-size: 40px; font-weight: 700; margin-bottom: 16px; line-height: 1.3; }
.hero-content p { font-size: 18px; opacity: 0.9; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; padding: 14px 32px; border-radius: 50px; font-weight: 600; font-size: 15px; cursor: pointer; border: none; transition: var(--transition); text-align: center; }
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(201,169,110,0.3); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: 8px 20px; font-size: 13px; }
.btn-block { display: block; width: 100%; }
.hero-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.hero-dots button { width: 12px; height: 12px; border-radius: 50%; border: none; background: rgba(255,255,255,0.4); cursor: pointer; transition: var(--transition); }
.hero-dots button.active { background: var(--gold); width: 28px; border-radius: 6px; }
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 32px; font-weight: 700; color: var(--bg-dark); margin-bottom: 12px; }
.section-header p { color: var(--text-light); font-size: 16px; }
.section-gray { background: var(--gray-100); }
.section-dark { background: var(--bg-dark); color: var(--white); }
.section-dark .section-header h2 { color: var(--white); }
.section-dark .section-header p { color: rgba(255,255,255,0.6); }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-card { background: var(--white); border-radius: 12px; padding: 40px 24px; text-align: center; box-shadow: var(--shadow); transition: var(--transition); cursor: pointer; border: 1px solid transparent; position: relative; overflow: hidden; }
.cat-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--bg-dark), var(--bg-blue)); opacity: 0; transition: var(--transition); z-index: 0; }
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.15); }
.cat-card:hover::before { opacity: 0.95; }
.cat-card:hover .cat-icon { color: var(--gold); }
.cat-card:hover .cat-name { color: var(--white); }
.cat-icon { font-size: 36px; color: var(--gold); margin-bottom: 12px; transition: var(--transition); position: relative; z-index: 1; }
.cat-name { font-size: 16px; font-weight: 600; transition: var(--transition); position: relative; z-index: 1; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,0.12); }
.product-img { height: 240px; background: var(--gray-100); display: flex; align-items: center; justify-content: center; color: var(--gray-500); font-size: 14px; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-info { padding: 20px; }
.product-info h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.product-info .params { color: var(--text-light); font-size: 13px; line-height: 1.8; }
.product-info .tags { display: flex; gap: 8px; margin-top: 12px; }
.tag { background: rgba(201,169,110,0.1); color: var(--gold); padding: 4px 10px; border-radius: 4px; font-size: 12px; }
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.filter-tag { padding: 10px 24px; border: 1px solid var(--gray-300); border-radius: 50px; cursor: pointer; font-size: 14px; transition: var(--transition); background: var(--white); color: var(--text); }
.filter-tag:hover, .filter-tag.active { border-color: var(--gold); color: var(--white); background: var(--gold); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-card { text-align: center; padding: 40px 24px; }
.feature-icon { font-size: 40px; margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.feature-card p { color: var(--text-light); font-size: 14px; }
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.step { text-align: center; position: relative; }
.step::after { content: '→'; position: absolute; top: 30px; right: -16px; font-size: 20px; color: var(--gold); }
.step:last-child::after { display: none; }
.step-num { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, var(--bg-dark), var(--bg-blue)); color: var(--white); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 22px; font-weight: 700; }
.step h4 { font-size: 14px; font-weight: 600; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.news-card:hover { transform: translateY(-4px); }
.news-img { height: 180px; background: var(--gray-100); display: flex; align-items: center; justify-content: center; color: var(--gray-500); }
.news-body { padding: 20px; }
.news-body h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; line-height: 1.4; }
.news-body p { color: var(--text-light); font-size: 14px; margin-bottom: 12px; }
.news-date { font-size: 12px; color: var(--gray-500); }
.detail-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.detail-main-img { height: 400px; background: var(--gray-100); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--gray-500); margin-bottom: 12px; }
.detail-thumbs { display: flex; gap: 10px; }
.detail-thumb { width: 80px; height: 80px; border-radius: 8px; background: var(--gray-100); cursor: pointer; border: 2px solid transparent; transition: var(--transition); }
.detail-thumb:hover, .detail-thumb.active { border-color: var(--gold); }
.detail-info h1 { font-size: 28px; font-weight: 700; color: var(--bg-dark); margin-bottom: 16px; }
.detail-meta { margin-bottom: 20px; }
.detail-meta span { display: inline-block; background: rgba(201,169,110,0.1); color: var(--gold); padding: 6px 14px; border-radius: 4px; font-size: 13px; margin-right: 8px; }
.params-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.params-table td { padding: 10px 12px; border-bottom: 1px solid var(--gray-200); font-size: 14px; }
.params-table td:first-child { font-weight: 600; width: 30%; color: var(--text-light); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 14px; }
.form-group label .req { color: #e53e3e; }
.form-control { width: 100%; padding: 12px 16px; border: 1px solid var(--gray-300); border-radius: 8px; transition: var(--transition); outline: none; }
.form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,169,110,0.1); }
textarea.form-control { resize: vertical; min-height: 120px; }
.inquiry-form { background: var(--white); padding: 32px; border-radius: 12px; box-shadow: var(--shadow); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info-item { display: flex; gap: 12px; margin-bottom: 20px; align-items: flex-start; }
.contact-icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(201,169,110,0.1); color: var(--gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; }
.contact-text h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.contact-text p { color: var(--text-light); font-size: 14px; }
.map-placeholder { height: 350px; background: var(--gray-100); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--gray-500); font-size: 14px; }
.footer { background: var(--bg-dark); color: rgba(255,255,255,0.7); padding: 50px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: var(--white); font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.footer-col p { font-size: 13px; line-height: 1.8; margin-bottom: 6px; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 13px; line-height: 2.2; display: block; transition: var(--transition); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 13px; }
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.page-banner { background: linear-gradient(135deg, var(--bg-dark), var(--bg-blue)); padding: 100px 20px 60px; text-align: center; color: var(--white); margin-top: 70px; }
.page-banner h1 { font-size: 36px; font-weight: 700; margin-bottom: 8px; }
.page-banner p { font-size: 16px; opacity: 0.8; }
.inquire-float { position: fixed; right: 24px; bottom: 100px; z-index: 999; }
.inquire-float a { display: flex; align-items: center; gap: 8px; background: var(--gold); color: #fff; padding: 14px 24px; border-radius: 50px; font-weight: 600; box-shadow: 0 8px 30px rgba(201,169,110,0.4); transition: var(--transition); }
.inquire-float a:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(201,169,110,0.5); }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pagination a, .pagination span { padding: 10px 16px; border-radius: 8px; font-size: 14px; transition: var(--transition); border: 1px solid var(--gray-300); }
.pagination a:hover { border-color: var(--gold); color: var(--gold); }
.pagination .current { background: var(--gold); color: #fff; border-color: var(--gold); }
[dir="rtl"] .header-inner { flex-direction: row-reverse; }
[dir="rtl"] .nav { direction: rtl; }
[dir="rtl"] .lang-dropdown { right: auto; left: 0; }
[dir="rtl"] .lang-dropdown a { text-align: right; }
[dir="rtl"] .hero-content { direction: rtl; }
[dir="rtl"] .step::after { content: '←'; right: auto; left: -16px; }
[dir="rtl"] .inquire-float { right: auto; left: 24px; }
[dir="rtl"] .contact-icon { margin-left: 12px; margin-right: 0; }
[dir="rtl"] .footer-grid { direction: rtl; }
[dir="rtl"] .footer-bottom { direction: rtl; }
[dir="rtl"] .form-control { text-align: right; }
@media (max-width: 1024px) { .product-grid { grid-template-columns: repeat(2, 1fr); } .cat-grid { grid-template-columns: repeat(2, 1fr); } .steps { grid-template-columns: repeat(3, 1fr); } .step::after { display: none; } .detail-wrap { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .menu-toggle { display: block; } .nav { display: none; position: fixed; top: 70px; left: 0; right: 0; background: var(--bg-dark); flex-direction: column; padding: 20px; gap: 4px; } .nav.open { display: flex; } .hero { height: 420px; } .hero-content h1 { font-size: 28px; } .hero-content p { font-size: 15px; } .section { padding: 50px 0; } .section-header h2 { font-size: 26px; } .product-grid { grid-template-columns: repeat(2, 1fr); } .product-img { height: 200px; } .cat-grid { grid-template-columns: 1fr 1fr; } .news-grid { grid-template-columns: 1fr; } .contact-grid { grid-template-columns: 1fr; } .steps { grid-template-columns: repeat(2, 1fr); } .feature-grid { grid-template-columns: 1fr; } .detail-wrap { grid-template-columns: 1fr; } .detail-main-img { height: 300px; } .detail-thumbs { overflow-x: auto; -webkit-overflow-scrolling: touch; gap: 8px; } .detail-thumb { flex-shrink: 0; } .page-banner h1 { font-size: 28px; } .page-banner { padding: 80px 20px 40px; } .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .product-grid { grid-template-columns: 1fr; } .product-img { height: 220px; } .cat-grid { grid-template-columns: 1fr; } .hero-content h1 { font-size: 22px; word-break: break-word; } .hero-content p { font-size: 14px; } .hero { height: 350px; } .hero-btns { flex-direction: column; align-items: center; } .hero-btns .btn { width: 100%; max-width: 280px; } .section-header h2 { font-size: 22px; } .page-banner h1 { font-size: 22px; } .page-banner p { font-size: 14px; } .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; text-align: center; } .inquiry-form { padding: 20px; } .filter-bar { gap: 6px; } .filter-tag { padding: 8px 16px; font-size: 13px; } .detail-main-img { height: 250px; } .detail-info h1 { font-size: 22px; } .data-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; } .params-table { min-width: 280px; } .steps { grid-template-columns: 1fr 1fr; } .step-num { width: 48px; height: 48px; font-size: 18px; } }
