@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900&display=swap');

:root {
    --Dark-Gray: hsl(0, 0%, 63%);
    --Dark-Gray-overlay: hsl(0, 0%, 0%, .3);
    --Black: hsl(0, 0%, 0%);
    --White: hsl(0, 0%, 100%);
    --Very-Dark-Gray: hsl(0, 0%, 27%);
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    background-color: var(--White);
    width: 100vw;
    max-width: 100vw;
    font-family: "League Spartan", serif;
    font-optical-sizing: auto;
    font-style: normal;
    touch-action: manipulation;

    &.open {
        overflow: hidden;
    }
}

header {
    background-color: transparent;
    height: 100px;
    width: 100vw;
    position: fixed;
    z-index: 1;
    
    .header-container {
        background-color: transparent;
        width: 100vw;
        height: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 0 0 20px;
        transition: all .5s ease-in-out;

        .hamburger {
            width: 25px;
            height: 3px;
            background-color: var(--White);
            margin-right: auto;
            position: relative;
            cursor: pointer;
            visibility: visible;
            transition: all .2s ease-in-out;

            &::before {
                content: "";
                width: 25px;
                height: 3px;
                background-color: var(--White);
                position: absolute;
                top: -150%;
                left: 0%;
                visibility: visible;
                transition: all .5s ease-in-out;
            }

            &::after {
                content: "";
                width: 25px;
                height: 3px;
                background-color: var(--White);
                position: absolute;
                top: 170%;
                left: 0%;
                visibility: visible;
                transition: all .5s ease-in-out;
            }

            &.open {
                visibility: hidden;
            }

            &.open::before {
                transform: rotate(45deg);
                top: 50%;
                background-color: var(--Dark-Gray);
            }

            &.open::after {
                transform: rotate(-45deg);
                top: 50%;
                background-color: var(--Dark-Gray);
            }
        }


        .logo {
            margin-right: auto;
            display: block;
            transition: all 5s ease-in-out;

            &.show {
                display: none;
                transition: all 5s ease-in-out;
            }
        }


        .nav {
            height: 100px;
            width: 100vw;
            display: none;
            flex-direction: row;
            align-items: center;
            justify-content: end;
            padding: 0 20px 0 0;
            transition: all 5s ease-in-out;
    
            .nav-ul {
                width: 80%;
                height: 50px;
                display: flex;
                justify-content: space-between;
                align-items: center;
                list-style: none;
    
                .nav-li {
                    width: auto;
                    height: 28px;
                    cursor: pointer;
    
                    .nav-li-a {
                        text-decoration: none;
                        color: var(--Black);
                        font-size: 1.2rem;
                        font-weight: 800;
                        text-transform: lowercase;
                    }
    
                    &:hover {
                        border-bottom: 2px solid var(--Black);
                    }
                }
                
            }
    
            &.close {
                display: flex;
            }
        }

        &.open {
            background-color: var(--White);
        }
        height: 15vh;
    }

    .header-overlay {
        background-color: var(--Dark-Gray-overlay);
        width: 100vw;
        height: 85vh;
        position: relative;
        bottom: -100%;
        transition: all .5s ease-in-out;
        display: none;

        &.show {
            bottom: 0%;
            display: flex;
        }
    }
   

    
}

