/* 
Theme Name: MotoMotion Child Theme
Theme URI: https://mattmcraedp.com
Description: MotoMotion Child Theme 
Author: MMD&P 
Author URI: https://mattmcraedp.com
Description: MotoMotion
Template: moto
Version: 1.0.1
Text Domain: dd-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/*
    Add your custom styles here
*/




#blurfilt::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            mask-image: linear-gradient(to bottom, transparent, black);
            -webkit-mask-image: linear-gradient(to bottom, transparent, black);
            z-index: -1;
        }


#blurmain::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            mask-image: linear-gradient(to bottom, transparent, black);
            -webkit-mask-image: linear-gradient(to bottom, transparent, black);
            z-index: -1;
        }




.elementor-12 .elementor-element.elementor-element-1a75c8c::before, .elementor-12 .elementor-element.elementor-element-1a75c8c > .elementor-background-video-container::before, .elementor-12 .elementor-element.elementor-element-1a75c8c > .e-con-inner > .elementor-background-video-container::before, .elementor-12 .elementor-element.elementor-element-1a75c8c > .elementor-background-slideshow::before, .elementor-12 .elementor-element.elementor-element-1a75c8c > .e-con-inner > .elementor-background-slideshow::before, .elementor-12 .elementor-element.elementor-element-1a75c8c > .elementor-motion-effects-container > .elementor-motion-effects-layer::before {
  --background-overlay: '';
  background-color: #8B00FF00;
  backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 90%);
	mask-image: linear-gradient(to bottom, transparent 0%, black 90%);
}



.video-container {
    position: relative;
    width: 100%;
    height: 90vh; 
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    -webkit-transform: translate(-50.01%, -50%);
    transform: translate(-50.01%, -50%);
    object-fit: cover;
	object-position: bottom center; 
}

.text-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 2rem;
    padding: 10px;
}


.main {
  height: 100vh;
  width: 100%;
}


.moto-carousel-wrapper {
    width: 100vw;
    overflow: hidden;
    position: relative;
    padding-left: 100px; /* Adjust this for the offset */
    box-sizing: border-box;
}

.moto-carousel-container {
    width: calc(100vw - 100px); /* Full width minus the offset */
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    transition: margin-left 0.3s ease-in-out; /* Add transition */
    margin-left: -100px; /* Offset to align the content */
}

.moto-carousel {
    display: flex;
    transition: transform 0.3s ease-in-out;
}

.moto-carousel-item {
    min-width: 900px;
    max-width: 900px;
    height: 600px;
    margin-right: 20px;
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.moto-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.moto-carousel-item h2 {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    font-size: 20px;
    text-shadow: 1px 1px 2px black;
}

.moto-carousel-controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.moto-carousel-controls button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 20px;
    cursor: pointer;
    margin: 0 10px;
}


.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
	padding-bottom: 150px;
}

.carousel-track {
    display: flex;
    transition: transform 0.3s ease-in-out;
}


.carousel-slide {
    position: relative;
    flex: 0 0 900px;
    width: 900px;
    height: 621px;
    margin-right: 20px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    color: white;
    text-align: left;
	opacity: 0;
	transform: translateY(30px); /* Start slightly moved down */
    transition: all 1.3s ease-in-out;
}




#carousel2 .carousel-slide { 
opacity: 1;
flex: 0 0 810px;
	width: 810px;
	height: 926px;
}

#carousel3 .carousel-slide { 
flex: 0 0 480px;
	width: 480px;
	height: 800px;
}



.carousel-slide.visible {
    opacity: 1;
	transform: translateY(0px); /* Start slightly moved down */
}

.carousel-slide img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
	border-radius: 8px; 
}

.slide-logo {
    position: absolute;
    top: 20px;    
    right: 20px  !important;  
    width: 200px  !important; 
    height: auto !important;
    z-index: 10 !important;
	object-fit: none !important;
	  transform: none !important;
    transition: none !important;
}

