/*
Theme Name: Red Earth Designs
Template: red-earth-designs-parent
Version: 1.0
Author: Red Earth Designs
Description: A child theme based on Red Earth Designs.
*/

@import url("../red-earth-designs-parent/style.css");

/*====================================
=            Preloader Styles        =
====================================*/
#preloader .logo {
  max-width: 200px !important;
}

#preloader .loading-area {
  width: 200px !important;
}

#preloader .logo-loader {
  width: 200px !important;
  height: auto !important;
}

#preloader .left-side,
#preloader .right-side {
  background: #c60c21 !important;
}


/*====================================
=            Color Utilities         =
====================================*/
.red {
  color: #c60c21;
}


/*====================================
=            Header Styles           =
====================================*/
header .logo img {
  max-height: 50px !important;
}

header.black .logo img {
  transform: rotate(-90deg) translate(-110px, 22px) !important;
  -webkit-transform: rotate(-90deg) translate(-110px, 22px) !important;
  -moz-transform: rotate(-90deg) translate(-110px, 22px) !important;
  -ms-transform: rotate(-90deg) translate(-110px, 22px) !important;
  -o-transform: rotate(-90deg) translate(-110px, 22px) !important;
}


/*====================================
=            Full Menu Styles        =
====================================*/
.full-menu .left-content {
  background: #c60c21 !important;
}

.full-menu .right-content ul li {
  font-weight: 600 !important;
}

.full-menu .site-menu li a {
  color: #fff !important;
  font-size: 44px !important;
  font-weight: 900 !important;
}


/*====================================
=            Footer Styles           =
====================================*/
footer {
  background: #FFFFFF !important;
  padding: 0px !important;
  width: 100%;
  font-weight: bold;
  color: #fff !important;
}

footer a {
  color: #fff;
}


/*====================================
=            Typography              =
====================================*/
.hero-title {
  font-weight: 900 !important;
  letter-spacing: -1px !important;
}

.hero-text {
  font-weight: 600 !important;
  font-size: 24px !important;
  opacity: .8 !important;
}

p {
  font-weight: 400 !important;
  font-size: 18px !important;
}

.section-title .title {
  font-size: 42px !important;
  font-weight: 800 !important;
  margin-top: 20px !important;
  line-height: 55px !important;
}

.subtext {
  font-size: 48px !important;
  font-weight: 700 !important;
  color: #000;
  line-height: 60px !important;
}

.content li {
  line-height: 30px !important;    
  font-size: 18px !important;
}


/*====================================
=            Hero Image              =
====================================*/
.hero-image {
  background-size: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
}

.down-arrow {
  animation: bounce 1.5s infinite;
  display: inline-block;
  margin-top: 20px;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}


/*====================================
=            Team Section            =
====================================*/
.teammates .team figure figcaption {
  color: #000 !important;
}

.teammates .team figure figcaption .social-links a {
  color: #000 !important;
}


/*====================================
=            Contact Info            =
====================================*/
.contact-info a,
.contact-info p,
.contact-info span {
  font-size: 18px !important;
}


/*====================================
=            Contact Form 7          =
====================================*/
/* Wrapper for each field */
.wpcf7-form p {
  position: relative;
  margin-bottom: 46px;
}

/* Inputs and Textareas */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  display: block;
  border: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0;
  letter-spacing: 0;
  width: 100%;
  font-weight: 300;
  color: #fff;
  font-size: 18px;
  line-height: 46px;
  height: 46px;
  background: transparent;
  outline: none;
  padding: 0 0 3px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.40);
}

/* Adjust textarea height */
.wpcf7-form textarea {
  height: auto;
  min-height: 120px;
  line-height: 1.5;
}

/* Label styling */
.wpcf7-form label {
  font-weight: 300;
  color: #000;
  font-size: 18px;
  display: block;
  position: relative;
  pointer-events: auto;
}

/* Dark theme override */
.darkness .wpcf7-form input[type="text"],
.darkness .wpcf7-form input[type="email"],
.darkness .wpcf7-form input[type="tel"],
.darkness .wpcf7-form textarea {
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
}

/* White theme override */
.white .wpcf7-form input[type="text"],
.white .wpcf7-form input[type="email"],
.white .wpcf7-form input[type="tel"],
.white .wpcf7-form textarea {
  color: #000;
  border-bottom: 1px solid #636363;
}

/* Dark-on-white override */
.darkness .white .wpcf7-form input[type="text"],
.darkness .white .wpcf7-form input[type="email"],
.darkness .white .wpcf7-form input[type="tel"],
.darkness .white .wpcf7-form textarea {
  color: #fff;
  border-bottom: 1px solid #dcdcdc;
}

/* Button override */
.wpcf7-submit {
  font-family: 'Gilroy';
  display: inline-block;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  border: 0;
  background: #000;
  color: #fff;
  padding: 13px 28px;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.wpcf7-submit:hover {
  background: #c60c21 !important;
}

/*====================================
=            Blog              =
====================================*/


.wp-block-image img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
}

.next-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;  
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90%; /* adjust if needed */
  margin: 0 auto;
  line-height: 1.4;
}

.subtext a {
	color: #c60c21 !important;
	text-decoration: underline !important;
}

article h3 {
	font-family: 'Gilroy' !important;
	font-size: 22px !important;
	line-height: 30px !important;
	font-weight: 500 !important;
}

.cta-box {
  background-color: #c60c21;
  color: #fff;
  padding: 60px !important;
  text-align: center;
}


.cta-button {
  display: inline-block;
  background-color: #fff;
  color: #c00;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  margin-top: 30px;
}

.cta-button:hover {
  background-color: #f2f2f2;
  color: #a00;
}


.service-columns img {
  width: 100%;
  height: auto;
  display: block;
}


/*====================================
=            FAQ              =
====================================*/


.faq-section {
  border-top: 1px solid #ddd;
}

.faq-item {
  border-bottom: 1px solid #ddd;
}

.faq-question {
	font-family: 'Gilroy';
  width: 100%;
  padding: 16px;
  font-size: 18px;
  font-weight: 500;
  text-align: left;
  background: none;
  border: none;
  border-top: 1px solid #c60c21;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  outline: none;
}

.toggle-icon {
  font-size: 24px;
  color: #cc0000;
  transition: transform 0.2s ease;
}

.faq-answer {
  display: none;
  padding: 16px;
  background-color: #fff;
  border-top: 1px solid #eee;
  font-size: 15px;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  display: block;
}





/*====================================
=            Responsive              =
====================================*/
@media only screen and (max-width: 1024px) {
  header.black .logo img {
    transform: rotate(0deg) !important;
  }

  header.black {
    z-index: 3 !important;
    background: #fff !important;
  }
}

@media only screen and (max-width: 768px) {
  .hero-text {
    line-height: 31px !important;
  }
}
