/*
Theme Name: Erwin Jaye 2025
Theme URI: https://erwinjaye.com
Author: Sunflwr & Co.
Author URI: https://mysunflwr.com
Description: Custom theme exclusive to Erwin Jaye Homes.
Version: 1.0
*/

/* Fonts & Colors */
:root{
	--heading: 'Merriweather', serif;
	--subheading: 'Raleway', sans-serif;
	--body: 'Nunito', sans-serif;
	
	--primary: #333333;
	--secondary: #A8B6A3;
	--light: #EDEAE0;
	--white: #FFFFFF;
	--accent: #C1A87D;
	--light-gray: #F8F9FA;
	--dark-gray: #999;
}

/* Headings and Subheadings */
h1{
	font-family:var(--heading);
	font-size:48pt;
}
h2{
	font-family:var(--heading);
	font-size:36pt;
}
h3{
	font-family:var(--heading);
	font-size:20pt;
}
h5{
	font-family:var(--heading);
	font-size:14pt;
}
.display-1{
	font-family:var(--subheading);
	font-size:128pt !important;
	font-weight:700 !important;
}
.lead-text{
	font-family:var(--heading);
	font-size:48pt;
	margin-bottom:-40px;
}

/* Paragraphs */
p{
	font-family:var(--body);
}

/* Buttons */
.btn-accent{
    background-color:var(--accent);
    color:var(--white);
    font-family:var(--body);
    transition:0.1s linear;
}
.btn-accent:hover{
    background-color:var(--accent);
    color:var(--white);
    filter:brightness(0.9);
}
.btn-outline-accent{
	color:var(--accent);
	border-color:var(--accent);
}
.btn-outline-accent:hover{
	background-color:var(--accent);
	color:var(--white);
}

/* Utilities */
.bg-primary{
	background-color:var(--primary) !important;
}
.bg-secondary{
	background-color:var(--secondary) !important;
}
.bg-light{
	background-color:var(--light) !important;
}
.text-accent{
    color:var(--accent);
}
.text-primary{
	color:var(--primary) !important;
}
.text-light-gray{
	color:var(--light-gray);
}
.text-dark-gray{
	color:var(--dark-gray);
}
.pt-big{
	padding-top:125px
}
.pb-big{
	padding-bottom:125px;
}
.pt-med{
	padding-top:65px;
}
.pb-med{
	padding-bottom:65px;
}
.mt-big{
	margin-top:100px;
}
.mb-big{
	margin-bottom:100px;
}

/* Img Backgrounds */
.bg-img {
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
/*
.bg-img-exterior {
	background-image:url('/assets/img/new-luxe-home-build-exterior-arcadia-arizona-small.jpg');
}
*/
.bg-img-fireplace {
	background-image:url('/assets/img/luxury-home-build-fireplace-arcadia.jpg');
}
.bg-img-interior {
	background-image:url('/assets/img/luxury-home-build-interior-arcadia.jpg');
}

/* Effects */
.dark-hover{
	filter:brightness(0.6);
	transition:0.5s linear;
}
.dark-hover:hover{
	filter:brightness(1.0);
}

/* Full-page video background */
.video-background {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Video settings */
.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dark overlay */
.video-background .overlay,
.img-background .overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); /* Adjust darkness here */
}
.img-background .overlay-med {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
}

