:root {
    --body-font:"Inter", sans-serif;
    --header-font: "Playfair Display", serif;
    --header-sans-font: "Lato", sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

p {
    font-family: var(--body-font);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--header-font);
}

header {
    background-color: #FF0037;
    background-image: linear-gradient(to bottom, #e60032, #FF0037);
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 10;
    box-shadow: 0 4px 6px 1px rgba(0, 0, 0, 0.2), 0 3px 18px 1px rgba(0, 0, 0, 0.19);
    width:100%;
    border-bottom: 3px solid #ffffff;

    .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        max-width: 1480px;
        padding: 0 20px;
    }

    a.logo {

        img {
            width: 80px;
            height: auto;
            padding: 5px;
            display: block;
        }
    }

    #navigation {

        position: absolute;
        right: -100%;
        top: 0;
        display: flex;
        flex-grow: 1;
        align-items: center;
        justify-content: flex-end;
        width: 100%;
        max-width: 400px;
        transition: all 0.5s ease;

        &.show {
            right: 0;
            transition: all 0.3s ease;
        }

        a.menu-toggle {
            display: block;

            svg {
                position: absolute;
                top: 10px;
                right: 10px;
                width: 30px;
                height: 40px;
                fill: #ffffff;
            }
        }


        ul {
            display: flex;
            flex-direction: column;
            list-style-type: none;
            background-color: #FF0037;
            margin: 0;
            padding-left: 0;
            width: 100%;

            li {
                padding: 0 30px;
            }
        }

        a {
            text-decoration: none;
            color: #FFFFFF;
            display: block;
            padding: 20px 40px;
            font-family: var(--header-sans-font);
            text-transform: uppercase;
            font-size: 1.1rem;
            text-align: center;
            border-bottom: 1px solid rgba(255, 255, 255, 0.5);

            &:hover {
                color: #DDDDDD;
            }
        }
    }

    .buttons {
        padding: 10px;
        display: flex;
        justify-content: center;
        align-items: center;

        .offcanvas {
            width: 70px;
            height: auto;
            fill: #FFFFFF;
        }
    }
}

@media screen and (min-width: 920px) {
    header {
        #navigation {

            position: static;
            max-width: none;

            a.menu-toggle {
                display: none;
            }

            ul {
                flex-direction: row;
                background-color: transparent;
                width: auto;

                li {
                    padding: 0;
                }
            }

            a {
                padding: 20px;
                text-align: left;
                border-bottom: none;
            }
        }

        .buttons {
            .offcanvas {
                display: none;
            }
        }
    }
}


main {
    flex-grow: 1;
    font-family: "Inter", sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;

}


