/*Design Stuff*/
/*brown b45126
363132*/

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

/* -------- global stuff -------- */
body {

    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 18px !important;
    font-weight: 400;
    color: #000;
    line-height: 28.2px;
    background-image: url("../../assets/files/bg.jpg"); 
    background-size: auto; 
    background-position: center; 
    background-repeat: no-repeat;
    background-attachment: fixed;
}

h1,
h2,
h3,
h4,
h5,
h6,
title-font {
    font-family: "Bebas Neue", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

h1 {
    letter-spacing: 0.5rem;
    line-height: 2rem;
}
h6 {
    font-size: 1.5rem;
}
.accordion-button {
    font-size: 2rem;
}

.pointer {
    cursor: pointer;
}

.no-gutters {
    margin-right: -15px;
    margin-left: -15px;
}

iframe {
    width: 100%;
    min-height: 250px;
    max-height: 100%;;
}

img {
    max-width: 100%;
}

a {
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.text-black {
    color: #000 !important;
}

.bg-black {
    background-color: #000 !important;
}
.bg-brown {
    background-color: #986f4e !important;
}
.text-brown {
    color: #986f4e !important;
}
.border-brown {
    border: 5px solid #986f4e !important;
}
.bg-brown2 {
    background-color: #363132 !important;
}
.accordion-button {
    color: #fff;
    background-color: #363132 !important;
}
.accordion-item {
    color: #fff;
    background-color: #986f4e !important;
}

.bg-dark {
    background-color: #1a1a1a !important;
}
.bg-dark2 {
    background-color: #333 !important;
}

.bg-black2 {
    background-color: rgba(0, 0, 0, 0.8) !important;
}

.navbar {
    background-color: transparent !important;
    padding: 0.5rem 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-family: "Bebas Neue", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 5px;
}

.navbar-brand {
    width: 300px;
    max-width: 80%;
}

.navbar-expand-xl .navbar-nav .nav-link {
    font-family: "Bebas Neue", serif;
    font-weight: 300;
    color: #000;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    letter-spacing: 0;
    font-size: 1.8rem;
    ;
}

.navbar-toggler {
    border-color: #000;
    ;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgb(0, 0, 0)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}


.navbar-nav .nav-link:focus,
.navbar-nav .nav-link:hover {
    color: #b45126;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #b45126;
}

.navbar.bg-dark {
    background-color: #1a1a1a !important;
}

/* Make dropdown dark and consistent with navbar-dark */
.navbar-dark .dropdown-menu {
    background-color: #1a1a1a;
    border: none;
    margin-top: 0;
    border-radius: 0;
    box-shadow: none;
}

/* Style the dropdown links */
.navbar-dark .dropdown-item {
    color: #fff;
    font-family: "Roboto", serif;
    font-weight: 300;
    text-transform: uppercase;
    padding: 0.75rem 1.5rem;
    letter-spacing: 0.1rem;
}

/* Hover/focus effect for items */
.navbar-dark .dropdown-item:hover,
.navbar-dark .dropdown-item:focus {
    background-color: #333;
    color: #ec1c24;
}

/* Align dropdown directly under the menu bar on large screens only */
@media (min-width: 1200px) {
    .navbar-dark .dropdown-menu {
        top: 100%;
        left: 0;
        right: auto;
    }
}


.carousel-item img {
    width: auto;
    max-height: 80vh;
}

/* Carousel Control Icons */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    /* Dark semi-transparent background */
    border-radius: 50%;
    /* Make icons circular */
    padding: 10px;
    /* Add padding for larger clickable area */
    width: 40px;
    height: 40px;
    background-size: 75%;
    /* Slightly smaller icon */
}

/* Make the left and right controls full height for easy clicking */
.carousel-control-prev,
.carousel-control-next {
    width: 10%;
    /* Width of the clickable left/right bands */
    height: 100%;
    /* Full height */
    top: 0;
    bottom: 0;
    opacity: 1;
    /* Ensure they're always visible */
    color: transparent;
    /* Hide default arrow color */
}

/* Center the icon within the full-height control area */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Center icon */
}

/* Shadow effect for icons to improve visibility */
.carousel-control-prev,
.carousel-control-next {
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8));
}

/* Hover effect to darken background */
.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Responsive adjustments for smaller screens */
@media (max-width: 576px) {

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 30px;
        height: 30px;
        padding: 5px;
    }
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
}

@media (max-width: 768px) {
    .carousel-caption {
        position: static;
        transform: none;
        color: #2d2d2d;
        background-color: rgba(0, 0, 0, 1);
        padding: 1rem;
        text-align: center;
        border-radius: 0
    }
}

.carousel-caption {
    opacity: 0;
}

.carousel-caption.animate__animated.animate__fadeInUp {
    opacity: 1;
}

@media (max-width: 768px) {
    .carousel-caption {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}


.category-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover .category-img {
    transform: translateY(-10px);
}

.category-img {
    transition: transform 0.3s ease;
    border-radius: 8px;
}

.heading-line {
    width: 100%;
}

.heading-line .line {
    flex-grow: 1;
    height: 2px;
    background-color: #ccc;
    max-width: 200px;
    /* control how long the lines can get */
}

#engine-models .list-group-item {
    background-color: transparent !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.2);
}

#engine-models .list-group-item:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

.service-card {
    position: relative;
    height: 250px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    transition: transform 0.3s ease, filter 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.service-card:hover {
    transform: translateY(-10px);
    filter: brightness(1.15);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.service-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 1), transparent);
    color: #fff;
    z-index: 2;
}

.service-overlay h5 {
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 1.25rem;
}


.object-cover {
    object-fit: cover;
}

/* Reset styles only on small screens (max-width: 575.98px) */
@media (max-width: 900px) {
    footer ul {
        list-style: none;
        padding-left: 0;
        margin-bottom: 0;
    }
}

/** Hero Section Styles
 * This section contains styles for the hero section of the page.
 * It includes styles for the hero background, text, and buttons.
 */
/* ---------- POSTER + CROSS-FADE ---------- */
.video-hero {
  position: relative;
  /* 1️⃣  Minimum height */
  min-height: 90vh;

  /* 2️⃣  Keep your current centering */
  display: flex;
  align-items: center;
  justify-content: center;

  /* 3️⃣  Breathing room if the copy is taller than 80 vh */
  padding: 4rem 1rem;
}

/* Poster image – pulled from the data-poster attr by JS */
.video-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--poster) center/cover no-repeat;
  transition: opacity .8s ease;
  z-index: -1;
  /* sits under your text */
}

/* When video starts */
.video-hero.video-started::before {
  opacity: 0
}

/* Video itself fades in at the same time */
.video-hero iframe {
  opacity: 0;
  transition: opacity .8s ease;
  pointer-events: none;
  z-index: -2;
}

.video-hero.video-started iframe {
  opacity: 1
}

/* optional dark overlay */
.video-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: -1;
}

/* hero section */
#hero {
  position: relative;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 500px;;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#testhero {
  position: relative;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 500px;;
  min-height: 60vh;
  display: flex;
  align-items: end;
  justify-content: center;
}