main {

    .hero-section {
        width: 100vw;
        height: 51.5vh;
        position: relative;
        margin-bottom: 20px;
       
        .image-slides {
            width: 100%;
            height: 51vh;

            picture {
                
                width: 100%;
                height: 51.5vh;

                img {
                    max-inline-size: 100%;
                    width: 100%;
                    height: 51.5vh;
                    
                }
                
            }
        }

        .arrow-slide {
            position: absolute;
            bottom: 0;
            right: 0;
            
            width: 120px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: space-around;
            cursor: pointer;

            .arrow-left {
                width: 50%;
                height: 100%;
                display: flex;
                justify-content: center;
                align-items: center;
                background-color: black;
                cursor: pointer;

                &:hover {
                    background-color: var(--Very-Dark-Gray);
                }
            }

            .arrow-right {
                width: 50%;
                height: 100%;
                display: flex;
                justify-content: center;
                align-items: center;
                background-color: black;
                cursor: pointer;

                &:hover {
                    background-color: var(--Very-Dark-Gray);
                }
            }
        }
       
    }


    .discover-section {
        width: 100vw;
        height: 50vh;
        padding: 20px;

        .discover-container {
            width: 100%;
            height: 250px;
            display: flex;
            flex-direction: column;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            margin-bottom: 0px;
           
            overflow: hidden;
            position: relative;
            

            .discover-div {
                width: 100%;
                height: 250px;
                position: absolute;
                right: -100%;
                opacity: 0;
              

                .discover-title {
                    font-size: 2rem;
                    margin-bottom: 20px;
                }

                .discover-paragraph {
                    font-size: 1.02rem;
                    font-weight: 500;
                    line-height: 20px;
                }

                transition: all 2s ease-in-out;
            }
        }


        .discover-shop-now {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: start;
            width: 80%;
            cursor: pointer;

            .shop-now {
                text-transform: uppercase;
                word-spacing: 0px;
                letter-spacing: 10px;
                margin-right: 30px;
                font-weight: 700;
            }

            .shop-now-img {
                transform: scaleX(1);
                transition: transform .5s ease-in-out;
            }

            &:hover {
                .shop-now-img {
                    transform: scaleX(1.5);
                }
            }
        }
    }


    .about-section {
        display: grid;
        grid-template-columns: 1fr;
        width: 100vw;

        .about-img {
            width: 100%;

            img {
                max-inline-size: 100%;
            }
        }

        .about-container {
            width: 100%;
            padding: 20px;

            .about-title {
                text-transform: uppercase;
                font-size: 1rem;
                word-spacing: 0px;
                letter-spacing: 6px;
                margin-bottom: 20px;
            }

            .about-para {
                line-height: 20px;
                font-size: .9rem;
                font-weight: 400;
            }
        }
    }
}


@media (min-width: 1000px) {
    header {
        width: 500PX;
        color: var(--White);

        .header-container {
            width: 500px;
            display: flex;

            .hamburger {
                display: none;
            }

            .logo {
                margin-right: 0;
            }

            .nav {
                display: flex;
                width: 300px;
                color: var(--White);

                .nav-ul {
                    .nav-li {
                        .nav-li-a {
                            color: var(--White);
                            font-weight: 400;
                        }

                        &:hover {
                            border-bottom: 2px solid var(--White);
                        }
                    }
                }
            }
        }
    }

    

    main {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 0;
        height: 120vh;

        .hero-section {
            grid-column: 1/2;
            grid-row: 1;
            width: 60vw;
            height: 83vh;
            margin: 0;
            margin-bottom: 0px;
       
            .image-slides {
                width: 100%;
                height: 100%;

                picture {
                    
                    width: 100%;
                    height: 100%;

                    img {
                        max-inline-size: 100%;
                        width: 100%;
                        height: 100%;
                    }
                    
                }
            }

            .arrow-slide {
                right: -14.7%;
            }
        }

        .discover-section {
            grid-column: 2;
            grid-row: 1;
            width: 40vw;
            height: 83vh;
            margin: 0;
            padding: 30px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
    
            .discover-container {
                width: 80%;
                height: 250px;
                flex-direction: column;
                margin-bottom: 20px;
    
                .discover-div {
                    width: 100%;
                    height: 250px;
    
                    .discover-title {
                        font-size: 2.3rem;
                        font-weight: 700;
                        margin-bottom: 20px;
                    }
    
                    .discover-paragraph {
                        font-size: 1.02rem;
                        font-weight: 500;
                        line-height: 25px;
                    }
                }
            }
        }

        .about-section {
            grid-column: 1/3;
            grid-row: 2;
            margin: 0;
            height: 267px;
            grid-template-columns: repeat(3, 1fr);

            .about-container {
                display: flex;
                align-items: flex-start;
                justify-content: center;
                flex-direction: column;
            }
        }
    }
}

