/* style.css */
:root {
    --primary-color: #4CAF50;
    --secondary-color: #45a049;
}

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

body {
    font-family: 'Microsoft YaHei', sans-serif;
    padding-bottom: 80px; /* 为底部固定栏留空间 */
}

/* 导航栏 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: var(--primary-color);
    color: white;
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 50px;
}

.flag {
    height: 100px;
}

.contact-btn {
    background: var(--secondary-color);
    color: white;
    padding: 8px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
}

/* 跑马灯 */
.marquee-container {
    background: #e8f5e9;
    padding: 10px 0;
    overflow: hidden;
}

.marquee {
    white-space: nowrap;
    animation: marquee 15s linear infinite;
    color: var(--secondary-color);
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* 轮播图 */
.carousel-container {
    overflow: hidden;
    padding: 2rem 0;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    flex: 0 0 50%;
    display: flex;
    gap: 1rem;
    padding: 0 1rem;
}

.carousel-item img {
    width: 50%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

/* 图文区块 */
.content-section {
    padding: 2rem 5%;
}

.row {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
	background-color: #e8f5e9;
	text-align: ;
}

.reverse {
    flex-direction: row-reverse;
}

.image-box, .text-box {
    flex: 1;
    padding: 1rem;
}

.image-box img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

/* 底部固定栏 */
.fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.green-btn {
    background: var(--secondary-color);
    color: white;
    padding: 10px 30px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
}
/* styles.css 新增样式 */
.contact-btn,
.green-btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: #2ecc71; /* 绿色系 */
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 2px solid transparent;
}

.contact-btn:hover,
.green-btn:hover {
    background-color: #27ae60; /* 更深绿色 */
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

/* 底部按钮特殊样式 */
.green-btn {
    background-color: #27ae60;
    padding: 12px 30px;
    font-size: 1.1rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
    }
    
    .carousel-item {
        flex: 0 0 100%;
    }
    
      .nav-right {
            gap: 0.5rem; /* 缩小间距 */
        }
    
    .image-box img {
        height: 200px;
    }
	.flag {
	        height: 40px; /* 缩小国旗尺寸 */
	    }
	    .contact-btn {
	        padding: 6px 12px; /* 调整按钮大小 */
	        font-size: 0.9rem; /* 缩小字体 */
	    }
}