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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 导航栏样式 */
.navbar {
    background-color: #fcfcfc;
    padding: 15px 0;
    border-bottom: 1px solid #e3e3e3;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}
a {
    text-decoration: none;
    color:#333333;          
}
.nav-item {
    padding: 0 20px;
    border-right: 1px solid #e3e3e3;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.nav-item:last-child {
    border-right: none;
}

.logo {
    flex: 0 0 50%;
    text-align: center;
}

.logo h1 {
    font-size: 2.0rem;
    font-weight: bold;
/*    margin-bottom: 5px;*/
}

.logo p {
    font-size: 0.8rem;
    color: #666;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Banner样式 */
.banner {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: none;
}

.banner-slide.active {
    display: block;
}

.banner-content {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    padding: 0 50px;
    color: white;
    text-align: center;
}

.banner-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.banner-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.btn-primary {
    background-color: #e9380f;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #d12f0a;
}

/* 内容区域样式 */
.content-section {
    padding: 80px 0;
}

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

.section-bg {
    background-color: #fcfcfc;
}

.two-column {
    display: flex;
    align-items: center;
    gap: 50px;
}

.column-left {
    flex: 1;
}

.column-right {
    flex: 1;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.section-subtitle {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: #333;
}

.section-text {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #666;
}

.link-more {
    color: #333;
    font-weight: bold;
    text-decoration: none;
    border-bottom: 2px solid #e9380f;
    padding-bottom: 2px;
}

/* 设计师区域样式 */
.designers-section {
    padding: 80px 0;
}

.designers-grid {
    display: flex;
    gap: 50px;
}

.designer-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.designer-column.left {
    margin-top: 50px;
}

.designer-item {
    text-align: center;
    border-radius: 15px;
}

.designer-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.designer-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.designer-desc {
    font-size: 1rem;
    color: #666;
}

/* 产品中心样式 */
.products-section {
    padding: 80px 0;
    text-align: center;
}

.products-menu {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
}

.product-icon {
    text-align: center;
}

.product-icon img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

.product-icon span {
    display: block;
    font-size: 1rem;
    color: #666;
}

/* 产品展示样式 */
.product-display {
    padding: 80px 0;
}

.product-grid {
    display: flex;
    gap: 30px;
}

.product-main {
    flex: 1;
    text-align: center;
}

.product-main img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

.product-sidebar {
    flex: 1;
    display: flex;
    gap: 20px;
}

.product-sub-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-sub-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.product-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.product-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.product-desc {
    font-size: 0.9rem;
    color: #666;
}

/* 加入美兹样式 */
.join-section {
    padding: 80px 0;
}

.join-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.join-image {
    flex: 0 0 60%;
}

.join-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.join-text {
    flex: 0 0 40%;
}

.join-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.join-subtitle {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: #666;
}

.join-description {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #666;
}

/* 页脚样式 */
.footer {
    background-color: #333;
    color: white;
    padding: 50px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-left {
    flex: 1;
}

.footer-logo {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #ccc;
}

.footer-menu {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-menu a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-menu a:hover {
    color: white;
}

.footer-right {
    flex: 1;
    text-align: right;
}

.search-box {
    margin-bottom: 20px;
}

.search-box input {
    padding: 10px;
    border: none;
    border-radius: 5px;
    width: 250px;
}

.social-icons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.social-icons a {
    color: #ccc;
    font-size: 1.5rem;
    text-decoration: none;
}

.social-icons a:hover {
    color: white;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .logo {
        flex: none;
        order: -1;
    }
    
    .hamburger {
        display: flex;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    .nav-item {
        display: none;
        border: none;
        padding: 10px 0;
    }
    
    .nav-item.active {
        display: block;
    }
    
    .banner-content {
        width: 80%;
        padding: 0 20px;
    }
    
    .banner-content h2 {
        font-size: 2rem;
    }
    
    .banner-content p {
        font-size: 1.2rem;
    }
    
    .two-column {
        flex-direction: column;
        gap: 30px;
    }
    
    .designers-grid {
        flex-direction: column;
        gap: 30px;
    }
    
    .designer-column.left {
        margin-top: 0;
    }
    
    .products-menu {
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .product-grid {
        flex-direction: column;
    }
    
    .product-sidebar {
        flex-direction: column;
    }
    
    .join-content {
        flex-direction: column;
    }
    
    .join-image {
        flex: none;
    }
    
    .join-text {
        flex: none;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-right {
        text-align: left;
    }
    
    .search-box input {
        width: 100%;
    }
    
    .social-icons {
        justify-content: flex-start;
    }
}


/* 汉堡菜单动画 */
.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* 导航栏滚动效果 */
.navbar.scrolled {
    background-color: rgba(252, 252, 252, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 表单错误状态 */
.error {
    border: 2px solid #e9380f !important;
    background-color: #fff5f5 !important;
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #e9380f;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 淡入动画 */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 产品卡片悬停效果增强 */
.product-series:hover,
.designer-item:hover,
.case-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* 按钮悬停效果增强 */
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 56, 15, 0.3);
}

.link-more:hover {
    color: #e9380f;
    border-bottom-color: #d12f0a;
}

/* 图片悬停效果 */
.product-series img:hover,
.designer-item img:hover,
.case-item img:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .hamburger {
        display: flex !important;
    }
    
    .nav-item:not(.hamburger) {
        display: none;
        width: 100%;
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid #e3e3e3;
        border-right: none;
    }
    
    .nav-item.active {
        display: block;
    }
    
    .nav-container {
        flex-wrap: wrap;
        position: relative;
    }
    
    .logo {
        order: 1;
        flex: 1;
    }
    
    .hamburger {
        order: 2;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .nav-item:not(.hamburger):not(.logo) {
        order: 3;
        flex-basis: 100%;
    }
}

/* 平板设备优化 */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .two-column {
        gap: 30px;
    }
    
    .designers-grid {
        gap: 30px;
    }
    
    .product-grid {
        gap: 20px;
    }
}

/* 大屏幕优化 */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .banner-content h2 {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

