﻿/* ========================
   Hydraulic Power Unit Page Styles
   ======================== */

:root {
    --primary-blue: #0066CC;
    --light-blue: #3399FF;
    --accent-orange: #FFA500;
    --highlight-red: #E63946;
    --text-dark: #222222;
    --text-medium: #555555;
    --text-light: #777777;
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --border-color: #E5E7EB;
    --success-green: #25D366;
    --gold: #FFD700;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-dark);
    background: var(--bg-white);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

h1, h2, h3, h4 {
    line-height: 1.3;
    font-weight: 700;
}

h1 {
    font-size: 52px;
}

h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

h3 {
    font-size: 28px;
}

h4 {
    font-size: 22px;
}

.section-intro {
    text-align: center;
    font-size: 20px;
    color: var(--text-medium);
    max-width: 900px;
    margin: 0 auto 60px;
    line-height: 1.7;
}

/* Header - Same as other pages */
.header {
    background: var(--bg-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    min-height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu > ul {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu > ul > li {
    position: relative;
}

.nav-menu > ul > li > a {
    display: block;
    font-size: 19px;
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.3s;
    padding: 10px 22px;
    white-space: nowrap;
}

.nav-menu > ul > li > a:hover,
.nav-menu a[aria-current="page"] {
    color: var(--primary-blue);
}

.nav-menu a[href="javascript:void(0)"] {
    cursor: pointer;
}

.has-dropdown {
    position: relative;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 240px;
    padding: 8px 0;
    border-radius: 6px;
    margin-top: 0;
    z-index: 100;
}

.has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

.has-dropdown:hover .dropdown {
    display: block;
}

.dropdown li {
    padding: 0;
    list-style: none;
}

.dropdown a {
    display: block;
    padding: 12px 20px;
    font-size: 18px;
    transition: background 0.2s, color 0.2s;
}

.dropdown a:hover {
    background: var(--bg-light);
    color: var(--primary-blue);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Product Overview */
.product-overview {
    padding: 80px 0 100px;
    background: var(--bg-white);
}

.page-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 2px solid var(--border-color);
}

.page-header h1 {
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 20px;
    color: var(--text-medium);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Product Strength Highlights */
.strength-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 80px;
}

.strength-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 20px;
    background: linear-gradient(135deg, #f0f8ff 0%, #e8f4fd 100%);
    border-radius: 12px;
    border: 2px solid var(--primary-blue);
    transition: transform 0.3s, box-shadow 0.3s;
}

.strength-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.2);
}

.strength-icon {
    font-size: 40px;
    color: var(--accent-orange);
    margin-bottom: 16px;
}

.strength-data {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 8px;
    line-height: 1.2;
}

.strength-label {
    font-size: 18px;
    color: var(--text-dark);
    text-align: center;
    margin: 0;
    line-height: 1.4;
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.overview-content h2 {
    color: var(--primary-blue);
    margin-bottom: 24px;
}

.lead-text {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 24px;
    color: var(--text-dark);
    font-weight: 500;
}

.overview-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.overview-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Key Features */
.key-features {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f8ff 0%, #daeeff 50%, #b8dcff 100%);
}

.key-features h2 {
    text-align: center;
    color: var(--primary-blue);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 40px 32px;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 56px;
    color: var(--accent-orange);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.feature-card p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-dark);
    margin: 0;
}

/* Technical Specifications */
.specifications {
    padding: 100px 0;
    background: var(--bg-white);
}

.specifications h2 {
    text-align: center;
    color: var(--primary-blue);
}

.specs-table-wrapper {
    margin-top: 60px;
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    font-size: 18px;
}

.specs-table thead {
    background: linear-gradient(135deg, #0066CC 0%, #0052A3 100%);
    color: var(--bg-white);
}

.specs-table th {
    padding: 20px 16px;
    text-align: left;
    font-weight: 700;
    font-size: 18px;
    border-right: 2px solid rgba(255, 255, 255, 0.2);
}

.specs-table th:last-child {
    border-right: none;
}

.specs-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s;
}

.specs-table tbody tr:hover {
    background: var(--bg-light);
}

.specs-table tbody tr:last-child {
    border-bottom: none;
}

.specs-table td {
    padding: 18px 16px;
    text-align: left;
    border-right: 1px solid var(--border-color);
}

.specs-table td:last-child {
    border-right: none;
}

.model-name {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 18px;
}

.table-note {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 32px;
    padding: 24px;
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    border-radius: 12px;
    border-left: 4px solid var(--accent-orange);
}

.table-note i {
    font-size: 24px;
    color: var(--accent-orange);
    flex-shrink: 0;
    margin-top: 2px;
}

.table-note p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-dark);
    margin: 0;
}

/* Power Options */
.power-options {
    padding: 100px 0;
    background: var(--bg-white);
}

.power-options h2 {
    text-align: center;
    color: var(--primary-blue);
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    margin-top: 60px;
}

