/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-black: #0a0a0a;
    --secondary-black: #1a1a1a;
    --accent-gold: #d4af37;
    --text-light: #ffffff;
    --text-gray: #b0b0b0;
    --border-color: #333333;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--primary-black);
    color: var(--text-light);
    line-height: 1.6;
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(10, 10, 10, 0.95);
    padding: 20px 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

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

.logo h2 {
    color: var(--accent-gold);
    font-size: 24px;
    letter-spacing: 3px;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--accent-gold);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    transition: all 0.3s ease;
}

/* 横幅区 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-black) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--text-light) 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background-color: transparent;
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--accent-gold);
    color: var(--primary-black);
}

/* 通用区块样式 */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.divider {
    width: 60px;
    height: 3px;
    background-color: var(--accent-gold);
    margin: 0 auto;
}

/* 关于我们 */
.about {
    background-color: var(--secondary-black);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text h3 {
    font-size: 28px;
    color: var(--accent-gold);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

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

.stats {
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
    padding-top: 50px;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
}

.stat-item h4 {
    font-size: 42px;
    color: var(--accent-gold);
    margin-bottom: 10px;
    font-weight: 700;
}

.stat-item p {
    color: var(--text-gray);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 服务 */
.services {
    background-color: var(--primary-black);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--secondary-black);
    padding: 40px 30px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    color: var(--accent-gold);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-light);
}

.service-card p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
}

/* 案例 */
.cases {
    background-color: var(--secondary-black);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.case-card {
    background-color: var(--primary-black);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
}

.case-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
}

.case-image {
    height: 200px;
    background: linear-gradient(135deg, var(--secondary-black) 0%, var(--primary-black) 100%);
    border-bottom: 1px solid var(--border-color);
}

.case-info {
    padding: 25px;
}

.case-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-light);
}

.case-info p {
    color: var(--text-gray);
    font-size: 14px;
}

/* 联系我们 */
.contact {
    background-color: var(--primary-black);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

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

.contact-item h3 {
    font-size: 16px;
    color: var(--accent-gold);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    background-color: var(--secondary-black);
    border: 1px solid var(--border-color);
    padding: 15px;
    color: var(--text-light);
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.contact-form button {
    font-family: inherit;
}

/* 页脚 */
.footer {
    background-color: var(--secondary-black);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer p {
    color: var(--text-gray);
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background-color: var(--secondary-black);
        width: 100%;
        padding: 30px 0;
        gap: 20px;
        text-align: center;
        transition: left 0.3s ease;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .stats {
        flex-direction: column;
        gap: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .cases-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
