/* Base Styles & Variables */
:root {
    --primary-color: #ff6a00;    /* Industrial Orange */
    --primary-dark: #e05d00;
    --dark-bg: #212529;          /* Metal Gray */
    --dark-deep: #111417;        
    --light-bg: #f4f6f8;
    --text-color: #333333;
    --border-color: #dee2e6;
    --white: #ffffff;
    --font-family: 'Roboto', sans-serif;
    --transition: 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}
html { scroll-behavior: smooth; }

/* Typography */
h1, h2, h3, h4 { font-weight: 900; line-height: 1.2; text-transform: uppercase; letter-spacing: 1px; }
h1 { font-size: 4rem; margin-bottom: 20px; }
h2 { font-size: 2.5rem; margin-bottom: 10px; }
h3 { font-size: 1.5rem; margin-bottom: 10px; }
.highlight { color: var(--primary-color); }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-white h1, .text-white h2, .text-white p { color: var(--white); }
.subtitle { font-size: 1.2rem; color: #666; margin-bottom: 30px; }
.margin-top { margin-top: 40px; }

/* Utilities */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.bg-light { background-color: var(--light-bg); }
.bg-dark { background-color: var(--dark-bg); }
.bg-dark-deep { background-color: var(--dark-deep); }
.bg-primary { background-color: var(--primary-color); }

.divider {
    height: 4px;
    width: 60px;
    background-color: var(--primary-color);
    margin: 20px auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    transform: skewX(-5deg);
}
.btn-primary { background-color: var(--primary-color); color: var(--white); }
.btn-primary:hover { background-color: var(--primary-dark); transform: skewX(-5deg) translateY(-2px); }
.btn-secondary { background-color: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-secondary:hover { background-color: var(--white); color: var(--dark-bg); }
.btn-dark { background-color: var(--dark-bg); color: var(--white); }
.btn-dark:hover { background-color: var(--dark-deep); }

/* Topbar & Header */
.topbar { background-color: var(--dark-deep); color: #aaa; font-size: 0.85rem; padding: 8px 0; }
.topbar-content { display: flex; justify-content: flex-end; gap: 20px; }
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-container { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo-text { font-size: 1.8rem; font-weight: 900; color: var(--dark-bg); letter-spacing: 2px; }
.nav-links { display: flex; list-style: none; gap: 25px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--dark-bg); font-weight: 700; text-transform: uppercase; transition: var(--transition); }
.nav-links a:hover { color: var(--primary-color); }
.lang-switch a {
    border: 2px solid var(--primary-color);
    padding: 6px 12px;
    border-radius: 4px;
}
.lang-switch a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Language Toggle Utilities */
body.lang-en .zh-only { display: none !important; }
body.lang-zh .en-only { display: none !important; }

/* Hero */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(33, 37, 41, 0.8), rgba(33, 37, 41, 0.8)), url('assets/images/废五金类/placeholder.jpg') center/cover;
    border-bottom: 8px solid var(--primary-color);
}
.hero-content {
    animation: slideUp 1s ease;
}
.hero-text p { font-size: 1.25rem; max-width: 600px; margin-bottom: 30px; border-left: 4px solid var(--primary-color); padding-left: 15px; }
.hero-buttons { display: flex; gap: 20px; }

/* Processing Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.stat-card {
    background: var(--white);
    padding: 40px 20px;
    border: 1px solid var(--border-color);
    box-shadow: 5px 5px 0px rgba(0,0,0,0.05);
}
.highlight-card {
    border-color: var(--primary-color);
    box-shadow: 5px 5px 0px var(--primary-color);
}
.stat-num { font-size: 2.5rem; font-weight: 900; color: var(--dark-bg); margin-bottom: 10px; }
.stat-card p { font-weight: 700; color: #666; text-transform: uppercase; font-size: 0.9rem; }
.facility-image img { width: 100%; max-height: 500px; object-fit: cover; border: 10px solid var(--white); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

/* Catalog */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}
.cat-item {
    display: flex;
    background: var(--white);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}
.cat-item:hover { box-shadow: 10px 10px 0px var(--primary-color); transform: translate(-5px, -5px); }
.cat-img { flex: 0 0 40%; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-info { padding: 30px; flex: 1; }
.cat-info h3 { border-bottom: 2px solid var(--primary-color); padding-bottom: 10px; display: inline-block; }
.cat-info ul { margin-top: 15px; padding-left: 20px; color: #555; }
.cat-info li { margin-bottom: 8px; }

/* Trade CTA */
.trade { border-top: 5px solid var(--dark-bg); border-bottom: 5px solid var(--dark-bg); }
.split-trade { display: flex; justify-content: space-around; align-items: center; }
.trade-box { max-width: 400px; }
.trade-box p { margin-bottom: 20px; font-weight: 500; }
.trade-border { width: 2px; height: 150px; background-color: rgba(255,255,255,0.3); }

/* Contact Details */
.contact-cards { display: flex; justify-content: center; gap: 30px; }
.c-card { background: var(--dark-deep); padding: 30px; border-top: 3px solid var(--primary-color); max-width: 400px; }
.c-card h4 { color: var(--primary-color); margin-bottom: 15px; }

/* Footer */
.footer { padding: 20px 0; font-size: 0.85rem; color: #888; border-top: 1px solid #333; }

/* Animations */
@keyframes slideUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

/* Responsive */
@media (max-width: 900px) {
    .header-container { flex-direction: column; height: auto; padding: 15px 0; }
    .nav-links { flex-wrap: wrap; justify-content: center; gap: 15px; margin-top: 15px; }
    .catalog-grid, .stats-grid, .split-trade, .contact-cards { grid-template-columns: 1fr; flex-direction: column; }
    .cat-item { flex-direction: column; }
    .cat-img img { height: 250px; }
    h1 { font-size: 2.5rem; }
    .trade-border { display: none; }
    .trade-box { margin-bottom: 40px; }
}
@media (max-width: 480px) {
    .nav-links { font-size: 0.85rem; }
    h1 { font-size: 2rem; }
    .hero-buttons { flex-direction: column; width: 100%; align-items: stretch; }
    .btn { text-align: center; }
    .topbar-content { flex-direction: column; text-align: center; gap: 5px; }
}
