:root{

    --primary-color: #FA8128;
    --secondary-color: #FFC000;
    --secondary-grey: #bdbdbd;
    --secondary-blue: #318CE7;
    --_animation-duration: 20s;
}
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior: smooth;
}

body{
    display: flex;
    flex-direction: column;
     min-height: 100vh;

    /* min-width: 400px; */
}

html{
    height: 100%;
}

div, nav{   
    font-family: "Lato", sans-serif;
    font-optical-sizing: auto;

}

.homepage-slide{
    height: 60%;
}


.logo-container{
    margin: 10px;
}

.logo{
    width:200px;
    height:70px;
    /*background-color: white;*/
    border-radius: .7em;
    filter: drop-shadow(0px 2px 3px rgba(0,0,0,0.2));
}

.links-container{
    display:flex;
    justify-content: space-between;
    list-style: none;
}

.links{
    text-decoration: none;
    color: #1e1e1e; /* dark grey for readability */
    font-size: 1.2em;
    margin: 0 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

.links:hover{
    /* border-bottom: 2px solid var(--secondary-blue); */
    border-bottom: 2px solid var(--secondary-blue); /* brand blue */
}
.billboard-text {
    position: absolute; /* overlays on top of image */
    bottom: 0; /* stick it at the bottom */
    left: 0;
    width: 100%; /* full width */
    background: rgba(0, 0, 0, 0.6); /* black with opacity */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    text-align: center;
}

.headline {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.message {
    display: none;
    transition: opacity 0.5s ease;
}

.message.active {
    display: inline-block;
    opacity: 1;
}



.billboard-slider-container{
    /* position: relative;
    display: flex;
    justify-content: center; */
    margin: 0.2em auto;        
    width: 90%;
    height: 50%;
    /* height: 715px; */
    /* overflow: hidden; */
}

.billboard-container{
    display: flex;
    height: 100%;
    /* min-height: 300px; */
}

.billboard{
    position: relative;
    display:flex;
    justify-content: center;
    /* margin: 12px;    */
    width: fit-content;
}
.prod-cat{
    position: relative !important;
}

.prod-cat:hover .dropdown{
    display: block;
}

.dropdown-menu{
    width: max-content;
    padding: 1em;
    background-color: var(--primary-color) !important;
   
}
.sub-cat-links{
    display: none;
    transition: 0.2s;
}
.category-link a{
    color: white;
    text-decoration: none;

}
.main-cat-link{
    margin: 0.3em; 
    border-bottom: 2px solid black;
}
/* .billboard-container{
    display: flex;
    justify-content: center;
} */


.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* black with 40% transparency */
  border-radius: 0.5rem; /* match image rounding */
}

.welcome-msg{
    color: white;
    font-size: 2em;
    text-align: center;
}

.phrase{
    font-size: 1.5em;
}

#daiko-text{
    font-weight: 700;
}

.welcome-msg-container{
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
}

.img-con{
    width: 100%;
    position: relative;
}


.billboard-images{
    width: 100%;
    height: 60%;
    overflow: hidden;

    border-radius: 20px;
    /* border-radius: 20px; */
    object-fit: contain;
}


.prev, .next{
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: fit-content;
    height: fit-content;
    padding: 0.2em;
    border: none;
    color: var(--secondary-blue);
    background-color: var(--secondary-color);
    font-size: 2rem;
    /* padding: 1rem; */
}

.prev{
   left: 0;
}
.next{
    right: 0;
}

.prev:focus, .next:focus{
    outline: none;
}

.intro{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background: rgba(243, 236, 229, 1);
    position: relative;
    padding: 20px;
    margin-top: 50px;
    gap: 30px;

    flex-wrap: wrap;
}

.tri{
    position: absolute;    
}

.tri img{
    object-fit: contain;
    width: 100px;
    height: 100px;
}

.r-tri{
    top:-9%;
    right:0;
}
.l-tri{
    bottom: -9%;
    left: 0;
}

.intro-img{
    min-width: 300px;
    width: 90%;
    object-fit: contain;
}

.intro-message{
    margin-left: 10px;
    width: 600px;
    height: fit-content;
}

.cta-container{
    margin-top: 20px;

}

.call-to-action{
    text-decoration: none;
    font-weight: 700;
    color: black;
    padding: 0.7em;
    border: 1px solid black;
    transition: 0.5s;
}

.call-to-action:hover{
    background-color: var(--secondary-color);
    /* color: var(--secondary-grey); */
    transition: 0.5s;
    transform: scale(2.5);
    border: 1px solid var(--secondary-blue);

}


.within-nai, .outside-nai{
    width: 100px;
    /* height: 100px; */
    /* background-color: #bdbdbd; */
    border-radius: 0.5em;
    padding: 0.2em;
    box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1);
}