.hero {
    background-color: #EBF2FA;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 20px;

    .slideshow {
        margin: 110px 0 0 0;
        width: 100%;
        max-width: 1440px;
        position: relative;
        display: flex;
        flex-direction: column;

        .text-content {
            color: #666666;
            display: flex;
            flex-direction: column;
            justify-content: center;
            flex-grow: 1;

            h2 {
                font-family: "Playfair Display", serif;
                font-size: clamp(3rem, -0.31rem + 6.897vw, 4rem);
                font-weight: 300;
                margin-bottom: 10px;
                margin-top: 0;
            }

            p {
                font-size: clamp(0.9rem, -0.093rem + 2.069vw, 1.2rem);
                margin: 10px 0;
            }
        }

        .image-holder {

            width: 100%;
            max-width: 720px;
            display: flex;
            align-items: flex-end;
            justify-content: flex-end;
            align-self: center;


            .mobile {
                position: relative;

                img {
                    width: 100%;
                    height: auto;
                    display: block;
                }

                .mobile-image {
                    position: relative;
                    z-index: 6;
                }

                .logo {
                    position: absolute;
                    left: 10%;
                    top: 35%;
                    width: 80%;
                    aspect-ratio: 1/1;
                    overflow: hidden;
                    transition: all 1s ease;

                    &.hide {
                        opacity: 0;
                        visibility: hidden;
                    }

                    .red-square {
                        position: absolute;
                        width: 100%;
                        height: auto;
                        visibility: hidden;
                        opacity: 0;
                        transition: all 1s ease;

                        &.show {
                            visibility: visible;
                            opacity: 1;
                        }
                    }

                    .dot {
                        position: absolute;
                        width: 10.666%;
                        height: auto;
                        top: 44.6667%;
                        visibility: hidden;
                        opacity: 0;
                        transition: all 1s ease;
                        transform: translateX(40px);

                        &.show {
                            visibility: visible;
                            opacity: 1;
                            transform: translateX(0);
                        }

                        &.one {
                            left: 13.6667%
                        }

                        &.two {
                            left: 44.6667%;
                        }

                        &.three {
                            left: 75.6667%;
                        }
                    }

                    .border-top {
                        position: absolute;
                        left: -100%;
                        top: 0;
                        width: 100%;
                        aspect-ratio: 25/1;
                        background-color: #FFFFFF;
                        transition: left 1s ease;

                        &.show {
                            left: 0;
                        }
                    }

                    .border-bottom {
                        position: absolute;
                        left: 100%;
                        bottom: 0;
                        width: 100%;
                        aspect-ratio: 25/1;
                        background-color: #FFFFFF;
                        transition: left 1s ease;

                        &.show {
                            left: 0;
                        }
                    }

                    .border-left {
                        position: absolute;
                        left: 0;
                        top: 100%;
                        width: 4%;
                        aspect-ratio: 1/25;
                        background-color: #FFFFFF;
                        transition: top 1s ease;

                        &.show {
                            top: 0;
                        }
                    }

                    .border-right {
                        position: absolute;
                        right: 0;
                        top: 100%;
                        width: 4%;
                        aspect-ratio: 1/25;
                        background-color: #FFFFFF;
                        transition: top 1s ease;

                        &.show {
                            top: 0;
                        }
                    }
                }


                .display {
                    position: absolute;
                    top: 9%;
                    left:31%;
                    right: 32.5%;
                    bottom: 13.5%;
                    overflow: hidden;
                    z-index: 5;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    background: url("img/ella-tall.webp") no-repeat center center;
                    background-size: cover;
                }

                .grid {
                    display: grid;
                    grid-template-columns: 1fr 1fr;
                    padding: 10px;
                    grid-gap: 10px;

                    .thumb {

                        img {
                            position: relative;
                            top: 20px;
                            visibility: hidden;
                            opacity: 0;
                            transition: all 1s ease;

                            &.show {
                                visibility: visible;
                                opacity: 1;
                                top: 0;
                            }
                        }
                    }
                }

                .product {
                    position: absolute;
                    top: 20px;
                    visibility: hidden;
                    opacity: 0;
                    transition: all 1s ease;

                    &.show {
                        top: 0;
                        visibility: visible;
                        opacity: 1;

                    }
                }
            }
        }

        .frame1 {

        }
    }
}

@media screen and (min-width: 1000px) {
    .hero {

        .slideshow {

            flex-direction: row;
            height: clamp(445px, 100vw/2.5, 650px);
            margin: 120px 0 0 0;

            .text-content {

                h2 {
                    font-size: clamp(3rem, 0.727rem + 3.636vw, 4rem);
                    margin-bottom: 20px;
                }

                p {
                    font-size: clamp(0.9rem, 0.218rem + 1.091vw, 1.2rem);
                    margin: 20px 0;
                }
            }

            .image-holder {
                width: 70%;
                align-self: flex-end;
            }
        }
    }
}


.intro-text {

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;

    h2 {
        text-align: center;
        font-family: "Playfair Display", serif;
        font-size: clamp(2.2rem, 1.462rem + 1.538vw, 3rem);
        font-weight: 100;
        margin: 20px 10px;
        color: #3d3d3d;
    }

    p {
        text-align: center;
        max-width: 900px;
        line-height: 1.8;
        font-family: "Inter", sans-serif;
        font-size: clamp(0.9rem, 0.623rem + 0.577vw, 1.2rem);
        color: #3d3d3d;
    }
}

@media screen and (min-width: 1000px) {
    .intro-text {
        padding: 100px 20px;

    }
}


