/* fonts */

h1, h2, h3, h4, h5, h6 {
  text-transform: uppercase;
}

@import url('https://fonts.googleapis.com/css2?family=Leckerli+One&display=swap');

/* Carousel wrapper background */
.cw-carousel-wrapper {
  background: url("https://cdn.powersports.com/cdn-cgi/image/h=1440,w=1920/92E15E3BD8F50815D5760B835904BC28.jpg") no-repeat center center;
  background-size: cover;
}

/* Overlay on each slide */
.cw-carousel-item {
  position: relative;
}
.cw-carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}
.cw-carousel-item img {
  position: relative;
  z-index: 0;
}

/* Caption text */
.cw-carousel .cw-carousel-caption {
  z-index: 2;
}

/* Fancy Text */
.cw-fancy-text {
  font-size: 2.5rem; /* reduced from 3rem */
  text-align: right;
  margin-bottom: 2rem;
  color: #fff;
}
.cw-fancy-text .outlined {
  text-shadow: 
    -1px -1px 0 #fff,  
     1px -1px 0 #fff,
    -1px  1px 0 #fff,
     1px  1px 0 #fff;
}
.cw-fancy-text .cursive {
  font-family: 'Leckerli One', cursive;
  color: var(--color-theme-primary);
  display: block;
  margin-top: -1.2rem;
  font-size: 3rem; /* reduced from 3.5rem */
}

/* Tablet breakpoint */
@media (max-width: 992px) {
  .cw-fancy-text {
    font-size: 1.6rem;
    text-align: center;
    max-width: 98%;
    margin: 0 auto 1.5rem;
  }
  .cw-fancy-text .cursive {
    font-size: 2.3rem;
    margin-top: -0.6rem;
  }
}

/* Mobile breakpoint - hide text */
@media (max-width: 768px) {
  .cw-fancy-text {
    display: none;
  }
}

/* Arrows (make them visible/white) */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 2rem;
  height: 2rem;
  filter: invert(100%);
}


/* homepage cards */

	.cw-iconbuttons {
		padding: 1rem 0;
	}

	.cw-iconbuttons .cw-buttonrow {
		display: flex;
		flex-flow: row wrap;
		justify-content: center;
		align-items: stretch;
	}

	.cw-iconbuttons .cw-buttonbox {
		flex-grow: 1;
		flex-basis: 90%;
		margin: 1rem;
		background: #eaeaea;
		padding: 3rem 1rem;
		border: 3px solid #203359;
		text-align: center;
		transition: transform 0.4s ease, border 0.4s ease; /* smooth zoom + border */
        box-shadow: 0 0 6px rgba(0, 0, 0, 0.4); /* even shadow all around */
	}

	.cw-iconbuttons .cw-buttonbox:hover {
		border: 3px solid #203359;
		transform: scale(1.03); /* smooth zoom in */
	}

	/* Font Awesome icons */
	.cw-iconbuttons .cw-buttonbox i {
		font-size: 60px; /* adjust size */
		color: #203359;
		margin-bottom: 0.5rem;
	}

	.cw-iconbuttons .cw-buttonbox h5 {
		font-size: 1.4rem;
		text-transform: uppercase;
		font-weight: 700;
		margin: .5rem auto;
		color: var(--color-theme-secondary);
	}

	@media (min-width: 576px) {
		.cw-iconbuttons .cw-buttonbox {
			flex-basis: 45%;
		}
	}

	@media (min-width: 992px) {
		.cw-iconbuttons .cw-buttonbox {
			flex-basis: 30%;
		}
	}

	@media (min-width: 1200px) {
		.cw-iconbuttons .cw-buttonbox {
			flex-basis: 22%;
		}
	}

	/* homepage financing */

	  .cw-buyhere {
    font-size: 3em;
  }

  .cw-check-text {
    display: inline-block; /* keeps block centered */
    text-align: left;      /* aligns list content left */
  }

  .cw-check-text ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
  }

  .cw-check-text ul li {
    margin-bottom: 5px;
  }

  .cw-check-text ul i {
    color: #b0b0b0;
    margin-right: 8px;
    width: 20px;   /* ensures all text lines up */
    text-align: center;
  }

  .cw-bringcopies{
	font-weight: bold;
	margin-bottom: 3px !important;
  }

/* service cards */

.cw-service-boxes {
  padding: 0 0 2em 0;
}

.cw-service-boxes h2 {
  margin-bottom: 1em;
}

.cw-service-boxes .cw-box {
  border: 3px solid var(--color-theme-primary);
  margin-bottom: 2em;
  padding: 2em .75em 1em;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center; /* center content horizontally */
  text-align: center;  /* center text inside */
}

.cw-service-boxes .cw-icon {
  border-radius: 10px;
  padding: 12px;
  max-width: 85px;
  margin: 0 auto 1em auto;
}

.cw-service-boxes .cw-box img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* inventory page */

.inventory-cta .btn:hover {
    color: #fff !important;
    background-color: var(--inventory-highlight) !important;
}

@media (min-width: 992px) {
	.header .dropdown-menu[data-bs-popper] {
		/* make navbar dropdowns right aligned so they don't go off page when navbar is right aligned */
		left: unset;
		right: 0;
	}
}

	.contact-companyinfo .contact-email .contact-details-info,
	.header .header-business-email,
	.footer .footer-business-email {
		overflow-wrap: anywhere;
	}
