/*
Theme Name: Enterprise Blue
Theme URI: https://example.com/themes/enterprise-blue
Author: Gemini Agent
Author URI: https://example.com
Description: A professional, corporate blue theme designed for SOEs.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: enterprise-blue
*/

:root {
    /* Corporate / SOE Palette */
    --primary-blue: #004098;
    /* Strong Corporate Blue */
    --dark-blue: #00235B;
    /* Deep Navy */
    --accent-gold: #D4AF37;
    /* Subtle Gold for authority */
    --bg-white: #FFFFFF;
    --bg-light: #F4F7FA;
    /* High-quality screen gray */
    --text-main: #333333;
    --text-secondary: #666666;

    /* Spacing & Layout */
    --container-width: 1280px;
    /* Wider for "大气" feel */
    --header-height: 90px;

    /* Shadows - Subtle & Clean */
    --shadow-card: 0 4px 20px rgba(0, 40, 100, 0.08);
    --shadow-hover: 0 10px 30px rgba(0, 40, 100, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header - Solid & Trustworthy */
header {
    height: var(--header-height);
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-blue);
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links li {
    position: relative;
}

/* For WP submenus if needed later */
.nav-links a {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-main);
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    display: block;
}

.nav-links a:hover,
.nav-links .current-menu-item>a {
    color: var(--primary-blue);
    border-bottom-color: var(--primary-blue);
}

/* WP Nav Classes Support */
.menu-item {
    display: inline-block;
}

/* Hero Section - Grand & Impactful */
.hero {
    height: 700px;
    background: linear-gradient(135deg, rgba(0, 35, 91, 0.9) 0%, rgba(0, 64, 152, 0.8) 100%), url('images/hero_corporate_blue_city_1770117598929.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    color: #fff;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding-top: 60px;
}

.hero h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: 2px;
}

.hero p {
    font-size: 20px;
    opacity: 0.9;
    font-weight: 300;
    max-width: 700px;
    margin-bottom: 50px;
    border-left: 4px solid var(--accent-gold);
    padding-left: 20px;
}

.btn-primary {
    display: inline-block;
    padding: 18px 45px;
    background-color: var(--primary-blue);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    border-radius: 4px;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    background-color: var(--dark-blue);
    transform: translateY(-2px);
}

/* Section Styling */
.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 12px;
}

.section-title h2 span {
    color: var(--primary-blue);
}

.section-title p {
    font-size: 16px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.section-title p::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: var(--primary-blue);
    margin: 15px auto 0;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 40px 30px;
    border-top: 4px solid transparent;
    box-shadow: var(--shadow-card);
    transition: 0.3s;
    text-align: center;
    border-radius: 4px;
}

.service-card:hover {
    border-top-color: var(--primary-blue);
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.service-card:hover .icon-box {
    background: var(--primary-blue);
}

.service-card:hover .icon-box svg {
    stroke: #fff;
}

.service-card h3 {
    font-size: 20px;
    color: var(--text-main);
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* News */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.news-card {
    background: #fff;
    border: 1px solid #eee;
    transition: 0.3s;
}

.news-card:hover {
    box-shadow: var(--shadow-card);
    border-color: transparent;
}

.news-image {
    height: 220px;
    background: #ddd;
    background: linear-gradient(to bottom, #eff3f6, #e0e4e7);
    background-size: cover;
    background-position: center;
}

.news-content {
    padding: 30px;
}

.news-date {
    font-size: 13px;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.news-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 15px;
    color: var(--text-main);
    min-height: 54px;
}

.news-title a {
    color: var(--text-main);
}

.news-title a:hover {
    color: var(--primary-blue);
}

.read-more {
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid #ccc;
    padding-bottom: 2px;
}

.read-more:hover {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #fff;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 50px;
    margin-bottom: 30px;
}

.footer-col h3 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 25px;
    border-left: 3px solid var(--primary-blue);
    padding-left: 15px;
}

.footer-col p {
    color: #888;
    line-height: 1.8;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #bbb;
}

.footer-col ul li a:hover {
    color: #fff;
}

.copyright {
    text-align: center;
    color: #666;
    font-size: 14px;
}

/* SVG updates */
svg {
    transition: 0.3s;
}

svg path,
svg rect,
svg polyline {
    stroke: var(--primary-blue);
}