/*
Theme Name: Shengsui Global B2B
Theme URI: https://shengsuiglobal.com
Author: Shengsui Global Trading
Author URI: https://shengsuiglobal.com
Description: Professional B2B WordPress theme for heavy truck and trailer export business. Features product catalog, inquiry system, WhatsApp integration, and multilingual support.
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shengsui-b2b
Domain Path: /languages
Tags: b2b, industrial, responsive, multilingual, e-commerce-ready
*/

/* ================================
   CSS VARIABLES
   ================================ */
:root {
    --primary-color: #1a365d;
    --primary-dark: #0f2942;
    --primary-light: #2c5282;
    --accent-color: #d69e2e;
    --accent-hover: #b7791f;
    --text-dark: #1a202c;
    --text-medium: #4a5568;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --success-color: #38a169;
    --whatsapp-color: #25d366;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

/* ================================
   RESET & BASE
   ================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-medium);
}

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

.section-padding {
    padding: 80px 0;
}

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

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

.section-title p {
    max-width: 600px;
    margin: 15px auto 0;
    color: var(--text-light);
}

/* ================================
   BUTTONS
   ================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

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

.btn-accent:hover {
    background: var(--accent-hover);
    color: var(--bg-white);
    transform: translateY(-2px);
}

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

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

.btn-whatsapp {
    background: var(--whatsapp-color);
    color: var(--bg-white);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-whatsapp:hover {
    background: #128c7e;
    color: var(--bg-white);
}

/* ================================
   HEADER
   ================================ */
.top-bar {
    background: var(--primary-dark);
    color: var(--bg-white);
    padding: 10px 0;
    font-size: 0.875rem;
}

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

.top-bar-contact {
    display: flex;
    gap: 25px;
}

.top-bar-contact span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-contact a {
    color: var(--bg-white);
}

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

.top-bar-social {
    display: flex;
    gap: 15px;
}

.top-bar-social a {
    color: var(--bg-white);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: var(--transition);
}

.top-bar-social a:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

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

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

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

.logo img {
    max-height: 50px;
    width: auto;
}

.logo-text h1 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--primary-color);
    line-height: 1.2;
}

.logo-text span {
    font-size: 0.75rem;
    color: var(--text-light);
    display: block;
    margin-top: -5px;
}

/* Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

.main-nav a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9375rem;
    position: relative;
    padding: 5px 0;
}

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

.main-nav a:hover::after,
.main-nav .current-menu-item a::after {
    width: 100%;
}

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

/* Dropdown Menu */
.main-nav li {
    position: relative;
}

.main-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    padding: 10px 0;
    flex-direction: column;
    gap: 0;
}

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

.main-nav .sub-menu a {
    display: block;
    padding: 10px 20px;
    font-weight: 500;
}

.main-nav .sub-menu a::after {
    display: none;
}

