/* OrePeak Website Styles - Industrial Orange Theme */
/* Based on international industrial equipment design with #E65100 color scheme */

:root {
    /* Industrial Orange Primary Colors (Main Brand Colors) */
    --primary-color: #E65100;        /* Deep Orange - Main brand color */
    --primary-light: #FF8F00;        /* Light orange for highlights */
    --primary-dark: #BF360C;         /* Dark orange for hover states */
    --primary-darker: #870000;       /* Darkest orange for text on light */
    
    /* Secondary Colors (Industrial Blue-Grey) */
    --secondary-color: #37474F;      /* Blue-grey for navigation */
    --secondary-dark: #263238;       /* Dark blue-grey for footer */
    --secondary-light: #546E7A;      /* Light blue-grey */
    
    /* Accent Colors */
    --accent-color: #FFB74D;         /* Light accent orange */
    --accent-dark: #E65100;          /* Dark accent */
    
    /* Background Colors */
    --bg-light: #F8F9FA;             /* Light grey background */
    --bg-lighter: #FAFAFA;           /* Lighter background */
    --bg-white: #FFFFFF;             /* White */
    --bg-dark: #263238;              /* Dark background for footer */
    
    /* Text Colors */
    --text-primary: #212121;         /* Primary text (almost black) */
    --text-secondary: #616161;       /* Secondary text (grey) */
    --text-light: #FFFFFF;           /* Light text */
    --text-muted: #9E9E9E;           /* Muted text */
    --text-link: #E65100;           /* Link color matches primary */
    
    /* Border Colors */
    --border-color: #E0E0E0;         /* Light border */
    --border-dark: #BDBDBD;          /* Darker border */
    
    /* Status Colors */
    --success-color: #4CAF50;        /* Success green - keep for status indicators */
    --warning-color: #FF9800;        /* Warning orange */
    --danger-color: #D32F2F;         /* Danger red */
    
    /* Shadows */
    --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.15);
    
    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "Microsoft YaHei", sans-serif;
    
    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;
    
    /* Container */
    --container-max: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

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

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

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

ul, ol {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
}

h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 28px; }
h4 { font-size: 20px; }

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title .english {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-sm);
    display: block;
}

.section-title .divider {
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: var(--spacing-sm) auto;
}

.section-title .chinese {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Top Bar */
.top-bar {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 8px 0;
    font-size: 13px;
}

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

.top-bar .skip-link {
    color: var(--text-light);
    opacity: 0.8;
}

.top-bar .search-box {
    display: flex;
    align-items: center;
}

.top-bar .search-input {
    padding: 6px 12px;
    border: none;
    border-radius: 3px;
    font-size: 13px;
    width: 150px;
}

.top-bar .search-btn {
    background: var(--primary-color);
    border: none;
    padding: 6px 12px;
    color: var(--text-light);
    border-radius: 3px;
    cursor: pointer;
    margin-left: 4px;
    transition: background var(--transition-fast);
}

.top-bar .search-btn:hover {
    background: var(--primary-dark);
}

.top-bar .lang-switch {
    color: var(--text-light);
    margin-left: var(--spacing-lg);
}

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

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-lg);
}

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

.logo .logo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--spacing-md);
}

.logo .logo-text {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 3px;
}

.logo .logo-tagline {
    font-size: 12px;
    color: var(--text-secondary);
    letter-spacing: 2px;
}

/* Navigation */
.main-nav {
    background-color: var(--secondary-color);
}

.main-nav .nav-list {
    display: flex;
    justify-content: center;
    gap: 0;
}

.main-nav .nav-item {
    display: block;
    padding: 18px 28px;
    color: var(--text-light);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-fast);
    border-bottom: 3px solid transparent;
}

.main-nav .nav-item:hover,
.main-nav .nav-item.active {
    background-color: var(--primary-color);
    border-bottom-color: var(--primary-light);
    text-decoration: none;
}

.main-nav .nav-item .arrow {
    margin-left: 6px;
    font-size: 12px;
}
.main-nav .nav-item .arrow::after {
    content: "\25BC";
    font-size: 8px;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu { width: 900px !important;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: 800px;
    background: #FFFFFF;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 20px 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
    border-radius: 0 0 8px 8px;
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu { width: 900px !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%);
}

.dropdown-menu .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    align-items: stretch;
}

.dropdown-column { min-width: 160px;
    padding: 0 15px;
    border-right: 1px solid #E0E0E0;
    white-space: nowrap;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
}

.dropdown-column:last-child {
    border-right: none;
}

.dropdown-column h4 {
    font-size: 15px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: none;
}

.dropdown-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-column ul li {
    margin-bottom: 8px;
}

.dropdown-column ul li a {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s ease;
    display: block;
    padding: 4px 0;
}

.dropdown-column ul li a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.dropdown-column ul li a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* Hide overlay on desktop when video is playing */
.hero-overlay {
    display: none;
}

.hero-content {
    text-align: center;
    color: var(--text-light);
    max-width: 900px;
    padding: var(--spacing-xl);
}

.hero-content .hero-title {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
}

