@import url("../lib/common.css");

:root[data-current-mode="dark"] {
    --color-hero-title-one: var(--color-linen);
    --color-hero-title-two: var(--color-dusty-rose);
    --color-hero-details: var(--color-dusty-rose);
}

:root[data-current-mode="light"] {
    --color-hero-title-one: var(--color-linen);
    --color-hero-title-two: var(--color-dusty-rose);
    --color-hero-details: var(--color-dusty-rose);
}

header {
    position: absolute;
    height: 200px;

    .logo {
        height: 100%;
        width: 200px;

        & .logo-image-container {
            height: 100%;
        }
    }
}

main {
    .hero {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        width: 100vw;
        min-height: 100vh;

        & .hero-background {
            position: fixed;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 100vw;
            height: 100vh;

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

        & .hero-content-container {
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: center;
            width: 80%;

            & .hero-content {
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                margin-block-start: 200px;
                width: 100%;
                z-index: 1;

                & h1.hero-title {
                    font-size: 4rem;
                    font-weight: 700;

                    & :first-child {
                        color: var(--color-hero-title-one);
                    }

                    & :last-child {
                        color: var(--color-hero-title-two);
                    }
                }

                & p.hero-message {
                    font-size: 1.25rem;
                }

                & .hero-action {
                    display: flex;
                    flex-direction: row;
                    justify-content: flex-end;
                    align-items: center;
                    width: 100%;
                    gap:  1rem;

                    .hero-button {
                        font-size: 1.2rem;
                    }
                }

                & .hero-details {
                    display: flex;
                    flex-direction: row;
                    justify-content: flex-end;
                    width: 100%;
                    color: var(--color-hero-details);
                }

                & .calls-to-action {
                    display: flex;
                    flex-direction: row;
                    justify-content: flex-start;
                    align-items: flex-start;
                    margin-block-start: 2rem;
                    width: 100%;
                    gap: 1rem;

                    & .pane {
                        width: 100%;

                        & .cta-content {
                            flex-direction: column;
                            justify-content: flex-start;
                            align-items: flex-start;

                            & .cta-header {
                                display: flex;
                                flex-direction: row;
                                justify-content: flex-start;
                                align-items: center;
                                width: 100%;
                                gap: 1.5rem;

                                & img {
                                    height: 52px;
                                    width: 52px;
                                }

                                & h2 {
                                    color: var(--color-bright-linen);
                                }
                            }

                            & p {
                                color: var(--color-hero-details);
                                height: 2rem;
                            }
                        }
                    }
                }

                & .copyright {
                    display: flex;
                    flex-direction: row;
                    justify-content: center;
                    align-items: center;
                    margin-block-start: 1rem;
                    width: 100%;
                    font-size: 0.8rem;
                    color: var(--color-hero-details);
                }
            }
        }
    }
}

