/* Steam-inspired design for Beijing Youche Car Service Co., Ltd */
:root {
    --steam-dark: #171a21;
    --steam-blue-dark: #1b2838;
    --steam-blue-medium: #2a475e;
    --steam-blue-light: #66c0f4;
    --steam-accent: #c7d5e0;
    --steam-text-main: #c6d4df;
    --steam-text-muted: #8f98a0;
    --steam-gradient: linear-gradient(to right, #1b2838 0%, #171a21 100%);
    --steam-header-bg: #171a21;
    --steam-btn-green: #5c7e10;
    --steam-btn-green-hover: #7db016;
}

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

body {
    background-color: var(--steam-blue-dark);
    color: var(--steam-text-main);
    font-family: "Motiva Sans", Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

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

/* Header */
header {
    background-color: var(--steam-header-bg);
    padding: 20px 0;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 2px;
}

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

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 24px;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--steam-text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

nav ul li a:hover, nav ul li a.active {
    color: #fff;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../svg/hero-bg.svg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 42px;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 18px;
    color: var(--steam-blue-light);
    margin-bottom: 40px;
}

.btn-steam {
    background: var(--steam-btn-green);
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 2px;
    font-weight: bold;
    transition: background 0.3s;
    display: inline-block;
}

.btn-steam:hover {
    background: var(--steam-btn-green-hover);
}

/* Featured / Grid Sections */
.section-title {
    margin: 40px 0 20px;
    font-size: 14px;
    color: #fff;
    letter-spacing: 1px;
}

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

.card {
    background: rgba(0, 0, 0, 0.2);
    padding: 25px;
    border-radius: 4px;
    transition: transform 0.3s, background 0.3s;
}

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

.card-icon img {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

.card h3 {
    color: var(--steam-blue-light);
    margin-bottom: 15px;
}

/* Footer */
footer {
    background-color: #000;
    padding: 60px 0;
    margin-top: 60px;
    font-size: 12px;
    color: var(--steam-text-muted);
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--steam-text-muted);
    text-decoration: none;
    margin: 0 5px;
}

.footer-links a:hover {
    color: #fff;
}

.footer-info p {
    margin-bottom: 10px;
}

/* Forms (Contact Page) */
.contact-form {
    max-width: 600px;
    margin: 40px auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--steam-blue-light);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    background: #2a3f5a;
    border: 1px solid #233c51;
    color: #fff;
    border-radius: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
    }
    nav ul {
        margin-top: 20px;
    }
    nav ul li {
        margin: 0 10px;
    }
    .hero h1 {
        font-size: 28px;
    }
}