.hero-content .hero-subtitle {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-content .hero-divider {
    width: 100px;
    height: 3px;
    background: var(--text-light);
    margin: var(--spacing-xl) auto;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-content .hero-tagline {
    font-size: 20px;
    margin-bottom: var(--spacing-2xl);
    opacity: 0.9;
    font-style: italic;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-content .hero-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 18px 40px;
    background: var(--primary-color);
    color: var(--text-light);
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: all var(--transition-normal);
    animation: fadeInUp 1s ease 0.8s both;
    box-shadow: 0 4px 20px rgba(230, 81, 0, 0.4);
}

.hero-content .hero-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(230, 81, 0, 0.5);
    text-decoration: none;
    color: var(--text-light);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Common Styles */
.section {
    padding: var(--spacing-3xl) 0;
}

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

/* Industry Applications */
.industry-section {
    background-color: var(--bg-light);
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: var(--spacing-2xl);
}

.industry-card {
    border-radius: 8px;
    padding: 0;
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.industry-card {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.industry-card > * {
    position: relative;
    z-index: 2;
}

.industry-card .card-content {
    padding: 35px 25px;
    background: transparent;
    margin: auto 20px 20px 20px;
    border-radius: 8px;
    position: relative;
    z-index: 2;
}

.industry-card.mining {
    background-image: url('../images/bg-mining.jpg');
}

.industry-card.infrastructure {
    background-image: url('../images/bg-infrastructure.jpg');
}

.industry-card.waste-recycling {
    background-image: url('../images/bg-waste-recycling.jpg');
}

.industry-card.port-handling {
    background-image: url('../images/bg-port-handling.jpg');
}

.industry-card.washing-systems {
    background-image: url('../images/bg-washing-systems.jpg');
}

.industry-card.agriculture {
    background-image: url('../images/bg-agriculture.jpg');
}

.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.industry-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
}

.industry-card .industry-en {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.industry-card p {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
}

/* Product Section */
.product-section {
    background-color: var(--bg-white);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: var(--spacing-2xl);
}

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

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

.product-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--bg-light), var(--border-color));
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-info {
    padding: 20px;
}

.product-model {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.product-name {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.product-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.5;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.product-link:hover {
    gap: var(--spacing-sm);
    text-decoration: none;
}

.view-all {
    text-align: center;
    margin-top: var(--spacing-2xl);
}

.view-all .btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 14px 35px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.view-all .btn:hover {
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
}

/* Case Card Styles */
.case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.case-card:hover div:first-child {
    opacity: 0.9;
}

/* Support Card Styles */
.support-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-light);
    border-radius: 8px;
    transition: all 0.3s ease;
}

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

.support-card:hover .icon-wrapper {
    transform: scale(1.1);
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: transform 0.3s ease;
}

.footer {
    background: var(--bg-dark);
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer h4 {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

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

.footer ul li a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: color var(--transition-fast);
}

.footer ul li a:hover {
    color: var(--text-light);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
}

.footer-bottom a {
    color: rgba(255,255,255,0.6);
    margin: 0 var(--spacing-sm);
}

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

/* Contact Page Styles */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

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

.contact-form-wrapper h3 {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 28px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--primary-color);
}

.contact-form .form-group {
    margin-bottom: 22px;
}

.contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: white;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(230, 81, 0, 0.1);
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    padding: 14px 28px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
}

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

.contact-info {
    position: sticky;
    top: 100px;
}

.contact-info h3 {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 28px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--primary-color);
}

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

.contact-info-item .icon {
    flex-shrink: 0;
}

.contact-info-item .content h4 {
    font-size: 15px;
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-info-item .content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        position: static;
        order: -1;
    }
    
    .contact-form-wrapper {
        padding: 28px;
    }
}

