/* ============================================
   欧阳聚德汽车官网样式
   主色调：深蓝 #0a1628 / #1a3a5c / #2563eb
   ============================================ */

:root {
    --navy-900: #0a1628;
    --navy-800: #0f2035;
    --navy-700: #1a3a5c;
    --navy-600: #1e4d7b;
    --blue-500: #2563eb;
    --blue-400: #3b82f6;
    --blue-300: #60a5fa;
    --gold: #d4a853;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-500: #64748b;
    --gray-700: #334155;
    --gray-900: #0f172a;
    --font: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--gray-900);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ====== 导航栏 ====== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    height: 44px;
    width: auto;
    transition: all 0.3s;
}

.navbar.scrolled .logo-img {
    height: 36px;
}

.footer .logo-img {
    height: 48px;
    opacity: 0.9;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover { color: var(--white); }

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue-400);
    transition: width 0.3s;
}

.nav-links a:hover::after { width: 100%; }

.nav-cta {
    background: var(--blue-500);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.nav-cta:hover {
    background: var(--blue-400);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: 0.3s;
}

/* ====== Hero ====== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('assets/images/factory-gate.jpg') center/cover no-repeat;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(10,22,40,0.7) 0%,
        rgba(10,22,40,0.5) 50%,
        rgba(10,22,40,0.8) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 24px;
}

.hero-subtitle {
    color: var(--blue-300);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 6px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title {
    color: var(--white);
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: 4px;
}

.hero-desc {
    color: rgba(255,255,255,0.7);
    font-size: 18px;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.hero-scroll span {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    letter-spacing: 2px;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--blue-400);
    border-radius: 2px;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { top: 6px; opacity: 1; }
    50% { top: 20px; opacity: 0.3; }
}

/* ====== 按钮 ====== */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--blue-500);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--blue-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37,99,235,0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
}

.btn-lg {
    padding: 18px 48px;
    font-size: 17px;
}

/* ====== 数据统计 ====== */
.stats {
    background: var(--navy-900);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--blue-400);
    line-height: 1;
    display: inline;
}

.stat-unit {
    font-size: 18px;
    color: var(--blue-300);
    font-weight: 500;
    margin-top: 4px;
}

.stat-label {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    margin-top: 8px;
    letter-spacing: 1px;
}

/* ====== Section通用 ====== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    color: var(--blue-500);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    margin-top: 12px;
    color: var(--gray-900);
    letter-spacing: 2px;
}

.section-desc {
    color: var(--gray-500);
    font-size: 16px;
    margin-top: 12px;
}

/* ====== 关于我们 ====== */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-carousel {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 420px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-arrow {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 44px;
    border: none;
    background: rgba(0,0,0,0.15);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s;
    z-index: 2;
}

.carousel-arrow svg {
    width: 22px;
    height: 22px;
}

.about-carousel:hover .carousel-arrow {
    opacity: 1;
}

.carousel-arrow:hover {
    background: rgba(0,0,0,0.35);
}

.carousel-prev { left: 0; }
.carousel-next { right: 0; }

.carousel-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s;
}

.about-carousel:hover .carousel-dots {
    opacity: 1;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.dot.active {
    background: var(--white);
    transform: scale(1.2);
}

.about-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--navy-800);
    margin-bottom: 20px;
    line-height: 1.4;
}

.about-content p {
    color: var(--gray-500);
    font-size: 15px;
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.about-tags span {
    background: var(--gray-100);
    color: var(--navy-700);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

/* ====== 产品中心 ====== */
.products {
    padding: 100px 0;
    background: var(--gray-50);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    transition: all 0.3s;
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-400);
}

.product-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-body {
    padding: 24px;
}

.product-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy-800);
    margin-bottom: 8px;
}

.product-card p {
    color: var(--gray-500);
    font-size: 13px;
    margin-bottom: 14px;
    line-height: 1.6;
}

.product-specs {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.product-specs li {
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 4px;
}

.product-link {
    color: var(--blue-500);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s;
}

.product-link:hover { color: var(--blue-400); }

/* ====== 核心优势 ====== */
.advantages {
    padding: 100px 0;
    background: var(--white);
}

.adv-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.adv-card {
    padding: 36px 24px;
    border-radius: var(--radius);
    background: linear-gradient(145deg, var(--navy-900), var(--navy-700));
    color: var(--white);
    transition: transform 0.3s;
}

.adv-card:hover { transform: translateY(-4px); }

.adv-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--blue-400);
    opacity: 0.4;
    line-height: 1;
    margin-bottom: 16px;
}

.adv-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.adv-card p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    line-height: 1.7;
}

/* ====== 荣誉资质 ====== */
.honors {
    padding: 100px 0;
    background: var(--gray-50);
}

.honors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.honor-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all 0.3s;
}

.honor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.honor-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.honor-card p {
    padding: 14px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700);
    text-align: center;
}

/* ====== CTA ====== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.cta-content p {
    color: rgba(255,255,255,0.6);
    font-size: 16px;
    margin-bottom: 36px;
}

/* ====== 联系我们 ====== */
.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 60px;
    align-items: start;
}

.contact-lead {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 36px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.contact-icon {
    width: 44px;
    height: 44px;
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--blue-500);
    transition: all 0.3s;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-item:hover .contact-icon {
    background: var(--blue-500);
    border-color: var(--blue-500);
    color: var(--white);
}

.contact-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 2px;
}

.contact-item p {
    color: var(--gray-500);
    font-size: 13px;
}

.contact-form {
    background: var(--gray-50);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--gray-100);
}

.contact-form h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--navy-900);
}

.form-desc {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--font);
    margin-bottom: 12px;
    transition: all 0.3s;
    background: var(--white);
    color: var(--gray-900);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.contact-form .btn { width: 100%; justify-content: center; }

/* ====== Footer ====== */
.footer {
    background: var(--navy-900);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    margin-bottom: 4px;
}

.footer-slogan {
    color: rgba(255,255,255,0.3) !important;
    font-size: 13px !important;
    margin-top: 8px;
}

.footer-links h4 {
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-links a:hover { color: var(--blue-400); }

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.3);
    font-size: 13px;
}

/* ====== 响应式 ====== */
@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .nav-toggle { display: flex; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
    .honors-grid { grid-template-columns: repeat(2, 1fr); }
    .adv-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }

    .hero-title { font-size: 32px; }
    .section-title { font-size: 28px; }
    .cta-content h2 { font-size: 28px; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .adv-grid { grid-template-columns: 1fr; }
    .stat-number { font-size: 36px; }
}