/* Content positioning */
.video-background .content {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Video background logo and divider */
.video-background .logo{
	width:500px;
}
@media (max-width: 600px) {
	.video-background .logo {
		width: 80%; /* prevents overflow on mobile */
	}
}
.video-background hr{
	margin:100px 0;
	color:#fff;
}

/* Image background with overlay */
.full-height{
    height:100vh;
}
.img-background{
	position:relative;
	width:100%;
	overflow:hidden;
	align-items: center;
	justify-content: center;
}
.img-background img.background-img{
	position:absolute;
	top:50%;
	left:50%;
	transform:translate(-50%, -50%);
	width:100%;
	height:100%;
	object-fit:cover;
}
.img-background img.background-img.slowZoom{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	object-fit:cover;
    animation: slowZoom 15s linear forwards;
	transform-origin:center center;
}
@keyframes slowZoom {
	from {
		transform: scale(1);
	}
	to {
		transform: scale(1.2);
	}
}
.img-background .overlay{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background:rgba(237,234,224,0.5);
}
.img-background .content{
	position:relative;
	z-index:2;
}

/* Navbar */
#navbar-hide {
  opacity: 0 !important;
  transition: top 0.3s ease-in-out, opacity 0.5s !important;
}
#navbar-hide.scrolled {
  opacity: 1 !important;
}
#navbar-mobile-hide {
	opacity: 0 !important;
	transition: top 0.3s ease-in-out, opacity 0.5s !important;
}
#navbar-mobile-hide.scrolled {
	opacity: 1 !important;
}
.custom-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}
.navbar .nav-item{
    margin-left:30px;
}
.navbar .nav-item a:not(.btn){
    color: var(--white);
    font-family: var(--body);
    transition: 0.1s linear;
}
    .navbar .nav-item a:hover:not(.btn){
        color: var(--accent);
    }
.full-width-dropdown {
	width: 100vw;
	left: 0;
	right: 0;
	top: 100%;
	background: white;
	box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
	display: flex;
	flex-direction: column;
	position: absolute;
	z-index: 1050;
	border-top: 3px solid #f8f9fa;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
	pointer-events: none;
	margin-top: -1px; /* Removes any remaining tiny gap */
}

/* Show dropdown on hover */
#navbar .nav-item.dropdown:hover .full-width-dropdown,
#navbar .full-width-dropdown:hover,
#navbar-hide .nav-item.dropdown:hover .full-width-dropdown,
#navbar-hide .full-width-dropdown:hover {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.navbar{
	padding-top:8px !important;
	border-bottom:8px solid #333;
}

#navbar,
#navbar-hide{
	padding:0;
	margin:0;
}
.navbar .container{
	display:flex;
	align-items: stretch;
}
#navbarNav{
	flex-grow:1;
	display:flex;
	align-items:center;
}
.navbar-nav{
	height:100%;
}
.nav-link{
	display:flex;
	align-items:center;
}
#navbar .nav-item > .nav-link,
#navbar-hide .nav-item > .nav-link{
	display:flex;
	align-items:center;
	height:100%;
	padding-top:0 !important;
	padding-bottom:0 !important;
}
.nav-item .btn{
	display:flex;
	align-items:center;
	justify-content:center;
	padding:0.5rem 1rem;
	height:auto;
	margin-top:auto;
	margin-bottom:auto;
}
.navbar span a{
	color:var(--primary) !important;
	text-decoration:none;
	font-size:14pt;
}
	.navbar span a:hover{
		color:var(--accent) !important;
	}
	
#navbar-mobile .fa-chevron-down{
	transition: transform 0.3s ease;
}

#navbar-mobile .nav-link[aria-expanded="true"] .fa-chevron-down{
	transform: rotate(180deg);
}

/* Testimonials */
.testimonial img{
	width:100px;
    height:100px;
	margin:0 auto;
}
.testimonial .testimonial-name{
    font-family:var(--heading);
}
.testimonial .testimonial-content{
    font-family:var(--body);
}
.testimonial .testimonial-stars{
    color:var(--bs-warning);
}

/* Service Cards */
.service-card{
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('/assets/img/luxury-home-build-fireplace-arcadia.jpg') center center / cover no-repeat;
    min-height: 400px;
    text-align: center;
    padding: 2rem;
}
.gradient-bg-home-office {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('/assets/img/office-addition-small.jpg') center center / cover no-repeat;
}
.gradient-bg-exterior {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('/assets/img/new-luxe-home-build-exterior-arcadia-arizona-small.jpg') center center / cover no-repeat;
}
.gradient-bg-luxe {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('/assets/img/custom-luxe-home-build-arcadia-arizona-small.jpg') center center / cover no-repeat;
}
.gradient-bg-piestewa {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('/assets/img/luxury-home-remodel-biltmore-arizona-exterior.jpg') center center / cover no-repeat;
}
.gradient-bg-phoenix {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('/assets/img/luxury-home-remodel-phoenix-arizona-exterior.jpg') center center / cover no-repeat;
}