@media (max-width: 576px) {
    .contact-form-wrapper {
        padding: 20px;
    }
    
    .contact-info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .industry-grid,
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    .industry-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* Navigation Fix - Ensure all nav links are clickable */
.main-nav {
    position: relative;
    z-index: 100;
}

.main-nav .nav-list {
    position: relative;
}

.main-nav .nav-item {
    position: relative;
    z-index: 2;
    cursor: pointer;
}

.main-nav .dropdown {
    z-index: 3;
}



/* 3-Column Dropdown Menu */
/* About Us Dropdown - Auto width based on content */
.main-nav .dropdown .dropdown-menu.dropdown-menu-3col {
    width: auto !important;
    min-width: 160px;
    max-width: 400px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

.main-nav .dropdown .dropdown-menu.dropdown-menu-3col .container {
    display: table !important;
    table-layout: auto !important;
    width: auto !important;
    margin: 0 15px !important;
}

.main-nav .dropdown .dropdown-menu.dropdown-menu-3col .dropdown-column { min-width: 160px;
    display: table-cell !important;
    width: auto !important;
    white-space: normal !important;
    padding: 0 15px !important;
    border-right: 1px solid #eee !important;
}

.main-nav .dropdown .dropdown-menu.dropdown-menu-3col .dropdown-column:last-child {
    border-right: none !important;
}

/* Dropdown List Styles */
.dropdown-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-list > li {
    position: relative;
}

.dropdown-list > li > a {
    display: block;
    padding: 8px 0;
    color: #555;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
}

.dropdown-list > li > a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Arrow for submenu items */
.arrow-right {
    font-size: 10px;
    margin-left: 5px;
    opacity: 0.5;
}

/* 3rd Level Submenu */
.dropdown-column-3level {
    position: relative;
}

.dropdown-column-3level .has-submenu {
    position: relative;
}

.dropdown-column-3level .submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    width: 180px;
    background: #FFFFFF;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 10px 0;
    list-style: none;
    z-index: 1001;
}

.dropdown-column-3level .has-submenu:hover .submenu {
    display: block;
}

.dropdown-column-3level .submenu li a {
    display: block;
    padding: 8px 15px;
    color: #555;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
}

.dropdown-column-3level .submenu li a:hover {
    color: var(--primary-color);
    background: #f8f8f8;
    padding-left: 20px;
}

/* Fix for dropdown column h4 margin */
.dropdown-column h4 {
    margin-bottom: 12px !important;
}

.dropdown-column h4 + ul {
    margin-top: 0 !important;
}




/* 7-Column Dropdown Menu */
.dropdown-menu-7col {
    width: 900px !important;
    left: 20% !important;
}

.dropdown-menu-7col .container {
    grid-template-columns: repeat(7, 1fr) !important;
}

.dropdown-menu-7col .dropdown-column { min-width: 160px;
    border-right: 1px solid #f0f0f0 !important;
}

.dropdown-menu-7col .dropdown-column:last-child {
    border-right: none !important;
}

/* Indented 3rd Level Menu */
.dropdown-list .level-3 {
    position: relative;
}

.dropdown-list .submenu-level-3 {
    list-style: none;
    padding-left: 12px;
    margin: 5px 0;
    border-left: 2px solid #e8e8e8;
}

.dropdown-list .submenu-level-3 li a {
    font-size: 12px !important;
    color: #666 !important;
    padding: 4px 0 !important;
    display: block;
}

.dropdown-list .submenu-level-3 li a:hover {
    color: var(--primary-color) !important;
    padding-left: 5px !important;
}

/* Adjust dropdown list spacing */
.dropdown-menu-7col .dropdown-list > li > a {
    padding: 6px 0 !important;
    font-size: 13px !important;
}




/* 7-Column Dropdown Menu */
.dropdown-menu { width: 900px !important;
    width: auto !important;
    max-width: 1000px !important;
    min-width: 800px !important;
}

.dropdown-menu .container {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    gap: 5px !important;
}

.dropdown-menu .dropdown-column { min-width: 160px;
    padding: 0 8px !important;
    border-right: 1px solid #e8e8e8 !important;
    flex: 1 1 auto !important;
    min-width: 80px !important;
    max-width: 200px !important;
}

.dropdown-menu .dropdown-column:last-child {
    border-right: none !important;
}

.dropdown-menu .dropdown-column h4 {
    font-size: 13px !important;
    margin-bottom: 8px !important;
}

.dropdown-menu .dropdown-column ul {
    margin-top: 0 !important;
}

.dropdown-menu .dropdown-column ul li a {
    font-size: 13px !important;
    padding: 6px 0 !important;
}




/* 7-Column Dropdown for Product Center */
.dropdown-menu { width: 900px !important;
    width: auto !important;
    max-width: 950px !important;
    min-width: 800px !important;
}

.dropdown-menu .container {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
}

.dropdown-menu .dropdown-column { min-width: 160px;
    flex: 1 1 auto !important;
    min-width: 90px !important;
    max-width: 130px !important;
    padding: 0 5px !important;
    border-right: 1px solid #eee !important;
}

.dropdown-menu .dropdown-column:last-child {
    border-right: none !important;
}

.dropdown-menu .dropdown-column h4 {
    font-size: 13px !important;
    margin-bottom: 8px !important;
}

.dropdown-menu .dropdown-column ul li a {
    font-size: 12px !important;
    padding: 4px 0 !important;
}


/* Mobile Navigation */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-nav-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--text-light);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: left;
}

.mobile-nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
}

.mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
}

