@import url('https://fonts.googleapis.com/css2?family=Work+Sans&display=swap');

/* DOCUMENT */
:root {
    --primary: #a2ff7e;
    --secondary: #63bbd6;
    --light: #ffffff;
    --neutral: #f3f3f3;
    --dark: #343633;
    --attention: #ec7357;
}

* {
    font-family: 'Work Sans', sans-serif;
    box-sizing: border-box;
    margin: 0 0;
    scroll-behavior: smooth;
}

body, html {
  scroll-padding-top: 100px;
}

body {
    font-family: 'Work Sans', sans-serif;
    color: #333;
    line-height: 1.6;
  }

  h1,
  h2 {
    font-weight: 300;
    line-height: 1.2;
    margin: 10px 0;
  }
  
  p {
    margin: 10px 0;
  }

ul {
    list-style-type: none;
  }
  
  a {
    text-decoration: none;
    color: #333;
  }

img {
    width: 100%;
    height: 100%;
}

/* HEADER */

.header {
    height: 100px;
    background-color: var(--dark);
    position: sticky;
    top: 0;
    z-index: 10;
}

.header .container {
    overflow: hidden;
    max-width: 1500px;
    align-items: space-between;
    justify-content: space-between;
}

.header .btn {
    font-size: 20px;
}

.header ul {
    align-items: space-between;
    font-weight: 500;
}

.header li {
    margin: 0 20px;
    font-size: 20px;
  }
  .header a {
    color: white;
  }

.header li:hover {
    border-bottom: 1px solid white;
    line-height: 20px;
}

.header .fa-bars {
    color: white;
    display: none;
}

.header .logo {
    height: 100%;
    width: auto;
    /* max-height: 100%;
    max-width: 100%;
    aspect-ratio: 1; */
}

.hamburger {
    display: none;
}


/* MENU */
#menu {
  display: none;
  position: fixed;
  z-index: 999;
  top: 100px;
  width: 100vw;
  background-color: rgba(52, 54, 51, 0.8);
}

#menu ul {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  margin: 20px;
  padding: 0;
}

#menu li {
  font-size: x-large;
  margin: 2rem;
}

#menu a {
  color: var(--light);
}

/* BANNER */
.banner .container{
    background-image: url(img/banner.webp);
    background-repeat: no-repeat;
    background-size: cover;
    height: 600px;
}

.banner .card {
    margin-top: -100px;
}

.banner .card h1 {
    font-weight: bolder;
    background-color: var(--primary);
    border-radius: 10px 10px 0 0;
    margin: -20px -20px 10px -20px;
    padding: 16px;
}

.banner a {
    color: white;
}

/* LOCATIONS */
.locations {
    width: 100%;
    background-color: var(--neutral);
    padding-bottom: 20px;;
}

.heading {
  margin: 20px auto;
}

.heading h1 {
  margin-left: 20px;
  font-weight: bold;
}

.locations .list {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr;
  margin-bottom: 20px;
}

.locations .county {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 60px auto;
}

.locations ul {
  grid-column: span 2;
  padding: 0;
  margin-top: -20px;
}

.county h1 {
  grid-column: span 2;
}

.list h1 {
  font-weight: bold;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--neutral);
}


/* SERVICES */
.services {
  padding-bottom: 20px;
}

.services .grid {
  grid-template-columns: repeat(3, 1fr);
}

/* GALLERY */
.gallery {
  background-color: var(--neutral);
  padding-bottom: 20px;
}

.services .card{
  align-self: flex-start;
}

.gallery img {
  margin: 10px;
  width: 300px;
  height: 300px;
  border: 1px solid var(--dark);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.gallery .photos {
  flex-wrap: wrap;
}

/* ABOUT */
.about {
  padding-bottom: 20px;
}

/* CONTACT */
.contact {
  background-color: var(--neutral);
  padding-bottom: 20px;
}

.contact .container {
  flex-direction: column;
}

.contact .card {
  max-width: 600px;
  margin: auto;
  align-items: right;
}

.contact .btn {
  margin: 40px 0 20px 0;
  font-size: larger;
  line-height: 1.5;
}

.contact i {
  margin: 10px;
}

.fb i {
  color: #4267B2;
}

/* FOOTER */
footer {
  background-color: var(--dark);
  color: white;
  padding: 20px 0;
}

footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  height: auto;
}

footer ul {
  padding: 0;
}

footer a {
  color: white;
}

.footer-logo {
  height: 150px;
}

footer .attribution {
  background-color: var(--dark);
  padding: 20px;
}

/* MEDIA QUERIES */

@media (max-width: 1100px) {
    .header nav {
        display: none;
    }

    .header .fa-bars {
        display: block;
    }

    .services .grid{
      grid-template-columns: repeat(2, 1fr);
    }


}

@media (max-width: 900px) {
  .banner .card {
    margin-top: 0px;
  }

  .footer-logo {
    display: none;
  }
}

/* Tablets */

