/* ===== Zhenze Trading - B2B Website Stylesheet ===== */

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a3a5c;
    --primary-light: #2c5784;
    --accent: #e87722;
    --accent-light: #f5a053;
    --dark: #1a1a2e;
    --grey: #6c757d;
    --light-grey: #f4f6f8;
    --white: #ffffff;
    --success: #2d8659;
    --shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
    --max-width: 1200px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: #333;
    background: var(--white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Top Bar --- */
.top-bar {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    padding: 8px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.top-bar-info span {
    margin-right: 24px;
}

.top-bar-social a {
    margin-left: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* --- Header / Navigation --- */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    padding-bottom: 16px;
}

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

.logo-mark {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 4px;
    flex-shrink: 0;
}

.logo-text h1 {
    font-size: 1.15rem;
    color: var(--primary);
    font-weight: 700;
    line-height: 1.2;
}

.logo-text p {
    font-size: 0.7rem;
    color: var(--grey);
    letter-spacing: 0.5px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #444;
    position: relative;
    padding: 4px 0;
}

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

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
}

.btn-quote {
    background: var(--accent);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600;
}

.btn-quote:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(26, 58, 92, 0.92), rgba(26, 26, 46, 0.85)),
                url('../images/factory-aerial.png') center/cover no-repeat;
    color: var(--white);
}

.hero-content {
    max-width: 640px;
}

.hero h2 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 32px;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    border: 2px solid var(--accent);
}

.btn-primary:hover {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

/* --- Section General --- */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--light-grey);
}

.section-title {
    text-align: center;
    margin-bottom: 56px;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 12px;
}

.section-title .subtitle {
    font-size: 1rem;
    color: var(--grey);
}

.section-title .divider {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 16px auto 0;
}

/* --- Advantages Cards --- */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.advantage-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.advantage-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--accent);
}

