/* Font Files
   ========== */

@font-face {
  font-family: Gotham;
  src: url("fonts/gothamhtf-bold-webfont.eot");
  src: url("fonts/gothamhtf-bold-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("fonts/gothamhtf-bold-webfont.woff2") format("woff2"),
    url("fonts/gothamhtf-bold-webfont.woff") format("woff"),
    url("fonts/gothamhtf-bold-webfont.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: Gotham;
  src: url("fonts/gothamhtf-medium-webfont.eot");
  src: url("fonts/gothamhtf-medium-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("fonts/gothamhtf-medium-webfont.woff2") format("woff2"),
    url("fonts/gothamhtf-medium-webfont.woff") format("woff"),
    url("fonts/gothamhtf-medium-webfont.ttf") format("truetype"),
    url("fonts/gothamhtf-medium-webfont.svg#gotham_htfmedium") format("svg");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "bodoni";
  src: url("fonts/bodoni.ttc");
}

* {
  box-sizing: border-box;
}

html {
  background: #fff;
  color: #333;
  font-size: 1em;
  line-height: 1.4;
  font-family: "bodoni", serif;
  letter-spacing: 0.8px;
  text-align: center;
}

body {
  margin: 0;
}

img {
  width: 100%;
}

ul {
  padding: 0;
  margin: 0;
}

p {
  margin: 0;
}

p + p {
  margin-top: 15px;
}

blockquote {
  margin: 0;
}

hr {
  display: block;
  width: 50px;
  height: 2px;
  border: 0;
  margin: 50px auto;
  background: #000;
}

.clearfix {
  clear: both;
}

/* Headings */
.c-logo {
  width: 150px;
  height: 55px;
  margin: 0 auto 60px;
  background-image: url("images/logo.png");
  background-size: contain;
  background-repeat: no-repeat;
  text-indent: -9999px;
}

.c-logo.c--small {
  width: 100px;
  height: 30px;
}

.c-logo a {
  display: block;
  width: 100%;
  height: 100%;
}

.c-heading__primary {
  position: relative;
  margin-bottom: 60px;
  font-family: Gotham, sans-serif;
  font-size: 1em;
  text-transform: uppercase;
}

.c-heading__primary::after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  height: 2px;
  bottom: -30px;
  width: 50px;
  background-color: #333;
  transform: translateX(-50%);
}

.c-heading__secondary {
  font-size: 1.2em;
  color: #8d7e74;
}

.c-heading__tertiary {
  margin: 0 0 15px;
  font-size: 1.2em;
}

/* Blockquote */
.c-blockquote {
  margin: 0;
  font-size: 1.2em;
}
.c-blockquote.c--in-gallery {
  margin-top: 30px;
  margin-bottom: 30px;
}

.c-blockquote__quotee {
  display: block;
  margin-top: 30px;
  color: #7b7b7b;
}

/* Writeups */
.c-writeup {
  margin: 0 5% 60px;
  font-family: Georgia, serif;
}

/* Lists */
.c-list {
  color: #737373;
  list-style: none;
}

.c-list.c--logos {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.c-list.c--logos .c-list__item {
  width: 30%;
  padding: 0 15px;
  margin-bottom: 30px;
}

.c-list:not(.c--logos) .c-list__item + .c-list__item {
  margin-top: 5px;
}

.c-list.c--logos .c-list__item img {
  width: 110px;
  max-width: 100%;
}

/* Links */
a,
.c-link {
  display: inline-block;
  color: #74645c;
  font-family: Gotham, sans-serif;
  font-size: 0.8em;
  text-decoration: none;
  text-transform: uppercase;
}

a.c--underline,
.c-link.c--underline {
  text-decoration: underline;
}

a:hover {
  color: #333;
  text-decoration: underline;
}

/* Buttons
   ======= */
.c-button {
  padding: 15px;
  border: 2px solid #fff;
  font-size: 12px;
  font-family: Gotham, sans-serif;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
}

.c-button.c--reverse {
  border-color: #333;
  color: #333;
}

.c-button:hover {
  background-color: rgba(0, 0, 0, 0.15);
  text-decoration: none;
}
.c-button:not(.c--reverse):hover {
  color: #fff;
}

/* Navigation */

.c-nav {
  position: fixed;
  z-index: 2;
  top: 0;
  width: 100%;
  background-color: #fff;
  font-family: Gotham, sans-serif;
  font-size: 0.75em;
  text-transform: uppercase;
}

.c-nav__list {
  margin: 0;
  list-style: none;
}

.c-nav__list-item {
  display: inline-block;
  padding: 20px 0 20px 10px;
}
.c-nav__list-item:first-child {
  padding-left: 0;
}

.c-nav__list-link {
  color: #333;
  text-decoration: none;
}

/* Structural */
/* ========== */

header {
  padding: 120px 10% 60px;
  background: url("images/crosshatch.gif");
}

.c-gallery-header {
  padding-bottom: 120px;
  margin-bottom: -60px;
}

/* Section */
.c-section {
  padding: 60px 5%;
}
.c-section.c--galleries {
  padding: 0;
}
.c-section.c--services {
  padding-bottom: 65px; /* So that Tom's photo will have room */
  background-image: url("images/tile.jpg");
  background-size: cover;
}
.c-section.c--projects hr {
  margin-top: 30px;
}
.c-section.c--about {
  position: relative;
  padding-top: 75px;
}

/* Block */
.c-block {
  position: relative;
  width: 100%;
  padding: 90px 0;
  background-size: cover;
}

.c-block.c--commercial {
  background-image: url("images/commercial.jpg");
}
.c-block.c--residential {
  background-image: url("images/residential.jpg");
}
.c-block.c--highlights {
  background-image: url("images/highlights.jpg");
}

.c-block__link {
  position: absolute;
  top: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.c-block__link:hover {
  background-color: rgba(0, 0, 0, 0.15);
}

/* Card */
.c-card-container {
  display: flex;
  flex-direction: column;
}

.c-card {
  display: block;
  padding: 30px;
  background-color: #fff;
  vertical-align: top;
}
.c-card:first-child {
  margin-bottom: 30px;
}

/* Images */
.c-image-container {
  padding: 0 5%;
}
.c-image-container .c-image:first-child {
  margin-top: 0;
}

.c-image {
  max-width: 1000px;
  display: block;
  margin: 30px auto;
}

.c-tom {
  position: absolute;
  top: -45px;
  left: 50%;
  width: 90px;
  transform: translateX(-50%);
}

.c-footer {
  width: 100%;
  padding: 30px;
  background-image: url("images/footer.jpg");
  background-size: cover;
  text-align: center;
}

.c-footer a,
.c-footer p {
  margin: 30px auto;
  display: block;
}

@media only screen and (min-width: 500px) {
  .c-logo {
    width: 180px;
    height: 65px;
  }

  .c-heading__secondary {
    font-size: 1.3em;
  }

  .c-nav {
    font-weight: bold;
  }
  .c-nav__list-item {
    padding-left: 15px;
  }

  .c-blockquote {
    margin: 0 25%;
  }

  .c-writeup {
    margin: 0 20% 75px;
  }

  .c-list.c--logos .c-list__item {
    position: relative;
    width: 25%;
    padding: 0 45px;
    margin-bottom: 30px;
  }
  .c-list.c--logos .c-list__item.c--bordered::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 2px;
    height: 25px;
    background: #ccc;
    transform: translateY(-50%);
  }
  .c-list.c--logos .c--adera {
    height: 45px;
    width: auto;
  }

  .c-section {
    padding: 75px 0;
  }
  .c-section.c--galleries {
    display: flex;
    padding: 0;
  }
  .c-section.c--services {
    padding-bottom: 90px;
  }
  .c-section.c--about {
    padding-top: 90px;
  }

  .c-card {
    margin-left: 30px;
    margin-right: 30px;
  }

  .c-tom {
    top: -60px;
    width: 120px;
  }
}

@media only screen and (min-width: 768px) {
  .c-list.c--logos {
    margin: 0 5%;
  }

  .c-list__item a {
    max-width: 150px;
  }

  .c-card-container {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-around;
  }

  .c-card {
    width: 40%;
    max-width: 400px;
  }
  .c-card:first-child {
    margin-bottom: 0;
  }

  .c-footer {
    display: flex;
    justify-content: space-around;
    -ms-align-items: center;
    align-items: center;
  }

  .c-footer__item {
    width: 33%;
  }
}

@media only screen and (min-width: 1024px) {
  .c-list.c--logos {
    margin: 0 15%;
  }

  .c-writeup {
    margin: 0 auto 75px;
    max-width: 500px;
  }

  .c-card-container {
    justify-content: center;
  }
}

/* Utility Classes
   =============== */
.u-margin-small {
  margin-top: 30px;
  margin-bottom: 30px;
}

.u-margin-bottom-large {
  margin-bottom: 60px;
}

.u-no-events {
  pointer-events: none;
}

.u-front-row {
  position: relative;
  z-index: 5;
}

.u-text-large {
  font-size: 1.5em;
}

.u-text-georgia {
  font-family: Georgia, serif;
}

.u-transition {
  -webkit-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}

.gallery a {
  display: inline;
}
.gallery a img {
  float: left;
  width: 20%;
  height: auto;
  border: 2px solid #fff;
  -webkit-transition: -webkit-transform 0.15s ease;
  -moz-transition: -moz-transform 0.15s ease;
  -o-transition: -o-transform 0.15s ease;
  -ms-transition: -ms-transform 0.15s ease;
  transition: transform 0.15s ease;
  position: relative;
  aspect-ratio: 16/9;
  object-fit: cover;
}

@media (max-width: 767px) {
  .gallery a img {
    width: 50%;
  }
}
.gallery a:hover img {
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -o-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
  z-index: 5;
}
.gallery a.big img {
  width: 40%;
}
/* Review Slider */
.swiper {
  width: 1200px;
  max-width: 90%;
  height: unset;
}

.swiper-wrapper {
  height: unset;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper {
  margin-left: auto;
  margin-right: auto;
}

.swiper-slide .c-blockquote {
  margin: 0;
}

.swiper-button-prev,
.swiper-button-next {
  color: black;
}
