

/* IMPORTS */
@import url('https://fonts.cdnfonts.com/css/oswald-4');
@import url('https://fonts.cdnfonts.com/css/heebo');
@import url('https://fonts.cdnfonts.com/css/montserrat');

/* CSS RESET */
.tk *:where(:not(html, iframe, canvas, img, svg, video, audio):not(svg *, symbol *)) {
  all: unset;
  display: revert;
}

/* Preferred box-sizing value */
.tk *,
.tk *::before,
.tk *::after {
  box-sizing: border-box;
}

/* Reapply the pointer cursor for anchor tags */
.tk a, button {
  cursor: revert;
}

/* Remove list styles (bullets/numbers) */
.tk ol, ul, menu {
  list-style: none;
}

/* For images to not be able to exceed their container */
.tk img {
  max-inline-size: 100%;
  max-block-size: 100%;
}

/* removes spacing between cells in tables */
.tk table {
  border-collapse: collapse;
}

/* Safari - solving issue when using user-select:none on the <body> text input doesn't working */
.tk input, textarea {
  -webkit-user-select: auto;
}

/* revert the 'white-space' property for textarea elements on Safari */
.tk textarea {
  white-space: revert;
}

/* minimum style to allow to style meter element */
.tk meter {
  -webkit-appearance: revert;
  appearance: revert;
}

/* preformatted text - use only for this feature */
.tk :where(pre) {
  all: revert;
}

/* reset default text opacity of input placeholder */
.tk ::placeholder {
  color: unset;
}

/* remove default dot (Ã¢â‚¬Â¢) sign */
.tk ::marker {
  content: initial;
}

/* fix the feature of 'hidden' attribute. */
.tk :where([hidden]) {
  display: none;
}

/* revert for bug in Chromium browsers */
.tk :where([contenteditable]:not([contenteditable="false"])) {
  -moz-user-modify: read-write;
  -webkit-user-modify: read-write;
  overflow-wrap: break-word;
  -webkit-line-break: after-white-space;
  -webkit-user-select: auto;
}

/* apply back the draggable feature - exist only in Chromium and Safari */
.tk :where([draggable="true"]) {
  -webkit-user-drag: element;
}

/* Revert Modal native behavior */
.tk :where(dialog:modal) {
  all: revert;
}

/* GENERAL */

.tk {
  margin: 0;
  padding: 0;
  font-family: 'Heebo', sans-serif;
  color: #FFFFFF !important;
  font-size: 16px;
}

/* Section 1 */

.section-1 {
    background: url('https://repo.local-car-finder.com/client/chino-hills-ford/images/DSC03639-scaled.jpg') center/cover no-repeat;
    position: relative;
    padding: 150px 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.section-1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.section-1 > * {
    position: relative;
    z-index: 2;
}

.section-1 h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px!important;
    font-weight: 600;
    letter-spacing: 5px;
    color: #FFFFFF;
    margin: 0 0 20px;
}

.section-1 h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 72px!important;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0 0 20px;
}
.section-1 p {
  text-align: justify;
  margin-bottom: 30px;
}

.section-1 h1 span {
    color: #F56600;
}

.section-1 .content {
    max-width: 1200px;
    margin: 0 auto;
}

.section-1 .content .cta {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px!important;
  font-weight: 700;
  color: #FFFFFF;
  background-color: #F56600;
  border-radius: 5px;
  padding: 12px 35px;
  text-decoration: none!important;
  transition: background-color 0.3s, color 0.3s;
  letter-spacing: 0.2em;
  margin: 0 auto;
  max-width: 350px;
}

.section-1 .content .cta:hover {
  background-color: #FFFFFF;
  color: #F56600;
}

.section-1 .content a {
  text-decoration: none!important;
}

/* Background with fixed attachment */
.background-container {
    background: url('https://repo.local-car-finder.com/client/chino-hills-ford/images/bg-map-bp-scaled.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    align-items: center; 
    min-height: 100vh; 
    background-attachment: fixed; 
    background-size: cover; 
    background-position: center; 
    padding:100px;
}

.background-container section {
    width: 100%; 
    display: flex;
    align-items: center;
    z-index: 2; 
}

.services-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px; 
  padding: 20px;
}

