/*****************************
** Custom site styles can be added to this file - EDIT AT YOUR OWN RISK!!!
*****************************/
  /* Fullscreen center alignment */

@media (min-width: 1900px) {
    body {
        background-size: 100%;
    }
}

@media (min-width: 768px) {
    body {
        background-attachment: fixed;
    }
}

#page-419458, #page-439435, #page-439465, #page-439658, #page-439654, #page-439860 {
    background-color: #FFF;
    background-image: url(https://assets-cdn.interactcp.com/westerntrailersales/images/98bb2a853cbef755287f0ed6adcfe723ad357d5d.jpg);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: auto;
}

.container > #mainContainer { background: #fff; }

img:hover {
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.middle-row {
  margin: 0 1rem;
  display: table;
  table-layout: fixed;
}

.nav-left,
.logo-center,
.nav-right {
  display: table-cell;
  vertical-align: middle;
  float: none !important; 
}

#mainContainer {
    background-color: transparent;
}

#main-navbar {
  background: transparent;
  border: none;
  margin-bottom: 0;
}

#main-navbar .navbar-nav > li > a {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  color: #fff;
  padding: 10px 15px;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s;
}

#main-navbar .navbar-nav > li > a:hover,
#main-navbar .navbar-nav > li.active > a,
#main-navbar .navbar-nav > li.open > a {
  background-color: #5F7175;
  color: #fff;
}

#main-navbar .navbar-nav > li > a .caret {
  border-top-color: #fff;
}

#main-navbar .dropdown-menu {
  background-color: #5F7175;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

#main-navbar .dropdown-menu > li > a {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  color: #fff;
  padding: 10px 15px;
  transition: background 0.3s;
}

#main-navbar .dropdown-menu > li > a:hover {
  background-color: #65797e;
  color: #fff;
}

#main-navbar .nav-right .map-btn {
  width: 137px;
  height: 40px;
  border: 1px solid #fff;
  border-radius: 90px;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 38px;
  letter-spacing: 4%;
  color: #fff;
  text-align: center;
  background: transparent;
  margin-right: 50px; 
  padding: 0; 
  transition: color 0.3s, border-color 0.3s;
}

#main-navbar .nav-right .map-btn:hover {
  color: #5F7175;
  border-color: #5F7175;
  text-decoration: none;
}

body:not(#page-419458) #main-navbar .nav-right .map-btn:hover {
  color: inherit;
  border-color: inherit;
  text-decoration: none;
}

#main-navbar .nav-right .phone-number {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 50px;
  letter-spacing: 4%;
  color: #fff;
}

#main-navbar .nav-right .phone-number:hover {
  color: #5F7175;
  cursor: pointer;
   text-decoration: none;
}

#main-navbar .nav-right .phone-number a:hover {
  text-decoration: none;
}


body:not(#page-419458) #main-navbar .nav-right .phone-number:hover {
 color: inherit;
}


.navbar-bg {
	background-color: var(--secondary-bg-color);
}

 .logo-lines-wrapper {
  position: relative;
  display: inline-block; 
}

.logo-lines-wrapper::before,
.logo-lines-wrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 500px; 
  height: 1px;
  background-color: white;
  transform: translateY(-50%);
  z-index: 5;
}

.logo-lines-wrapper::before {
  right: 100%;
  margin-right: 20px;
}

.logo-lines-wrapper::after {
  left: 100%;
  margin-left: 20px;
}

.more-brands {
	display: none !important;
}
  .custom-services {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: #2c2c2c;
  }

  /* Button wrapper with spacing */
  .custom-button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  /* Individual button styling */
  .custom-button {
     font-family: 'Oswald', sans-serif;
    font-weight: 500;
    width: 361px;
    height: 118px;
    border-radius: 90px;
    border: 1px solid #fff;
    background-color: #5F7175;
    color: #fff;
    font-size: 20px;
    padding-left: 91px;
    padding-right: 91px;
    text-align: center;
    line-height: 110px;
    transition: all 0.3s ease;
  }

  /* Hover effect */
  .custom-button:hover {
    background-color: #fff;
    color: #5F7175;
    text-decoration: none;
    border: 1px solid #5F7175;
  }

 .custom-home-row {
    padding: 60px 15px;
    background-color: #f9f9f9;
    text-align: center;
  }

  /* Ensure content centers inside the wrapper */
  .custom-welcome-wrapper {
    max-width: 1240px;
    margin: 0 auto;
  }

  .custom-welcome-content {
    font-family: 'Oswald', sans-serif;
  }

