/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft JhengHei", "微軟正黑體", sans-serif;
    line-height: 1.6;
    color: #000000;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header 样式 */
header {
    background: #000000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: thin solid #FFCF66;
}

.logo {
    padding: 15px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    height: 41px;
}

/* Hero 区域 */
.hero {
    background: linear-gradient(rgba(183,175,109,0.4), rgba(0,0,0,0.4)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    margin-top: 70px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* 主要内容区域 */
.main-content {
    padding: 80px 0;
    background: linear-gradient(rgba(255,111,111,0.5), rgba(255,255,255,0.5)), url('images/main-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.main-content h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    font-size: 2.5rem;
}

.content-block {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    background-color: rgba(255,255,255,0.80);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.content-block h3{
    margin-bottom: 20px;
    font-size: 1.5rem;
}


.content-block p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* 特色区域 */
.features {
    background: linear-gradient(rgba(179,234,192,0.5), rgba(249,249,249,0.5)), url('images/features-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 0;
}

.features h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    font-size: 2.5rem;
}

.feature-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.8);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-content h3{
        margin-bottom: 20px;
    font-size: 1.5rem;
    
}

.feature-list {
    list-style: none;
    margin: 30px 0;
}

.feature-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.feature-list i {
    color: #27ae60;
    margin-right: 10px;
}

/* 产品展示区域 */
.products {
    padding: 4rem 2rem;
    background-color: #3d3848;
}

.products h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #ffffff;
    font-size: 2.5rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    /*height: 250px;*/
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1.2rem;
}

.product-info p {
    margin: 0 0 1rem 0;
    color: #666;
    font-size: 0.9rem;
}

.product-price {
    color: #e74c3c;
    font-weight: bold;
    font-size: 1.3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}





.sample-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* owl.carousel */


  
 
  




/* 按钮样式 */
.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: #e74c3c;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    transition: all 0.3s;
}

.cta-button:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Footer 样式 */
footer {
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)), url('images/footer-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.footer-info h3 {
    margin-bottom: 20px;
}

.footer-social a {
    color: #fff;
    font-size: 24px;
    margin-right: 20px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.footer-social a:hover {
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-social {
        margin-top: 20px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .content-block, .feature-content {
        padding: 20px;
    }


    
    .feature-text {
        padding-right: 0;
    }


    .feature-grid {
        display: flex;
        flex-direction: column;
    }

    .feature-text {
        order: 1;
    }

    .feature-image {
        order: 2;
        width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .content-block p {
        font-size: 1rem;
    }

    .product-card {
        flex: 0 0 100%;
    }
}





