/* CSS RESET */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {

    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    vertical-align: baseline;

}


/* CSS RESET FOR OLDER BROWSERS */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    
    display: block;
}

body {

    line-height: 1;

}

blockquote, q {
    
    quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {

    content: '';
    content: none;

}

table {
    
    border-collapse: collapse;
    border-spacing: 0;

}

strong, b {

    font-weight: bold;

}

em, i {

    font-style: italic;

}

a img {
    
    border: none;

}

/* END RESET */
/* START PROJECT STYLES */
/* 
colorPallette{
    Dark Blue: rgb (10, 39, 78) - Used for the text and the wave icon details.

Off-White: RGB (255, 255, 255) - Used for the main background.

Embossed Blue: RGB (16, 49, 90) - Used for the background and embossed waves on the left.
} */

body {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;  
    margin: 0;
    background-color: rgb(255, 255, 255);
    &::-webkit-scrollbar {
    display: none;
    -ms-overflow-style: none;
    scrollbar-width: none; 
  } 
}

html {
    scroll-behavior: smooth;
}

/* HEADER STYLES */
.headerContainer {
    font-family: "Inter", sans-serif;
    display: grid;
    grid-template-columns: 8fr 1fr;
    grid-template-rows: 10dvh;
    grid-template-areas: 
                        'links logo';
    background-color: rgb(16, 49, 90);
    color: rgb(255, 255, 255);
    font-size: 1.1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
   
}

/* NAV STYLES */
.headerNav ul {
    display: grid;
    align-items: end;
    padding: 1em;
    grid-template-columns: 4fr 1fr 1fr 1fr;
    grid-template-rows: 6dvh;
    grid-template-areas: 'a b c d';
    list-style-type: none;
    
}

.navLink {
    font-weight: bold;
    text-decoration: none;
    color: rgb(255, 255, 255);
    padding: 10px 20px;
    border-radius: 50px;
    transition: background-color 0.2s ease-in-out;
    
}

.navLink:hover {
    background-color: rgba(79, 140, 175, 0.25);    
    
}

#phoneLink {
    /* background-color: gray; */
    grid-area: a;
    
}

#servicesLink {
    /* background-color: lightcoral; */
    grid-area: c;
}

#estimateLink {
    /* background-color: lightskyblue; */
    grid-area: d;
 
}

.logoContainer img {
    padding: 1em;
    width: 100%;
    max-width: 100px;
    height: auto;
    transition: transform 0.3s ease;
    grid-area: logo;
    cursor: pointer;

}

.logoContainer img:hover{
    transform: scale(1.05);
    opacity: 0.9;
}

/* MAIN CONTAINER STYLES */
.mainContainer {
    flex-grow: 1;
}

.marketingContainer {
    grid-area: marketing;

}


/* PRESENTATION CONTAINER STYLES */
.presentationContainer {
    display: grid;
    grid-template-columns: 1fr minmax(auto, 1200px) 1fr;
    height: 75dvh;
    grid-template-areas: 
        'left marketing right';
    padding: 40px 20px;
    scroll-margin-top: 100px;

}

.marketingContainer {
    font-family: "Inter", sans-serif;
    font-weight: bold;
    grid-area: marketing;
    justify-self: center;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 6 / 6;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    color: rgb(10, 39, 78);
    font-size: 6em;
    padding: 40px;
    background-color: rgba(38, 20, 41, 0.05);
    border-radius: 16px;
   
}

.marketingContainerReveal {
    font-family: "Inter", sans-serif;
    font-weight: bold;
    grid-area: marketing;
    justify-self: center;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 6 / 6;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    color:  rgb(255, 255, 255);
    font-size: 2em;
    padding: 40px;
    background-color: rgb(10, 39, 78);
    border-radius: 16px;
}

.moreBtnReveal {
    position: absolute;
    bottom: 40px;
    left: 40px;
    width: 60px;
    aspect-ratio: 1;
    border-radius: 50%;
    place-items: center;
    border: none;
    color: rgb(16, 49, 90);
    background-color: rgb(255, 255, 255);
    cursor: pointer;
    font-size: 30px;
}

.marketingContainer a {
    text-decoration: none;
    color: rgb(10, 39, 78);
}

.marketingContainerReveal a {
    text-decoration: none;
    color: rgb(255, 255, 255);
}

.gTitle {
    display: none;
}

#gMoreInfo {
    font-weight: normal;
    font-size: 0.7em;
    
}

.gMoreInfoReveal {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.6;
}

.gMoreInfo {
    display: none;
}

.mBtn {
    position: absolute;
    bottom: 40px;
    left: 40px;
    width: 60px;
    aspect-ratio: 1;
    border-radius: 50%;
    place-items: center;
    border: none;
    color: rgb(255, 255, 255);
    background-color: rgb(16, 49, 90);
    cursor: pointer;
    font-size: 30px;
    
}