/* Section 2 */

.section-2 {
  background-color: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 400px; 
  text-align: center;
  padding: 50px;
}

.section-2 h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 56px!important;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 20px;
  text-transform: uppercase;
}

.section-2 h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px!important;
  font-weight: 700;
  letter-spacing: 5px;
  color: #FFFFFF;
  margin: 0 0 20px;
  text-transform: uppercase;
}

.section-2 h3 span {
  color: #F56600;
  font-weight: 600;
}

/* Section 3 */

.section-3 {
    min-height: 350px;
    padding: 25px;
    background-size: cover;
    position: relative;
    background-position: center;
    overflow: hidden;
    background-image: var(--section-background-image, none);
    display: flex;
    border-bottom: 5px solid #F56600;
}

.section-3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #1E252B 0%, #1E252B 25%, transparent 100%);
    z-index: 1;
}

.background-container h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px!important;
  font-weight: 600;
  letter-spacing: 5px;
  color: #FFFFFF;
  margin: 0 auto;
  margin-bottom: 50px!important;;
}

.services-text-container {
    position: relative;
    width: 50%;
    text-align: left;
    z-index: 2; 
}

.services-text-container h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 34px!important;
    font-weight: 600;
    color: #FFFFFF;
    text-align: center;
    text-transform: uppercase;
    word-wrap: break-word;
}

.services-text-container hr {
    border: 0;
    border-top: 5px solid #F56600;
    width: 180px;
    margin: 30px auto;
}
.services-text-container {
  width: 100%;
  text-align: center;
}

.services-text-container p {
  text-align: center;
}


.logo-section {
  padding: 30px;
  background-color: #fff;
  text-align: center;
}


.logo-container {
  display: grid;
  grid-template-columns: repeat(9, 1fr); 
  gap: 20px;
  justify-items: center;
  align-items: center;
}


.logo-item img {
  max-width: 100%;
  height: auto;
  object-fit: contain; 
}

.logo-section h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px!important;
  font-weight: 600;
  letter-spacing: 5px;
  color: #000000;
  margin: 20px auto;
}

/* Responsive Design */

@media (max-width: 1200px) {
  .services-container {
    grid-template-columns: repeat(3, 1fr)!important;
  }

    .background-container {
        padding: 50px;
    }

    .services-text-container hr {
        margin: 35px auto;
        width: 100px;
    }
    .logo-container {
      grid-template-columns: repeat(6, 1fr); 
    }
}

@media (max-width: 768px) {

    .section-1 {
        padding: 100px 30px;
    }
    
    .section-1 h3 {
        font-size: 28px!important;
    }

    .section-1 h1 {
        font-size: 48px!important;
    }

    p {
        font-size: 14px!important;
    }
    .background-container {
      padding: 20px;
  }
    .services-container {
      grid-template-columns: repeat(2, 1fr)!important;
    }
    
    .section-2 {
      padding: 30px;
    }
    .section-2 h2 {
      font-size: 42px !important;
    }
  
    .section-2 h3 {
      font-size: 28px !important;
      letter-spacing: 3px;
    }

    .section-3 {
        padding: 30px;
    }


  .services-text-container hr {
    width: 120px;
  }

  .logo-container {
    grid-template-columns: repeat(4, 1fr); 
  }

}

@media (max-width: 600px) {

    .services-container {
      display: grid;
      grid-template-columns: 1fr!important; 
      width: 100%;
    }

    .section-1 h1 {
        font-size: 36px!important;
    }

    .section-1 h3 {
        font-size: 24px!important;
    }
 
    .section-2, .section-3 {
        padding: 30px;
    }
    .services-text-container hr {
      width: 100px;
    }
    .section-2 h2 {
      font-size: 32px !important;
    }
  
    .section-2 h3 {
      font-size: 20px !important;
      letter-spacing: 2px;
    }
}

