@import url('../css/globals.css');

/* Header Section */
#sectionHeader{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: row;
    gap: 2rem;
}

#left{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    gap: 1.5rem;
}
#right{
    width: 30%;
}
#render1{
    height: 28rem;
    margin-left: 40%;
    border-radius: var(--border-radius);
    position: relative;
    top: -1.5rem;
}
#render1:hover{
    height: 36rem;
    top: -4rem;
    margin-left: 36%;
}

#logo{
    width: 20rem;
    border-radius: var(--border-radius);
}

/* Video Section */
#sectionVideo{
    margin-top: 1rem;
    height: auto;
    box-shadow: 0 0px 40px #23664fa1;
    margin-bottom: 4rem;
}
#V2_Video{
    width: 100%;
    border-radius: var(--border-radius);
}

/* Features Section */
#sectionFeatures{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
#render2{
    width: 100%;
    margin-left: 3rem;
    margin-right: 3rem;
    scale: 0.8;
}
.sectionTitle{
    width: 100%;
    text-align: left;
    position: relative;
}
#FeaturesTitle{
    margin-top: -6rem;
    top: 9rem;
}
#render2{
    transition: transform 0.75s ease-in-out;
    transform: translateX(0); 
    position: relative;
    top: -4rem;
}
#render2.hidden{
    transform: translateX(-160%);
}
#appRender{
    width: 100%;
    margin-left: 3rem;
    margin-right: 3rem;
    scale:0.75;
    transition: transform 0.75s ease-in-out;
    transform: translateX(0); 
    position: absolute;
    top: -1rem;
}
#appRender.hidden{
    transform: translateX(160%);
}
#viewToggle{
    border: 5px solid var(--accent-colour);
    border-radius: 12px;
    margin-right: 2rem;
    position: relative;
    top: -11rem;
}
.toggle{
    border: 0;
    border-radius: 8px;
    height: 4rem;
    width: 10rem;
    font-size: 18px;
    letter-spacing: 0.05rem;
    transition: 0.25s;
}
#stickView{
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
#appView{
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.selectedToggle{
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}
.defaultToggle{
    color: var(--accent-colour);
    background-color: rgba(0, 0, 0, 0.25);
}
.defaultToggle:hover{
    background-color: rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

/* Design Iteration Section */
#sectionVersions{
    margin-top: -5rem;
    margin-bottom: 10rem;
}
#designTitle{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
#expandIcon{
    height: 3rem;   
    filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 1.0)); 
    transition: 0.5s;
}
#expandIcon:hover{
    scale: 1.15;
    filter: drop-shadow(0px 0px 18px rgba(0, 0, 0, 0.7)); 
}
.highlight{
    scale: 1.3; 
}
#versions{
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    width: 100%;
}
.versionRender{
    height: 40rem;
    position: relative;
    filter: drop-shadow(0 0 30px rgba(0, 255, 213, 0.25));
}
.versionRender:hover{
    scale: 1.16;
    padding-bottom: 0.7rem;
    filter: drop-shadow(0 0 60px rgba(0, 255, 213, 0.2));
}
#versionText{
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    width: 100%;
}
#V1render{
    transform: scaleX(-1);
}
hr{
    width: 90%;
    margin-top: 3rem;
}
.versionText{
    font-size: larger;
    letter-spacing: 0.1rem;
}

/* Pre Order Section */
#sectionPreOrder{
    margin-top: 10rem;
    margin-bottom: 10rem;
}
#emailContainer{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
    gap: 1.6rem;
    margin-top: 2rem;
}
#emailInput{
    width: 100%;
    height: 3rem;
    border: 4px solid var(--accent-colour);
    border-radius: var(--border-radius);
    padding: 1.45rem;
    font-size: medium;
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
    outline: none;
    width: 40vw;
    max-width: 40rem;
    min-width: 18rem;
}
::placeholder {
    color: rgba(255, 255, 255, 0.65);
}
#emailInput:disabled{
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    border: 4px solid rgba(255, 255, 255, 0.5);
}
#emailButton{
    color: var(--accent-colour);
    background-color: rgba(0, 0, 0, 0);
    border: 4px solid var(--accent-colour);
    font-size: medium;
    border-radius: var(--border-radius);
    padding: 0.7rem 3rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 0 1.5rem 0.25rem rgba(0, 0, 0, 0.5);
    transition: 0.5s;
    letter-spacing: 0.08rem;
    transition: 0.3s;
}
#emailButton:hover{
    box-shadow: 0 0 2rem 0.5rem rgba(0, 0, 0, 0.25);
    scale: 1.05;
    cursor: pointer;
    text-decoration: none;
}
#emailButton:active{
    box-shadow: 0 0 0.5rem 0.25rem rgba(0, 0, 0, 0.5);
    scale: 1.0;
}
#emailButton:disabled{
    color: rgba(255, 255, 255, 0.5);
    border: 4px solid rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
}
#emailButton:disabled:hover{
    scale: 1.0;
}
#emailButton:disabled img{
    filter: grayscale(100%);
}
#emailIcon{
    height: 1.5rem;
}



/* Mobile View */
@media screen and (max-width: 600px){
    #right{
        display: none;
    }
    h1{
        font-size: 25px !important;
    }
    #render2{
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    #sectionVideo{
        margin-bottom: 1rem;
    }
    #FeaturesTitle, #IterationTitle{
        margin-top: 4rem;
        top: -1rem;
    }
    #render2{
        top: -2rem;
    }
    #appRender{
        top: 5rem;
    }
    #viewToggle{
        margin-right: 0;
        top: 0;
    }
    .toggle{
        height: 3rem;
        width: 7rem;
        font-size: 16px;
    }
    #expandIcon{
        height: 1.8em;
        padding-bottom: 0.5rem;
    }
    #sectionVersions{
        margin-top: 5rem;
    }
    .versionRender{
        height: 20rem;
    }
    .versionText{
        font-size: small;
    }
    #sectionPreOrder{
        margin-top: 3rem;
        margin-bottom: 8rem;
    }
    #emailContainer{
        flex-direction: column;
        align-items: flex-start;
    }
}