/* Responsive Navigation */
@media (max-width: 992px) {
    .mobile-nav-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--secondary-dark);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
    }
    
    .main-nav.active {
        transform: translateX(0);
    }
    
    .main-nav .nav-list {
        flex-direction: column;
        padding: 80px 20px 20px;
    }
    
    .main-nav .nav-item {
        padding: 15px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .dropdown-menu { width: 900px !important;
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        padding: 0;
        display: none;
    }
    
    .dropdown.active .dropdown-menu { width: 900px !important;
        display: block;
    }
    
    .dropdown-menu .container {
        grid-template-columns: 1fr;
        padding: 0;
    }
    
    .dropdown-column { min-width: 160px;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 10px 0;
    }
    
    .dropdown-column h4 {
        color: var(--primary-light);
    }
    
    .dropdown-column ul li a {
        color: rgba(255,255,255,0.8);
    }
    
    /* Top bar mobile */
    .top-bar {
        display: none;
    }
    
    /* Hero section mobile */
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding: 100px 20px;
    }
    
    .hero-content .hero-title {
        font-size: 28px;
    }
    
    .hero-content .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-content .hero-tagline {
        font-size: 16px;
    }
    
    /* Footer mobile */
    .footer > .container > div:first-child {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .footer .footer-contact {
        flex-direction: column;
        text-align: center;
    }
    
    .footer .footer-contact > div {
        border-left: none !important;
        padding-left: 0 !important;
        margin-top: 20px;
    }
    
    .footer .qr-codes {
        flex-direction: column;
        align-items: center;
    }
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Lazy load image placeholder */
img[loading="lazy"] {
    background: linear-gradient(135deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 200%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.main-nav .dropdown-menu { width: 900px !important;
    pointer-events: auto;
}

.main-nav .dropdown-menu a {
    pointer-events: auto;
}

/* Ensure non-dropdown nav items are clickable */
.main-nav .nav-item:not(.dropdown > .nav-item) {
    z-index: 4;
}

/* ========================================
   INLINE STYLE OVERRIDES
   Targeting common inline styles for mobile
   ======================================== */

/* Target the main content wrapper */
body > div:first-child {
    min-width: 0;
}

/* Top bar mobile overrides */
@media (max-width: 768px) {
    body > div:first-child {
        padding: 8px 10px !important;
    }
    
    body > div:first-child > div:first-child {
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
    
    body > div:first-child .logo {
        gap: 8px !important;
    }
    
    body > div:first-child .logo img {
        height: 35px !important;
    }
    
    body > div:first-child .logo > div > div:first-child {
        font-size: 16px !important;
    }
    
    body > div:first-child .logo > div > div:last-child {
        display: none !important;
    }
    
    body > div:first-child > div:last-child {
        gap: 10px !important;
    }
    
    body > div:first-child a[href*="English"] {
        padding: 4px 8px !important;
        font-size: 11px !important;
    }
    
    body > div:first-child > div:last-child > div:last-child {
        text-align: right !important;
    }
    
    body > div:first-child > div:last-child > div:last-child > span:first-child {
        display: none !important;
    }
    
    body > div:first-child > div:last-child > div:last-child > span:last-child {
        font-size: 14px !important;
    }
}

/* Hero section responsive */
@media (max-width: 768px) {
    .hero-section {
        height: auto !important;
        min-height: 60vh !important;
        padding: 80px 15px 50px !important;
    }
    
    .hero-video {
        display: none !important;
    }
    
    .hero-content {
        padding: 20px !important;
    }
    
    .hero-title {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }
    
    .hero-subtitle {
        font-size: 16px !important;
    }
    
    .hero-divider {
        width: 60px !important;
        height: 2px !important;
    }
    
    .hero-tagline {
        font-size: 14px !important;
    }
    
    .hero-cta {
        padding: 12px 24px !important;
        font-size: 14px !important;
    }
    
    .scroll-indicator {
        bottom: 20px !important;
    }
    
    .scroll-indicator svg {
        width: 24px !important;
        height: 24px !important;
    }
}

/* Product cards responsive */
@media (max-width: 768px) {
    .product-card .product-image {
        height: 80px !important;
    }
    
    .product-card .product-image img {
        height: 80px !important;
    }
    
    .product-grid {
        gap: 15px !important;
    }
}

/* Footer responsive */
@media (max-width: 768px) {
    .footer > .container > div:first-child {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .footer > .container > div:nth-child(2) {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 20px !important;
    }
    
    .footer > .container > div:nth-child(2) > div:first-child {
        width: 100% !important;
    }
    
    .footer > .container > div:nth-child(2) > div:nth-child(2) {
        flex-direction: row !important;
        gap: 20px !important;
        margin: 0 !important;
    }
    
    .footer > .container > div:nth-child(2) > div:last-child {
        border-left: none !important;
        padding-left: 0 !important;
        border-top: 1px solid rgba(255,255,255,0.1);
        padding-top: 20px;
        width: 100% !important;
        text-align: center !important;
    }
    
    .footer .qr-codes {
        display: flex;
        flex-direction: row;
        gap: 20px;
    }
}

/* Navigation dropdown mobile */
@media (max-width: 992px) {
    .dropdown-menu { width: 900px !important;
        position: static !important;
        width: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        background: rgba(0,0,0,0.2) !important;
        padding: 0 10px !important;
        display: none;
    }
    
    .dropdown.active .dropdown-menu { width: 900px !important;
        display: block !important;
    }
    
    .dropdown-menu .container {
        grid-template-columns: 1fr !important;
    }
    
    .dropdown-column { min-width: 160px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 10px 0 !important;
    }
    
    .dropdown-column:last-child {
        border-bottom: none;
    }
    
    .dropdown-column h4 {
        color: var(--primary-light) !important;
    }
    
    .dropdown-column ul li a {
        color: rgba(255,255,255,0.8) !important;
    }
}

/* ========================================
   HAMBURGER MENU FIXES
   ======================================== */

/* Ensure hamburger menu is always visible on mobile */
@media (max-width: 992px) {
    .mobile-nav-toggle {
        display: flex !important;
        position: fixed !important;
        top: 15px !important;
        left: 15px !important;
        z-index: 10001 !important;
        width: 40px !important;
        height: 40px !important;
        background: var(--secondary-color) !important;
        border: none !important;
        border-radius: 4px !important;
        cursor: pointer !important;
        padding: 8px !important;
    }
    
    .mobile-nav-toggle span {
        display: block !important;
        width: 100% !important;
        height: 3px !important;
        background: white !important;
        border-radius: 2px !important;
        margin: 2px 0 !important;
        transition: all 0.3s ease !important;
    }
    
    .mobile-nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px) !important;
    }
    
    .mobile-nav-toggle.active span:nth-child(2) {
        opacity: 0 !important;
    }
    
    .mobile-nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px) !important;
    }
    
    /* Main nav takes full screen on mobile */
    .main-nav {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        background: var(--secondary-dark) !important;
        transform: translateX(-100%) !important;
        transition: transform 0.3s ease !important;
        z-index: 10000 !important;
        padding-top: 60px !important;
        overflow-y: auto !important;
    }
    
    .main-nav.active {
        transform: translateX(0) !important;
    }
    
    .main-nav .nav-list {
        flex-direction: column !important;
        padding: 10px !important;
    }
    
    .main-nav .nav-item {
        padding: 15px 10px !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
        font-size: 16px !important;
    }
    
    /* Add a close button or adjust menu */
    .main-nav::before {
        content: '☰ OREPEAK';
        display: block;
        position: absolute;
        top: 15px;
        left: 60px;
        color: white;
        font-size: 18px;
        font-weight: bold;
    }
}

/* ========================================
   VIDEO OPTIMIZATION
   ======================================== */

/* Hero Video - Desktop */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(230, 81, 0, 0.92), rgba(191, 54, 12, 0.88));
}

