:root {
    --maroon: #d21028;
    --navy: #093e5d;
    --white: #ffffff;
    --light-gray: #e7e7e7;
    --soft-black: #454545;
    --dark-black: #0a0a0a;
    --conent-light-gray: #f9f9f9;
}

html {
    font-size: 14px;
    font-family: "PT Serif", serif !important;
    position: relative;
    min-height: 100%;
    color: var(--soft-black);
    background-color:var(--light-gray);
    width:100%;
    overflow-x:hidden;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.index-search-row {
    /*background-image: url(../images/searchbg.jpg);
    object-fit: cover;*/
    background-color:var(--navy);
}

.index-search-col {
    min-height: 150px;
    display: flex;
    flex-direction:column;
    flex-wrap:wrap;
    justify-content: center;
    justify-items: center;
    align-items: center;
}

.index-search-heading{
    color:var(--white);
}

.btn-index-search {
    color: var(--white);
    border-color: var(--white);
}

.btn-index-search:hover {
    color: var(--white);
    border-color: var(--white);
}

.contact-button {
    display: inline-block;
    background-color: var(--maroon);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 0px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
}

    .contact-button:hover {
        background-color: var(--maroon);
    }

    .contact-button:active {
        background-color: var(--maroon);
        color: var(--white);
    }


.logo {
    width: 200px;
}

.pt-serif-regular {
    font-family: "PT Serif", serif;
    font-weight: 400;
    font-style: normal;
}

.pt-serif-bold {
    font-family: "PT Serif", serif;
    font-weight: 700;
    font-style: normal;
}

.pt-serif-regular-italic {
    font-family: "PT Serif", serif;
    font-weight: 400;
    font-style: italic;
}

.pt-serif-bold-italic {
    font-family: "PT Serif", serif;
    font-weight: 700;
    font-style: italic;
}

.app-body {
    width: 100%;
    margin: 0, 0, 70px 0;
    padding: 0;
}

.info-details {
    background: var(--maroon);
    color: var(--white);
    padding: 10px 0px 5px 0px;
    margin-top: -17px;
}

.nav-btn-wrapper{
    text-align:center;
}
.nav-btn{
    width:150px;
}

.btn-auto-prmry {
    background-color: var(--maroon);
    color: var(--white);
}

.btn-auto-prmry:hover {
    background-color: var(--maroon);
    color: var(--white);
}

.latest-inventory-container {
    margin-top: 20px;
}

.card-img-top {
    border-top-left-radius: calc(.25rem - 1px);
    border-top-right-radius: calc(.25rem - 1px);
    height: 350px;
    object-fit: cover;
}

.btn-all-inventory {
    width: 300px;
    height: 50px;
    width: 300px;
    height: 50px;
    display: block;
    padding: 10px;
    text-decoration: none;
}


.full-width-background {
    background-image: url('../images/cntctbg.jpg'); /* Replace with your image URL */
    background-size: cover; /* Ensures the image covers the entire div */
    background-position: center; /* Centers the image */
    width: 100%;
    height: 500px; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}
.cntct-form-wrapper{
    background-color:var(--white);
    opacity:0.75;
    border-radius:5px;
    padding:10px;
    color:var(--soft-black);
    text-align:left;
    justify-content:left;
}
.site-footer{
    background-color:var(--maroon);
    color:var(--white);
    margin-top:50px;
    border-top:var(--light-gray);
}
.footer-cntct{
    line-height:1px;
}

.footer-copyright {
    width: 100%;
    margin-bottom: 0px;
    text-align: center;
    line-height: 1px;
    /* position: absolute; */
    bottom: 0;
    background: var(--soft-black);
    /* min-height: 60px; */
    padding: 20px 0px;
}


.contct-hero {
    background-image: url('../images/contact-us-auto-usa-llc.webp'); /* Replace with your image URL */
    background-size: cover; /* Ensures the image covers the entire div */
    background-position: center; /* Centers the image */
    width: 100%;
    height: 500px; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.about-hero {
    background-image: url('../images/about-us-auto-usa-llc.webp'); /* Replace with your image URL */
    background-size: cover; /* Ensures the image covers the entire div */
    background-position: center; /* Centers the image */
    width: 100%;
    height: 500px; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.prmry-h{
    color:var(--maroon);
}

.service-tab {
    min-height: 200px;
    border: 1px solid var(--soft-black);
    border-radius: 10px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction:column;
}

.listing {
    display: flex;
    flex-wrap: wrap;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    margin-bottom:15px;
}

.featured-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: red;
    color: white;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 3px;
    font-weight: bold;
}

.image img {
    max-width: 150px;
    border-radius: 8px;
    max-height:150px;
}

.details {
    flex: 1;
    margin-left: 20px;
}

.title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.location {
    color: #666;
    margin-top: 5px;
}

.info {
    color: #888;
    margin-top: 10px;
    font-size: 14px;
}

.updated {
    font-size: 12px;
    color: #aaa;
    margin-top: 10px;
}

.price-contact {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.price {
    font-size: 22px;
    color: #333;
    font-weight: bold;
    margin-bottom: 10px;
}

.contact-btn {
    background-color: var(--maroon);
    color: var(--white);
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    text-align: center;
    text-decoration: none;
}

    .contact-btn:hover {
        background-color: var(--maroon);
        color: var(--white);
    }

/* Responsive */
@media (max-width: 768px) {
    .listing {
        flex-direction: column;
        align-items: center;
    }

    .image img {
        max-width: 150px;
        margin-bottom: 15px;
    }

    .details {
        margin-left: 0;
        text-align: center;
    }

    .price-contact {
        text-align: center;
    }
}


/* Carousel main container */
.carousel {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Main image style */
.main-image {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    overflow: hidden;
}

.main-image img {
    width: 100%;
    max-width: 800px;
    cursor: pointer;
    transition: transform 0.3s;
}

    .main-image img:hover {
        transform: scale(1.05);
    }

/* Thumbnail container */
.thumbnails {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.thumbnail {
    width: 100px;
    height: auto;
    margin: 0 5px;
    cursor: pointer;
    transition: opacity 0.3s;
}

    .thumbnail:hover {
        opacity: 0.7;
    }

/* Fullscreen modal styles */
.fullscreen-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
.fullscreen-image {
    position: absolute;
    height: 82%;
    width: 100%;
    top: 0;
    display: flex;
    justify-content: center;
}

    .fullscreen-image img {
        height: 100%;
        width: auto;
        object-fit: contain;
    }

.close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    z-index:999;
}

.fullscreen-thumbnails {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 5px;
    width: 100%;
    overflow-x: auto;
}

    .fullscreen-thumbnails .thumbnail {
        width: 80px;
    }


/*thumbnails wrapper*/

.thumbnail-container-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    margin: auto;
}

.thumbnail-container {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.3s ease;
    width: 100%;
}

.thumbnail-2 {
    width: 100px;
    height: 100px;
    margin: 0 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

    .thumbnail-2:hover {
        transform: scale(1.1);
    }

.nav-button {
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    padding: 10px;
    font-size: 18px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    user-select: none;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}
.detail-side-bar {
    background-color: white;
    height: 100%;
    border: var(--light-gray);
    display: flex;
    flex-direction: column;
}
.content-area{
    background-color:var(--white);
    border:1px solid var(--light-gray);
    padding:10px;
}

.horizontal-separator{
    border-bottom:1px solid var(--light-gray);
    width:90%;
    margin:10px auto;
    height:1px;
}

.car-info {
    display: flex;
    justify-content: space-between;
    background-color: white;
    padding: 10px;
    border-radius: 0;
    width: 100%;
    margin: 20px auto;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    /*border: 1px solid var(--light-gray);*/
}

.info-item {
    text-align: center;
    flex: 1;
    border:1px solid var(--light-gray);
    padding:10px;
}

    .info-item i {
        font-size: 24px;
        color: #4a4a4a;
        margin-bottom: 8px;
    }

    .info-item p {
        margin: 0;
        font-size: 16px;
        color: #4a4a4a;
    }

.car-details {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid var(--light-gray);
    /* border-radius: 8px; */
    background-color: var(--conent-light-gray);
}

.details-column {
    width: 48%;
}

.details-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

    .details-row:last-child {
        border-bottom: none;
    }

    .details-row span {
        font-size: 14px;
        color: #333;
    }

    .details-row a {
        color: #007bff;
        text-decoration: none;
    }

        .details-row a:hover {
            text-decoration: underline;
        }

.dtl-cntct {
    /*width: 100%;*/
    display: flex;
    flex-direction: column;
    align-items:center;
}

.not-found-wrapper{
    display:flex;
    flex-direction:column;
    flex-wrap:wrap;
    justify-content:center;
    align-content:center;
    align-items:center;

}

/* Video Thumbnail Styles */
.video-thumbnail {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.video-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-icon-overlay-small {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: all 0.3s ease;
}

.play-icon-overlay-small i {
    color: white;
    font-size: 24px;
    margin-left: 4px;
}

.video-thumbnail:hover .play-icon-overlay-small {
    background-color: rgba(0, 0, 0, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-thumbnail-fullscreen {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.video-thumbnail-fullscreen img {
    display: block;
}

/* Video.js player customization */
.video-js {
    width: auto !important;
    height: auto !important;
    max-width: 800px;
    max-height: 600px;
    margin: 0 auto;
    display: block;
}

.video-js video {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
}

.video-js .vjs-tech {
    object-fit: contain !important;
    position: relative !important;
}

.video-js .vjs-big-play-button {
    border-radius: 50%;
}

#mainVideo, #fullscreenVideo {
    width: auto !important;
    height: auto !important;
    max-width: 800px;
    max-height: 600px;
}

.main-image .video-js {
    margin: 0 auto;
    display: block;
}

.fullscreen-media-container {
    position: relative;
    width: 100%;
    max-width: 90vw;
    max-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.fullscreen-media-container img,
.fullscreen-media-container .video-js {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

#fullscreenVideo {
    max-height: 80vh !important;
}