:root {
    --primary-color: #ff6700;
    --text-color: #333;
    --bg-color: #fff;
    --header-height-desktop: 130px;
    --header-height-mobile: 60px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
}

/* Header Styles */
.site-header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: var(--header-height-desktop);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    margin-left: -40px;
    padding: 0 20px;
}

.logo a {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.main-nav {
    display: flex;
    gap: 25px;
    margin-left: auto;
    padding-right: 20px;
}

.nav-item {
    color: var(--text-color);
    text-decoration: none;
    padding: 8px 15px;
    font-size: 17px;
    white-space: nowrap;
    position: relative;
    overflow: visible;
}

.nav-item:last-child {
    border-bottom: none;
    margin-bottom: 5px;
}

.nav-item:hover {
    background: rgba(255, 103, 0, 0.1);
    color: var(--primary-color);
}

/* Main Content */
.main-content {
    margin-top: var(--header-height-desktop);
}

/* Footer Styles */
.site-footer {
    background: #333;
    color: #fff;
    padding: 40px 0;
    margin-top: 60px;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
    max-height: var(--header-height-desktop);
    overflow: hidden;
    position: relative;
    left: 0;
}

.logo-img {
    height: calc(var(--header-height-desktop) - 5px);
    width: auto;
    object-fit: contain;
}

#top {
    scroll-margin-top: 0;
}

#products {
    scroll-margin-top: 80px;
}

#contact {
    scroll-margin-top: 80px;
}

/* 联系方式区域样式 */
.contact-section {
    padding: 60px 0;
    background: #f5f5f5;
}

.contact-info {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 50px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    gap: 30px;
    align-items: stretch;
}

/* 联系信息文字区域 */
.contact-text {
    flex: 1;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 20px;
}

.contact-info p {
    margin: 15px 0;
    font-size: 18px;
    color: #333;
    text-align: left;
    line-height: 1.8;
    display: flex;
    align-items: flex-start;
}

.contact-info p::before {
    content: attr(data-label);
    min-width: 60px;
    display: inline-block;
}

/* 右侧图片区域 */
.contact-image {
    flex: 1;
    min-height: 300px;
    background-image: url('https://img.cmliuss2024.us.kg/file/AgACAgEAAyEGAASOBlH2AAIBBWdzc53JtxmxlvLJzvO6c5aoqgTLAAJTrjEb0h-YRy-d_MpIV0amAQADAgADeQADNgQ.jpeg');
    background-size: contain;
    background-position: right center;
    background-repeat: no-repeat;
    border-radius: 8px;
    margin-right: 20px;
}

/* 添加联系方式标题样式 */
.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--text-color);
}

/* 添加媒体查询 */
@media screen and (max-width: 768px) {
    .site-header {
        height: var(--header-height-mobile);
    }

    .header-inner {
        margin-left: 0;
        padding: 0 10px;
    }

    .logo {
        max-height: var(--header-height-mobile);
        flex: 0 0 auto;
    }

    .logo-img {
        height: calc(var(--header-height-mobile) - 10px);
    }

    .menu-toggle {
        display: block;
        margin-right: 10px;
        background: transparent;
        border: none;
        padding: 8px;
    }

    .main-nav {
        position: fixed;
        top: var(--header-height-mobile);
        background: #fff;
        width: 100%;
        left: 0;
        padding: 0;
        transform: translateY(-150%);
        transition: all 0.3s ease;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .main-nav.active {
        transform: translateY(0);
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }

    .nav-item {
        width: 100%;
        padding: 15px 20px;
        text-align: right;
        border-bottom: 1px solid #eee;
        font-size: 16px;
        margin: 0;
    }

    .contact-info {
        flex-direction: column;
        padding: 20px;
        margin: 0 15px;
        border-radius: 8px;
    }

    .contact-text {
        max-width: 100%;
        padding: 0;
        margin-bottom: 20px;
    }

    .contact-info p {
        font-size: 15px;
        margin: 12px 0;
        line-height: 1.5;
    }

    .contact-image {
        min-height: 180px;
        margin: 10px 0;
        background-size: contain;
    }

    .main-content {
        margin-top: var(--header-height-mobile);
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 25px;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .logo-img {
        height: calc(var(--header-height-mobile) - 15px);
    }

    .nav-item {
        padding: 12px 15px;
        font-size: 15px;
    }

    .banner-content {
        padding: 20px 15px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
    }

    .banner-title {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .banner-subtitle {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .banner-desc {
        font-size: 14px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .banner-btn {
        padding: 8px 20px;
        font-size: 14px;
    }
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    color: var(--primary-color);
    position: relative;
    z-index: 1001;
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        width: 100%;
        text-align: center;
    }

    .main-nav.active {
        display: flex;
        flex-direction: column;
    }

    .nav-item {
        padding: 10px;
        width: 100%;
    }
} 