:root {
  --white: white;
  --bodyColor: rgb(240, 240, 240);
  --mainCol: #ff821b;
}

/* === Global === */

#promo h2 {
  font-size: 40px;
}

body {
  background-color: var(--bodyColor);
  background-image: url("../media/bodyBg3.png");
  background-repeat: repeat;
  background-size: 40%;
}

form select {
  margin-bottom: 1rem;
}

.form-select {
  padding: 1rem 0.75rem;
}

section {
  margin-bottom: 6rem;
}

form {
  -webkit-box-shadow: 5px 5px 10px 3px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 5px 5px 10px 3px rgba(0, 0, 0, 0.2);
  box-shadow: 5px 5px 10px 3px rgba(0, 0, 0, 0.2);
}

.btn {
  -webkit-box-shadow: 5px 5px 10px 3px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 5px 5px 10px 3px rgba(0, 0, 0, 0.2);
  box-shadow: 5px 5px 10px 3px rgba(0, 0, 0, 0.2);
}

i {
  margin-right: 1rem;
}

.center {
  text-align: center;
}

.accent {
  font-family: "Contrail One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.emph {
  font-weight: bold;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff; /* Background color */
  z-index: 9999; /* Ensure it's on top of other content */
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
}

.hammer-loader {
  font-size: 40px; /* Hammer Icon Size */
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* === Boostrap overrides === */
.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #ff821b;
  --bs-btn-border-color: #ff821b;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #ff821b;
  --bs-btn-hover-border-color: #ff821b;
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #ff821b;
  --bs-btn-active-border-color: #ff821b;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #ff821b;
  --bs-btn-disabled-border-color: #ff821b;
}

.bg-dark {
  /* background-color: #002642 !important; */
  background-color: #001f33 !important;
}

a {
  text-decoration: none;
}

/* === Hero === */

nav {
  /* position: fixed !important; */
  position: sticky !important;
  width: 100%;
  top: 0;
  z-index: 100;
}

.landing {
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  -webkit-box-shadow: 5px 5px 10px 3px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 5px 5px 10px 3px rgba(0, 0, 0, 0.2);
  box-shadow: 5px 5px 10px 3px rgba(0, 0, 0, 0.2);
  padding: 5rem 0;
}

.landingSub {
  padding: 10rem 0 3rem;
}

#hero {
  background-image: url("../media/hero.jpg");
}

#roof {
  background-image: url("../media/roof.jpg");
}

#metal {
  background-image: url("../media/metal.jpg");
}

#flat {
  background-image: url("../media/flat.jpg");
}

#vinyl {
  background-image: url("../media/vinyl.jpg");
}

#cement {
  background-image: url("../media/cement.jpg");
}

#cedar {
  background-image: url("../media/cedar.jpg");
}

#win {
  background-image: url("../media/win.jpg");
}

#doors {
  background-image: url("../media/doors.jpg");
}

#patio {
  background-image: url("../media/patio.jpg");
}

#storm {
  background-image: url("../media/doors.jpg");
}

#gutters {
  background-image: url("../media/metal.jpg");
}

#stormdamage {
  background-image: url("../media/stormdamage.jpg");
}

/* footer.thankyou {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
} */

#hero h1.text-body-emphasis.textWhite,
#hero p.textWhite,
.textWhite {
  color: var(--white) !important;
}

nav img {
  margin-right: 2rem;
}

.nav-item {
  margin-right: 0.5rem;
}

nav li {
  font-size: 14px;
}

/* === Cards === */

.myCard {
  border: none;
  background-color: transparent;
  margin-bottom: 2rem;
}

.myCard img {
  width: 100%;
}

.myCardInner {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  -webkit-box-shadow: 5px 5px 10px 3px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 5px 5px 10px 3px rgba(0, 0, 0, 0.2);
  box-shadow: 5px 5px 10px 3px rgba(0, 0, 0, 0.2);
  height: 100%;
}

/* === Cards === */

#promo {
  padding: 5rem 0;
  background-image: url("../media/promo.jpg");
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  -webkit-box-shadow: 5px 5px 10px 3px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 5px 5px 10px 3px rgba(0, 0, 0, 0.2);
  box-shadow: 5px 5px 10px 3px rgba(0, 0, 0, 0.2);
  margin-bottom: 0;
}

#promo.promoSub {
  margin-bottom: 0;
}

#promo.metal {
  background-image: url("../media/metal.jpg");  margin-bottom: 0;
}

#promo.flat {
  background-image: url("../media/flat.jpg");  margin-bottom: 0;
}

#promo.vinyl {
  background-image: url("../media/vinyl.jpg");  margin-bottom: 0;
}

#promo.cement {
  background-image: url("../media/cement.jpg");  margin-bottom: 0;
}

#promo.cedar {
  background-image: url("../media/cedar.jpg");  margin-bottom: 0;
}

#promo.win {
  background-image: url("../media/win.jpg");  margin-bottom: 0;
}

#promo.doors {
  background-image: url("../media/doors.jpg");  margin-bottom: 0;
}

#promo.patio {
  background-image: url("../media/patio.jpg");  margin-bottom: 0;
}

#promo.storm {
  background-image: url("../media/doors.jpg");  margin-bottom: 0;
}

#promo.gutters {
  background-image: url("../media/metal.jpg");  margin-bottom: 0;
}

#promo.stormdamage {
  background-image: url("../media/stormdamage.jpg");  margin-bottom: 0;
}

.promoInner {
  width: 100%;
  max-width: 700px;
}

#countdown {
  display: flex;
  flex-direction: row;
}

.time-box {
  font-size: 24px;
  padding: 1rem;
}

#promo .container {
  height: 100%;
}

.btnCTA {
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
}

.btnCTAsmall {
  padding: 0.5rem 0.5rem;
  margin-bottom: 1rem;
}

.btnCTA h3 {
  margin: 0;
}

/* === Accordion === */

.accordion {
  -webkit-box-shadow: 5px 5px 10px 3px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 5px 5px 10px 3px rgba(0, 0, 0, 0.2);
  box-shadow: 5px 5px 10px 3px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.accordion-button {
  font-weight: bold;
}

/* === Footer === */
footer {
  padding: 2rem 0;
  background-color: #001f33 !important;
}

footer img {
  margin: 1rem;
}

.specials {
  margin: 0;
  padding: 6rem 0 4rem;
}

.mb5 {
  margin-bottom: 5rem;
}

.privacy {
  text-align: center;
  color: white !important;
  text-decoration: none;
}

.navbar {
  margin-top: 0 !important;
  top: 0 !important;
}

.phone {
  margin-top: 0.5rem;
}