.carousel-slide .text-content {
    position: relative;
    z-index: 2;
  padding: 40px 
}

.carousel-slide h2 {
  font-size: 45px;
  margin: 0px 0px 1px 0px;
  font-family: "greycliff-cf", Sans-serif;
	text-transform: uppercase;
  font-weight: 600;
  letter-spacing: -2px;
}

.carousel-slide p {
  font-size: 19px;
  width: 570px;
  font-family: "tt-commons-pro", Sans-serif;
  letter-spacing: 1px;
  font-weight: 400;
}

.motologoblend {
  mix-blend-mode: multiply;
}

#logospin {
	mix-blend-mode: screen; 
}

.marg1 {
  margin-bottom: 12px !important;
}


#carousel3 .carousel-slide {
  position: relative;
  flex: 0 0 420px;
  width: 420px;
  height: 700px;
  margin-right: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  color: white;
  text-align: center;
  transition: all 1s ease-in-out;
  background: #00000017;
  padding: 0px;
  border-radius: 33px;
}

#carousel3 .carousel-slide img {
	position: relative;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px 8px 0px 0px;
  margin-bottom: 20px;
  mask-image: linear-gradient(to top, transparent 0%, black 50%);
  -webkit-mask-image:  linear-gradient(to top, transparent 0%, black 50%);

}

#carousel3 .text-content {
    padding: 0px 32px; 
    max-width: 100%; 
}

#carousel3 .carousel-slide h2 {
    font-size: 32px; /* Adjust font size as needed */
    margin: -35px 0px 15px 0px;
    font-family: "greycliff-cf", Sans-serif;
    font-weight: 700;
    letter-spacing: 0px;
	text-transform: none; 
}

#carousel3 .carousel-slide p {
    font-size: 19px;
	line-height: 1.4em; 
    width: 100%; 
    margin: 0;
    font-family: "tt-commons-pro", Sans-serif;
    letter-spacing: 1px;
    font-weight: 400;
	white-space: break-spaces; 
}




.carousel-nav {
    position: absolute;
    bottom: 60px; 
    left: 227px;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px; 
}

#carousel1 .carousel-nav {

  left: 240px;

}

.carousel-button {
  background: transparent;
  border: 1px solid rgb(183, 194, 175);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background 0.5s, border-color 0.5s, color 0.5s, opacity 0.5s;
  padding: 0;
	
}

.carousel-button svg {
    width: 50px; 
    height: 50px;
    stroke: #b7c2af;
    transition: stroke 0.5s;
}

.carousel-button:hover {
    background: none;
    border-color: rgba(255, 255, 255, 0.7);
	border: 1px solid rgb(0, 138, 163);
}

.carousel-button:hover svg {
    stroke: rgb(0, 138, 163);
}

.carousel-button.inactive {
    opacity: 0.5;
    cursor: none;
}



.carousel-button.inactive:hover {
  border: 1px solid white;
	cursor: default;
}

.carousel-button.inactive:hover svg {
  stroke: white;
}

.carousel-button:active:focus {
  background: none;
}

.carousel-button.carousel-button-left:focus {
  background: none;
}

.carousel-button.carousel-button-right:focus {
  background: none;
}

.carousel-button-left {
    transform: rotate(0deg); /* No need to rotate since the arrow is designed for left */
}


.carousel-dots {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-left: 20px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(92, 113, 104, 0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}



.carousel-dot.active {
    background-color: rgb(183, 194, 175);
}

.motoglobal {
  width: 100%;
  max-width: 600px !important;
  height: auto;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  border-radius: 8px;
}

@media (max-width: 1600px) {
    .motoglobal {
  max-width: 450px !important;
  
}
	
	.elementor-766 .elementor-element.elementor-element-7e927ad {
  width: 94% !important;

}
}


@media (max-width: 1500px) {
	
	.infinityflow.e-flex.e-con-boxed.e-con.e-child {
  min-height: 700px;
}
}


@media (max-width: 1400px) {
    .motoglobal {
  max-width: 400px !important;
  
}
	

}



@media (max-width: 1200px) {
.elementor-766 .elementor-element.elementor-element-7e927ad {
  width: 100% !important;

}
}


.motoglobal.visible {
    opacity: 1; /* Show video when it becomes visible */
}

#carousel-video {
  margin-left: 115px;
}