.mBtn:hover, .moreBtnReveal:hover {
    font-size: 50px;

}


/* LOBBY CONTAINER & CARDS STYLES */
.lobbyContainer {
    font-family: "Inter", sans-serif;
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    scroll-margin-top: 100px;
   
}

.lobbyTitle {
    color: rgb(10, 39, 78);
    padding-left: 1em;
    font-size: 2.5em;
    font-weight: bold;
}

.box {
    grid-area: lobby;
    padding: 30px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-basis: 100%;
    gap: 20px;

}

.lobbyCards {
    font-weight: bold;
    border-radius: 12px;
    padding: 20px 20px;
    background-color: rgba(232, 232, 232, 1);
    height: 35dvh;
    display: flex;
    flex-direction: column;  
    position: relative;
    justify-self: center;
    color: rgb(10, 39, 78);
    font-size: 2em;
    overflow: hidden;

}

.lobbyCards p {
    text-decoration: none;
    color: rgb(10, 39, 78);
}

.card-1 {
    flex-basis: 60%;
    order: 1;
    display: flex;   
    
}

#lcardimg1 {
    height:  350px;
    width: 400px;
    border-radius: 1em;
    position:absolute;
    bottom: 0;
    right: 0;    
}

.card-2 {
    flex-basis: 30%;
    order: 2;

}

#lcardimg2 {
    height:  375px;
    width: 375px;
    border-radius: 50%;
    object-fit: cover;
    position:absolute;
    /* margin: 3em 1em 1em 1em; */
    top: 4.1em;
    right: 0.2em;
    
}

.card-3 {
    height: 40dvh;
    flex-basis: 30%;
    order: 3;
}

#lcardimg3 {
    height:  300px;
    width: 300px;
    border-radius: 50%;
    object-fit: cover;
    position:absolute;
    margin: 4em 0em 3em 4em;

}
/* FIX SLOW GROW */
.slow-grow {
    width: 100%;
    height: 100%;
    object-fit: cover;
    scale: 1;
    transition: scale 5s ease-in-out;
}

#lcardimg3:hover .slow-grow {
    scale: 1.3;
}
/* FIX SLOW GROW */

.card-4 {
    height: 40dvh;
    flex-basis: 60%;
    order: 4;
}

#lcard4img {
    height: 350px;
    width: 400px;
    border-radius: 10px;
    position:absolute;
    bottom: 0;
    right: 0;
}

/* EXTRA SERVICES CARDS STYLES */

.xSReveal {
    font-weight: bold;
    border-radius: 12px;
    padding: 20px 20px;
    background-color: rgb(10, 39, 78);
    height: 35dvh;
    display: flex;
    flex-direction: column;  
    position: relative;
    justify-self: center;
    color: rgb(255, 255, 255);
    font-size: 2em;
    overflow: hidden;
}

.xServBtns {
    position: absolute;
    bottom: 40px;
    left: 40px;
    width: 40px;
    aspect-ratio: 1;
    border-radius: 50%;
    place-items: center;
    border: none;
    color: rgb(255, 255, 255);
    background-color: rgb(16, 49, 90);
    cursor: pointer;
    font-size: 20px;
}


.xServBtnsReveal {
    position: absolute;
    bottom: 40px;
    left: 40px;
    width: 40px;
    aspect-ratio: 1;
    border-radius: 50%;
    place-items: center;
    border: none;
    color: rgb(16, 49, 90);
    background-color: rgb(255, 255, 255);
    cursor: pointer;
    font-size: 20px;
}

.xServBtns:hover, .xServBtnsReveal:hover {
    font-size: 25px;
    color: orangered;
}

.card-5 {
    height: 15dvh;
    flex-basis: 100%;
    order: 5;
}

.hideTitle {
    display: none;
}

.paragraphReveal {
    color: rgb(255, 255, 255);
    font-size: 0.5em;
    line-height: 1.5;
    font-weight: normal;
    text-align: center;
}
.card-6 {
    height: 15dvh;
    flex-basis: 100%;
    order: 6;
}
.card-7 {
    height: 15dvh;
    flex-basis: 100%;
    order: 7;
}

/* REQUEST CONTAINER STYLES*/

.requestContainer {
    display: grid;
    height: 95dvh;
    grid-template-columns: 1.5fr 2.5fr;
    grid-template-areas: 'a b';
    scroll-margin-top: 100px;
}


.jobberReq {
    grid-area: b;
    height: 100%; 
    overflow-y: auto;
    scrollbar-width:none;  
}

.card-8 {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    background-color: transparent;
    height: 80dvh;
    width: 23dvw;
    flex-basis: 30%;
    order: 8;
    
}

.card-8 p{
    top: 3em;
    /* border: solid 1px red; */
    font-size: 0.5em;
    font-weight: normal;
    text-align: left;
    color: black;
}

.card-8 a {
    text-decoration: none;
    color: black;
}

