/*
 Theme Name:   Understrap Child
 Theme URI:    https://understrap.com
 Description:  Understrap Child Theme
 Author:       the Understrap Contributors
 Author URI:   https://github.com/understrap/understrap-child/graphs/contributors
 Template:     understrap
 Version:      1.2.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  understrap-child
 Tags: one-column, custom-menu, featured-images, theme-options, translation-ready
 GitHub Theme URI: understrap/understrap-child
*/

* {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  color: #fff;
  background-color: #111;
}

.header {
  background-color: #000000;
  background-image: url('assets/images/bg.jpg');
  background-position: top;
  background-size: cover;
  background-repeat: no-repeat;
  height: 80px; /* adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.header-left {
  flex: 0 0 auto; /* Only as wide as logo needs */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 200px; /* Optional: prevent collapse */
}

.header-center {
  flex: 1 1 0; /* Take up remaining space */
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 300px; /* Prevent collapse */
}

.header-right {
  flex: 0 0 auto; /* Only as wide as CTA needs */
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 200px; /* Optional */
}

.nav a {
  margin: 0 1rem;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.logo-wrapper {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
}

.logo {
  max-height: 50px;
  height: auto;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.script-row {
  display: flex;
  gap: 0.3rem;
}

.script {
  font-family: 'Lobster', cursive;
  font-size: 2.5rem;
  color: #a82c10;
  line-height: 1;
}

.script--auto {
  position: relative;
}

.tagline-wrapper {
  display: flex;
  justify-content: right;
  align-items: center;
  width: 100%;
  margin-top: -0.4rem; /* Adjust as needed for vertical alignment */
}

.tagline {
  position: relative;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.0rem;
  letter-spacing: 0.2em;
  color: #cd7f32;
  overflow: hidden;
  white-space: nowrap;
  display: inline-block;
}

.tagline::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmer 2.5s infinite;
  mix-blend-mode: screen;
  z-index: 1;
  pointer-events: none;
  animation-delay: 1s;
}



.car-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.car-wrapper:hover .headlight-overlay {
  animation: none; /* Stop flicker */
  opacity: 1;       /* Make beam solid */
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.6); /* Optional glow */
}

.headlight-overlay {
  position: absolute;
  top: 50%;                         /* target the horizontal midline */
  left: 0;
  width: 100%;
  height: 8px;                      /* narrow beam effect */
  transform: translateY(-50%);
  transition: opacity 0.2s ease, box-shadow 0.2s ease;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.4) 50%,
    rgba(255,255,255,0) 100%
  );
  animation: headlightBeam .08s infinite ease-in-out;
  pointer-events: none;
}

@keyframes headlightBeam {
  0%, 100% { opacity: 0.1; }
  50%      { opacity: 0.7; }
}

@keyframes flyInRight {
  0% {
    transform: translateX(100vw); /* Start off-screen to the right */
    opacity: 0;
  }
  60% {
    opacity: 1;
  }
  100% {
    transform: translateX(0); /* End at its natural position */
  }
}

/*
.footer {
  background-image: url('assets/images/bg.jpg');
  background-position: bottom;
  background-size: cover;
  background-color: #000000;
  height: 150px; /* adjust as needed */
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

*/

.footer-content {
  background-color: rgba(0, 0, 0, 0.5); /* Optional overlay for readability */
  padding: 20px;
  border-radius: 8px;
}

/* Outer shell: full-width black bar */
.footer {
  background: #000 url('assets/images/bg.jpg') bottom / cover no-repeat;
  color: #fdf6e3;
}

/* Centers and constrains content */
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.main-content {
  padding: 40px 20px;
  text-align: center;
}

.shimmer {
  position: relative;
  display: inline-block;
  color: #cd7f32;
  background-color: transparent;
  overflow: hidden;
}

.shimmer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 200%;
  height: 80%;
  background: radial-gradient(
    circle at center,
    rgba(255,255,255,0.3) 0%,
    rgba(255,255,255,0.1) 30%,
    rgba(255,255,255,0.02) 60%,
    rgba(255,255,255,0) 90%
  );
  animation: shimmerSweep 2.5s infinite ease-in-out;
  pointer-events: none;
}


@keyframes shimmerSweep {
  0% {
    left: -150%;
  }
  50% {
    left: 50%;
  }
  100% {
    left: 150%;
  }
}

.header-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.cta-button {
  background-color: #a82c10;
  color: #fff;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
}

.social-cta-icons {
  display: flex;
  gap: 0.5rem;
}

.social-cta-icons img {
  height: 32px;
  width: 32px;
  border-radius: 6px;
  transition: transform 0.2s ease, filter 0.2s ease;
  filter: drop-shadow(0 0 2px rgba(0,0,0,0.3));
}

.social-cta-icons img:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

/*
.header-left::after,
.header-center::after,
.header-right::after {
  content: 'END';
  color: lime;
  font-weight: bold;
  margin-left: 10px;
}
*/

@media (max-width: 768px) {
  .header-left,
  .header-center,
  .header-right {
    width: 100%;
    text-align: center;
    margin-bottom: 1rem;
  }

  .nav a {
    display: inline-block;
    margin: 0.5rem;
  }

  .social-cta-icons img {
    width: 32px;
    margin: 0 6px;
  }

  .cta-button {
    width: 80%;
    max-width: 300px;
    margin: 0.5rem auto;
    display: block;
  }

  .logo-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .script-row {
    flex-direction: column;
    align-items: center;
  }
}