.option-card {
    padding: 48px 40px;
    background: linear-gradient(135deg, #f0f8ff 0%, #e8f4fd 100%);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.option-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.15);
}

.option-icon {
    font-size: 64px;
    color: var(--accent-orange);
    margin-bottom: 24px;
    text-align: center;
}

.option-card h3 {
    font-size: 28px;
    color: var(--primary-blue);
    margin-bottom: 16px;
    text-align: center;
}

.option-desc {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 2px solid var(--border-color);
}

.option-features h4 {
    font-size: 20px;
    color: var(--primary-blue);
    margin-bottom: 16px;
    margin-top: 24px;
}

.option-features ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.option-features ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.option-features ul li i {
    margin-top: 4px;
    flex-shrink: 0;
    color: var(--success-green);
}

.option-features ul li i.fa-arrow-right {
    color: var(--accent-orange);
}

/* Technical Specifications - Electric & Diesel */
.specifications.electric {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f8ff 0%, #daeeff 50%, #b8dcff 100%);
}

.specifications.diesel {
    padding: 100px 0;
    background: var(--bg-white);
}

.specifications.electric h2,
.specifications.diesel h2 {
    text-align: center;
    color: var(--primary-blue);
}

/* Applications */
.applications {
    padding: 100px 0;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 50%, #90caf9 100%);
}

.applications h2 {
    text-align: center;
    color: var(--primary-blue);
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.app-card {
    padding: 36px 28px;
    background: var(--bg-white);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.app-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.15);
}

.app-icon {
    font-size: 52px;
    color: var(--accent-orange);
    margin-bottom: 20px;
}

.app-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.app-card p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-dark);
    margin: 0;
}

/* Working Process */
.working-process {
    padding: 100px 0;
    background: var(--bg-white);
}

.working-process h2 {
    text-align: center;
    color: var(--primary-blue);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.process-step {
    position: relative;
    padding: 40px 32px;
    background: linear-gradient(135deg, #f0f8ff 0%, #e8f4fd 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.process-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.15);
}

.step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--bg-white);
    background: linear-gradient(135deg, var(--accent-orange) 0%, #FF8C00 100%);
    border-radius: 50%;
    margin-bottom: 24px;
}

.step-content h3 {
    font-size: 22px;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.step-content p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-dark);
    margin: 0;
}

/* Advantages */
.advantages {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f8ff 0%, #daeeff 50%, #b8dcff 100%);
}

.advantages h2 {
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 60px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
}

.advantage-item {
    display: flex;
    gap: 24px;
    padding: 32px;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.advantage-item:hover {
    transform: translateX(6px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.15);
}

.advantage-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-orange);
    flex-shrink: 0;
    width: 80px;
    text-align: center;
}

.advantage-content h3 {
    font-size: 22px;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.advantage-content p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-dark);
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0066CC 0%, #0052A3 100%);
    text-align: center;
    color: var(--bg-white);
}

.cta-section h2 {
    margin-bottom: 20px;
    color: var(--bg-white);
}

.cta-section p {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--highlight-red);
    color: var(--bg-white);
}

.btn-primary:hover {
    background: #d32f3c;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(227, 57, 70, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--bg-white);
    border-color: var(--bg-white);
}

.btn-outline:hover {
    background: var(--bg-white);
    color: var(--primary-blue);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 50%, #90caf9 100%);
    color: var(--text-dark);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    color: var(--primary-blue);
    font-weight: 700;
}

.footer-col p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.footer-logo img {
    max-width: 180px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-dark);
    font-size: 18px;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary-blue);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-dark);
    font-size: 18px;
}

.contact-info i {
    color: var(--primary-blue);
    margin-top: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(0, 102, 204, 0.2);
}

.footer-bottom p {
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: 8px;
}

/* Responsive Design */
@media (max-width: 1200px) and (min-width: 1025px) {
    .nav-wrapper {
        gap: 16px;
    }

    .nav-menu > ul {
        gap: 2px;
    }

    .nav-menu > ul > li > a {
        padding: 10px 12px;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 16px;
    }

    .nav-wrapper {
        padding: 16px 0;
        gap: 0;
    }

    .logo {
        margin-right: 0;
    }

    .logo img {
        height: 40px;
    }

    .nav-menu > ul {
        gap: 0;
    }

    .nav-menu > ul > li > a {
        padding: 10px 8px;
        font-size: 19px;
        white-space: nowrap;
    }

    .dropdown {
        min-width: 200px;
    }

    .dropdown a {
        padding: 10px 16px;
        font-size: 16px;
    }

    .overview-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .strength-highlights {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 20px;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px), (max-width: 1024px) and (orientation: portrait) {
    .nav-menu {
        display: block;
        position: fixed;
        top: 72px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 72px);
        background: var(--bg-white);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        transition: left 0.3s ease;
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu > ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .nav-menu > ul > li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-menu > ul > li > a {
        padding: 18px 24px;
    }
    
    .dropdown {
        position: static;
        box-shadow: none;
        background: var(--bg-light);
        margin: 0;
        padding: 0;
        border-radius: 0;
    }
    
    .dropdown a {
        padding: 14px 24px 14px 44px;
    }
    
    .has-dropdown:hover .dropdown {
        display: none;
    }
    
    .has-dropdown.active .dropdown {
        display: block;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    h1 {
        font-size: 40px;
    }
    
    h2 {
        font-size: 34px;
    }
    
    .features-grid,
    .applications-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .specs-table {
        font-size: 18px;
    }
    
    .specs-table th,
    .specs-table td {
        padding: 12px 10px;
    }
    
    .strength-highlights {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .strength-item {
        padding: 24px 16px;
    }
    
    .strength-data {
        font-size: 24px;
    }
    
    .advantage-item {
        flex-direction: column;
        text-align: center;
    }
    
    .advantage-number {
        width: 100%;
    }
    
    .option-card {
        padding: 32px 24px;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 18px;
    }
    
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    .page-subtitle {
        font-size: 18px;
    }
    
    .specs-table {
        font-size: 18px;
    }
    
    .specs-table th,
    .specs-table td {
        padding: 10px 8px;
    }
}
