/* Reset CSS */
html, body, header, main, footer {
    margin: 0;
    padding: 0;
}

/* Global styles */
body {
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	text-align: center;
	background-color: #000;
}

.main-wrapper {
	background-color: #f1efe7;
	padding: 0;
	margin: 0;
}

.font-sedan {
	font-family: "Sedan", serif;
}

.font-roboto {
	font-family: "Roboto", sans-serif;
}

header {
	position: relative;
	height: auto; /* Adjust height as needed */
	overflow: hidden;
	background-color: transparent;
}

.navbar {
	background-color: rgba(0,0,0,0.55);
	padding: 0 10px 10px 10px;
	position: fixed;
	z-index: 10;
	width: 100%;
	height: 71px;
}

.nav-button-container {
	margin: 0 auto;
	display: inline-block;
	padding: 0;
}

.nav-button {
	display: inline-block;
	padding: 21px 0 0 0;
	margin: 0 10px;
	font-family: "Roboto", sans-serif;
	font-weight: 900;
	letter-spacing: -1px;
	font-size: 22px;
	color: #fff;
	text-decoration: none;
	border-top: solid;
	border-top-color: transparent;
	border-width: 4px;
}

.nav-button:hover {	
	color: #ff5144;
	border-top: solid;
	border-top-color: #ff5144;
	border-width: 4px;
}

.nav-button:active {
	color: #ff5144;
	border-top: solid;
	border-top-color: #ff5144;
	border-width: 4px;
}

.book-your-estimate-nav-bar {
	background-color: #ff5144;
	color: #fff;
	display: inline-block;
	margin: 20px 20px 8px 0;
	padding: 7px 12px;
	float: right;
}

.book-your-estimate-nav-bar:hover {
	background-color: #fff;
	color: #ff5144;
}

.small-navbar-logo {

}

.free-estimate-button {
	display: inline-block;
	margin: 0;
	font-family: "Roboto", sans-serif;
	font-weight: 900;
	letter-spacing: -1px;
	font-size: 22px;
}

.image-fader-wrapper {
	padding: 0;
	margin: 0;
	background-color: #000;
	background-image: url("../background-images/sjs-carpentry-white-transparent-2-up-repeater-background-image.png");
	background-repeat: repeat;
	background-position: top center;
	width: 100%;
	height: auto;
}

.image-fader-header-main-container {
	position: relative;
	width: 100%;
	height: auto;
	min-height: 900px;
	overflow: hidden;
	margin: 0 auto;
    }

.image-fader-header-main {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height:100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 3s ease, transform 14s linear; /* Adjust duration as needed */
	transform: scale(1);
}

.image-fader-header-main.active {
	opacity: 1;
	transform: scale(1.15); /* Adjust zoom level as needed */
}

.logo-overlay-header-container {
	max-width: 700px;
	margin-top: max(255px, 15%);
	margin-right: auto;
	margin-bottom: min(100px, 10%);
	margin-left: auto;
	padding: 0 80px;
	display: inline-block;
}

.logo-overlay-header {
	position: relative;
   	display: inline-block;
    z-index: 9; /* Ensure the logo is on top of the images */
	width: 100%;
	
}

/* CSS styles for the main content */
main {
	padding-top: 0px; /* Adjust to accommodate the fixed navigation bar */
}

.main-introduction {
	display: inline-block;
	max-width: 940px;
	margin: 0px auto;
	padding: 20px 20px;	
}

.what-services-are-offered {
	display: inline-block;
	max-width: 700px;
	margin: 0px auto 57px auto;
	padding: 20px 20px;	
}

.featured-service {
	display: inline-block;
	max-width: 200px;
	margin: 6px;
	padding: 15px;
	vertical-align: top;
}

.featured-service-header {
	font-weight: 900;
	letter-spacing: 0px;
	font-size: 21px;
	margin: 4px auto 0 auto;
	display: inline-block;
	padding: 0;
	color: #a09d91;
}

.featured-service-text {
	font-weight: 300;
	letter-spacing: 1px;
	font-size: 14px;
	margin: 6px auto;
	display: inline-block;
	line-height: 19px;
	padding: 0;
	color: #7f7c72;
}

.featured-service-image {
	display: inline-block;
	border-radius: 250px;
	width: 100%;
	max-width: 250px;
	transition: transform 1.5s ease;
}

.featured-service-image:hover {
    transform: scale(1.10); /* Adjust zoom level as needed */
}

.dark-wrapper {
	background-color: #525048;
	color: #f1efe7;
}

.dual-box-container {
	display: flex;
	vertical-align: top;
	margin: 0;
	padding: 0;
	margin-bottom: -4px;
}

