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

p {
    font-family: 'Quicksand', sans-serif;
    font-weight: 300;
}

h1, h2, h3, h4, h5 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
    letter-spacing: .25rem;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    color: inherit;
}

li {
    list-style: none;
}

a:hover {
    cursor: pointer;
}

.alert {
	display: none;
    margin-bottom: 0;
}



/* Custom Variables */
:root {
    --color-one: rgb(15,53,73);
    --color-two: #23B5FF;
    --color-three: #FF1660;
    --color-four: #FFFFFF;
    --color-one-transparent: rgba(11,41,57,0.7);
    --color-dark-blue: #242582;
    --color-dark-purple: #553D67;
    --color-pink: #F64C72;
    --color-light-brown: #99738E;
    --color-blue: #2F2FA2;
    --color-light-grey: #D8D9CF;
}


/* Utility Classes */
.no-gutters {
    margin-right: 0;
    margin-left: 0;
} 
[class*="col-"] {
      padding-right: 0;
      padding-left: 0;
}

.button-primary {
    background-color: rgba(255, 255, 255, 0.5);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
}

.button-primary:hover {
    background-color: white;
    color: var(--color-pink);
    border-color: white;
}

.button-secondary {
    background-color: var(--color-four);
    color: var(--color-dark-purple);
    border: 1px solid; 
    border-color: var(--color-dark-purple);
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
}

.button-secondary:hover {
    background-color: var(--color-dark-blue);
    color: var(--color-four);
    border-color: var(--color-four);
}

.btn:hover {
    cursor: pointer;
}

.bg-primary {
    background-color: var(--color-one);
}

.bg-secondary {
    background-color: var(--color-two);
}

.hamburger {
    display: none;
}

.section-header{
    padding: 100px 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-header .line {
    width: 20%;
    height: 1px;
    background-color: black;
}

.section-header h2 {
    text-align: center;
    margin: 0 20px;
}

.modal {
    color: black;
}

/* Nav Styles */
nav {
    position: fixed;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    color: white;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    z-index: 100;
    background-color: var(--color-one-transparent);
    transition: 0.5s;
}

#nav.top {
    background: transparent;
}

