/* Purpose Page Specific Styles */

/* Hero Section with Gradient Background */
.purpose-hero {
    height: 425px;
    padding: 60px 0;
    /* background: rgba(10, 185, 210, 0.15); */
    background-image: url('../assets/images/section-banner-02.png');
    background-size: cover;
    background-repeat: no-repeat;

    .container {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;

        h1 {
            width: 423px;
            font-size: 50px;
            font-weight: 700;
        }


    }
}

/* Section with contrasting concept */
.purpose-concept {
    min-height: 500px;
    position: relative;
    background-color: var(--background-light);
    padding: 0;
    padding-bottom: 30px;

    .container {
        display: flex;
        flex-direction: row;
        gap: 22px;

        .concept-content {
            display: grid;
            grid-template-columns: 1fr 1fr;

            .concept-title {
                max-width: 280px;
                font-size: 30px;
                margin-bottom: 10px;

                .shopping-carts {
                    color: var(--primary-orange);
                }

                .shopping-carts-icon {
                    width: 60px;
                    height: 60px;
                    vertical-align: top;
                }

                .human-minds {
                    color: var(--purple-light);
                }

                .human-minds-icon {
                    margin-top: -10px;
                    margin-left: 10px;
                    width: 64px;
                    height: 64px;
                    vertical-align: bottom;
                }
            }

            .concept-title-description {
                margin: 0 auto;
            }

            .concept-title.concept-shopping-carts {
                margin-left: 100px; margin-top: 100px;
            }

            .concept-title.concept-human-minds {
                margin-left: 20px; margin-top: -140px;
            }

            .experience-images {
                flex: 1;

                display: grid;
                grid-template-columns: repeat(3, 1fr);
                gap: 1.5rem;
                position: relative;
                z-index: 3;
                margin-top: 0;

                .experience-image {
                    border-radius: 23px;
                    overflow: hidden;
                    width: 199px;
                    height: 424px;

                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                    }
                }

                .experience-image-left {
                    position: relative;
                    top: -332px;
                    height: 377px;
                }

                .experience-image-middle {
                    position: relative;
                    top: -252px;
                }

                .experience-image-right {
                    position: relative;
                    top: -300px;
                }
            }

            .concept-arrow-container {
                position: relative;
                top: -120px;

                .concept-arrow {
                    display: block;
                    float: right;
                    margin-right: 20px;
                }
            }

            .concept-description {
                margin-left: 20px;
                max-width: 514px;
                color: var(--purple-dark);
                font-size: 20px;
                font-weight: 500;
            }
        }

    }
}

/* Purpose Break Section */
.purpose-break {
    height: 467.35px;
    padding: 0;
    background: #F9AD1C;

    .container {
        height: 100%;
        display: flex;
        flex-direction: row;
        align-items: stretch;
        gap: 20px;

        .break-content {
            flex: 0.8;
            padding: 3rem;
            display: flex;
            flex-direction: column;
            justify-content: center;

            .embrace-title {
                margin-bottom: 2rem;
                color: var(--text-dark);
            }

            .embrace-description {
                color: var(--text-dark);
            }
        }

        .break-image {
            flex: 1.2;
            height: 100%;
            overflow: hidden;

            img {
                height: 100%;
                object-fit: cover;
            }
        }


    }
}

/* Discovery section */
.purpose-discovery {
    padding: 60px 0;
    background-color: var(--background-light);
    position: relative;

    .container {
        display: flex;
        flex-direction: row;
        gap: 60px;

        .discovery-title {
            font-size: 30px;
            width: 449px;
        }

        .testimonial-card {
            max-width: 510px;
            max-height: 150px;
            margin: 0 auto;
            padding: 20px;
            border: 1px solid #8A8989;
            border-radius: 19px;
            box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
            position: relative;
        }
    }
}

/* Responsive styles */
@media (max-width: 1024px) {
    .purpose-concept {
        .container {
            flex-direction: column-reverse;

            .concept-content {
                margin-top: 30px;
                display: grid;
                grid-template-columns: 1fr;

                .concept-title {
                    font-size: 24px;
                }

                .concept-title.concept-shopping-carts {
                    margin-left: 0;
                    margin-top: 30px;
                    width: 80vw;
                    max-width: unset;
                }

                .concept-title.concept-human-minds {
                    margin-left: 0;
                    margin-top: 30px;
                    width: 80vw;
                    max-width: unset;
                }

                .concept-description {
                    margin-left: 0;
                    margin-top: 30px;
                    width: 80vw;
                    max-width: unset;
                }

                .experience-images {
                    max-width: 80vw;
                    order: -1;

                    display: flex;
                    flex-direction: row;

                    .experience-image {
                        height: auto;
                    }

                    .experience-image-left {
                        top: 0px;
                        height: auto;
                    }

                    .experience-image-middle {
                        top: 0px;
                        height: auto;
                    }

                    .experience-image-right {
                        top: 0px;
                        height: auto;
                    }
                }

                .concept-arrow-container {
                    display: none;
                }
            }
        }
    }
    
    .purpose-break {
        height: auto;
        flex-direction: column;

        .break-image, .break-content {
            width: 100%;
        }
    }
    
    .purpose-discovery {
        .container {
            .testimonial-box {
                width: 90%;
            }
        }
    }
}

@media (max-width: 768px) {
    .purpose-hero {
        height: auto;
        padding: 30px 0;

        .container {
            h1 {
                font-size: 36px;
                width: 100%;
            }
        }
    }
    
    .purpose-break {
        padding: 30px 0;

        .container {
            flex-direction: column;
            gap: 30px;

            .break-content {
                padding: 0;

                .embrace-title {
                    font-size: 24px;
                }
    
                .embrace-description {
                    font-size: 18px;
                }
            }
        }
    }
    
    .purpose-discovery {
        padding: 30px 0;

        .container {
            flex-direction: column;
            gap: 30px;
            
            .discovery-title {
                font-size: 24px;
                width: 100%;
            }

            .testimonial-box {
                width: 100%;
                padding: 1.5rem;
            }
        }
    }
} 