/* Show video on desktop */
@media (min-width: 769px) {
    .hero-section {
        background: transparent;
    }
    
    .hero-video {
        display: block;
    }
    
    .hero-fallback-bg {
        display: none;
    }
}

/* Hide video on mobile, show background image instead */
@media (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: 60vh;
        padding: 100px 20px 60px;
    }
    
    .hero-video {
        display: none !important;
    }
    
    .hero-fallback-bg {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('../images/hero-banner.jpg');
        background-size: cover;
        background-position: center;
        z-index: -1;
    }
    
    .hero-overlay {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(230, 81, 0, 0.85), rgba(191, 54, 12, 0.80));
        z-index: 0;
    }
    
    .hero-content {
        position: relative;
        z-index: 1;
    }
}

/* Logo transparency fix */
.logo img {
    background: transparent !important;
}
/* 7-Column Dropdown for Product Center */
.main-nav .dropdown:hover .dropdown-menu { width: 900px !important;
    width: 900px !important;
    min-width: 900px !important;
    max-width: 900px !important;
    left: 20% !important;
}

.main-nav .dropdown:hover .dropdown-menu .container {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 0 !important;
}

.main-nav .dropdown:hover .dropdown-menu .dropdown-column { min-width: 160px;
    min-width: 100px !important;
    max-width: 130px !important;
    padding: 0 8px !important;
    border-right: 1px solid #eee !important;
}

.main-nav .dropdown:hover .dropdown-menu .dropdown-column:last-child {
    border-right: none !important;
}

.main-nav .dropdown:hover .dropdown-menu .dropdown-column h4 {
    font-size: 13px !important;
}

.main-nav .dropdown:hover .dropdown-menu .dropdown-column ul li a {
    font-size: 12px !important;
    padding: 4px 0 !important;
}

/* 7-Column Dropdown for Product Center */
.main-nav .dropdown:hover > .dropdown-menu { width: 900px !important;
    width: 900px !important;
    min-width: 900px !important;
    max-width: 900px !important;
    left: 20% !important;
}

.main-nav .dropdown:hover > .dropdown-menu > .container {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 0 !important;
}

.main-nav .dropdown:hover > .dropdown-menu > .container > .dropdown-column { min-width: 160px;
    min-width: 100px !important;
    max-width: 130px !important;
    padding: 0 8px !important;
    border-right: 1px solid #eee !important;
}

.main-nav .dropdown:hover > .dropdown-menu > .container > .dropdown-column:last-child {
    border-right: none !important;
}

.main-nav .dropdown:hover > .dropdown-menu > .container > .dropdown-column h4 {
    font-size: 13px !important;
}

.main-nav .dropdown:hover > .dropdown-menu > .container > .dropdown-column ul li a {
    font-size: 12px !important;
}

/* FIXED: 7-Column Dropdown for Product Center - Highest Priority */
ul.nav-list + div.dropdown-menu,
.main-nav .dropdown .dropdown-menu { width: 900px !important;
    width: 900px !important;
    min-width: 900px !important;
    max-width: 900px !important;
    left: 20% !important;
}

/* FIXED: 7-Column Grid Layout */
ul.nav-list + div .container,
.main-nav .dropdown .dropdown-menu .container {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    width: 100% !important;
}

ul.nav-list + div .container .dropdown-column,
.main-nav .dropdown .dropdown-menu .container .dropdown-column { min-width: 160px;
    min-width: 90px !important;
    max-width: 130px !important;
    flex: none !important;
    border-right: 1px solid #eee !important;
}

ul.nav-list + div .container .dropdown-column:last-child,
.main-nav .dropdown .dropdown-menu .container .dropdown-column:last-child {
    border-right: none !important;
}

/* FORCE 7 columns on ALL dropdown menus */
li.dropdown:hover .dropdown-menu > .container,
li.dropdown:hover > .dropdown-menu > .container,
.nav-list li.dropdown:hover .dropdown-menu .container {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    width: 100% !important;
}

li.dropdown:hover .dropdown-menu .dropdown-column,
.nav-list li.dropdown:hover .dropdown-menu .dropdown-column { min-width: 160px;
    display: inline-block !important;
    width: calc(100% / 7) !important;
    min-width: 90px !important;
    max-width: 130px !important;
    float: left !important;
    border-right: 1px solid #eee !important;
    box-sizing: border-box !important;
}


/* Fix dropdown column overflow */
.main-nav .dropdown:hover .dropdown-menu .dropdown-column { min-width: 160px;
    
    
    white-space: normal !important;
}

.main-nav .dropdown:hover .dropdown-menu .dropdown-column ul {
    overflow: visible !important;
    white-space: normal !important;
}


/* Auto-width columns - no wrapping */
.main-nav .dropdown:hover .dropdown-menu { width: 900px !important;
    width: auto !important;
    min-width: auto !important;
    max-width: none !important;
    left: 15% !important;
}

.main-nav .dropdown:hover .dropdown-menu .container {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    width: auto !important;
}

.main-nav .dropdown:hover .dropdown-menu .dropdown-column { min-width: 160px;
    flex: 0 0 auto !important;
    min-width: min-content !important;
    max-width: none !important;
    width: auto !important;
    padding: 0 12px !important;
    border-right: 1px solid #eee !important;
    white-space: normal !important;
}

.main-nav .dropdown:hover .dropdown-menu .dropdown-column:last-child {
    border-right: none !important;
}

.main-nav .dropdown:hover .dropdown-menu .dropdown-column ul {
    white-space: normal !important;
}

.main-nav .dropdown:hover .dropdown-menu .dropdown-column ul li {
    white-space: normal !important;
}