.within-nai-icon, .outside-nai-icon{
    font-size: 2.5em;
    text-align: center;
}

.delivery-info-text{
    font-size: 0.7em;
    width: 100px;
    text-align: center;
}

.products-sample{
    display:flex;
    justify-content: center;
    flex-direction: column;
    margin: 50px;
    align-items: center;
    min-width: 400px;
    min-height: 400px;
    /* background-color: rgb(172, 168, 168); */
}
.prod{
    margin: 5px;
    box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.5);
    border-radius: 0.5em;
}

.prod > p{
    text-align: center;
}
.sample-container{
    display:flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.products{
    width: 200px;
    height: 200px;
    object-fit: contain;
    transition: 0.5s;
}


.cta-products:hover{
    box-shadow: 1px 10px 15px 3px rgba(0,0,0,);
}

.products:hover{
    transform: scale(1.2);
    transition: 0.5s;
}

.about-us-container{
    margin-top: 50px;
    background: rgba(243, 236, 229, 1);
    display: flex;
    padding: 1em;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    height: fit-content;
    align-items: center;
}   

.about-us-image{
    /* object-fit: contain; */
    width: 80%;
    height: 80%;
    min-width: 300px;
    border-radius: 10px;
}

.about-us{
    border-left: 1px solid black;
    padding: 1em;
    width: 35%;
    min-width: 350px;
}

.about-us-title{
    text-align: center;
}

.about-us > p{
    text-align: justify;
}

.latest-news-container{
    width:50%; 
    border:1px dashed var(--secondary-blue); 
    padding: 1.5em; border-radius: 1em;
}
.rim-photo-container{
    position: relative;
    height: fit-content;
    display: flex;
    justify-content: center;
    align-content: center;
}

.rim-credit-text{
    position: absolute;
    bottom: 0;
    left: 1%;
    color: white;
}

.navbar{
    /*background: var(--primary-color);*/
    background-color: #f5f5f5;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1); /* subtle shadow */
    padding: 0.8rem 1.5rem;
}

footer{
    margin-top: auto;
    background: var(--secondary-blue);
    /* background: rgb(49,140,231); */
    /* background: linear-gradient(53deg, rgba(49,140,231,1) 47%, rgba(255,192,0,1) 47%); */
    background-color: var(--secondary-color);
    /* color: #FEFCFC; */
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    min-height: 300px;
}
.footer-content-container{
    display: flex;
    width: 50%;
    justify-content: center;
    align-self: center;
    flex-wrap: wrap;
}
.socials{
    color: #FEFCFC;   
    margin: 1em; 
    text-decoration: none;   
}

.fa-facebook-f, .fa-instagram{
    border: 1px solid white;
    width: 2em;
    height: 2em;
    font-size: 1.5rem;
    display: flex;
    text-align: center;
    align-content: center;
    border-radius: 50%;
}

.fa-facebook-f:hover, .fa-instagram:hover{
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transition: 0.5s;
}

.business-info{
    margin: 0.7rem;
    min-width: 300px;
    color: black;
    width: 40%;
}

.car-brand-container{
   max-width: 600px;
}

.car-brand{
    width: 7rem;
    height: 5.5rem;
    /* margin: 20px; */
    object-fit: contain;
}


.car-brand-list{
    list-style: none;
    padding-block: 1rem;

}

.scroller__inner{
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.scroller[data-animated="true"]{
    overflow: hidden;
    -webkit-mask: linear-gradient(90deg,
     transparent, 
    blue 20%,
    blue 80%, 
    transparent);

    mask: linear-gradient(90deg, transparent, 
    blue 20%,
    blue 80%, 
    transparent);
}

.scroller[data-animated="true"] .scroller__inner{
    width: max-content;
    flex-wrap: nowrap;
    animation: scroll var(--_animation-duration, 40s) var(--_animation-direction, forwards) linear infinite;
}

.scroller[data-direction="right"]{
    --_animation-direction: reverse;
}

@keyframes scroll{
    to{
        transform: translate(calc(-50% - 0.3rem));
    }
}

.display-categories{
    display: none;
}

@media (max-width: 500px) {
    body{
        /* display: flex;
        flex-direction: column;
        background-color: var(--secondary-grey);
        min-height: 100vh; */
        width: 100%;
    }
    .dropdown-item::after{
        transform: rotate(90deg);
    }
    .about-us{
        border:none;
        padding: 1em;
        width: 35%;
        /* min-width: 400px; */
    }

    .engine{
        /* width: 500px; */
        /* height: 715px; */
        border-radius: 20px;
        object-fit: contain;
    
    }
    .display-categories{
        display: block;
    } 
    .latest-news-container{
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
}


@media (max-width: 760px) {
    .latest-news-container{
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
}

