body {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  color: #000000;
}

.accordion-body {
  font-size: 16px;
}

.lh-xl {
  line-height: 2.5;
}

#phone a {
  color: #C5B081;
  font-weight: 600;
}

/* ==============================================================
# NAVIGATION
============================================================== */

.nav-link {
  font-size: 18px;
  font-weight: 500;
  color: #FFFFFF;
}

@media (max-width:991px) {
  .nav-link {
    color: #000000;
  }
}

.nav-link:hover,
.nav-link:focus,
.nav-link:active,
.nav-link.active,
.nav-link:visited:hover,
.nav-link:visited:focus,
.nav-link:visited:active,
.nav-link:visited.active {
  color: #C5B081;
  text-decoration: none;
}

/* ==============================================================
# NAVBAR DROPDOWN
============================================================== */

@media (min-width: 992px) {
  .nav-item.dropdown:hover>.dropdown-menu {
    display: block;
  }
}

.navbar .dropdown-menu {
  background-color: #490D17;
  color: #FFFFFF;
  font-size: 18px;
  padding: 10px 0;
  border: none;
  border-radius: 0;
  z-index: 10;
}

.dropdown-item {
  background-color: #490D17;
  color: #FFFFFF;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item:active {
  background-color: #5A111D;
  color: #FFFFFF;
}

/* ==============================================================
# MOBILE OFFCANVAS TOGGLER
============================================================== */

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.7);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255, 255, 255, 1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-toggler-icon path {
  stroke-width: 3;
}

/* ==============================================================
# TRANSPARENT HEADER
============================================================== */

.site-header {
  position: relative;
  width: 100%;
  z-index: 1;
}

.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 1000;
}

.banner {
  padding-top: 120px;
}

/*--------------------------------------------------------------
# BACK TO TOP BUTTON
--------------------------------------------------------------*/

#btn-back-to-top {
  position: fixed;
  bottom: 64px;
  right: 20px;
  z-index: 1001 !important;
  background-color: #490D17;
  color: #FFFFFF;
  border: none;
  padding: 10px 14px;
  border-radius: 5px;
  cursor: pointer;

  /* Hidden state */
  opacity: 0;
  transform: translateY(20px);
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease,
    scale 0.3s ease;
}

#btn-back-to-top.show {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

#btn-back-to-top:hover i {
  color: #C5B081;
}

/* ==============================================================
# BACKGROUNDS
============================================================== */

.whitebackground {
  background-color: #FFFFFF;
}

.redbackground {
  background-color: #490D17;
}

.pattern-redbackground {
  background-color: #490D17;
  background-image: url('../../assets/img/pattern-banner.png');
  background-repeat: repeat;
  background-position: top left;
  background-size: auto;
}

.lighttanbackground {
  background-color: #F2EEE3;
}

.banner {
  height: 600px;
  background-image: url('../../assets/img/front-banner.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  display: flex;
  align-items: center;
}

.subpage-banner {
  min-height: 350px;
  width: 100%;
  display: flex;
  align-items: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

/* Overlay */

.subpage-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 21, 26, 0.7);
  pointer-events: none;
}

/* Needed so content stays above overlay */

.subpage-banner {
  position: relative;
}

.subpage-banner>* {
  position: relative;
  z-index: 1;
}

/* Page specific images */

.custom-banner {
  background-image: url('../../assets/img/custom-banner.jpg');
}

.contact-us-banner {
  background-image: url('../../assets/img/contact-us-banner.jpg');
}

.log-banner {
  background-image: url('../../assets/img/log-banner.jpg');
}

.modular-banner {
  background-image: url('../../assets/img/modular-banner.jpg');
}

.insurance-reconstruction-banner {
  background-image: url('../../assets/img/insurance-reconstruction-banner.jpg');
}

.additions-renovations-banner {
  background-image: url('../../assets/img/additions-renovations-banner.jpg');
}

.about-us-banner {
  background-image: url('../../assets/img/about-us-banner.jpg');
}

.testimonials-banner {
  background-image: url('../../assets/img/testimonials-banner.jpg');
}