nav .logo {
    max-height: 100px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li a {
    margin-right: 20px;
    padding-bottom: 5px;
    padding-top: 10px;
    padding: 10px;
    border-bottom: solid 1px var(--color-pink); 
}

nav ul li a:hover {
    background-color: var(--color-one);
    border-bottom-color: var(--color-one);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

/* Styles for parallex */
.top-parallax {
    position: absolute;
    top: 0;
    left: 0;
    background-image: url("./images/background.png");
    height: 100vh;
    width: 100%;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
}



/* Header Styles */
.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    color: white;
}

.header h1 {
    letter-spacing: normal;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
}

header .header-text {
    font-size: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 40px;
}

.header h2 {
    display: none;
}

.header .header-btns {
    display: flex;
    flex-grow: 1;
}
.header .header-btns .button-primary {
    font-size: 1.5rem;
    width: 200px;
    height: 50px;
    border-radius: 20px;
    margin: 0 20px;
}

.recent-work .section-header {
    background-color: var(--color-one);
    color: white;
}

.recent-work .section-header .line {
    background-color: white;
}

/* Gallery Styles */
.gallery-mobile {
    display: none;
}
.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(6, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    height: 1800px;
}

.gallery div {
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}


.item-1 { 
    grid-area: 1 / 1 / 2 / 2; 
    background-image: url('./images/stuco-paint-1.jpg');
}

.item-2 { 
    grid-area: 2 / 1 / 3 / 2; 
    background-image: url('./images/stuco-paint-5.jpg');
}

.item-3 { 
    grid-area: 3 / 1 / 4 / 2; 
    background-image: url('./images/trim-paint-5.jpg');
}

.item-4 { 
    grid-area: 3 / 2 / 4 / 3; 
    background-image: url('./images/trim-paint-2.jpg');
}

.item-5 { 
    grid-area: 3 / 3 / 4 / 4; 
    background-image: url('./images/stuco-paint-6.jpg');
}

.item-6 { 
    grid-area: 3 / 4 / 4 / 5; 
    background-image: url('./images/stuco-paint-4.jpg');
}
.item-7 { 
    grid-area: 2 / 4 / 3 / 5; 
    background-image: url('./images/stuco-paint-3.jpg');
}

.item-8 { 
    grid-area: 1 / 4 / 2 / 5; 
    background-image: url('./images/exterior-entry-trim-paint.jpg');
}

.item-9 { 
    grid-area: 1 / 2 / 3 / 4; 
    background-image: url('./images/trim-paint-4.jpg');
}
.item-10 { 
    grid-area: 4 / 1 / 6 / 3; 
    background-image: url('./images/cabinets-1.jpg');
}
.item-11 { 
    grid-area: 4 / 3 / 5 / 4; 
    background-image: url('./images/cabinets-2.jpeg');
}
.item-12 { 
    grid-area: 4 / 4 / 5 / 5; 
    background-image: url('./images/cabinets-3.jpeg');
}
.item-13 { 
    grid-area: 5 / 3 / 7 / 5; 
    background-image: url('./images/cabinets-5.jpeg');
}
.item-14 { 
    grid-area: 6 / 2 / 7 / 3; 
    background-image: url('./images/cabinets-4.jpeg');
}
.item-15 { 
    grid-area: 6 / 1 / 7 / 2; 
    background-image: url('./images/cabinets-6.jpeg');
}

/* Services Styles */
.bottom-paralax {
    position: relative;
    background-image: url("./images/exterior-entry-trim-paint.jpg");
    height: 1000px;
    width: 100%;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
}

.services-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.services-container .section-header {
    background-color:  var(--color-one);
    color: white;
    flex-grow: 1;
}

.service-headers {
    background-color: var(--color-one);
    color: white;
    text-align: center;
    padding: 30px 0;
}



.services-container .section-header .line {
    background-color: white;
}


.services {
    flex-grow: 5;
    display: flex;
    flex-direction: column;
    width: 100%;;
    cursor: pointer;
}

.painting-service {
    background-image: url('./images/painting-background.png');
}

.texture-service {
    background-image: url('./images/texture-background.png');
}

.drywall-service {
    background-image: url('./images/drywall-background.png')
}

.cabinet-service {
    background-image: url('./images/cabinets-background.png')
}

.service {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 75vh;
}

.service > h4 {
    display: none;
}

.service-text {
    text-align: center;
    height: 45%;
    margin-top: 20px;
    margin-bottom: -20px;
    transition: 0.5s;
}

.service-text.show {
    margin-top: 0;
    margin-bottom: 0;
}
.service-text h5 {
    padding: 0 8px;
    font-size: 1.25rem;
    letter-spacing: 0;
    transition: 0.5s;
    color: transparent;
}

.service-text h4 {
    margin: 0;
    font-size: 2rem;
    transition: 0.5s;
    color: white;
}

.service-text.show h4 {
    color: transparent;
}

.service-text.show h5 {
    color: white;
}

.service-img-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 65%;
}

.service-img-background {
    justify-content: center;
    background-color: white;
    width: 50%;
    border-radius: 50%;
}

.service-img-container img {
    width: 100%;
}

.service-img-container:hover {
    cursor: pointer;
}



/* About Section */
.about {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.about .section-header {
    flex-grow: 1;
}

.about .about-text {
    padding: 30px;
    font-size: 2rem;
    flex-grow: 5;
}

.about-white-space {
    flex-grow: 1;
}

#carouselAbout .carousel-item img {
    object-fit: cover;
    object-position: center;
    height: 150px;
    overflow: hidden;
  }

/* Testimonials Section */
.testimonials {
    z-index: -2;
}

.testimonials .section-header {
    background-color: var(--color-one);
    color: white;
}

.testimonials .section-header .line {
    background-color: white;
}
/* Contact section */

.contact {
    display: flex;
    flex-direction: column;
    height: fit-content;
    width: 100%;
    background-color: var(--color-one);
    color: white;
}

.contact .section-header {
    flex-grow: 1;
}

.contact .section-header .line {
    background-color: white;
}

.contact .contact-grid {
    flex-grow: 5;
    display: flex;
    justify-content: space-around ;
}

.contact .contact-options {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}


.contact .contact-white-space {
    display: flex;
    flex-grow: 1;
}

.contact form {
    margin-top: 20px;
}

.contact .estimate-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact form input {
    border-radius: 15px;
    margin-bottom: 20px;
    padding: 10px;
}

