/* Setup */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  line-height: 1.6;
  font-family: Sanchez, "Open Sans", sans-serif;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

h1 {
  font-size: 3rem;
}
h2 {
  padding-bottom: 30px;
  padding-top: 30px;
  color: var(--primary-color);
  font-size: 2rem;
  /* text-transform: uppercase; */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  overflow: auto;
  padding: 0 20px;
}

.container-sm {
  max-width: 800px;
  margin: 0 auto;
  overflow: auto;
  padding: 0 20px;
}

/* Custom Properties */
:root {
  --primary-color: #69162d;
}

/* Buttons */
.btn {
  background-color: var(--primary-color);
  color: #fff;
  padding: 13px 20px;
  display: inline-block;
  font-size: 18px;
  border: none;
  cursor: pointer;
  font-family: Nunito Sans, "Open Sans", sans-serif;
  font-weight: bold;
  border-radius: 10px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5), 0 15px 40px rgba(0, 0, 0, 0.2);
}

.btn:hover {
  transform: scale(0.96);
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  overflow: auto;
  padding: 0 20px;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header img {
  width: 150px;
  margin: 10px;
}

.navbar {
  display: flex;
  list-style: none;
}

.navbar a {
  position: relative;
  color: var(--primary-color);
  font-size: 18px;
  padding: 5px 10px;
  margin: 0 10px;
}

.navbar a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-out;
}

.navbar a:hover::after {
  transform: scaleX(1);
}

/* Subheader */
.subheader {
  display: flex;
  align-items: center;
  justify-content: right;
  background-color: var(--primary-color);
  color: white;
}

.subheader p {
  margin: 0 20px;
}

/* Home: Showcase */
.showcase {
  background: url("../images/showcase.JPG") no-repeat center center/cover;
  height: 100vh;
  position: relative;
}

.overlay:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

/* .showcase-content {
  height: 600px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-content: center;
  padding: 0 100px;
  z-index: 10;
}

.showcase .tagline {
  color: #fff;
  font-size: 25px;
  padding-right: 100px;
  z-index: 10;
}

.showcase .tagline h2 {
  color: #fff;
}

.showcase .btn {
  z-index: 10;
  max-width: 200px;
  text-align:center;
  aligne-self: center;
} */

.showcase-content {
  height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.showcase .showcase-content .tagline {
  color: #fff;
  text-align: center;
  padding-bottom: 50px;
  z-index: 10;
}

.showcase .showcase-content .tagline h2,
.showcase .showcase-content .tagline p {
  color: #fff;
}

.showcase .showcase-content .btn {
  text-align: center;
  /* box-shadow: 5px 5px 10px rgba(0,0,0,.5), 0 15px 40px rgba(0,0,0,.2); */
  z-index: 10;
}

/* Home: Welcome */
.dark-box {
  background-color: var(--primary-color);
  color: #fff;
  padding: 40px 60px;
  margin: 40px;
  border-radius: 10px;
}

/* Home: Services */
.services h2 {
  text-align: center;
}

.all-services h2 {
  font-size: 25px;
}

.all-services {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 30px;
}

.all-services .servicecard {
  height: 500px;
  position: relative;
  display: flex;
  align-items: end;
  justify-content: center;
  border-radius: 10px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5), 0 15px 40px rgba(0, 0, 0, 0.2);
}

.service-card1 {
  background: url("../images/service-family.jpg") no-repeat center center/cover;
}

.service-card2 {
  background: url("../images/service-estate.jpg") no-repeat center center/cover;
}

.service-card3 {
  background: url("../images/service-will.jpg") no-repeat center center/cover;
}

/* Home: Services: Hover Effect */
.all-services .servicecard .action {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;  
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  border-radius: 10px;
  opacity: 0;
  transition: 0.5s;
}

.all-services .servicecard .action h4,
.all-services .servicecard .action p {
  padding: 15px;
}

.all-services .servicecard .btn {
  margin-bottom: 30px;
  z-index: 10;
}

.all-services .servicecard:hover .action {
  opacity: 1;
}