.why-us {
    background-color: #f8f8f8;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 100px 20px;

    .row {
        max-width: 1480px;
        display: flex;
        align-items: center;
        flex-direction: column;

        p {
            color: #444444;
            line-height: 1.5;
            margin: 30px 0 35px 0;
            font-size: clamp(0.8rem, 0.631rem + 0.75vw, 1.1rem);
        }

        .text-box {
            flex-basis: 30%;
            padding-bottom: 30px;

            h3 {
                font-size: 3rem;
                margin: 0;
                font-weight: normal;
                color: #3d3d3d
            }

            a.button {
                background-color: #3d3d3d;
                color: white;
                padding: 15px 20px;
                display: inline-block;
                text-transform: uppercase;
                text-decoration: none;
                font-size: clamp(0.8rem, 0.631rem + 0.75vw, 1.1rem);
                font-family: var(--body-font);

                &:hover {
                    background-color: #4d4d4d;
                }
            }
        }

        .grid {
            flex-basis: 70%;
            display: grid;
            grid-template-columns: 1fr;
            grid-gap: 30px;
            grid-template-rows: 1fr 1fr 1fr 1fr;

            .cell {
                display: flex;
                background-color: #FFFFFF;
                box-shadow: 0 1px 1px rgba(0,0,0,0.1),
                0 2px 2px rgba(0,0,0,0.09),
                0 4px 4px rgba(0,0,0,0.08),
                0 8px 8px rgba(0,0,0,0.07),
                0 16px 16px rgba(0,0,0,0.06);
                padding: 30px 20px;

                .icon {
                    flex-basis: 20%;
                    padding: 14px;

                    img, svg {
                        width: 100%;
                        height: auto;
                        display: block;

                        fill: #e60032;
                    }
                }

                .text {
                    flex-basis: 80%;
                    padding: 10px;

                    h4 {
                        font-size: 2rem;
                        margin: 0 0 10px 0;
                        font-weight: normal;
                        color: #3d3d3d;
                    }

                    p {
                        margin: 0;
                    }

                }
            }
        }
    }

    .stats {
        display: flex;
        justify-content: space-evenly;

        .stat-box {
            padding: 20px;
            text-align: center;
            color: #444444;

            h3 {
                font-size: 3rem;
                margin-bottom: 0;
            }
        }
    }

    .icon-row {

        padding-top: 100px;

        img {
            width: 100%;
            height: auto;
            display: block;
        }
    }
}

@media screen and (min-width: 768px) {
    .why-us {
        .row {
            .grid {

                grid-template-columns: 1fr 1fr;
                grid-template-rows: 1fr 1fr;

                .cell {

                    padding: 20px 10px;

                    .text {

                        h4 {
                            font-size: clamp(1.52rem, -0.069rem + 3.31vw, 2rem);
                        }
                        p {
                            font-size: clamp(0.76rem, -0.034rem + 1.655vw, 1rem);
                        }
                    }
                }
            }
        }
    }
}

@media screen and (min-width: 1000px) {
    .why-us {
        .row {

            flex-direction: row;

            p {
                font-size: clamp(0.8rem, 0.175rem + 1vw, 1.1rem);
            }

            .text-box {

                padding-bottom: 0;
                padding-right: 30px;

                h3 {
                    font-size: clamp(2.182rem, 0.478rem + 2.727vw, 3rem);
                }

                a.button {
                    font-size: clamp(0.8rem, 0.175rem + 1vw, 1.1rem);
                }
            }

            .grid {
                .cell {
                    .text {
                        h4 {
                            font-size: clamp(1.455rem, 0.32rem + 1.817vw, 2rem);
                        }
                        p {
                            font-size: clamp(0.8rem, 0.175rem + 1vw, 1.1rem);
                        }
                    }
                }
            }
        }
    }
}

@media screen and (min-width: 1200px) {
    .why-us {
        .row {
            .grid {
                .cell {
                    padding: 30px 20px;
                }
            }
        }
    }
}