.contact form textarea {
    resize: none;
    border-radius: 15px;
    margin-bottom: 20px;
    padding: 10px;
}

.contact-options {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-social-media ul {
    padding-left: 0;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-social-media ul li {
    margin-right: 20px;
}


.contact-social-media ul li svg {
    height: 40px;
    width: 40px;
}

.contact-social-media ul li img{
    height: 40px;
    width: 40px;
}


.contact-social-media ul li:last-of-type {
    margin-right: 0;
}

.contact-phone h2 {
    margin-bottom: 20px;
}

.contact-email h2 {
    margin-bottom: 20px;
}

.facebook-icon {
    fill: #4267B2;
}

.instagram-icon {
	fill: #BC2A8D;
}

.whatsapp-icon {
    fill: #25d366;
}

#ja img {
    height: 60px;
    width: auto;
    margin-right: 10px;
}

#ja {
    margin-top: 40px; 
    margin-bottom: 0;
    margin-left: auto;
    font-size: .5rem;
}

/* Mobile view */
@media only screen and (max-width: 525px) {

    .top-parallax {
        display: none;
    }

    .header {
        background-image: url("./images/background.png");
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .section-header {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 1rem;
    }
    .header .header-btns {
        flex-direction: column;
        flex-grow: .5;
    }

    .header .header-btns .btn {
        margin-top: 16px;
        margin-bottom: 16px;
        font-size: 1.25rem;
        width: 150px;
    }

    .header-text h1 {
        display: none;
    }

    .header-text h2 {
        text-align: center;
        display: block;
        padding: 0 10px;
    }

    #contact h1, #contact h2 {
        text-align: center;
        font-size: 1rem;
    }

    .estimate-form {
        padding: 0 16px;
    }

    #contact img, #contact svg {
        height: 30px;
        width: 30px;
    }

    .contact-options {
        padding: 0 16px;
    }

    .contact-email p {
        font-size: .5rem;
    }
}

/* Medium size styles */
@media only screen and (max-width: 850px) {
    #nav {
        flex-wrap: wrap;
        background-color: var(--color-one);
        transition: .125s;
    }
    #nav.top {
        background-color: var(--color-one);
    }
    #nav ul {
        width: 100%;
        text-align: center;
        flex-direction: column;
        margin: 0;
        padding: 0;
        width: 100%;
        transition: .125s;
    }

    #nav-links {
        overflow: hidden;
        max-height: 0;
    }

    #nav-links.open {
        max-height: 500px;
        transition: .5s;
    }

    #nav ul li {
        height: fit-content;
        padding-bottom: 10px;
    }

    #nav ul a {
        padding: 0;
        border: none;
        margin-right: 0;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        position: relative;
        height: 26px;
        justify-content: space-between;
      }
      
      .ham-slice {
        background-color: white;
        height: 2px;
        width: 28px;
        transition: ease-in .125s;
        position: relative;
      }
      
      .half-ham-slice {
        background-color: white;
        height: 2px;
        width: 14px;
        transition: ease-in .25s;
        position: relative;
      }
      
      .half-slices-container {
        display: flex;
      }
      
      .open #slice-1 {
        background-color: red;
        transform: translate(2px, 7px) rotate(45deg);
        transition: ease-in .25s;
      }
      
      .open #slice-2 {
        background-color: red;
        transform: translate(-2px, 7px) rotate(-45deg);
        transition: ease-in .25s;
      }
      
      .open #slice-5 {
        background: red;
        transform: translate(2px, -7px) rotate(-45deg);
        transition: ease-in .25s;
      }
      
      .open #slice-6 {
        background: red;
        transform: translate(-2px, -7px) rotate(45deg);
        transition: ease-in .25s;
      }
      
      .open #slice-3 {
        background-color: transparent;
        transform: translateX(-14px);
      }
      
      .open #slice-4 {
        background-color: transparent;
        transform: translateX(14px);
      }

      .gallery {
        display: none;
      }

      .gallery-mobile {
        display: block;
      }

      #carouselRecent .carousel-item img {
        object-fit: cover;
        object-position: center;
        height: 50vh;
        overflow: hidden;
      }
}

@media only screen and (max-width: 991px) {
    .service-headers {
        display: none;
    }

    .service > h4 {
        display: block;
        padding: 10px;
        color: white;
        font-size: 1.5rem;
    }

}
