@import url('https://fonts.googleapis.com/css2?family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --red: #be2a23;
}

@font-face {
    font-family: pk;
    src: url("./public/custom-font.otf") format("opentype");
}

* {
    /* font-family: "pk", sans-serif; */
    font-family: Georgia, "Prompt", serif;
    font-optical-sizing: auto;
}

.number {
    font-family: "Prompt" !important;
}

.text-bg-danger,
.bg-danger {
    background-color: var(--red) !important;
}

#HeaderMenu {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    transition: ease 0.2s;
}

#HeaderMenu.scrolling,
#HeaderMenu.transparent-collapse {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    background-color: var(--red);
}

#HeaderMenu.scrolling #NavbarHeader .nav-link:hover,
#HeaderMenu.scrolling #NavbarHeader .nav-link.active,
#HeaderMenu.transparent-collapse #NavbarHeader .nav-link:hover,
#HeaderMenu.transparent-collapse #NavbarHeader .nav-link.active {
    color: black;
    font-weight: 700;
}

#HeaderMenu.scrolling .navbar-brand>img {
    height: 50px;
}

#NavbarHeader {
    transition: ease 0.3s;
}

#NavbarHeader .nav-link {
    color: white;
    text-transform: uppercase;
    transition: ease 0.2s !important;
}

#NavbarHeader .nav-link:hover,
#NavbarHeader .nav-link.active {
    color: var(--red);
    /* font-weight: 900; */
}

.navbar-brand>img {
    height: 80px;
}

.home-header {
    position: relative;
    /* display: flex; */
}

.home-header>h1 {
    color: white;
    line-height: 75px;
}

.home-header>video {
    display: block;
    height: 100vh;
    width: 100%;
    object-fit: cover;
}

.home-header>.video-filter {
    display: block;
    height: 100vh;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    position: absolute;
    top: 0;
    left: 0;
}

.home-header .text-title {
    position: absolute;
    width: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.home-header .cta-button {
    position: absolute;
    bottom: 7rem;
    right: 7rem;
}

#carouselHeaderSlideshowIndicators .carousel-item img {
    height: 100dvh;
    width: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(50%);
}

/* Showroom Slideshow Header */
.showroom-slideshow-header {
    position: relative;
}

#showroomCarousel .carousel-item img {
    width: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(50%);
}

/* Slideshow Caption Styles */
#showroomCarousel .carousel-caption {
    position: absolute;
    bottom: auto;
    top: 50%;
    left: 5%;
    right: auto;
    transform: translateY(-50%);
    text-align: left;
    padding: 2rem;
    max-width: 50%;
}

#showroomCarousel .slide-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    font-style: italic;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    margin-bottom: 1rem;
    line-height: 1.1;
}

#showroomCarousel .slide-description {
    font-size: 1.1rem;
    color: white;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: 1.5rem;
    max-width: 500px;
}

#showroomCarousel .slide-cta {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    background-color: white;
    color: black;
    border: none;
    border-radius: 0;
    text-transform: none;
    transition: all 0.3s ease;
}

#showroomCarousel .slide-cta:hover {
    background-color: var(--red);
    color: white;
}

/* Navigation Arrows */
#showroomCarousel .carousel-control-prev,
#showroomCarousel .carousel-control-next {
    width: auto;
    padding: 0 1.5rem;
    opacity: 1;
}

#showroomCarousel .carousel-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 50%;
    color: black;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

#showroomCarousel .carousel-nav-icon:hover {
    background-color: var(--red);
    color: white;
}

/* Carousel Indicators */
#showroomCarousel .carousel-indicators {
    margin-bottom: 2rem;
}

#showroomCarousel .carousel-indicators button {
    width: 40px;
    height: 4px;
    border-radius: 0;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 0 4px;
    transition: all 0.3s ease;
}

#showroomCarousel .carousel-indicators button.active {
    background-color: white;
}

.btn-danger {
    --bs-btn-bg: var(--red);
    --bs-btn-border-color: var(--red);
    --bs-btn-disabled-bg: var(--red);
    --bs-btn-disabled-border-color: var(--red);
}

.social-icon-widget {
    border-radius: 50%;
    position: fixed;
    bottom: 50px;
    right: 50px;
    transition: ease 0.3s !important;
}

.social-icon-widget:hover {
    transform: scale(1.3);
}

.social-icon-widget#CTAWidgetToggle {
    z-index: 2020;
}

.social-icon-widget.widget-list {
    opacity: 0;
    z-index: 2010;
}

.social-icon-widget.widget-list.active {
    opacity: 1;
}

.social-icon-widget.widget-list.active.list-1 {
    bottom: 110px;
}

.social-icon-widget.widget-list.active.list-2 {
    bottom: 170px;
}

.social-icon-widget.widget-list.active.list-3 {
    bottom: 230px;
}

.social-icon-widget.widget-list.active.list-4 {
    bottom: 290px;
}

.social-icon-widget.widget-list.active.list-5 {
    bottom: 350px;
}

.social-icon-widget.widget-list.active.list-6 {
    bottom: 410px;
}

.social-icon-widget>img {
    padding: 10px;
    height: 50px;
    width: 50px;
    object-fit: contain;
    object-position: center;
}