.gradient-bg-kitchen-remodel {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('/assets/img/luxury-kitchen-remodel-arcadia-lite-arizona-small.jpg') center center / cover no-repeat;
}

/* Feature Cards */
.feature-card{
	text-align: center;
}
.feature-card-icon{
	font-size:40px;
	color: var(--accent);
	margin-bottom:10px;
}
.feature-card-bg{
	background-color:var(--white);
	padding:20px;
	height:100%;
	border-radius:5px;
	box-shadow:3px 3px 10px var(--secondary);
}

/* Fixed Height Cards */
.card-img-wrapper {
    height: 250px;
    overflow: hidden;
}
.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Tabbed Section */
.tab-container {
	display: flex;
	border: 1px solid #ddd;
	border-radius: 5px;
	overflow: hidden;
}
.nav-pills {
	flex: 0 0 30%;
	border-right: 1px solid #ddd;
}
.nav-pills .nav-link {
	border-radius: 0;
	border-bottom: 1px solid #ddd;
	text-align: left;
	font-weight: 500;
	width: 100%;
	padding: 12px;
	color: var(--primary);
}
.nav-pills .nav-link.active {
	background-color: var(--accent);
	color: white;
}
.tab-content {
	flex: 1;
	padding: 20px;
}
.tab-content img {
	max-width: 100%;
	border-radius: 5px;
	margin-top: 10px;
}

/* Accordion Section */
.accordion .accordion-button:not(.collapsed) {
	background-color: var(--accent);
	color: var(--white);
}
.accordion .accordion-button {
	background-color: var(--light);
	font-size:14pt;
	padding: 20px 20px;
}
.accordion .accordion-button:focus {
	box-shadow: none;
}
.accordion .accordion-item{
	border: none;
}
.accordion .accordion-body {
	padding: 20px 20px;
	font-family: var(--body);
	font-size:14pt;
}

/* Slider */
.thumb-slider .swiper-slide {
	opacity: 0.6;
	cursor: pointer;
	border-radius: 5px;
	overflow: hidden;
	transition: opacity 0.3s ease;
}

.thumb-slider .swiper-slide:hover,
.thumb-slider .swiper-slide-thumb-active {
	opacity: 1;
	border: 2px solid var(--accent); /* Highlight active thumbnail */
}

/* Change arrow color */
.swiper-button-next, .swiper-button-prev {
	color: var(--primary); /* Change to any color */
}

/* Optionally, change the hover color */
.swiper-button-next:hover, .swiper-button-prev:hover {
	color: var(--accent);
}

/* FAQ List */
.faq-list{
	counter-reset: faq-counter;
	list-style: none;
	padding-left: 0;
}
.faq-list li {
	counter-increment: faq-counter;
	margin-bottom: 2rem;
	padding: 1.5rem;
	border-radius: 1rem;
	background-color: var(--light-gray);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	position: relative;
}
.faq-list li::before {
	content: counter(faq-counter) ".";
	position: absolute;
	top: 1.5rem;
	left: 1.5rem;
	font-size:1.5rem;
	font-weight: bold;
	color: var(--accent);
}
.faq-list h2 {
	padding-left: 2.5rem;
	margin-bottom: 0.5rem;
}
.faq-list p {
	padding-left: 2.5rem;
	margin: 0;
}

/* Sitemap */
ul.sitemap li{
	margin-bottom:5px;
}
ul.sitemap li a{
	color:var(--accent);
}
ul.sitemap li a:hover{
	font-weight:bold;
}

/* Contact Form */
#bottom-contact-form .contact-form-img{
	background-image: url("/assets/img/site/alicia.jpg");
	background-size:cover;
	background-position:center center;
}
#bottom-contact-form label{
	font-family:var(--heading);
}
#bottom-contact-form input{
	font-family:var(--body);
}

/* Footer */
footer {
	font-family: var(--body);
}
footer a{
	text-decoration:none;
	color:var(--light);
}
footer a:hover{
	color:var(--white);
}
footer .footer-logo{
    width: 80%;
    height: auto;
}