.custom-welcome-content h1 {
    font-family: 'Oswald', sans-serif;
}

  /* Main heading */
  .custom-welcome-content h1 {
    font-weight: 500;
    font-size: 34px;
    line-height: 1;
    letter-spacing: 0;
    color: #5F7175;
    margin-bottom: 30px;
  }

  /* All paragraphs inside the welcome text */
  .custom-welcome-text p {
    font-weight: 400;
    font-size: 20px;
    line-height: 46px;
    letter-spacing: 0.04em;
    color: #333;
    margin-bottom: 20px;
  }

  /* Subheading */
  .custom-welcome-text h4 {
    font-weight: 400;
    margin-top:120px;
    margin-bottom: 60px;
    font-size: 26px;
    line-height: 1;
    letter-spacing: 0;
    color: #642D11;
  }

  /* Learn More button link */
  .custom-welcome-link {
    display: inline-block;
    margin-top: 30px;
    font-size: 18px;
    text-transform: uppercase;
    color: #5F7175;
    border: 1px solid #5F7175;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .custom-welcome-link:hover {
    background-color: #5F7175;
    color: #fff;
    text-decoration: none;
  }

 .learn-content {
  display: flex;
   justify-content: center;
 }

/* Testimonials */
.custom-testimonials-section {
  height: 344px;
  width: 100%;
  display: flex;
}

.testimonial-container {
  display: flex;
  width: 100%;
  height: 100%;
}

.custom-testimonials-left {
  width: 35%;
     height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.custom-reviews-right {
  width: 65%;
    height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: 0 10rem;
}

.custom-testimonials-left {
  background-color: #ebebeb;
  color: white;
  padding: 40px 20px;
}

.custom-reviews-right {
  background-color: #E0E0E0;
  padding: 40px 20px;
}

.review-content,
.cycle-slideshow,
.testimonial-slide {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  padding: 50px;
}

.custom-testimonials-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0;
  color: #5F7175;
  text-align: center;
  margin-bottom: 20px;
  margin-top: 10px;
}

.custom-slider-navigation {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.custom-slider-navigation .cycle-prev,
.custom-slider-navigation .cycle-next {
  font-size: 24px;
  color: #5F7175;
  cursor: pointer;
  transition: color 0.3s ease;
}

.custom-slider-navigation .cycle-prev:hover,
.custom-slider-navigation .cycle-next:hover {
  color: #333;
}

.testimonial-text {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0;
  color: #000;
  margin-bottom: 20px;
}

.testimonial-author {
    font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0;
  color: #000;
}

.border-bottom-footer {
	border-bottom: 1px solid #e0e0e0;
}

.footer-phone {
  margin-top: 2rem;
}

.footer-phone a {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0;
  color: #642D11;
  text-decoration: none;
}

.footer-phone a:hover {
  color: #5F7175;
}

.footer-address {
  margin-block: 3rem;
}

.footer-address a {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: #5F7175;
}

.footer-address a:hover {text-decoration: none}

.footer-address .underline-dotted {
  text-decoration: underline dotted;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 0.05em;
  text-decoration-skip-ink: auto;
}

/* Botón */
.footer-map-button {
  display: inline-block;
  width: 278px;
  height: 60px;
  border-radius: 90px;
  border: 1px solid #5F7175;
  color: #5F7175;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0.04em;
  line-height: 60px;
  text-align: center;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.border-right {
	border-right: 1px solid #e0e0e0;
}

.footer-map-button:hover {
  border: 1px solid #642D11;
  color: #642D11;
  text-decoration: none;
}

.quick-links-container {
  padding-top: 20px;
}

.quick-links-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 26px;
  line-height: 100%;
  letter-spacing: 0;
  color: #642D11;
  margin-bottom: 15px;
  margin-left: 5rem;
  text-align: start;
}

.quick-links-list {
  padding-left: 0;
  margin-bottom: 0;
  text-align: left;
  margin-left: 4rem;
  margin-block: 3.7rem;
}

.quick-links-list li {
  display: inline-block;
  margin: 0 12px;
}

/* Links */
.quick-links-list li a {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0.04em;
  color: #5F7175;
  text-decoration: none;
  transition: color 0.3s ease;
}

.quick-links-list li a:hover {
  color: #642D11;
  text-decoration: none;
}

 .nav-left {
    position: absolute;
    top: 20%;
     left: 15%;
  }

.nav-right {
  position: absolute;
  top: 17%;
  right: 25%;
}

@media  (max-width: 1650px) and (min-width: 1500px) {
	  .nav-left {
    position: absolute;
    top: 20%;
     left: 10%;
  }

.nav-right {
  position: absolute;
  top: 17%;
  right: 15%;
}
} 

@media (max-width: 1499px) and (min-width: 1200px) {
  .nav-left {
     left: 2%;
  }
  .nav-right {
  right: 6%;
  }
  
.logo-lines-wrapper::before,
.logo-lines-wrapper::after {
  width: 400px; 
}

}

@media (min-width: 1200px) {
  .middle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    position: relative;
  }

  .nav-left { flex: 1; }
  
  .nav-right {
    flex: 1;
  }
  
  .logo-center {
    flex: 0 0 auto;
    text-align: center;
    padding: 25px 0;
  }
  
  .logo-img {
    max-height: 230px; 
    height: 200px;
  }

  .map-btn {
    margin-right: 15px;
  }

  .phone-number a {
    color: #FFF;
  }
}