.social-icon-widget.instagram {
    background: #f09433;
    background: -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f09433', endColorstr='#bc1888', GradientType=1);
}

.mobile-cta {
    display: none;
}

.service-thumbnail {
    position: relative;
    transition: ease 0.3s;
}

/* .service-thumbnail:hover {
    transform: scale(1.1);
} */

.service-thumbnail>img {
    filter: brightness(0.15);
    transition: ease 0.3s;
    border: solid black 2px;
}

.service-thumbnail:hover>img {
    filter: brightness(1);
}

.service-thumbnail>p {
    font-size: 38px;
}

.cta {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('./media/cta-bg.webp');
    background-size: cover;
    background-position: center;
    width: 100%;
    position: relative;
}

p.social-icon-follow {
    letter-spacing: 1.5px;
}

footer a {
    transition: ease 0.3s;
}

footer a:hover {
    color: var(--red) !important;
}

.about-header {
    min-height: 100dvh;
    width: 100%;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('./media/intro.webp');
    background-position: center;
    background-size: cover;
    position: relative;
}

.about-parallax {
    background-image: url('./media/about-parallax.webp');
    background-size: cover;
    height: 50vh;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.dynamic-header {
    display: flex;
    width: 100%;
    background-position: center;
    background-size: cover;
    position: relative;
}

#ServiceImagesModal .btn-close,
#ShowroomImagesModal .btn-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: white;
    padding: 0.75rem;
    border-radius: 50%;
}

.testimonial-header {
    height: 100vh;
    width: 100%;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('./media/testimonial-cover.jpg');
    background-position: center;
    background-size: cover;
    position: relative;
}

.card-service-img {
    height: 300px;
    width: 100%;
    object-fit: cover;
}

.card-article-img {
    height: 300px;
    width: 100%;
    object-fit: cover;
}

.service-gallery {
    height: 250px;
    margin: 1rem;
    cursor: pointer;
    border-radius: 1rem;
}

.articles-header {
    min-height: 100dvh;
    width: 100%;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('./media/articles-cover.jpg');
    background-position: center;
    background-size: cover;
    position: relative;
}

.article-list {
    position: relative;
    display: block;
}

.article-list>p {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    color: white;
    text-align: center;
    padding: 1.5rem;
    background-color: #be2b2393;
    transition: ease 0.3s;
}

.article-list:hover>p {
    background-color: var(--red);
}

.contact-header {
    min-height: 100dvh;
    width: 100%;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('./media/intro.webp');
    background-position: center;
    background-size: cover;
    position: relative;
}

.map-contact {
    height: 100%;
    width: 100%;
    border: none;
}

.modal-content {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

footer iframe {
    max-height: 220px;
}

footer {
    background-image: url("./media/footer-bg.jpg");
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.showroom-cars {
    position: relative;
    transition: ease 0.3s;
    overflow: hidden;
}

.showroom-cars .background-filter {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.5) 100%);
    transition: ease 0.3s;
}

.showroom-cars:hover .background-filter {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.showroom-info {
    z-index: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    height: 95%;
    color: white;
    transition: ease 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: end;
    -webkit-box-shadow:inset 0px 0px 0px 5px transparent;
    -moz-box-shadow:inset 0px 0px 0px 5px transparent;
    box-shadow:inset 0px 0px 0px 5px transparent;
    background-repeat: no-repeat;
    background-size: 50% auto;
    background-position: center;
}

.showroom-info:hover {
    -webkit-box-shadow:inset 0px 0px 0px 5px var(--red);
    -moz-box-shadow:inset 0px 0px 0px 5px var(--red);
    box-shadow:inset 0px 0px 0px 5px var(--red);
    background-image: url('./media/logo-transparent.svg');
}

.showroom-info img {
    height: 25px;
}

.showroom-info h5 {
    font-size: 12px;
}

.showroom-info button {
    color: white;
    border: 5px solid var(--red);
    border-radius: 0;
}

.car-brand-logo {
    height: 100px;
}

.car-brand-logo-title {
    height: 40px;
}

/* Themed accordion for showroom benefits */
.lust-accordion .accordion-item {
    background-color: transparent;
    border: none;
}

.lust-accordion .accordion-button {
    font-weight: 600;
    text-transform: none;
    border: 2px solid var(--red);
    border-radius: 0;
    background-color: #fff;
    color: #000;
    box-shadow: none;
    /* Themed chevron colors: red when collapsed, white when active */
    --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23be2a23'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e");
    --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e");
}

.lust-accordion .accordion-button.collapsed {
    background-color: #ffffff;
    color: #000000;
}

.lust-accordion .accordion-button:not(.collapsed) {
    background-color: var(--red);
    color: #fff;
    border-color: var(--red);
}

.lust-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: var(--red);
}

.lust-accordion .accordion-button::after {
    background-size: 1.1rem; /* make the arrow a bit more visible */
}

.lust-accordion .accordion-body {
    border-left: 2px solid var(--red);
    border-right: 2px solid var(--red);
    border-bottom: 2px solid var(--red);
    border-radius: 0 0 0 0;
    background-color: #fff;
}

.lust-accordion .accordion-item + .accordion-item {
    margin-top: 1rem;
}