/* Page Titles */
.page-title {
  background: url("../images/ocean.JPG") no-repeat center center/cover;
  height: 100px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-title .overlay:after {
  height: 100px;
}

.page-title h1 {
  color: #fff;
  text-align: center;
  z-index: 10;
}

/* Job Openings */

.job {
  padding-top: 40px;
  padding-bottom: 40px;
}

.job ul,
.job p {
  padding-top:20px;
}


/* About Page: Bios */

.bios {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.bios h2,
.bios .steve {
  grid-column: 1 / 3;
}

.bios h2 {
  padding-top: 50px;
  color: var(--primary-color);
  padding-bottom: 0;
}

.bios .steve {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5), 0 15px 40px rgba(0, 0, 0, 0.2);
  border-radius: 30px;
  margin: 20px 100px;
}

.bios .steve img {
  height: 400px;
  padding-right: 50px;
}

.bios .steve .biocard-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.bios .steve .btn {
  align-self: center;
}

.bios .biocard {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 30px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5), 0 15px 40px rgba(0, 0, 0, 0.2);
  border-radius: 30px;
  margin: 0 15px;
  margin-bottom: 30px;
}

.bios .biocard img {
  height: 300px;
}

.bios .biocard .biocard-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.bios .card3,
.bios .card4 {
  margin-bottom: 70px;
}

/* About Page: Philosophy */

.philosophy h2 {
  color: var(--primary-color);
}

.philosophy ul .philosophy-item {
  background-color: var(--primary-color);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  margin-bottom: 20px;
}

.philosophy ul .philosophy-item a {
  color: #fff;
}

.philosophy ul .philosophy-item i {
  color: #fff;
}

/* JAVASCRIPT EXPERIMENT */

/* Individual Bio Pages */

/* Services Page:Services */
.service-page {
  padding-bottom: 50px;
}
/* Services Page: Testimonials */
.testimonials {
  display: flex;
  flex-direction: column;
  margin-top: 30px;
}

.testimonials .welcome {
  border-radius: 30px;
  max-width: 800px;
  align-self: center;
  justify-content: center;
  margin-bottom: 100px;
}

.testimonial-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

/* Individual Services Pages */
.service-page ul {
  list-style: disc;
  padding: 30px;
}

.service-page ul li {
  color: var(--primary-color);
  padding: 10px 0;
}

.service-page ul li span {
  color: black;
}

/* Resources Page */

.information {
  padding-bottom: 100px;
}

.information .infocard h2 {
  font-size: 1.5rem;
  font-weight: lighter;
}
.information .infocard a {
  display: inline;
  color: var(--primary-color);
  font-weight: bold;
}

/* Contact Page */
.contact-options {
  display: flex;
  justify-content: space-around;
}

.contact-options .option {
  width: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 100px;
  /* box-shadow: 5px 5px 10px rgba(0,0,0,.5), 0 15px 40px rgba(0,0,0,.2);
  border-radius: 30px;
  margin: 50px 0; */
}

.contact-options .option h2 {
  font-size: 20px;
  padding: 0 0 10px 0;
}

.contact-options .option i {
  color: var(--primary-color);
  font-size: 50px;
  padding: 30px;
  padding-top: 100px;
}

/* Footer */

.footer {
  background-color: var(--primary-color);
  color: #fff;
}

.footer h2 {
  color: #fff;
  font-size: 1rem;
  font-weight: 300;
  padding: 0;
  padding-top: 10px;
}

.footer p,
.footer a {
  color: #fff;
  font-size: 0.8rem;
}

.footer .container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  justify-content: center;
  padding-top: 50px;
  padding-bottom: 50px;
}

.footer-directions p {
  font-size: 0.8rem;
  padding-top: 20px;
}

/* Responsive to Tablet (768) */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
  }
  .subheader {
    justify-content: center;
    text-align: center;
  }
  .all-services {
    grid-template-columns: 1fr;
  }

  .service-header1 {
    order: 1;
  }

  .service-card1 {
    order: 2;
  }

  .service-header2 {
    order: 3;
  }

  .service-card2 {
    order: 4;
  }

  .service-header3 {
    order: 5;
  }

  .service-card3 {
    order: 6;
  }

  .bios {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .bios h2,
  .bios .steve {
    grid-column: 1;
  }

  .bios .steve {
    flex-direction: column;
    justify-content: center;
    margin: 0;
  }

  .bios .steve,
  .bios .biocard {
    min-width: 400px;
    margin: auto;
  }

  .bios .steve img {
    padding: 0 0 20px 0;
  }

  .biocard-content p {
    display: none;
  }

  .bios .card4 {
    margin-bottom: 100px;
  }

  .contact-options {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .contact-options .option {
    padding-bottom: 20px;
  }
}

/* Responsive to phone (480) */
@media (max-width: 480px) {
  .dark-box {
    display: none;
  }

  .bios .steve,
  .bios .biocard {
    min-width: 310px;
  }

  .footer .container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .footer p,
  .footer li,
  .footer h2 {
    text-align: center;
  }
}
