/* colorhunt pallete ref: 264572 */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
}

/* Utility Classes */

.btn {
  display: block;
  width: 50%;
  margin: auto;
  text-decoration: none;
  background: #2f5d62;
  padding: 10px 15px;
  border-radius: 5px;
  color: #fff;
  transition: 500ms;
  font-size: 1.5rem;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0px 5px 10px 0px rgba(255,255,255,0.53);
}

/* Navbar Section */

#navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
  width: 100%;
  background: #364547;
  overflow: hidden;
  box-shadow: 1px 10px 36px -17px rgba(0,0,0,1);
  position: fixed;
  top: 0;
  z-index: 10;
  margin: 0 auto;
}

#navbar img {
  height: 80px;
  max-width: auto;
  padding: 0 30px;
}

#navbar ul {
  display: flex;
  list-style: none;
}

#navbar .navlinks a {
  text-decoration: none;
  color: #898a8f;
  padding: 40px 50px;
  transition: 1s;
  font-size: 1.2rem;
}

#navbar .navlinks a:hover {
  background: #ffe268;
  color: #000;
}

#navbar .navlinks a.active {
  background: #ffe268;
  color: #000
}

.navbar-contact a{
  font-size: 1.5rem;
  color: #898a8f;
  text-decoration: none;
}

/* Showcase Section Home Page */

.showcase {
  height: 120vh;
  width: 100%;
  background: #2f5d62 url('/images/showcase.jpg') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-h2 {
  padding-top: 15px;
  font-size: 2rem;
}

/* Homecard Section */

.homecard {
  height: 85%;
  width: 30%;
  min-width: 360px;
  background: rgba(0, 0, 0, 0.8);
  text-align: center;
  border-radius: 10px;
  border: 2px solid #fff;
  color: #fff;
  margin-top: 100px;
  margin-bottom: 20px;
  box-shadow: -1px 10px 17px 0px rgba(0,0,0,0.75);
}

.homecard h1 {
  padding-top: 15px;
  font-size: 2.5rem;
}

.homecard ul {
  list-style: none;
  padding-top: 25px;
  padding-bottom: 30px;
}

.homecard li {
  padding: 7px;
  font-size: 1.2rem;
}

/* About Section */

.homecard-about {
  width: 50%;
  height: 80%;
  min-width: 360px;
}

.about-showcase {
  height: 110vh;
  width: 100%;
  background: #2f5d62 url('/images/about-showcase.jpg') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-para {
  padding: 10px 20px;
  text-align: justify;
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.5;
}

.about-showcase ul {
  padding: 5px 0;
}
.about-showcase ul li {
  text-align: justify;
  list-style: circle;
  margin-left: 40px;
  font-size: 1rem;
  font-weight: 400;
}

.slogan {
  text-align: center;
  padding: 10px 0 30px;
  font-size: 1.2rem;
  font-weight: bold;
}

/* Gallery Section */

.gal-control {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
  width: 80%;
  padding-top: 30px;
  font-size: 2rem;
  padding-bottom: 70px;
  
}
.gal-control h2 {
  padding: 30px;
  background: #2f5d62;
  border-radius: 10px;
  border: 1px solid #000;
  color: #fff;
}

.gal1 {
  background: #2f5d62 url('/images/plastering.jpg') no-repeat center center/cover;
  margin-top: 90px;
  background-attachment: fixed;
  width: 100%;
}

.gal2 {
  background: #2f5d62 url('/images/ceiling.jpg') no-repeat center center/cover;
  background-attachment: fixed;
  width: 100%;
}

.gal3 {
  background: #2f5d62 url('/images/electrical.jpg') no-repeat center center/cover;
  background-attachment: fixed;
  width: 100%;
}

.gal4 {
  background: #2f5d62 url('/images/floor.jpg') no-repeat center center/cover;
  background-attachment: fixed;
  width: 100%;
}

.gal5 {
  background: #2f5d62 url('/images/paint.jpg') no-repeat center center/cover;
  background-attachment: fixed;
  width: 100%;
}

.gal6 {
  background: #2f5d62 url('/images/paving.jpg') no-repeat center center/cover;
  background-attachment: fixed;
  width: 100%;
}

.gal7 {
  background: #2f5d62 url('/images/plumbing.jpg') no-repeat center center/cover;
  background-attachment: fixed;
  width: 100%;
}

.gal8 {
  background: #2f5d62 url('/images/gutters.jpg') no-repeat center center/cover;
  background-attachment: fixed;
  width: 100%;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 10px;
  width: 80%;
  align-items: center;
  justify-content: center;
  padding-top: 10px;
  margin: 0 auto;
}

.grid-container img {
  width: 100%;
  border: 3px solid #000;
  transition: 200ms;
}

.grid-container img:hover {
  transform: scale(1.1, 1.1)
}

.seperator {
  height: 70px;
  width: 100%;
  background: #ffe268;
  box-shadow: 0px 16px 26px 7px rgba(0,0,0,0.75);
  z-index: 5;
}

/* Contact Section */
.showcase-contact {
  height: 110vh;
  width: 100%;
  background: #2f5d62 url('/images/contact.jpg') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-homecard {
  height: 80%
  margin-top: 100px;
}

.contact-h2 {
  text-decoration: none;
  padding-top: 15px;
  font-size: 2rem;
}

.contact-h3 {
  padding: 20px;
}

form {
  margin: 0 auto;
  width: 90%;
  text-align: left
}

label, input, textarea {
  display: block;
  width: 90%;
  margin: 0 auto;
  padding: 10px 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
}

 .form-btn {
   margin-top: 50px;
   border: none;
 }

 /* Success Page */

 .success-showcase {
   height: 100vh;
 }

 .success-homecard {
   height: 300px;
 }

 .success-homecard a {
   margin-top: 50px;
 }

/* Footer Section */

footer {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: 90px;
  width: 100%;
  background: #364547;
  color: #898a8f;
}

footer a {
  color: #3b5998;
  text-decoration: none;
  transition: 500ms;
  cursor: pointer;
}

footer a:hover {
  color: #898a8f;
}

/* Media Queries */

@media screen and (max-width: 1200px) {
  #navbar {
    flex-direction: column;
    height: 135px;
    justify-content: flex-start;
  }

  #navbar img {
    height: 60px;
    margin-bottom: 10px;
  }

  .navbar-contact a {
    font-size: 1.2rem;
  }

  #navbar ul {
    margin-top: 10px;
  }

  #navbar .navlinks a {
    padding: 10px;
  }

  .btn {
    margin-bottom: 20px;
  }

  .homecard {
    margin-bottom: 50px;
  }

  .home-showcase {
  height: 100%;
  margin: 100px 0 0 0;
  }

  .about-showcase {
    height: 100%;
    margin: 100px 0 0 0;
  }

  .gallery {
    margin-top: 135px;
  }

  .showcase-contact {
    height: 100%;
    margin: 100px 0 0 0; 
  }
}

@media screen and (max-width: 572px) {
  .gal-control h2 {
    font-size: 1.3rem;
  }

  .grid-container {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  footer {
    height: 120px; 
    flex-direction: column;
  }
}

@media screen and (max-width: 375px) {
  .homecard-about {
    height: 1150px;
  }

  .gal-control h2 {
    font-size: 1.1rem;
  }

  .contact-homecard {
    height: 600px;
  }

  .contact-homecard h1 {
    font-size: 1.5rem;
  }

  .contact-homecard h2 {
    font-size: 1.2rem;
  }
}

  