.faqs-banner {
  background-image: url('../../assets/img/faqs-banner.jpg');
}

.subpage-header-banner {
  background-color: #490D17;
  background-image: url('../../assets/img/subpage-header-banner.png');
  background-repeat: no-repeat;
  background-position: top;
  background-size: auto;
}

.contact-pattern {
  height: 450px;
  background-image: url('../../assets/img/pattern-banner.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  display: flex;
  align-items: center;
}

.icon-box {
  background-color: #490D17;
  color: #C5B081;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  font-size: 1.25rem;
}

/* ==============================================================
# BUTTONS
============================================================== */

.btn {
  border: none;
  border-radius: 0;
}

.btn-red {
  background-color: #490D17;
  color: #C5B081;
  font-weight: 600;
}

.btn-red:hover {
  background-color: #5A111D;
  color: #C5B081;
}

.btn-red:active {
  background-color: #5A111D !important;
  color: #C5B081 !important;
}

.btn-white {
  background-color: #FFFFFF;
  color: #5A111D;
  font-weight: 600;
}

.btn-white:hover {
  background-color: #C5B081;
  color: #5A111D;
}

.btn-white:active {
  background-color: #C5B081 !important;
  color: #5A111D !important;
}

/* ==============================================================
# FONTS
============================================================== */

.whitefont {
  color: #FFFFFF;
}

.h1whitefont {
  font-family: 'Cormorant Garamond';
  font-size: 40px;
  font-weight: 700;
  color: #FFFFFF;
}

.whitelink {
  color: #FFFFFF;
}

a.whitelink {
  color: #FFFFFF;
  text-decoration: none;
  position: relative;
}

a.whitelink::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #FFFFFF;
}

a.whitelink:hover::after {
  width: 100%;
}

a.blacklinks {
  color: #000000;
  text-decoration: none;
}

a.blacklinks:hover,
a.blacklinks:focus,
a.blacklinks:active {
  color: #490D17;
  text-decoration: underline;
}

.h2whitefont {
  font-family: 'Cormorant Garamond';
  font-size: 32px;
  font-weight: 600;
  color: #FFFFFF;
}

.bannerwhitefont {
  font-family: 'Cormorant Garamond';
  font-size: 32px;
  font-weight: 600;
  color: #FFFFFF;
}

a.whitefont {
  text-decoration: none;
}

.h1redfont {
  font-family: 'Cormorant Garamond';
  font-size: 40px;
  font-weight: 600;
  color: #490D17;
}

.h2redfont {
  font-family: 'Cormorant Garamond';
  font-size: 32px;
  font-weight: 700;
  color: #490D17;
}

.scriptredfont {
  font-family: 'Cormorant Garamond';
  font-size: 24px;
  font-weight: 600;
  font-style: italic;
  color: #490D17;
}

.redlink {
  color: #490D17;
  font-weight: 600;
  text-decoration: none;
  position: relative;
}

.redlink::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: #490D17;
}

.redlink:hover,
.redlink:visited,
.redlink:active {
  color: #5A111D;
}

.titleredfooter {
  font-family: 'Cormorant Garamond';
  font-size: 32px;
  font-weight: 600;
  color: #490D17;
}

.tanfont {
  color: #C5B081;
}

.tanlink {
  color: #C5B081;
  text-decoration: none;
  position: relative;
}

.tanlink::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: #C5B081;
}

.tanlink:hover,
.tanlink:visited,
.tanlink:active {
  color: #BFA773;
}

.tansubcaptionfont {
  font-size: 16px;
  color: #C5B081;
}

.bannertanfont {
  font-family: 'Cormorant Garamond';
  font-size: 64px;
  font-weight: 600;
  color: #C5B081;
}

.h1tanfont {
  font-family: 'Cormorant Garamond';
  font-size: 40px;
  font-weight: 600;
  color: #C5B081;
}

.h2tanfont {
  font-family: 'Cormorant Garamond';
  font-size: 32px;
  font-weight: 600;
  color: #C5B081;
}