/* Fixed column widths - prevent overlap */
.main-nav .dropdown:hover .dropdown-menu { width: 900px !important;
    width: auto !important;
    min-width: 850px !important;
    max-width: none !important;
    left: 10% !important;
}

.main-nav .dropdown:hover .dropdown-menu .container {
    display: table !important;
    table-layout: auto !important;
    width: auto !important;
    border-spacing: 0;
}

.main-nav .dropdown:hover .dropdown-menu .dropdown-column { min-width: 160px;
    display: table-cell !important;
    min-width: 100px !important;
    max-width: 200px !important;
    padding: 0 10px !important;
    border-right: 1px solid #eee !important;
    vertical-align: top;
}

.main-nav .dropdown:hover .dropdown-menu .dropdown-column:last-child {
    border-right: none !important;
}

.main-nav .dropdown:hover .dropdown-menu .dropdown-column h4 {
    font-size: 13px !important;
    margin-bottom: 8px !important;
    white-space: normal !important;
}

.main-nav .dropdown:hover .dropdown-menu .dropdown-column ul li {
    white-space: normal !important;
}


/* Fixed: 200px max-width per column, no text overlap */
.main-nav .dropdown:hover .dropdown-menu { width: 900px !important;
    width: auto !important;
    min-width: 850px !important;
    max-width: none !important;
    left: 5% !important;
}

.main-nav .dropdown:hover .dropdown-menu .container {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: auto !important;
}

.main-nav .dropdown:hover .dropdown-menu .dropdown-column { min-width: 160px;
    flex: 0 0 150px !important;
    min-width: 100px !important;
    max-width: 200px !important;
    width: 150px !important;
    padding: 0 8px !important;
    border-right: 1px solid #eee !important;
    box-sizing: border-box !important;
}

.main-nav .dropdown:hover .dropdown-menu .dropdown-column:last-child {
    border-right: none !important;
}

.main-nav .dropdown:hover .dropdown-menu .dropdown-column h4 {
    white-space: normal !important;
    font-size: 13px !important;
}

.main-nav .dropdown:hover .dropdown-menu .dropdown-column ul li {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
}

.main-nav .dropdown:hover .dropdown-menu .dropdown-column ul {
    overflow: visible !important;
}


/* Second column (破碎设备) - 200px */
.main-nav .dropdown:hover .dropdown-menu .dropdown-column:nth-child(2) {
    flex: 0 0 150px !important;
    min-width: 100px !important;
    max-width: 200px !important;
    width: 150px !important;
}

/* FINAL: All dropdown columns 140px */
.main-nav .dropdown:hover .dropdown-menu .dropdown-column { min-width: 160px;
    flex: 0 0 100px !important;
    min-width: 100px !important;
    max-width: 100px !important;
    width: 100px !important;
}


/* Column 2 (破碎设备) - 130px */
:hover .dropdown-menu.main-nav .dropdown .dropdown-column:nth-child(2) {
    flex: 0 0 130px !important;
    min-width: 130px !important;
    max-width: 130px !important;
    width: 130px !important;
}


/* Fix: All nav dropdown columns - 2nd column 130px, others 100px */
.nav-list + .dropdown-menu .dropdown-column,
.nav-list .dropdown:hover .dropdown-menu .dropdown-column,
.dropdown-menu .container .dropdown-column,
li.dropdown:hover .dropdown-menu .dropdown-column { min-width: 160px;
    flex: 0 0 100px !important;
    min-width: 100px !important;
    max-width: 100px !important;
    width: 100px !important;
}

/* Column 2 (破碎设备) - 130px */
.nav-list + .dropdown-menu .dropdown-column:nth-child(2),
.nav-list .dropdown:hover .dropdown-menu .dropdown-column:nth-child(2),
.dropdown-menu .container .dropdown-column:nth-child(2),
li.dropdown:hover .dropdown-menu .dropdown-column:nth-child(2) {
    flex: 0 0 130px !important;
    min-width: 130px !important;
    max-width: 130px !important;
    width: 130px !important;
}


/* Universal: Make dropdown visible on hover for ALL pages */
li.dropdown:hover > .dropdown-menu,
li.dropdown.active > .dropdown-menu { width: 900px !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(-50%) translateY(0) !important;
}

/* Fix dropdown jitter - remove all transitions */
.dropdown-menu { width: 900px !important;
    transition: none !important;
}


    width: 100px !important;



.main-nav .dropdown .dropdown-menu.dropdown-menu-3col .container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    gap: 8px !important;
    padding: 0 8px !important;
}

.main-nav .dropdown .dropdown-menu.dropdown-menu-3col .dropdown-column { min-width: 160px;
    max-width: 200px !important;
    width: auto !important;
    padding: 0 4px !important;
    border-right: none !important;
}

.main-nav .dropdown .dropdown-menu.dropdown-menu-3col .dropdown-column:last-child {
    border-right: none !important;
}

.main-nav .dropdown .dropdown-menu.dropdown-menu-3col .dropdown-column h4 {
    font-size: 12px !important;
    margin-bottom: 6px !important;
}

.main-nav .dropdown .dropdown-menu.dropdown-menu-3col .dropdown-column ul li a {
    font-size: 11px !important;
    padding: 4px 0 !important;
}





/* Product Detail Page Styles */
.product-hero {
    background: linear-gradient(135deg, #f5f5f5, #fff);
    padding: 40px 0;
}

.product-main-img {
    width: 100%;
    height: 350px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    background: #fff;
}

.product-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.product-thumb {
    width: 100px;
    height: 75px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.3s;
    border: 2px solid transparent;
}

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

.product-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #eee;
    margin: 20px 0 15px;
}