.dual-box {
	width: 50%;
	height: auto;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

.dual-box-distributer {
	display: flex;
    flex-direction: column; /* Stack divs vertically */
}

.dual-box-padding {
	margin: -17px auto;
	padding: 0px 40px;
	display: flex;
    justify-content: center; /* Horizontally center the content */
    align-items: center;
	height: 100%;
	min-width: 400px;
}

.dual-box-text-header {
	font-weight: 900;
	letter-spacing: 0px;
	font-size: 26px;
	margin: 0 auto;
	display: inline-block;
	padding: 0;
	color: #a09d91;
}

.dual-box-text-body {
	font-weight: 300;
	letter-spacing: 1px;
	font-size: 20px;
	margin: -10px auto;
	display: inline-block;
	line-height: 30px;
	padding: 0;
	color: #B7B3A5;
	max-width: 800px;
}

.why-choose-us {
	margin: 30px auto;
	padding: 0 30px;
	max-width: 750px;
}

footer {
   	background-color: #000;
	padding: 10px 10px;
	min-height: 80px;
}

.footer-copyright-note {
	font-weight: 300;
	letter-spacing: 2px;
	font-size: 7px;
	margin: 0 auto;
	display: inline-block;
	text-transform: lowercase;
	color: #fff;
}

/* text scroller here */
.text-scroller {
    overflow: hidden;
    width: 100%;
	margin-top: 10px;
}

.scrolling-text {
    display: inline-block;
    white-space: nowrap;
    animation: scroll 70s linear infinite; /* Adjust duration as needed */
}

.scrolling-text-block {
	display: inline-block;
	letter-spacing: 1px;
	font-weight: 900;
	font-size: 24px;
	margin: 0 7px;
	padding: 9px 15px;
	border: solid;
	border-color: #a09d91;
	border-width: 0.25px;
	border-radius: 17px;
	background-color: transparent;
	color: #a09d91;
	text-transform: uppercase;
}

.scrolling-text-block:hover {
	background-color: #000;
	border-color: #000;
	color: #fff;
}

@keyframes scroll {
    0% {
        transform: translateX(35%);
    }
    100% {
        transform: translateX(calc(-100% - 1000px)); /* Adjust distance as needed */
    }
}

a:link {text-decoration:none; color:#fff;}
a:hover {text-decoration:none; color:#fff;}
a:active {text-decoration:none; color:#fff;}
a:visited {text-decoration:none; color:#fff;}

.form-label {
	font-weight: 900;
	letter-spacing: 0px;
	font-size: 26px;
	margin: 0 auto 3px 16px;
	display: inline-block;
}

.form-input {
	font-weight: 100;
	letter-spacing: 3px;
	font-size: 18px;
	margin: 0 auto 3px 6px;
	padding: 15px;
	width: 100%;
	display: inline-block;
}

.submit-button-style {
	margin: 0 auto;
	font-weight: 900;
	letter-spacing: 0px;
	font-size: 30px;
	display: inline-block;
	padding: 20px 30px;
}

.floating-button {
	color: #000;
	font-size: 36px;
	font-weight: 900;
	letter-spacing: -1px;
	padding: 10px 20px;
	border: solid;
	border-color: #000;
	border-radius: 10px;
	display: inline-block;
	background-color: transparent;
}

.floating-button:hover {
	background-color: #000;
	color: #fff;
}

.floating-button-dark {
	color: #f1efe7;
	font-size: 36px;
	font-weight: 900;
	letter-spacing: -1px;
	padding: 10px 20px;
	border: solid;
	border-color: #f1efe7;
	border-radius: 10px;
	display: inline-block;
	background-color: transparent;
}

.floating-button-dark:hover {
	background-color: #000;
	color: #fff;
}

.click-here-button {
	display: inline-block;
	background-color: transparent;
	border-radius: 10px;
	padding: 7px 30px;
	color: #7f7c72;
}

.click-here-button:hover {
	background-color: #525048;
	border-radius: 10px;
	color: #fff;
}

.showroom-container {
  	overflow: hidden;
  	width: 100%;
  	height: 575px; /* Adjust height as needed */
	margin-bottom: 20px;
}

.showroom-slider {
  display: flex;
  animation: showroom-slide 620s linear infinite;
}

.showroom-slider img {
  
}

.showroom-image {
	height: 575px;
	width: auto;
}

.gallery-container {
	padding: 10px 40px;
	margin: 0 auto;
	max-width: 2400px;
}

.gallery-image-container {
	width: 230px;
	height: 230px;
	overflow: hidden;
	display: inline-block;
	margin: 4px;
	padding: 10px;
}

.gallery-image-container:hover {
	background-color: #EB5F3D;
}

.gallery-image {
	width: 100%;
	height:100%;
	object-fit: cover;
}

@keyframes showroom-slide {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-1900%);
  }
}

/* CSS for the modal */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
  opacity: 0; /* Initially transparent */
  transition: opacity 0.3s ease; /* Fade in transition */
  padding-top: 10px;
}

.modal.show {
  display: block;
  opacity: 1; /* Fully visible */
}

.modal-content {
  margin: 20px auto auto auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
	border-radius: 20px;
}

.close {
  color: white;
  position: absolute;
  top: 15px;
  right: 35px;
  font-size: 90px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}