.main-nav .sub-menu a:hover {
    background: var(--bg-light);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-whatsapp {
    background: var(--whatsapp-color);
    color: var(--bg-white);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-whatsapp:hover {
    background: #128c7e;
    color: var(--bg-white);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* ================================
   HERO SECTION
   ================================ */
.hero-section {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

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

.hero-content h1 {
    font-size: 3rem;
    color: var(--bg-white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content h1 span {
    color: var(--accent-color);
}

.hero-content p {
    font-size: 1.125rem;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
}

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

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.hero-stat-label {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
}

/* ================================
   PRODUCT CATEGORIES
   ================================ */
.categories-section {
    background: var(--bg-light);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.category-card {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

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

.category-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
}

.category-content {
    padding: 25px;
}

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

.category-content p {
    font-size: 0.9375rem;
    margin-bottom: 15px;
}

.category-count {
    display: inline-block;
    background: var(--accent-color);
    color: var(--bg-white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ================================
   HOT PRODUCTS
   ================================ */
.products-section {
    background: var(--bg-white);
}

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

.product-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.product-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    background: var(--bg-light);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-color);
    color: var(--bg-white);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-content {
    padding: 20px;
}

.product-category {
    font-size: 0.75rem;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.product-title {
    font-size: 1.125rem;
    margin-bottom: 10px;
    color: var(--text-dark);
    line-height: 1.4;
}

.product-title a {
    color: inherit;
}

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

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.product-spec {
    font-size: 0.8125rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.product-actions .btn {
    flex: 1;
    padding: 10px;
    font-size: 0.8125rem;
}

/* ================================
   ADVANTAGES SECTION
   ================================ */
.advantages-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.advantages-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/images/pattern.png');
    opacity: 0.05;
}

.advantages-section .section-title h2,
.advantages-section .section-title p {
    color: var(--bg-white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.advantage-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 35px 25px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.advantage-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.75rem;
    color: var(--bg-white);
}

.advantage-card h3 {
    color: var(--bg-white);
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.advantage-card p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9375rem;
    margin: 0;
}

/* ================================
   ABOUT SECTION
   ================================ */
.about-section {
    background: var(--bg-white);
}

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

.about-images {
    position: relative;
}

.about-main-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-main-image img {
    width: 100%;
}

.about-experience {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--accent-color);
    color: var(--bg-white);
    padding: 25px 35px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-experience-number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.about-experience-text {
    font-size: 0.9375rem;
    margin-top: 5px;
}

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

.about-content .lead {
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.about-features {
    list-style: none;
    margin: 25px 0;
}

.about-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-medium);
}

.about-features li::before {
    content: '✓';
    width: 24px;
    height: 24px;
    background: var(--success-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* ================================
   CERTIFICATES SECTION
   ================================ */
.certificates-section {
    background: var(--bg-light);
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.certificate-item {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.certificate-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.certificate-item h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.certificate-item p {
    font-size: 0.875rem;
    margin: 0;
}

/* ================================
   CTA SECTION
   ================================ */
.cta-section {
    background: var(--accent-color);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.cta-text h2 {
    color: var(--bg-white);
    margin-bottom: 10px;
}

.cta-text p {
    color: rgba(255,255,255,0.9);
    margin: 0;
    font-size: 1.125rem;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.cta-buttons .btn {
    background: var(--bg-white);
    color: var(--accent-color);
}

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

/* ================================
   FOOTER
   ================================ */
.main-footer {
    background: var(--primary-dark);
    color: var(--bg-white);
    padding: 70px 0 0;
}

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

.footer-about h3 {
    color: var(--bg-white);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-about p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}

.footer-contact-info {
    list-style: none;
}

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.7);
}

.footer-contact-info i {
    color: var(--accent-color);
    margin-top: 3px;
}

.footer-contact-info a {
    color: rgba(255,255,255,0.7);
}

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

.footer-widget h4 {
    color: var(--bg-white);
    font-size: 1.125rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-links a::before {
    content: '›';
    color: var(--accent-color);
    font-size: 1.25rem;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-newsletter p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 4px;
    font-size: 0.9375rem;
}

.newsletter-form button {
    background: var(--accent-color);
    color: var(--bg-white);
    border: none;
    padding: 0 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--accent-hover);
}

.footer-bottom {
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
}

.footer-bottom a {
    color: rgba(255,255,255,0.6);
}

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

/* ================================
   WHATSAPP FLOAT BUTTON
   ================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--whatsapp-color);
    color: var(--bg-white);
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.whatsapp-float a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
    color: var(--bg-white);
}

.whatsapp-float i {
    font-size: 1.5rem;
}

/* ================================
   PRODUCT PAGE STYLES
   ================================ */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--bg-white);
}

.page-header h1 {
    color: var(--bg-white);
    margin-bottom: 15px;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 0.9375rem;
}

.breadcrumbs a {
    color: rgba(255,255,255,0.8);
}

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

.breadcrumbs span {
    color: var(--accent-color);
}

/* Product Archive */
.product-archive {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    padding: 50px 0;
}

.product-sidebar {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filter-widget {
    margin-bottom: 30px;
}

.filter-widget h4 {
    font-size: 1rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.filter-list {
    list-style: none;
}

.filter-list li {
    margin-bottom: 10px;
}

.filter-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-medium);
    padding: 8px 12px;
    border-radius: 4px;
    transition: var(--transition);
}

.filter-list a:hover,
.filter-list .active {
    background: var(--primary-color);
    color: var(--bg-white);
}

.filter-list .count {
    font-size: 0.75rem;
    background: var(--border-color);
    padding: 2px 8px;
    border-radius: 10px;
}

.filter-list a:hover .count,
.filter-list .active .count {
    background: rgba(255,255,255,0.2);
}

/* Product Detail */
.product-detail {
    padding: 50px 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.product-gallery {
    background: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
}

.product-main-image {
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-main-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.product-thumbnails {
    display: flex;
    gap: 10px;
    padding: 15px;
    background: var(--bg-white);
}

.product-thumbnail {
    width: 80px;
    height: 80px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition);
}

.product-thumbnail.active,
.product-thumbnail:hover {
    border-color: var(--primary-color);
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info h1 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.product-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.9375rem;
}

.product-meta-item i {
    color: var(--accent-color);
}

.product-description {
    margin-bottom: 25px;
}

.product-description p {
    line-height: 1.8;
}

.product-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

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

.product-specs-table th {
    background: var(--bg-light);
    font-weight: 600;
    color: var(--primary-color);
    width: 40%;
}

.product-actions-detail {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.product-actions-detail .btn {
    padding: 15px 35px;
    font-size: 1rem;
}

.product-tabs {
    margin-top: 50px;
}

.tabs-nav {
    display: flex;
    gap: 5px;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 30px;
}

.tab-btn {
    padding: 15px 30px;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ================================
   INQUIRY FORM
   ================================ */
.inquiry-section {
    background: var(--bg-light);
    padding: 50px;
    border-radius: 8px;
}

.inquiry-form {
    max-width: 800px;
    margin: 0 auto;
}

.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;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group label .required {
    color: #e53e3e;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

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

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.form-submit .btn {
    padding: 15px 50px;
    font-size: 1rem;
}

/* ================================
   CONTACT PAGE
   ================================ */
.contact-section {
    padding: 50px 0;
}

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

.contact-info-cards {
    display: grid;
    gap: 25px;
}

.contact-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: var(--transition);
}

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

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

.contact-card-content h4 {
    margin-bottom: 8px;
    font-size: 1.125rem;
}

.contact-card-content p {
    margin: 0;
    color: var(--text-medium);
}

.contact-card-content a {
    color: var(--primary-color);
    font-weight: 600;
}

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

.contact-form-wrapper h3 {
    margin-bottom: 25px;
    text-align: center;
}

.contact-map {
    margin-top: 50px;
    border-radius: 8px;
    overflow: hidden;
    height: 400px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ================================
   ABOUT PAGE
   ================================ */
.about-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 100px 0;
    text-align: center;
    color: var(--bg-white);
}

.about-hero h1 {
    color: var(--bg-white);
    font-size: 3rem;
    margin-bottom: 20px;
}

.about-hero p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    max-width: 700px;
    margin: 0 auto;
}

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

.liangshan-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.liangshan-content .highlight {
    background: var(--accent-color);
    color: var(--bg-white);
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
    font-weight: 600;
}

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

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

.liangshan-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.liangshan-stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    text-align: center;
    padding: 40px 25px;
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary-color);
}

/* ================================
   CERTIFICATES PAGE
   ================================ */
.certificates-gallery {
    padding: 50px 0;
}

.certificates-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

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

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

.certificate-image {
    height: 250px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.certificate-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.certificate-info {
    padding: 25px;
}

.certificate-info h3 {
    margin-bottom: 10px;
    font-size: 1.125rem;
}

.certificate-info p {
    color: var(--text-light);
    font-size: 0.9375rem;
    margin: 0;
}

/* ================================
   PAGINATION
   ================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination a,
.pagination span {
    padding: 10px 18px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-medium);
    transition: var(--transition);
}

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

/* ================================
   MESSAGES & ALERTS
   ================================ */
.alert {
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.alert-success {
    background: #c6f6d5;
    color: #22543d;
    border: 1px solid #9ae6b4;
}

.alert-error {
    background: #fed7d7;
    color: #742a2a;
    border: 1px solid #fc8181;
}

.alert-info {
    background: #bee3f8;
    color: #2a4365;
    border: 1px solid #90cdf4;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-grid,
    .liangshan-grid,
    .product-detail-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-images {
        order: -1;
    }

    .about-experience {
        right: 20px;
    }

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

    .product-sidebar {
        position: static;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

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

@media (max-width: 768px) {
    .top-bar-contact {
        display: none;
    }

    .top-bar .container {
        justify-content: center;
    }

    .hero-section {
        height: auto;
        padding: 80px 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .section-padding {
        padding: 50px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-widget h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float a {
        padding: 12px 20px;
        font-size: 0.875rem;
    }

    .whatsapp-float span {
        display: none;
    }
}

/* ================================
   UTILITY CLASSES
   ================================ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.hidden { display: none; }
.visible { display: block; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