.product-tab {
    padding: 16px 28px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #666;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: 0.3s;
    white-space: nowrap;
}

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

.product-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.detail-section {
    display: none;
}

.detail-section.active {
    display: block;
}

.content-block {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
}

.content-block h4 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 20px 0 12px;
}

.content-block p {
    margin-bottom: 14px;
}

.params-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 13px;
}

.params-table th,
.params-table td {
    padding: 12px 10px;
    text-align: center;
    border: 1px solid #ddd;
}

.params-table th {
    background: #f5f5f5;
    font-weight: 600;
}

.placeholder {
    color: #999;
    padding: 60px;
    text-align: center;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .product-main-img {
        height: 250px;
    }
    
    .product-tabs {
        flex-wrap: wrap;
    }
    
    .product-tab {
        padding: 12px 16px;
        font-size: 14px;
    }
}

/* ========================================
   Responsive Improvements
   ======================================== */

/* Mobile Navigation */
@media (max-width: 768px) {
    .product-hero .container > div {
        grid-template-columns: 1fr !important;
    }
    
    .product-hero h1 {
        font-size: 24px !important;
    }
    
    .product-tabs {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    .product-tab {
        padding: 12px 16px !important;
        font-size: 14px !important;
    }
    
    .content-block {
        font-size: 14px !important;
    }
    
    .params-table {
        font-size: 11px !important;
        overflow-x: auto;
        display: block;
    }
    
    .params-table th,
    .params-table td {
        padding: 8px 4px !important;
        min-width: 60px;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .product-hero .container > div {
        gap: 30px !important;
    }
}

/* Print styles */
@media print {
    .main-nav,
    .footer,
    .top-bar {
        display: none !important;
    }
    
    .product-hero {
        padding: 20px 0 !important;
    }
}

/* Accessibility improvements */
.product-tab:focus,
.nav-item:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Image optimization helper */
img {
    height: auto;
    max-width: 100%;
}

/* Remove image hover animations */
img {
    transition: none !important;
    animation: none !important;
}

img:hover {
    transform: none !important;
}

.product-card img,
.industry-card img,
.hero-image img,
.product-main-img {
    transition: none !important;
}

.product-card:hover,
.industry-card:hover {
    transform: none !important;
}

/* ============================================
   产品图片水印和Lightbox样式
   ============================================ */

/* 图片容器 - 添加可点击效果 */
.product-image-wrapper {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.product-image-wrapper img {
    display: block;
    cursor: zoom-in;
    -webkit-user-drag: none;
    user-select: none;
    transition: all 0.3s ease;
}

.product-image-wrapper:hover img {
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(230, 81, 0, 0.4);
}

/* 水印样式 - 布满整个图片 */
.product-watermark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 10;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    opacity: 0.25;
}

.product-watermark span {
    width: 100%;
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.5);
    transform: rotate(-30deg);
    white-space: nowrap;
    line-height: 60px;
    margin: 10px 0;
}

/* Lightbox 模态框 - 不覆盖整个页面 */
.lightbox {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    max-width: 95%;
    max-height: 90vh;
    background: #fff;
    z-index: 10000;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
    cursor: default;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    pointer-events: none;
    cursor: pointer;
}

.lightbox-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 32px;
    color: #333;
    cursor: pointer;
    z-index: 10001;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.lightbox-close:hover {
    opacity: 1;
}

/* 整个页面的半透明遮罩 */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9999;
    cursor: pointer;
}

.lightbox-overlay.active {
    display: block;
}

/* Lightbox full watermark - large and spread out */
.lightbox-full-watermark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.35;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 60px 0;
}

.lightbox-full-watermark span {
    font-size: 42px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    transform: rotate(-20deg);
    text-align: center;
    letter-spacing: 8px;
}

/* 缩略图悬停效果 */
.wheel-thumb,
.component-thumb,
.product-thumb {
    transition: all 0.3s ease !important;
}

.wheel-thumb:hover,
.component-thumb:hover,
.product-thumb:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(230, 81, 0, 0.5) !important;
}

/* ========================================
   Utility Classes - 内联样式抽离
   ======================================== */