@media (max-width: 768px) {
  /* body {
    display: none
  } */
  
  .services .grid{
    grid-template-columns: 1fr;
  }

  .banner .container {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 1fr);
    background-position: 0 -150px;
    background-image: url(img/banner.webp);
  }

  .banner .card {
    grid-row: 2;
  }

  footer .container {
    justify-content: space-around;
  }

  .footer-areas {
    display: none;
  }

  .banner .btn {
    margin: 10px;
    font-size: larger;
    line-height: 2em;
  }
}

  
 @media (max-width: 600px) {
  .locations .list {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 1fr);
  }

  .header .btn {
    display: none;
  }
 }

/* Mobile */
  @media (max-width: 500px) {
    body {
      line-height: 1.2rem;
    }

  .header {
    height: 110px;
  }

  .header .logo {
    height: 100%;
    max-width: 131px;
    width: auto;
  }

  #menu {
    top: 110px;
  }

  #menu ul {
    flex-wrap: nowrap;
    flex-direction: column;
  }

  #menu a {
    font-size: larger;
  }

  .banner .container {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    background-image: url(img/banner.webp);
    background-position: -200px;
  }

  .banner .card{
    grid-row-start: 1;
  }

  .contact p {
    display: none;
  }

  .contact i {
    margin: 20px;
  }

  .contact .card {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
  }

  footer .container{
    display: none;
  }

  .attribution {
    font-size: larger;
  }
}
  











/* UTILITIES */
.container {
    max-width: 1100px;
    margin: 0 auto;
    overflow: auto;
    padding: 0 40px;
  }
  
  .card {
    background-color: #fff;
    color: #333;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    margin: 10px;
  }
  
  .btn {
    font-weight: bolder;
    display: inline-block;
    padding: 10px 30px;
    cursor: pointer;
    background: var(--attention);
    color: #fff;
    border: none;
    border-radius: 5px; 
  }
  
  .btn-outline {
    background-color: transparent;
    border: 1px #fff solid;
  }
  
  .btn:hover {
    transform: scale(0.98);
  }
  
  /* Backgrounds & colored buttons */
  .bg-primary,
  .btn-primary {
    background-color: var(--primary);
    color: #fff;
  }
  
  .bg-secondary,
  .btn-secondary {
    background-color: var(--secondary);
    color: #fff;
  }
  
  .bg-dark,
  .btn-dark {
    background-color: var(--dark);
    color: #fff;
  }
  
  .bg-light,
  .btn-light {
    background-color: var(--light);
    color: #333;
  }
  
  .bg-primary a,
  .btn-primary a,
  .bg-secondary a,
  .btn-secondary a,
  .bg-dark a,
  .btn-dark a {
    color: #fff;
  }
  
  /* Text colors */
  .text-primary {
    color: var(--primary);
  }
  
  .text-secondary {
    color: var(--secondary);
  }
  
  .text-dark {
    color: var(--dark);
  }
  
  .text-light {
    color: var(--light);
  }
  
  /* Text sizes */
  .lead {
    font-size: 20px;
  }
  
  .sm {
    font-size: 1rem;
  }
  
  .md {
    font-size: 2rem;
  }
  
  .lg {
    font-size: 3rem;
  }
  
  .xl {
    font-size: 4rem;
  }
  
  .text-center {
    text-align: center;
  }
  
  /* Alert */
  .alert {
    background-color: var(--light);
    padding: 10px 20px;
    font-weight: bold;
    margin: 15px 0;
  }
  
  .alert i {
    margin-right: 10px;
  }
  
  .alert-success {
    background-color: var(--success-color);
    color: #fff;
  }
  
  .alert-error {
    background-color: var(--error-color);
    color: #fff;
  }
  
  .flex {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
  }
  
  .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-content: center;
    align-items: center;
    height: 100%;
  }
  
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Margin */
  .my-1 {
    margin: 1rem 0;
  }
  
  .my-2 {
    margin: 1.5rem 0;
  }
  
  .my-3 {
    margin: 2rem 0;
  }
  
  .my-4 {
    margin: 3rem 0;
  }
  
  .my-5 {
    margin: 4rem 0;
  }
  
  .m-1 {
    margin: 1rem;
  }
  
  .m-2 {
    margin: 1.5rem;
  }
  
  .m-3 {
    margin: 2rem;
  }
  
  .m-4 {
    margin: 3rem;
  }
  
  .m-5 {
    margin: 4rem;
  }
  
  /* Padding */
  .py-1 {
    padding: 1rem 0;
  }
  
  .py-2 {
    padding: 1.5rem 0;
  }
  
  .py-3 {
    padding: 2rem 0;
  }
  
  .py-4 {
    padding: 3rem 0;
  }
  
  .py-5 {
    padding: 4rem 0;
  }
  
  .p-1 {
    padding: 1rem;
  }
  
  .p-2 {
    padding: 1.5rem;
  }
  
  .p-3 {
    padding: 2rem;
  }
  
  .p-4 {
    padding: 3rem;
  }
  
  .p-5 {
    padding: 4rem;
  }
  