@media (max-width: 1200px) and (min-width: 992px) {
  .middle-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    text-align: center;
  }

  .nav-left { 
    position: static;
    flex: 1;
  }
  
  .logo-lines-wrapper::before,
.logo-lines-wrapper::after {
  top: 10%;
  width: 300px;
}

  .nav-right {
    position: static;
    width: 400px;
    flex: none;
  }

  .logo-center {
    order: 1;
    width: 100%;
    margin-top: 15px;
  }
  
  .map-btn {
    margin-right: 10px;
  }

  .phone-number {
    display: inline-block;
    margin-top: 5px;
  }
}

  @media (max-width: 991px) {
      .logo-lines-wrapper::before,
  .logo-lines-wrapper::after {
    display: none;
  }
    
.quick-links-title {
    font-size: 20px;
    margin-bottom: 15px;
    margin-left: 0;
	text-align: center;
}  
    
     .quick-links-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding-left: 0;
    margin: 0;
    list-style: none;
    flex-direction: column;
}
    
    .quick-links-list li { 
      display: block;
      margin-block: 15px;
      margin-inline: auto;
    }
    
    .middle-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }
  
  .nav-right {
  	flex: none;
  }

  .logo-center {
    order: 0;
    width: auto;
    margin-top: 0;
    text-align: left;
    margin-right: auto;
     margin-left: 3rem;
     padding: 2rem;
  }

  .nav-left {
    width: 100%;
    order: 1;
    margin-top: 10px;
  }

  .nav-left ul {
    padding-left: 0;
  }

  .nav-right {
    order: 0;
    text-align: right;
    flex: 1;
  }

  .logo-img {
    max-height: 110px;
  }
}

@media (max-width: 991px) and (min-width: 768px) {
  .nav-left ul.nav > li {
    display: inline-block;
    float: none;
    border: none;
    margin-right: 10px;
    width: auto;
  }
 
  .nav-left, .nav-right {
    position: static;
}
  
  .nav-left ul.nav {
      float: none;
    text-align: center;
  }
}

@media (min-width: 768px) {
    .button-row {
        padding-top: 100px;
        padding-bottom: 244px;
        padding-left: 0;
        padding-right: 0;
        overflow: hidden;
      background-color: transparent;
    }
}

@media (max-width: 768px) {
  .center-flex-wrapper {
   display: flex;
   justify-content: center;
    padding: 10px 0;
 }
}

  @media (max-width: 767px) {
    .custom-welcome-text {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.6s ease, opacity 0.4s ease;
        }

   .custom-welcome-text.open {
       max-height: 1000px; 
       opacity: 1;
        }
    
     .middle-row {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .logo-center {
    order: 1;
    width: auto;
    flex: 1 1 auto;
    text-align: center;
    margin: 0;
  }
    
    .nav-left {
    position: static;
}
    
    .nav-right {display: none}

  /*.nav-right {
    order: 2;
    flex: 0 0 auto;
    text-align: left;
  }*/
    
  .map-btn {
    display: none;
}
    
  .navbar-toggle {
  position: absolute;
  right: 10px;
  top: 10px;
    z-index: 10;
}

  .phone-number {
    order: 0;
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: bold;
    margin-left: 10px;
  }

  .phone-number {
    display: none;
  }

  .nav-left {
    width: 100%;
    order: 3;
    margin-top: 10px;
  }
    
    .navbar-collapse.collapse {
    	display: none;
    }
    
    ul.nav li {
    	border-bottom: none;
    }
    
    .navbar-toggle .icon-bar {
    display: block;
    width: 22px;
    height: 4px;
    border-radius: 1px;
    color: aquamarine;
    background: #FFF;
}
  
  }

  /* Responsive fallback for small screens */
  @media (max-width: 426px) {
        #page-419458 {
        background-image: url(https://assets-cdn.interactcp.com/www.westerntrailersales/images/westerntrailersales-bg-body-xs.jpg);
        background-size: 280%;
    }
    
    #header .header-location-numbers ul li.header-numbers:before { content: none; }

    .custom-welcome-content h1 {
    	font-size: 25px;
    }
    
    .custom-welcome-text p {
      font-size: 14px;
      line-height: 30px;
    }
    
    .custom-welcome-text h4 {
      font-size: 14px;
      margin-top: 40px;
      margin-bottom: 40px;
    }
    
    .contact-info p img {
    	width: 230px;
      height: 200px;
    }
    
    .custom-button-group {
    	padding: 20px 0;
    }
    
    .custom-button {
      width: 275px;
      padding-left: 30px;
      padding-right: 30px;
      font-size: 24px;
      line-height: normal;
      height: auto;
      padding-top: 20px;
      padding-bottom: 20px;
      border: 1px solid #fff;
    }
  }
