/* JoshuaBurleson.com — rebuilt from the original Weebly "Cento" theme
   Fonts: Quattrocento Sans (body), Quattrocento (headings), Open Sans (nav)
   Colors from the original theme:
     body text  #c2743b   headings #2a2a2a   links #a85f2e   link hover #24678d */

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

body {
  font-family: 'Quattrocento Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #c2743b;
  background: #ffffff;
}

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header / Nav ---------- */

.site-header {
  background: #ffffff;
  padding-top: 25px;
}

.nav-wrap {
  background: #ffffff;
  padding: 10px 0;
}

.nav {
  text-align: center;
}

.nav ul {
  display: inline-block;
  list-style: none;
}

.nav li {
  display: inline-block;
  padding: 0 5px;
}

.nav .nav-icon {
  display: block;
  margin: 0 auto 2px;
  height: 48px;
  width: auto;
}

.nav a {
  display: block;
  padding: 5px 15px;
  color: #b9b9b9;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  transition: color 300ms linear;
}

.nav li.active a,
.nav a:hover {
  color: #333333;
}

/* Mobile nav */
.hamburger {
  display: none;
  position: absolute;
  top: 18px;
  left: 15px;
  width: 42px;
  height: 42px;
  padding: 10px;
  cursor: pointer;
  z-index: 20;
}

.hamburger span,
.hamburger span::before,
.hamburger span::after {
  position: relative;
  display: block;
  width: 22px;
  height: 2px;
  background: #3e3e3e;
  content: '';
  transition: all 300ms ease;
}

.hamburger span {
  top: 9px;
}

.hamburger span::before {
  top: -8px;
}

.hamburger span::after {
  bottom: -6px;
  top: auto;
}

#nav-toggle {
  display: none;
}

/* ---------- Content sections ---------- */

h1, h2 {
  font-family: 'Quattrocento', serif;
  font-weight: 200;
  color: #2a2a2a;
  font-size: 30px;
  line-height: 1.3;
}

.section {
  padding: 30px 0;
}

.bg-light {
  background-color: #fcfcfc;
}

.bg-gray {
  background-color: #f6f6f6;
}

.bg-gray-2 {
  background-color: #f4f4f4;
}

.text-center {
  text-align: center;
}

.two-col {
  display: flex;
  gap: 30px;
  align-items: center;
}

.two-col > div {
  flex: 1;
  min-width: 0;
}

img {
  max-width: 100%;
  height: auto;
}

.img-block {
  padding: 10px 0;
  text-align: center;
}

a {
  color: #a85f2e;
}

a:hover {
  color: #24678d;
}

.spacer {
  height: 40px;
}

.page-title {
  padding: 40px 0;
  text-align: center;
}

.page-title h1 {
  font-size: 36px;
}

.quote {
  color: #333333;
  font-style: italic;
  font-weight: bold;
}

/* Responsive video embed */
.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin: 10px 0;
}

.video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Forms ---------- */

.form-block h2 {
  margin-bottom: 15px;
}

.form-required-note {
  display: block;
  font-size: 13px;
  color: #c2743b;
  margin-bottom: 10px;
}

.form-required {
  color: #ff0000;
}

.form-field {
  margin: 12px 0;
}

.form-field label {
  display: block;
  margin-bottom: 4px;
  color: #c2743b;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field textarea {
  width: 100%;
  max-width: 400px;
  padding: 8px 10px;
  border: 1px solid #ccc;
  font-family: 'Quattrocento Sans', sans-serif;
  font-size: 15px;
  color: #333;
  background: #fff;
}

.form-field textarea {
  height: 180px;
  resize: vertical;
}

.form-name-row {
  display: flex;
  gap: 12px;
  max-width: 400px;
}

.form-name-row .name-part {
  flex: 1;
}

.form-name-row .sublabel {
  display: block;
  font-size: 12px;
  color: #999;
  margin-top: 3px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 400px;
  font-size: 14px;
}

.form-checkbox input {
  margin-top: 4px;
}

.btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 28px;
  border: 2px solid #333333;
  background: transparent;
  color: #333333;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .07em;
  cursor: pointer;
  transition: all 300ms linear;
}

.btn:hover {
  background: #333333;
  color: #ffffff;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 20px 0 30px;
  background: #ffffff;
}

.footer-banner {
  text-align: center;
  padding: 10px 0;
}

.social-icons {
  text-align: center;
  margin: 15px 0;
}

.social-icons a {
  display: inline-block;
  margin: 0 6px;
  color: #b9b9b9;
  transition: color 300ms linear;
}

.social-icons a:hover {
  color: #333333;
}

.social-icons svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  vertical-align: middle;
}

.copyright {
  text-align: right;
  font-size: 11px;
  color: #c2743b;
}

/* ---------- Mobile ---------- */

@media screen and (max-width: 767px) {
  .site-header {
    position: relative;
    padding-top: 0;
    min-height: 50px;
    border-bottom: 2px solid #f7f7f7;
  }

  .hamburger {
    display: inline-block;
  }

  .nav-wrap {
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transition: max-height 500ms ease;
  }

  #nav-toggle:checked ~ .nav-wrap {
    max-height: 400px;
  }

  #nav-toggle:checked ~ .hamburger span {
    background: transparent;
  }

  #nav-toggle:checked ~ .hamburger span::before {
    top: 1px;
    transform: rotate(45deg);
  }

  #nav-toggle:checked ~ .hamburger span::after {
    top: -1px;
    bottom: auto;
    transform: rotate(-45deg);
  }

  .nav li {
    display: block;
    padding: 0;
  }

  .nav a {
    padding: 10px 0;
  }

  .two-col {
    flex-direction: column;
  }

  .two-col > div {
    width: 100%;
  }

  .spacer {
    height: 20px;
  }

  .copyright {
    text-align: center;
  }
}