/* Flexbox 工具类 */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-stretch { align-items: stretch; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.flex-1 { flex: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-15 { gap: 15px; }
.gap-20 { gap: 20px; }
.gap-30 { gap: 30px; }

/* Grid 工具类 */
.grid { display: grid; }
.grid-5col { grid-template-columns: repeat(5, 1fr); }

/* Display 工具类 */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

/* 定位工具类 */
.relative { position: relative; }
.absolute { position: absolute; }

/* 尺寸工具类 */
.w-full { width: 100%; }
.h-full { height: 100%; }
.h-auto { height: auto; }
.max-w-full { max-width: 100%; }

/* 固定高度 */
.h-45 { height: 45px; }
.h-50 { height: 50px; }
.h-80 { height: 80px; }
.h-200 { height: 200px; }

/* 固定宽度 */
.w-80 { width: 80px; }
.w-100 { width: 100px; }
.w-auto { width: auto; }

/* 间距工具类 */
.mx-auto { margin-left: auto; margin-right: auto; }
.my-auto { margin-top: auto; margin-bottom: auto; }
.m-0 { margin: 0; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-30 { margin-bottom: 30px; }
.mt-auto { margin-top: auto; }
.ml-auto { margin-left: auto; }
.mr-8 { margin-right: 8px; }

.p-0 { padding: 0; }
.p-12 { padding: 12px; }
.p-30 { padding: 30px; }
.py-12 { padding-top: 12px; padding-bottom: 12px; }
.py-40 { padding-top: 40px; padding-bottom: 40px; }
.px-14 { padding-left: 14px; padding-right: 14px; }

/* 文字工具类 */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.text-sm { font-size: 12px; }
.text-base { font-size: 16px; }
.text-lg { font-size: 18px; }
.text-xl { font-size: 20px; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }
.leading-none { line-height: 1; }

/* 颜色工具类 */
.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: #666; }
.text-white { color: white; }
.text-light { color: rgba(255,255,255,0.8); }
.text-light-2 { color: rgba(255,255,255,0.9); }

/* 背景工具类 */
.bg-transparent { background: transparent; }
.bg-white { background: white; }
.bg-light { background: var(--bg-light); }

/* 边框工具类 */
.rounded { border-radius: 8px; }
.rounded-sm { border-radius: 4px; }
.border { border: 1px solid var(--border-color); }

/* 溢出工具类 */
.overflow-hidden { overflow: hidden; }

/* 目标工具类 */
.object-contain { object-fit: contain; }
.object-cover { object-fit: cover; }

/* 文本处理 */
.no-underline { text-decoration: none; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 过渡动画 */
.transition { transition: all 0.3s; }

/* 鼠标指针 */
.cursor-pointer { cursor: pointer; }

/* 垂直居中 */
.vertical-middle { vertical-align: middle; }

/* 行高 */
.leading-2 { line-height: 2; }

/* 弹性盒子内容对齐 */
.content-center { align-content: center; }
.content-between { align-content: space-between; }

/* ============================================
   OrePeak 2.0 - Responsive + New Components
   ============================================ */

/* === Inquiry Floating Button === */
.inquiry-float {
  position: fixed; bottom: 32px; right: 32px; z-index: 999;
}
.inquiry-btn {
  width: 60px; height: 60px; background: var(--primary-color); color: #fff;
  border: none; border-radius: 50%; font-size: 24px; cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2); transition: all 0.3s;
  display: flex; align-items: center; justify-content: center;
}
.inquiry-btn:hover { background: var(--primary-dark); transform: scale(1.1); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }

/* === Inquiry Modal === */
.inquiry-modal { display:none; position:fixed; top:0; left:0; right:0; bottom:0; z-index:1000; background:rgba(0,0,0,0.5); backdrop-filter:blur(4px); }
.inquiry-modal.active { display:flex; align-items:center; justify-content:center; }
.inquiry-modal-content { background:#fff; border-radius:16px; padding:40px; width:90%; max-width:480px; box-shadow:0 20px 60px rgba(0,0,0,0.15); position:relative; }
.inquiry-close { position:absolute; top:16px; right:16px; width:36px; height:36px; background:#f5f5f5; border:none; border-radius:50%; font-size:18px; cursor:pointer; color:#666; display:flex; align-items:center; justify-content:center; }
.inquiry-close:hover { background:#e0e0e0; }
.inquiry-modal-content h3 { font-size:24px; font-weight:700; margin-bottom:8px; }
.inquiry-modal-content .subtitle { font-size:14px; color:#999; margin-bottom:24px; }
.iq-form-group { margin-bottom:16px; }
.iq-form-group label { display:block; font-size:14px; font-weight:600; color:#555; margin-bottom:4px; }
.iq-form-group input, .iq-form-group select, .iq-form-group textarea { width:100%; padding:12px 16px; border:1px solid #e0e0e0; border-radius:8px; font-size:15px; color:#333; transition:border-color 0.2s; }
.iq-form-group input:focus, .iq-form-group select:focus, .iq-form-group textarea:focus { outline:none; border-color:var(--primary-color); box-shadow:0 0 0 3px rgba(230,81,0,0.1); }
.iq-form-group textarea { resize:vertical; min-height:80px; }
.iq-submit { width:100%; padding:14px; background:var(--primary-color); color:#fff; border:none; border-radius:8px; font-size:16px; font-weight:600; cursor:pointer; transition:background 0.2s; margin-top:8px; }
.iq-submit:hover { background:var(--primary-dark); }

/* === Responsive: Tablet === */
@media (max-width: 1024px) {
  .about-content { flex-direction: column; }
  .about-image { margin-top: 24px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .dropdown-menu .container { grid-template-columns: repeat(3, 1fr); }
}

/* === Responsive: Mobile === */
@media (max-width: 768px) {
  .page-header h1 { font-size: 28px; }
  .section { padding: 48px 0; }
  .section-title h2 { font-size: 24px; }
  .values-grid { grid-template-columns: 1fr; }

  /* Header responsive */
  .main-nav .nav-list { 
    display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.1); padding: 16px 0;
  }
  .main-nav.active .nav-list { display: flex; }
  .main-nav .nav-item { padding: 12px 20px; border-bottom: 1px solid #f0f0f0; }
  .main-nav .dropdown-menu { position: static; box-shadow: none; border: none; }
  .main-nav .dropdown:hover .dropdown-menu { display: none; }
  .main-nav .dropdown.active .dropdown-menu { display: block; }

  /* Top bar */
  div[style*="background: var(--bg-light)"] { padding: 8px 0; }
  div[style*="display: flex; justify-content: space-between"] { flex-wrap: wrap; gap: 8px; }

  /* Product grid */
  .product-grid, .product-category-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer > div > div:first-child { grid-template-columns: repeat(2, 1fr); }

  /* Inquiry float */
  .inquiry-float { bottom: 20px; right: 20px; }
  .inquiry-btn { width: 52px; height: 52px; font-size: 20px; }
  .inquiry-modal-content { padding: 24px; }
}