@media (max-width: 1200px) {
#carousel-video {
  margin-left: 60px;
}
}

@media (max-width: 1050px) {
#carousel-video {
  margin-left: 0px;
}
}


@media (max-width: 1768px) {
#carousel-video {
  float: right; 
}
}

#carousel-video-2 {
  float: left;
  margin-top: 40px;
}



.infinityflow .elementor-html5-video {
  -o-object-fit: contain;
  object-fit: contain;
}


 /* Site Core Footer */

#site-footer {
  display: none;
}


.textscroller1 {
  top: 300px;
}

@media (max-width: 1665px) {
.textscroller1 {
  top: 80%;
}

}

@media (max-width: 1100px) {
.textscroller1 {
  top: 85%;
}

}

@media (max-width: 768px) {
.textscroller1 {
  top: 70%;
}

}


#collectiontop {
 background: rgb(0,139,164);
background: linear-gradient(0deg, rgba(0,139,164,1) 0%, rgba(0,37,104,1) 44%, rgba(73,0,87,1) 82%); 
}


#collectiontop2 {
  background: rgb(0,139,164);
  background: linear-gradient(0deg, rgb(15, 22, 23) 0%, rgb(0, 37, 104) 44%, rgb(73, 0, 87) 82%);
}

#collectiontop3 {
  background: rgb(0,139,164);
  background: linear-gradient(0deg, rgb(134, 64, 30) 0%, rgb(0, 37, 104) 44%, rgb(53, 0, 64) 82%);
}

#collectiontop4 {
  background: rgb(0,139,164);
  background: linear-gradient(0deg, rgb(0, 139, 164) 0%, rgb(0, 17, 47) 44%, rgb(0, 0, 0) 82%);
}


.collectionbutton {
  font-family: "greycliff-cf", sans-serif;
  font-weight: 700;
  color: #fff;
  background: #008BA4;
  padding: 10px;
  border-radius: 3px;
  position: relative;
	transition: ease-in-out all 0.5s; 
	font-size: 16px;
	line-height: 16px; 
}

@supports not (-webkit-touch-callout: none) {
  .collectionbutton {
    padding: 13px 10px 10px 10px; /* Extra padding for Firefox & Chrome */
  }
}


.buttonpaddingfix .elementor-button {
	padding: 10px 15px; 
}

@supports not (-webkit-touch-callout: none) {
  .buttonpaddingfix .elementor-button {
    padding: 13px 15px 10px 15px; /* Extra padding for Firefox & Chrome */
  }
}

.collectionbutton:hover {

  color: #fff;
  background: #f06920;
 
}



#motomenu .elementor-nav-menu--dropdown {
  padding-top: 2px;
}

.scroll-indicator {
  position: relative;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  opacity: 0;
  animation: moveDownFade 1.5s ease-in-out infinite;
}

@keyframes moveDownFade {
  0% {
    transform: translateX(-50%) translateY(0);
    opacity: 0;
  }
  50% {
    transform: translateX(-50%) translateY(10px);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
  }
}

/*

.e-n-tabs-content .e-active {
    animation: fadeIn 5s ease-out;
}

*/

.tabletbreak {
  display: none;
}



@media (max-width: 768px) {
.tabletbreak {
  display: block;
}

}

@media (max-width: 768px) {
.collectionbutton {
  padding: 5px 10px;
  border-radius: 3px;
  position: relative;
	font-size: 16px; 
}

}




 /* Improved Animations */

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translate3d(0,-30px,0)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.elementor-element.fadeInDown {
    animation-name: fadeDown
}

@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translate3d(-30px,0,0)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.elementor-element.fadeInLeft {
    animation-name: fadeLeft
}