#lcard8img {
    height:  350px;
    width: 350px;
    border-radius: 50%;
    /* object-fit: cover;
    position:absolute;
    margin: 10em 0 0 0; */
  
}

#callLink5 {
    font-size: 0.4em;
    font-weight: bold;
}

/* FOOTER STYLES */
.footer {
    font-family: "Inter", sans-serif;
    display: grid;
    gap: 1em;
    grid-template-areas: 
    'a b c'
    'd b c';
    min-height: 40dvh;
    background-color: rgb(16, 49, 90);
    padding: 40px 20px;
    color: rgb(255, 255, 255);
    font-size: 1em;
    line-height: 1.2;
}

.socials {
    grid-area: a;
    /* background-color: white; */
}

.socials a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-size: 0.75em;
}

.olLogo {
    grid-area: c;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.olLogo img{
    height: 150px;
    width: auto;
}

.pmtMethods {
    grid-area: d;
    display: flex;
    flex-direction: column;
    max-width: 20dvw;
   
}

#cardTitle {
    font-weight: bold;
}

.pmtCards {        
    display: flex;    
    padding: 20px 0;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;  

}

.pmtCards img {
    height: 50px;
    width: auto;
    
}


/* MEDIA QUERIES */
@media (max-width: 767px){

    body {
        padding-top: 10dvh;
    }

    html, body {
        overflow-x: hidden;
    }

    /* HEADER CONTAINER */
    .headerContainer {
        display: grid;
        font-size: 1em;
        grid-template-columns: 1.5fr 1fr;
        grid-template-areas: 'links logo';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 10dvh;
        z-index: 9999;
                    
    }

    /* NAV BAR */
    #phoneLink {
        display: none;
    }
   
    .headerNav ul{
        grid-template-columns: 1fr 1fr;
        grid-template-areas: 'a b';
        list-style-type: none;
    }

    #estimateLink {
        grid-area: a;
        font-size: 1em;
        
    }

    #servicesLink {
        grid-area: b;
    }

    /* PRESENTATION CONTAINER */
    .presentationContainer {
    display: grid;
    grid-template-columns: minmax(auto, 1200px);
    height: auto;
    min-height: 70dvh;
    grid-template-areas: 
        'marketing';
    padding: 40px 20px;
    scroll-margin-top: 100px;

    }

    .marketingContainer {
        width: 100%;
        max-width: 300px;
        height: 600px;
        font-size: 4em;
        padding: 20px;

    }

    .marketingContainerReveal {
        width: 100%;
        max-width: 300px;
        height: 600px;
        font-size: 1.5em;
        padding: 20px;       

    }

    /* LOBBY CONTAINER */
    .lobbyCards {
        padding: 20px 20px;
        height: 35dvh;
    }
    
    .card-1 {
        flex-basis: 100%;
        height: 30dvh;
        order: 1;
        display: flex;
    
    }

    #lcardimg1 {
        height:  300px;
        width: 320px;
    
    }

    .card-2 {
        font-size: 0.9em;
        flex-basis: 15%;
        height: 20dvh;
        order: 2;

    }

    #lcardimg2 {
        height:  100px;
        width: 100px;
        top: 6.5em;
        right: -0.5em;
    }

    .card-3 {
        font-size: 1.3em;
        height: 20dvh;
        flex-basis: 50%;
        order: 3;
    }

    #lcardimg3 {
        height:  200px;
        width: 200px;
        margin: 1.5em 0em 3em 2.5em;
    }

    .card-4 {
        height: 30dvh;
        flex-basis: 100%;
        order: 4;
    }

    #lcard4img {
        height: 300px;
        width: 350px;
        bottom: 0;
        right: 0;
    }

    /* EXTRA SERVICES CONTAINER */
    .xSReveal {
        font-size: 1.4em;
        text-align: right;
    }

    .card-5, .card-6, .card-7 {
        height: 30dvh;    
    }

    /* REQUEST CONTAINER */
    .requestContainer {
        display: grid;
        gap: 15px;
        height: 180dvh;
        grid-template-columns: 1.5fr 2.5fr;
        grid-template-areas: 
        'a a'
        'b b';
        scroll-margin-top: 100px;
    }

    .card-8 {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        background-color: transparent;
        height: 60dvh;
        width: 80dvw;
        flex-basis: 50%;
        order: 8;
    
    }

    #lcard8img {
        height:  250px;
        width: 250px;
        border-radius: 50%;
        align-self: center;  
    }

    /* FOOTER CONTAINER */
    .footer {
        gap: 20px;
        
    }

    .pmtCards {        
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr); 
        gap: 15px;
        padding: 20px 0 0 60px;
        justify-content: center;
        align-items: center;     

    }

    .pmtCards img{
        height: 30px;
        width: auto;
    }
    
    .olLogo img{
        height: 150px;
        width: auto;
    }



}