.range-block {

    padding: 40px 0;
    width: 100%;
    color: #3d3d3d;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ebf2fa;

    .container {
        max-width: 1480px;
    }

    img {
        width: 100%;
        height: auto;
        display: block;
    }
    .featured {
        padding: 20px;
        display: grid;
        grid-template-columns: 1fr;
        grid-column-gap: 60px;
        align-items: center;
        margin-bottom: 40px;

        .double-feature {
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-column-gap: 20px;

            h3 {
                font-family: "Playfair Display", serif;
                font-size: 1.1rem;
                font-weight: 300;
                margin: 20px 0;
                text-align: center;
            }
        }

        h2 {
            font-family: "Playfair Display", serif;
            font-size: clamp(2.9rem, 2.281rem + 2.75vw, 4rem);
            font-weight: 300;
            margin: 20px 0;
        }

        p {
            color: #444444;
            line-height: 1.5;
            margin: 30px 0;
            font-size: clamp(0.8rem, 0.631rem + 0.75vw, 1.1rem);
        }
    }

    .grid {
        padding: 20px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 20px;

        .cell {

            h3 {
                font-family: "Playfair Display", serif;
                font-size: 1.1rem;
                font-weight: 300;
                margin: 20px 0;
                text-align: center;
            }

            &:nth-child(3) {
                display: none;
            }
        }
    }

    &.rtl {
        background-color: #f8f8f8;

    }
}

@media screen and (min-width: 1000px) {

    .range-block {

        padding: 100px 0;

        .featured {
            grid-template-columns: [text] 2fr [image] 3fr;

            h2 {
                font-size: clamp(2.9rem, 0.608rem + 3.667vw, 4rem);
            }

            p {
                font-size: clamp(0.8rem, 0.175rem + 1vw, 1.1rem);
            }

            .double-feature {
                grid-area: image;
            }

        }

        .text-box {
            grid-area: text;
        }

        .image-box {
            grid-area: image;
        }

        &.rtl {
            background-color: #f8f8f8;

            .featured {
                grid-template-columns: [image] 3fr [text] 2fr;
            }
        }

        .grid {
            grid-template-columns: 1fr 1fr 1fr;
            grid-gap: 40px;

            .cell {

                &:nth-child(3) {
                    display: block;
                }
            }
        }
    }
}


.quote {
    background-color: #3d3d3d;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px 10px;

    h4 {

        text-align: center;
        font-family: "Playfair Display", serif;
        font-size: clamp(1.4rem, 1.031rem + 0.769vw, 1.8rem);
        font-style: italic;
        font-weight: 100;
        margin: 20px 10px;
        color: #FFFFFF;
        max-width: 1200px;
    }

    p {
        text-align: center;
        max-width: 1200px;
        font-family: "Inter", sans-serif;
        font-size: clamp(0.8rem, 0.523rem + 0.577vw, 1.1rem);
        color: #DDDDDD;

        &.small-caps {
            text-transform: uppercase;
            letter-spacing: 2px;
        }
    }

    hr {
        width: 90%;
        margin: 40px 0;
    }

}

@media screen and (min-width: 1000px) {
    .quote {
        padding: 100px 10px;
    }
}


.contact{

    width: 100%;
    max-width: 1380px;
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 40px;
    align-items: center;
    padding: 40px 0;

    .form {

        background-color: #F4F4F4;
        padding: 50px;

        form {

            display: grid;
            grid-template-columns: repeat(6, 1fr);
            grid-gap: 20px;
            width: 100%;
        }

        input,textarea,button {
            border: 1px solid #CCCCCC;
            padding: 15px 10px;
            grid-column: span 6;
            background-color: #FFFFFF;
            font-family: "Inter", sans-serif;
            color: #444444;
            font-size: 1.1rem;
        }

        textarea {
            min-height: 200px;
        }
    }

    .info {

        padding: 50px;

        h2 {
            font-family: "Playfair Display", serif;
            font-size: 3rem;
            font-weight: 300;
            margin: 0;
        }

        p {
            color: #444444;
            line-height: 1.5;
            margin: 30px 0;
        }

        .method {
            display: flex;
            align-items: center;
            margin: 15px 0;

            .icon {
                width: 50px;

                svg {
                    fill: #3d3d3d;
                }
            }

            .text {

                a {
                    color: #444444;
                    text-decoration: none;

                    &:hover {
                        color: #000000;
                    }
                }
            }
        }
    }
}

@media (min-width: 800px) {
    .contact {
        grid-template-columns: 1fr 1fr;
        padding: 0;

        .form {
            padding: 100px 50px;
        }
    }
}


footer {

    background-color: #FF0037;
    background-image: linear-gradient(to bottom, #e60032, #FF0037);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-top: 3px solid #F4F4F4;

    p {
        color: #FFFFFF;
    }
}