.quotetanfont {
  font-family: 'Cormorant Garamond';
  font-size: 32px;
  font-weight: 600;
  color: #C5B081;
}

/* ==============================================================
# ACCORDIAN
============================================================== */

/* Remove rounded corners */

.accordion,
.accordion-item,
.accordion-button,
.accordion-item:first-of-type,
.accordion-item:last-of-type,
.accordion-item:first-of-type .accordion-button,
.accordion-item:last-of-type .accordion-button {
  border-radius: 0 !important;
}

/* Active (opened) QUESTION background */

.accordion-button:not(.collapsed) {
  background-color: #D0CBCC;
  color: #000000;
  box-shadow: none;
}

/* Accordion answer background */

.accordion-body {
  background-color: #F5F4F5;
  color: #000000;
}

/* Remove blue focus ring */

.accordion-button:focus {
  box-shadow: none;
}

/* ==============================================================
# SERVICE ROWS
============================================================== */

.front-custom {
  background-image: url("../../assets/img/front-custom.jpg");
  height: 600px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.front-log {
  background-image: url("../../assets/img/front-log.jpg");
  height: 600px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.front-modular {
  background-image: url("../../assets/img/front-modular.jpg");
  height: 600px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.front-insurance-reconstruction {
  background-image: url("../../assets/img/front-insurance-reconstruction.jpg");
  height: 600px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.front-additions-renovations {
  background-image: url("../../assets/img/front-additions-renovations.jpg");
  height: 600px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ==============================================================
# EXPANDING GALLERY
============================================================== */

@media (min-width: 992px) {
  .expanding-gallery {
    display: flex;
    overflow: hidden;
  }
}

/* Panels */

@media (min-width: 992px) {
  .expanding-gallery>div {
    flex: 1;
    min-height: 600px;
    position: relative;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    transition: flex 0.45s ease;
  }
}

/* Bottom text */

@media (min-width: 992px) {
  .expanding-gallery h3 {
    padding: 1rem;
    position: relative;
    z-index: 2;
  }
}

/* Dark overlay */

@media (min-width: 992px) {
  .expanding-gallery>div::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    transition: opacity 0.4s ease;
    z-index: 1;
  }
}

/* Shrink non-hovered panels more */

@media (min-width: 992px) {
  .expanding-gallery:hover>div {
    flex: 0.8;
  }
}

/* Expand hovered panel more */

@media (min-width: 992px) {
  .expanding-gallery>div:hover {
    flex: 1.8;
  }
}

/* Fade overlay on hover */

@media (min-width: 992px) {
  .expanding-gallery>div:hover::before {
    opacity: 0;
  }
}

/* ==============================================================
# MOBILE
============================================================== */

@media (max-width: 991px) {
  .banner {
    height: 500px;
    background-image: url('../../assets/img/front-banner.jpg');
  }
}

@media (max-width: 991px) {
  .quotetanfont {
    font-family: 'Cormorant Garamond';
    font-size: 24px;
    font-weight: 600;
    color: #C5B081;
  }
}

@media (max-width: 991px) {

  .front-custom,
  .front-log,
  .front-modular,
  .front-insurance-reconstruction,
  .front-additions-renovations {
    height: 250px;
  }
}

@media (max-width: 991px) {
  .bannertanfont {
    font-family: 'Cormorant Garamond';
    font-size: 48px;
    font-weight: 600;
    color: #C5B081;
  }
}

@media (max-width: 991px) {
  .bannerwhitefont {
    font-family: 'Cormorant Garamond';
    font-size: 24px;
    font-weight: 600;
    color: #FFFFFF;
  }
}

/* Mobile Overlay */
@media (max-width: 991px) {
  .subpage-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(26, 21, 26, 0.4);
    pointer-events: none;
  }
}

@media (max-width: 991px) {
  .subpage-header-banner {
    background-color: #490D17;
    background-image: url('../../assets/img/subpage-header-banner.png');
    background-repeat: no-repeat;
    background-position: top;
    background-size: auto;
    height: 150px;
    align-content: center;
  }
}