@media (max-width: 480px) {
  .logo-container {
    grid-template-columns: repeat(2, 1fr);
  }
}



 /* Dealer.com Patches */
 .ddc-content.content-default {
    padding: 0;
  }

  .container.main {
    padding: 0
  }
  
  .push {display: none !important;}

  .content-page-title {
    display: none !important;
  }
  
  .container {
    width: 100% !important;
  }
  
  #page-body > div > div.yui3-u-1.ddc-span12 {
    padding: 0
  }

  .container-max-md{
    padding-left: 0; 
    padding-right: 0;
    max-width: 100%!important;
  }
  
  @media (min-width: 1200px) {
    .pr-xl-8, .px-xl-8 {
        padding-right: 0 !important;
    }
}
@media (min-width: 768px) {
  .p-md-5 {
      padding: 0 !important;
  }
}
@media (min-width: 992px) {
  .pl-lg-6, .px-lg-6 {
      padding-left: 0 !important;
  }
}
.p-4 {
  padding: 0 !important;
}
.pb-5, .py-5 {
  padding-bottom: 0 !important;
}
.pt-5, .py-5 {
  padding-top: 0 !important;
}

.display-4{
  font-family: 'Montserrat', sans-serif!important;
  font-size: 36px!important;
  font-weight: 600!important;
  letter-spacing: 5px!important;
  color: #FFF!important;
  margin-bottom: 50px!important;
}

.form-horizontal .form-group label {
  text-align: left!important;
  color: #FFFFFF!important;
  font-family: 'Montserrat', sans-serif!important;
  font-weight: 400!important;
}

.form-control::placeholder {
  color: #aaaaaa!important;
}

.btn-primary{
  border-color: #F56600!important;
    background: #F56600!important;
}

.responsive-type .page-bd .ddc-font-size-small,
.ddc-font-size-xsmall {
 color: #fff!important;
}

.col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .ddc-list-columns>li .key, .ddc-list-columns>li .type, .ddc-list-columns>li .value, .ddc-span1, .ddc-span10, .ddc-span11, .ddc-span12, .ddc-span2, .ddc-span3, .ddc-span4, .ddc-span5, .ddc-span6, .ddc-span7, .ddc-span8, .ddc-span9, .inventory-featured-default-extension-1 .yui3-u-1-8, .yui3-u-1, .yui3-u-1-12, .yui3-u-1-2, .yui3-u-1-3, .yui3-u-1-4, .yui3-u-1-5, .yui3-u-1-6, .yui3-u-11-12, .yui3-u-2-3, .yui3-u-3-4, .yui3-u-5-12, .yui3-u-5-6, .yui3-u-7-12 {
  float: none!important;
}

.col-xs-7, .ddc-list-columns>li .value, .ddc-span7, .yui3-u-7-12 {
  width: 100%!important;
}
.ddc-offset5.ddc-span7 {
  display: flex!important;
  justify-content: flex-start!important;
  align-items: center!important;
    margin-left: 0 !important; 
  }
  
  .ddc-span7 {
    width: 100% !important;    
  }
  
  .btn.btn-primary {
    width: 100% !important;    
    float: none !important;    
    display: block;   
    margin-top: 15px!important;          
  }

  .btn.btn-primary.ui-button-submit {
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif !important;
    letter-spacing: 5px !important;
    text-transform: uppercase; 
  }

  .bg-dark {
    background-color: #1E252B!important;
  }

  .form-control {
    color: #ffffff !important;
    background-color: #6a6c6d !important; 
    border: 1px solid #6a6c6d !important;  
}

.logo-carousel-container {
  overflow: hidden;
  width: 100%;
  padding: 20px 0;
  background: #fff
}

.logo-carousel-track {
  display: flex;
  width: max-content;
  animation: scroll 50s linear infinite;
}

.logo-slide {
  flex: 0 0 auto;
  width: 150px;             /* ✅ Uniform width */
  height: 100px;            /* ✅ Uniform height */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  box-sizing: border-box;
}

.logo-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;      /* ✅ Maintain aspect ratio and center */
  display: block;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .logo-slide {
    width: 100px;
    height: 70px;
    padding: 0 5px;
  }
}