.logo-wrapper,
.script-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

#wpadminbar .coming-soon-indicator > a {
  background-color: #a82c10 !important;
  color: #fff !important;
  font-weight: bold;
  padding: 0 8px;
  border-radius: 4px;
}

#wpadminbar .coming-soon-toggle > a {
  background-color: #222 !important;
  color: #fff !important;
  font-weight: bold;
  padding: 0 8px;
  border-radius: 4px;
}

.hero-intro {
  background-color: #e1c184 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.hero-image img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.image-placeholder {
  background-color: #f4f4f4;
  color: #a82c10;
  padding: 2rem;
  border: 2px dashed #cd7f32;
  border-radius: 8px;
  font-style: italic;
}

.coming-soon-badge {
  background-color: #fff3cd;
  color: #856404;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-style: italic;
}

.sitewide-cta {
  background-color: #000;
  color: #fff;
  padding: 3rem 2rem;
  text-align: center;
}

.cta-inner {
  background-color: #fff3cd;
  padding: 2rem;
  border-radius: 8px;
  display: inline-block;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.btn-quote,
.btn-inventory {
  background-color: #a82c10;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}
.hero-front {
  background-color: #e1c184;
  padding: 5rem 2rem;
  color: #000000;
  text-align: center;
  position: relative;
}

.hero-front.has-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #000000;
}

.hero-front h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 0px 0px 10px #7C200B;
}

.hero-front .lead {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 2rem;
  text-shadow: 0px 0px 10px #000000;
}
.business-hours-widget {
  background-color: #fdf6e3;
  border: 2px solid #333;
  border-radius: 12px;
  padding: 20px;
  max-width: 300px;
  font-family: 'Courier New', Courier, monospace;
  color: #222;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
}

.business-hours-widget .location {
  text-align: center;
  margin-bottom: 15px;
  font-size: 1rem;
  line-height: 1.4;
}

.business-hours-widget .hours ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.business-hours-widget .hours li {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px dashed #ccc;
  font-size: 0.95rem;
}

.business-hours-widget .hours li span {
  font-weight: bold;
  color: #444;
}


.services-block {
  position: relative;
  height: 320px;
  overflow: hidden;
  box-shadow: none !important;
}

.services-block .block-header {
  margin: -2rem -2rem 1rem -2rem; /* pulls it outside the padded area */
  padding: 1rem 2rem;
  background: transparent;
  box-shadow: none !important;
  border-bottom: 1px solid rgba(255,255,255,0.2); /* optional accent line */
  text-align: left;
}

.services-block .block-title {
  box-shadow: none !important;    
  font-size: 1.5rem;
  margin: 0;
  color: #fff;
  font-weight: 600;
}


.rotating-service {
  box-shadow: none !important;    
  position: relative;
  height: 100%;
}

.service-entry {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out;
}

.service-entry.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}


.service-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.service-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.icon-placeholder {
  font-size: 1.75rem;
}

.service-title {
  font-size: 1.25rem;
  margin: 0;
}

.service-summary {
  font-size: 1rem;
  line-height: 1.5;
}
.block-header {
  margin-bottom: 1rem;
  text-align: left;
}

.block-title-link {
  text-decoration: none;
}

.block-title {
  font-size: 1.5rem;
  margin: 0;
  color: #fff; /* or whatever fits your theme */
}

.testimonials-page .container {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.testimonial-item {
  color: #000000;
  background: #f5f5f5;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.testimonial-item h3 {
    color:#7C200B !important;
}

.testimonial-form h2 {
  margin-bottom: 1rem;
}
.testimonials-block {
  position: relative;
  height: 320px;
  overflow: hidden;
  font-family: 'Bebas Neue', sans-serif;
}

.rotating-testimonial {
  box-shadow: none !important;
  position: relative;
  height: 100%;
}

.testimonial-entry {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out;
}

.testimonial-entry.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.testimonial-text {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-size: 1rem;
  color: #cd7f32;
}
.testimonials-block .block-header {
  margin: -2rem -2rem 1rem -2rem; /* cancels out grid-item padding */
  padding: 1rem 2rem;
  background: transparent;
  box-shadow: none;
  border-bottom: 1px solid rgba(255,255,255,0.2); /* optional accent */
  text-align: left;
}
.testimonial-entry {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out;
}

.testimonial-entry.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
/* Your 3-column layout */
.footer-3-column {
  font-family: 'Courier New', Courier, monospace;
}

.footer-overlay {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  padding: 20px;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.footer-col {
  flex: 1 1 30%;
  min-width: 200px;
}

.footer-col h4,
.footer-widget h4.widget-title {
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: #fff;
}

.footer-col p,
.footer-col ul,
.footer-widget p,
.footer-widget ul {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-col ul,
.footer-widget ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li,
.footer-widget ul li {
  margin-bottom: 6px;
}

.footer-col a,
.footer-widget a {
  color: #fdf6e3;
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
}

/* Mobile stacking */
@media (max-width: 768px) {
  .footer-columns {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-col {
    flex: 1 1 100%;
    margin-bottom: 20px;
  }
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}