.advantage-icon {
    width: 64px;
    height: 64px;
    background: var(--light-grey);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.advantage-card h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.advantage-card p {
    font-size: 0.9rem;
    color: var(--grey);
    line-height: 1.6;
}

/* --- Products Grid --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

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

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

.product-card-img {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: var(--light-grey);
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-card-img img {
    transform: scale(1.05);
}

.product-card-body {
    padding: 24px;
}

.product-card-body h3 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.product-card-body p {
    font-size: 0.9rem;
    color: var(--grey);
    margin-bottom: 12px;
}

.product-tag {
    display: inline-block;
    background: var(--light-grey);
    color: var(--primary);
    font-size: 0.78rem;
    padding: 4px 12px;
    border-radius: 20px;
    margin-right: 6px;
    margin-bottom: 4px;
}

/* --- Stats Section --- */
.stats {
    background: var(--primary);
    color: var(--white);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 8px;
}

.stat-item p {
    font-size: 0.95rem;
    opacity: 0.85;
}

/* --- About Preview --- */
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.about-preview-img {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-preview-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-preview-content h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 700;
}

.about-preview-content p {
    color: #555;
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-features {
    margin-top: 24px;
}

.about-features li {
    padding: 8px 0;
    color: #555;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-features li::before {
    content: '\2714';
    color: var(--accent);
    font-weight: 800;
    flex-shrink: 0;
}

/* --- CTA Section --- */
.cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    text-align: center;
    padding: 70px 0;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.cta p {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

/* --- Footer --- */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-col p,
.footer-col li {
    font-size: 0.88rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.6);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

/* --- Page Banner --- */
.page-banner {
    background: linear-gradient(135deg, rgba(26, 58, 92, 0.92), rgba(26, 26, 46, 0.85)),
                url('../images/workshop.jpg') center/cover no-repeat;
    color: var(--white);
    text-align: center;
    padding: 100px 0 60px;
}

.page-banner h2 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-banner p {
    font-size: 1rem;
    opacity: 0.8;
}

.breadcrumb {
    margin-top: 12px;
    font-size: 0.85rem;
}

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

/* --- About Page --- */
.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-story-img {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-story-img img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.about-story-content h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.about-story-content p {
    color: #555;
    margin-bottom: 14px;
    line-height: 1.8;
}

/* --- Structure Diagram --- */
.structure-diagram {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.structure-box {
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: 8px;
    padding: 28px 36px;
    text-align: center;
    min-width: 240px;
    box-shadow: var(--shadow);
}

.structure-box.sales {
    border-color: var(--accent);
    background: #fff8f3;
}

.structure-box h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.structure-box p {
    font-size: 0.85rem;
    color: var(--grey);
}

.structure-arrow {
    font-size: 2rem;
    color: var(--accent);
}

/* --- Timeline --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--light-grey);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
}

.timeline-content {
    width: 45%;
    background: var(--white);
    padding: 20px 24px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-left: 3px solid var(--accent);
}

.timeline-item:nth-child(odd) .timeline-content {
    border-left: none;
    border-right: 3px solid var(--accent);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    width: 16px;
    height: 16px;
    background: var(--accent);
    border: 3px solid var(--white);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-year {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 4px;
}

.timeline-content h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 6px;
}

.timeline-content p {
    font-size: 0.88rem;
    color: var(--grey);
}

/* --- Spec Tables --- */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.88rem;
    box-shadow: var(--shadow);
    border-radius: 8px;
    overflow: hidden;
}

.spec-table thead {
    background: var(--primary);
    color: var(--white);
}

.spec-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
}

.spec-table td {
    padding: 10px 16px;
    border-bottom: 1px solid #e8eaed;
}

.spec-table tbody tr:nth-child(even) {
    background: var(--light-grey);
}

.spec-table tbody tr:hover {
    background: #eef2f7;
}

/* --- Product Detail --- */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
    align-items: start;
}

.product-detail-img {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.product-detail-info h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.product-detail-info p {
    color: #555;
    margin-bottom: 14px;
    line-height: 1.8;
}

.product-detail-info ul {
    margin: 12px 0;
}

.product-detail-info ul li {
    padding: 6px 0;
    color: #555;
    display: flex;
    gap: 10px;
}

.product-detail-info ul li::before {
    content: '\25B6';
    color: var(--accent);
    font-size: 0.7rem;
    flex-shrink: 0;
    margin-top: 4px;
}

/* --- Capacity Page --- */
.capacity-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}

.capacity-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.capacity-card-img {
    height: 260px;
    overflow: hidden;
}

.capacity-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.capacity-card-body {
    padding: 24px;
}

.capacity-card-body h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.capacity-card-body p {
    color: #555;
    font-size: 0.92rem;
    line-height: 1.7;
}

/* --- Process Flow --- */
.process-flow {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 40px 0;
    flex-wrap: wrap;
    gap: 16px;
}

.process-step {
    flex: 1;
    min-width: 130px;
    text-align: center;
    position: relative;
}

.process-step-num {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 auto 12px;
}

.process-step h4 {
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 6px;
}

.process-step p {
    font-size: 0.8rem;
    color: var(--grey);
}

/* --- Contact Page --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
}

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

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.92rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(232, 119, 34, 0.1);
}

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

.btn-submit {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 14px 40px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
}

.contact-info {
    padding: 36px 0;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
    align-items: flex-start;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: var(--light-grey);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-info-text h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.contact-info-text p {
    font-size: 0.9rem;
    color: var(--grey);
    line-height: 1.6;
}

/* --- FAQ --- */
.faq-item {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    padding: 20px 24px;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
}

.faq-question::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--accent);
    transition: var(--transition);
}

.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 24px;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-preview,
    .about-story,
    .product-detail,
    .contact-grid,
    .capacity-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        gap: 16px;
    }
    .nav.open {
        display: flex;
    }
    .mobile-toggle {
        display: block;
    }
    .top-bar .container {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
    .hero h2 {
        font-size: 1.8rem;
    }
    .hero p {
        font-size: 0.95rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .section {
        padding: 50px 0;
    }
    .section-title h2 {
        font-size: 1.5rem;
    }
    .advantages-grid,
    .products-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .timeline::before {
        left: 20px;
    }
    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: row;
    }
    .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content {
        width: calc(100% - 50px);
        margin-left: 40px;
        text-align: left;
        border-right: none;
        border-left: 3px solid var(--accent);
    }
    .timeline-dot {
        left: 20px;
    }
    .process-flow {
        flex-direction: column;
        align-items: center;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}
