/* 高地 Petroleum Equipment Co., Ltd. - Main Stylesheet */

:root {
    --primary-red: #C8102E;
    --dark-red: #8B0000;
    --light-red: #DC143C;
    --gold: #FFD700;
    --dark-gray: #2C3E50;
    --light-gray: #ECF0F1;
    --white: #FFFFFF;
    --black: #000000;
}

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

body {
    font-family: 'Microsoft YaHei', 'SimHei', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: var(--white);
    padding: 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background-color: var(--dark-red);
    padding: 10px 0;
}

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

.contact-info {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    font-size: 0.9em;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.lang-toggle {
    background-color: var(--white);
    color: var(--primary-red);
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.lang-toggle:hover {
    background-color: var(--gold);
    color: var(--dark-red);
    transform: translateY(-2px);
}

.header-main {
    padding: 20px 0;
}

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

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

.logo {
    width: 80px;
    height: 80px;
    background-color: var(--white);
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.company-name h1 {
    font-size: 2em;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.company-name p {
    font-size: 1.1em;
    opacity: 0.9;
}

/* Navigation */
nav {
    background-color: rgba(0,0,0,0.2);
    padding: 0;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li {
    position: relative;
}

nav ul li a {
    display: block;
    color: var(--white);
    text-decoration: none;
    padding: 15px 30px;
    transition: all 0.3s ease;
    font-weight: 500;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: var(--gold);
    color: var(--dark-red);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(200, 16, 46, 0.8), rgba(139, 0, 0, 0.8)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero h2 {
    font-size: 3em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background-color: var(--gold);
    color: var(--dark-red);
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.cta-button:hover {
    background-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

/* Section Styles */
section {
    padding: 60px 0;
}

section:nth-child(even) {
    background-color: var(--light-gray);
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    color: var(--primary-red);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--gold));
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-red);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.service-card h3 {
    color: var(--primary-red);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--dark-gray);
    line-height: 1.8;
}

/* Equipment Grid */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.equipment-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.equipment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.equipment-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.equipment-info {
    padding: 20px;
}

.equipment-info h3 {
    color: var(--primary-red);
    font-size: 1.3em;
    margin-bottom: 10px;
}

.equipment-info p {
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.equipment-price {
    font-size: 1.5em;
    color: var(--dark-red);
    font-weight: bold;
    margin-bottom: 15px;
}

.equipment-status {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: bold;
}

.status-new {
    background-color: #27AE60;
    color: var(--white);
}

.status-used {
    background-color: #F39C12;
    color: var(--white);
}

/* Requirements Section */
.requirements-list {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-top: 30px;
}

.requirements-list h3 {
    color: var(--primary-red);
    font-size: 1.8em;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 10px;
}

.requirements-list ol,
.requirements-list ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

.requirements-list li {
    margin-bottom: 15px;
    line-height: 1.8;
}

.requirements-list strong {
    color: var(--dark-red);
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    margin: 0 auto 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.step h3 {
    color: var(--primary-red);
    margin-bottom: 15px;
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: var(--white);
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.info-box h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: var(--gold);
}

.info-box p {
    line-height: 1.8;
    margin-bottom: 10px;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--black) 100%);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 1.3em;
}

.footer-section p,
.footer-section ul {
    line-height: 2;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-main .container {
        flex-direction: column;
        text-align: center;
    }
    
    .logo-section {
        flex-direction: column;
        margin-bottom: 20px;
    }
    
    .company-name h1 {
        font-size: 1.5em;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li a {
        padding: 10px 20px;
    }
    
    .hero h2 {
        font-size: 2em;
    }
    
    .hero p {
        font-size: 1em;
    }
    
    .section-title {
        font-size: 2em;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 10px;
    }
}

/* Language Toggle */
[lang="en"] .zh,
[lang="zh"] .en {
    display: none;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-30 {
    margin-top: 30px;
}

.mb-30 {
    margin-bottom: 30px;
}

.highlight {
    color: var(--primary-red);
    font-weight: bold;
}