@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translate3d(30px,0,0)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.elementor-element.fadeInRight {
    animation-name: fadeRight
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translate3d(0,30px,0)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.elementor-element.fadeInUp {
    animation-name: fadeUp
}


.card {
    opacity: 1; /* Initially visible */
    transition: all 1s ease-in-out; /* Transition for fade-in-up effect */
    transform: translateY(0); /* Start position */
}

/* Applied when JavaScript is enabled */
.js-enabled .card {
    opacity: 0; /* Start hidden */
    transform: translateY(20px); /* Start slightly moved down */
}

.card.visible {
    opacity: 1; /* Visible */
    transform: translateY(0); /* Moved to original position */
}


#blurfoot {
  backdrop-filter: blur(7px) brightness(200%) contrast(90%);
  -webkit-backdrop-filter: blur(7px) brightness(200%) contrast(90%);
}

.site-footer {
  background: black;
}

.footerlogo {
    display: inline-block;
}

.motohead {
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}


	.mobilepic {
		display: none;
	}
	
	.desktoppic {
		display: block; 
	}



.tabbuttons .e-n-tab-title[aria-selected="true"] {
  transform: scale(1.07);
}

.e-n-tabs > .e-n-tabs-heading > .e-n-tab-title[aria-selected="false"]:not(:hover) {
  background: var( --e-global-color-47cb4fc );
  background-color: transparent;
  background-image: linear-gradient(180deg, var( --e-global-color-47cb4fc ) 0%, #030736 100%);
  opacity: 0.6;
}


.stickyimg {
    position: -webkit-sticky; /* For Safari */
    position: sticky;
    top: 200px; 
}

#collectiontop5 {
  margin-top: -100px;
}



#tabsticky .e-n-tabs-heading {
  position: sticky;
  top: 80px;
  z-index: 9;
  padding: 20px;
  background: white;
}

.stickyimg2 {
    position: -webkit-sticky; /* For Safari */
    position: sticky;
    top: 200px; 
}

/*
#ssq-uid-1278-0-785 {
  opacity: 1 !important;
}

*/

.mobonly {
		display: none; 
	}


@media (max-width: 1420px) {

#blurfoot {
  padding: 20px;
}
	
}

@media (max-width: 1420px) {

	.elementor-element.elementor-element-1ee31de.e-con-full.animated-slow.e-flex.e-con.e-parent.e-lazyloaded {
  background-color: black;
}
}
	


@media (max-width: 768px) {
	
#blurfoot {
  padding: 40px;
}
	
	
#tabsticky .e-n-tabs-heading {

  top: 75px;

}

	
	.mobonly {
		display: block; 
	}
	
.pop {
  object-position: right;
}
	
	
.carousel-slide .text-content {
  width: 100%;
}
	
	
	.carousel-slide h2 {
  font-size: 35px;
 
}
	
	
	.carousel-slide {
  position: relative;
  flex: 0 0 300px;
  width: 300px;
  height: 450px;
		margin-right: 20px; 
 
}
	
	.mobilepic {
		display: block;
	}
	
	.desktoppic {
		display: none; 
	}
	
.carousel-slide .text-content {

  padding: 25px;
	width: 98%;
}
	
	.carousel-slide p {
  font-size: 16px;
  width: 98%;
 
}
	
	#carousel1 .carousel-nav {
  left: 152px;
}
	
	
#carousel3 .carousel-slide {
  flex: 0 0 300px;
  width: 300px;
  height: 600px;
	margin-right: 20px; 
  
}	
	
	#carousel3 .carousel-slide h2 {
  font-size: 27px;

 
}
	
	#carousel3 .carousel-slide p {
  font-size: 16px;
  white-space: collapse;
}
	
	.carousel-nav {

  left: 154px;

}
	
	.elementor-element.elementor-element-1ee31de.e-con-full.animated-slow.e-flex.e-con.e-parent.e-lazyloaded {
  background-color: black;
}
	
	
}




