/* Creation Page Styles */

/* General Styles */
.creation-page {

    color: #333;
    /* overflow-x: hidden; */
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}


.container_slider {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    text-decoration: underline; /* 添加下划线 */
    text-underline-offset: 0.3em; /* 调整下划线与文字的距离 */
}

/* .section-title:after {
    content: '';
    display: block;
    width: 25rem;
    height: 4px;
    background-color: #333;
    margin: 15px auto 0;
} */

/* Hero Section */
.creation-hero {
    height: 90vh;
    min-height: 500px;
    background-image: url('../assets/images/creation/hero_bg.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.creation-hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
}

.creation-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    /* max-width: 600px; */
    padding: 0 20px;
}

.creation-hero h1 {

    margin-bottom: 30px;
        line-height: 1.2;
    letter-spacing: .5px;
}


.creation-hero span {
    margin-bottom: 30px;
}

.btn-learn-more {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-learn-more:hover {
    background-color: #fff;
    color: #333;
}

/* Introduction Section */
.creation-intro {
    min-height: 100px;
    height:max-content;
    background-image: url('../assets/images/creation/intro_bg.png');
    background-size: cover;
    padding: 100px 60px;
    text-align: left;
    position: relative;
    overflow: hidden;

    /* min-height: 800px; */
}

.intro-text {
    font-size: 20px;
    line-height: 1.6;
    /* max-width: 800px; */
    margin: 0 auto 30px;
    position: relative;
}

/* Text animation styles */
.animated-text-line {
    opacity: 1;
    transform: translateX(0);
    display: block;
    margin-bottom: 8px;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animated-text-line.visible {
    opacity: 1;
    transform: translateX(0);
}

.animated-text-line.hidden {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.scroll-indicator {
    margin-top: 1rem;
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Sustainability Section */
.creation-sustainability {
    height: 90vh;
    padding: 0;
}

.sustainability-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
}

.sustainability-column {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.sustainability-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.sustainability-column.forest {
    background-image: url('../assets/images/creation/m_left.webp');
    background-size: cover;
    background-position: center;
}

.sustainability-column.fabric {
    background-image: url('../assets/images/creation/m_right.webp');
    background-size: cover;
    background-position: center;
}

.sustainability-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.icon-container {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.icon-container svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
}

.sustainability-content h2 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 15px;
    color: #fff;
}



/* Technology Section */
.creation-technology {
    height: 90vh;
    background-image: url('../assets/images/creation/process_bg.webp');
    background-size: cover;
    background-position: center;
    padding: 0;
    padding-top: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 950px; 
}

.tech_content
{
    padding:0 60px;
    width: 100%;
    text-align:left
}
.text_container {
    padding: 20px 0;
    width: 100%;
    text-align: left;
}

.process-image {
    /* width: 80%;
    max-height: calc(90vh - 260px); 减去标题和padding的高度 */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.process-image img {
    /* max-width: 90%; */
    max-height: 100%;
    object-fit: contain;
    display: block;
}
.creation-technology_0 {
    height: 100vh;
    background-color: #f9f9f9;
    padding: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.technology-intro {
    max-width: 100%;
    margin: 0 auto 50px;
    font-size: 18px;
    line-height: 1.6;
}

.process-diagram {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 50px 0;
}

.process-step {
    background-color: #4CAF50;
    color: white;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
    width: 200px;
    text-align: center;
    font-weight: 600;
    display: inline-block;
    margin-right: 20px;
}

.green-step {
    background-color: #4CAF50;
}

.process-cycle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 2px solid #4CAF50;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px auto;
    position: relative;
}

.cycle-text {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    max-width: 80%;
}

.process-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.label-left, .label-right {
    font-size: 14px;
    color: #666;
}

/* Process Section */
.creation-process {
    padding: 80px 0;
}

.process-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.process-tab {
    width: 200px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.process-tab.active {
    opacity: 1;
}

.process-tab img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
}

.process-tab h3 {
    font-size: 18px;
    text-align: center;
    margin: 0;
}

.process-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 4px;
    display: none;
}

.process-content.active {
    display: block;
}

.process-content p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* Products Section */
.creation-products {
    background-color: var(--suncell_grey_bg);
    padding: 20px 0;
    min-height:800px;
    max-height:900px;
    


}

.products-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.products-container {
    display: flex;
    gap: 20px;
    overflow: hidden;
    max-width: 100%;
}

.product-item {
    flex: 0 0 400px;
    text-align: center;

}

.product-item img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 4px;
    /* margin-bottom: 15px; */
}
.slider-track{
    gap: 20px;
}
.product-item h3 {

    margin: 0;
}

.slider-navigation button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.slider-navigation button svg {
    width: 24px;
    height: 24px;
    stroke: #333;
}


/* Responsive Styles */
@media (max-width: 1280px)
{
    .product-item {
    flex: 0 0 300px;
    }

    .product-item img {

        height: 450px;

        /* margin-bottom: 15px; */
    }
    .creation-products {
        min-height: 630px;
    }
    .creation-intro{
        min-height: 630px;
    }
}
@media (max-width: 768px) {



    .slider-navigation button {
        padding:0;
    }
    .product-item {
    flex: 0 0 240px;
    }

    .products-slider {
        gap:5px;

    }

    .product-item img {

        height: 360px;

        /* margin-bottom: 15px; */
    }
    .sustainability-grid {
        grid-template-columns: 1fr;
    }
    
    .process-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .process-step {
        width: 100%;
        margin-right: 0;
    }
    
    .products-container {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    


    .creation-technology {
    height: 50vh;
    min-height: 500px; 
    }

}

@media (max-width: 480px) {
    .creation-hero {
        min-height: 600px;
        height:70vh;
    }
    .creation-hero h1
    {
        margin-bottom: 20px;
    }
    .creation-intro {

    padding: 100px 10px;
    min-height: 100px; 
    }


    .tech_content
    {
    padding:0 10px;
    width: 100%;
    text-align:left
    }

    .creation-technology
    {
        min-height: 100px;
        height:max-content;
        padding:40px 0;
    }

    .container_slider {
        padding: 0 0px;
    }

    .creation-products {
        min-height: 100px;
        height:max-content;
    }

    .products_section_title
    {
        padding: 0 20px;
    }

    .slider-navigation button
    {
        height:360px;
    }

}