/* 
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; 
}


#video-container2 .background-video {
 
	object-position: center center; 
}



#video-container2 .video-container {

  height: 100vh;

}

.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: 32px; 
}

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

.carousel-slide h2 {
  font-size: 45px;
  margin: 0px 0px 5px 0px;
  font-family: "articulat-cf", Sans-serif;
  font-weight: 400;
  letter-spacing: -0.3px;
}

.carousel-slide p {
  font-size: 19px;
  width: 570px;
  margin: 0;
  font-family: "neue-haas-grotesk-display", Sans-serif;
  letter-spacing: 0.7px;
  font-weight: 400;
}

.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: 33px 33px 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: "articulat-cf", Sans-serif;
    font-weight: 400;
    letter-spacing: -0.3px;
}

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




#carouseltech .carousel-slide {
  position: relative;
  flex: 0 0 475px;
  width: 475px;
  height: 670px;
  margin-right: 45px;
  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;
}


#carouseltech .carousel-slide img {

  border: 2px solid #fff;
}


.carousel-nav {
    position: absolute;
    bottom: 50px; /* Adjust as needed */
    left: 227px;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px; /* Space between the buttons */
}

#carousel1 .carousel-nav {

  left: 240px;

}

.carousel-button {
  background: transparent;
  border: 1px solid rgb(255, 255, 255);
  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;
	
}


.wirelesstext {
	max-width: 600px;

}

@media (max-width: 1600px) {

.wirelesstext {
	max-width: 100%;
}
}


@media (max-width: 1520px) {

.wirelessheader {
	text-wrap: balance; 
}
}



#wavesmain {
  position: absolute;
  bottom: 0;
}

@media (max-width: 1024px) {
	#wavesmain {
  position: absolute;
  top: 0;
}
}


.carousel-button svg {
    width: 50px; /* Adjust the size of the SVG */
    height: 50px;
    stroke: white;
    transition: stroke 0.5s;
}

.carousel-button:hover {
    background: none;
    border-color: rgba(255, 255, 255, 0.7);
	border: 1px solid rgb(240, 105, 32);
}

.carousel-button:hover svg {
    stroke: rgb(240, 105, 32);
}

.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: white;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}



.carousel-dot.active {
    background-color: rgb(240, 105, 32);
}

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

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

}
}

@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-2 {
  float: left;
  margin-top: 40px;
}


.mobile-poster { display: none; }

@media (max-width: 768px) {
    .desktop-poster { display: none; }
    .mobile-poster { display: block; }
}


 /* 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);
}

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

*/

.mobonly {
		display: none; 
	}


.mobilecarou {
		display: none;
	}
	
	.desktopcarou {
		display: block; 
	}


@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;
}

	



	.immersiveimage img {
  max-width: 600px;
  margin-top: 14px;
}
	
}

@media (max-width: 1024px) {


	.immersiveimage img {
  max-width: 100%;
  margin-top: 0px;
}
	
}
	


@media (max-width: 768px) {
	
	
	#carouseltech .carousel-slide {
  position: relative;
  flex: 0 0 275px;
  width: 275px;
  height: 400px;
  margin-right: 25px;

}



@media (max-width: 768px) {
	
	
	.mobilecarou {
		display: block;
	}
	
	.desktopcarou {
		display: none; 
	}
	
#blurfoot {
  padding: 40px;
}
	
	.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: 621px;
		margin-right: 20px; 
 
}
	
.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;
}
	
	
}



/* ==============================
   Patents Table Styling
   ============================== */

.inv-table { max-width: 850px; margin: 0 auto; }

/* --- Patents list grid --- */
.patent-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px 40px;
  list-style: none;
  margin: 0;
  padding: 10px;
}
.patent-list li{
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
  white-space: nowrap;
}


.inv-table tbody td:first-child {
  vertical-align: middle;
  font-size: 20px;
  font-weight: 600;
  color: #222;
  padding: 0px 10px 0px 20px;
  white-space: nowrap;
  font-family: "articulat-cf", Sans-serif;
  background: #cecece !important;
	width: 260px; 
}

.inv-table tbody tr:hover > td:first-child {
  background: #cecece !important;
}

/* --- Header --- */
.inv-table thead th {
  background:#0F0F0F; color:#fff;
  font-size: 18px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em;
  padding: 10px 20px; text-align: left;
  font-family: "articulat-cf", Sans-serif;
}

.inv-table thead tr:hover > th { background:#0F0F0F !important; }

/* --- Stripes for data cells EXCEPT first column --- */
.inv-table tbody tr:nth-child(odd)  > :not(:first-child) { background:#f8f8f8; }
.inv-table tbody tr:nth-child(even) > :not(:first-child) { background:#fff; }

/* --- Hover colors for data cells EXCEPT first column --- */
.inv-table tbody tr:nth-child(odd):hover  > :not(:first-child) { background:#f8f8f8 !important; }
.inv-table tbody tr:nth-child(even):hover > :not(:first-child) { background:#fff !important; }



/* --- Responsive --- */
@media (max-width: 768px) { .patent-list { grid-template-columns: repeat(3, auto); } }
@media (max-width: 665px) { .patent-list { grid-template-columns: repeat(2, auto); } }
@media (max-width: 480px) { .patent-list { grid-template-columns: auto; } }


@media (max-width: 560px) {  
.inv-table tbody td:first-child {
  vertical-align: middle;
  font-size: 17px;
  font-weight: 600;
  color: #222;
  padding: 0px 10px 0px 10px;
  white-space: nowrap;
  font-family: "articulat-cf", Sans-serif;
  background: #cecece !important;
  width: 260px;
}
	
	.inv-table thead th {

  padding: 10px;

}

}


