/* ===== Aplicando Fonte Global para Todo o Código ===== */
* {
    font-family: 'Allerta Stencil', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== Footer ===== */
.widget-list {
    list-style-type: none;
    padding-left: 0;
}

.widget-list-item {
    margin-bottom: 6px;
}

.widget-list-link, .dropdown-item {
    text-decoration: none;
    color: inherit; /* Mantém a cor do elemento pai */
}

/* Links e hover */
.widget-list-link:hover, .dropdown-item:hover {
    text-decoration: none;
    color: rgb(181, 226, 0); /* Verde neon */
    transition: color 0.3s ease;
}

/* ===== Body & Layout ===== */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #e9e8e8;
}
.col-md-9 {
    padding: 0;
}

#logo-loja {
    width: 225px;
    padding-right: 10px;
}

#containerFooter {
    max-width: 1320px;

}
@media (max-width: 480px) {
    #imgFooter {
        text-align: center;
    }
}
footer {
    background-color: #232528;
}

#imgFooter {
    padding-top: inherit;
}


#footerTeste {
    font-size: 13px;
    text-align: left;
    flex-wrap: wrap;
    display: flex;
    justify-content: space-between;
}

footer p {
    font-size: small;
}

footer h5 {
    font-weight: 600;
    color: rgb(181, 226, 0);
}

/* ===== Buttons & Icons ===== */
.btn i {
    color: rgb(181, 226, 0);
    transition: color 0.3s ease;
}

.btn:hover i {
    color: rgb(194, 220, 89); /* Cor verde neon mais suave */
}

/* ===== Navigation Links ===== */
#home-link {
    color: #fff;
    text-decoration: none;
}

#home-link:hover {
    color: rgb(181, 226, 0); /* Verde neon */
    text-decoration: none;
}

/* ===== Dropdown Links ===== */
.dropdown-item {
    text-decoration: none;
}

.dropdown-item:hover {
    color: rgb(181, 226, 0); /* Verde neon */
    text-decoration: none;
    transition: color 0.3s ease;
}

/* ===== Global Styles for Links ===== */
a, .btn, .dropdown-item {
    transition: color 0.3s ease; /* Transição suave para a cor e o tamanho */
}

/* ===== Focus Styles (Acessibilidade) ===== */
a:focus, .btn:focus {
    outline: none; /* Remove a borda de foco */
}

/* ===== Definições de Cores como Variáveis ===== */
:root {
    --green-neon: rgb(181, 226, 0);
    --green-light: rgb(194, 220, 89);
    --footer-bg: rgb(56, 58, 55);
    --footer-border: #4b4a4a;
}

/* Links com hover usando variáveis de cor */
.widget-list-link:hover, .dropdown-item:hover {
    color: var(--green-neon);
}

/* Ícones de botões com cor de transição */
.btn i {
    color: var(--green-neon);
}

.btn:hover i {
    color: var(--green-light);
}

#socialFotter {
    border-top: 1px solid #0d0d0d;
}

/* ===== Navbar Estilos ===== */
.navbar-nav>li>a {
    text-transform: uppercase;
    font-size: 12px;
    margin-right: 20px;
    color: #fff;
}

.navbar-toggler {
    padding: .20rem .50rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid white;
}

.nav-link {
    color: #fff !important;
}

.wrapper {
    width: 100%; /* Alterado para 100% */
    position: absolute;
    height: 100%;
    background-color: #e2ff05b9;
    clip-path: polygon(35% 0, 100% 0, 100% 50%, 100% 100%, 60% 100%);
    transition: 1s all;
    right: 0; /* Adicionado para alinhar à direita */
    overflow: hidden; /* Impede que o conteúdo ultrapasse a viewport */
}

.navbar-red:hover .wrapper {
    clip-path: polygon(65% 0, 100% 0, 100% 50%, 100% 100%, 30% 100%);
}

.navbar-brand {
    color: #fff;
    font-family: 'Allerta Stencil', sans-serif;
    margin-bottom: 4px;
    font-size: 27px;
}

.navbar-brand:hover {
    color: #fff;
}

.navbar-red {
    background: #232528;
    color: #fff;
}

.all-show {
    z-index: 10;
}

/* ===== Alinhar a lista de navegação à direita ===== */
.navbar-nav {
    margin-left: auto; /* Move os itens para a direita */
}

/* ===== Responsividade (Mobile View) ===== */
@media (max-width: 768px) {
    .navbar-nav {
        margin-left: 0; /* Remove o alinhamento à direita */
        text-align: center; /* Centraliza os itens de navegação no mobile */
    }
}

/* ===== Estilos para o campo de busca ===== */
.search-container {
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 400px;
    width: 100%;
}

.search-input {
    border-radius: 20px 0 0 20px;
    border: none;
    padding: 10px 15px;
    width: 100%;
    outline: none;
}

.btn-search {
    
    border-radius: 0 20px 20px 0;
    border: none;
    background-color: #000;
    color: #000;
    padding: 7px 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-search:hover {
    background-color: var(--green-light);
}

@media (max-width: 768px) {
    .search-container {
        margin: 10px 0;
        max-width: 100%;
    }
}

#teste {
    background-color: #bcbcbc; /* Cinza claro */
    border: 1px solid #cccccc;    /* Bordas de 1px */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Sombra suave */
    border-radius: 8px; /* Bordas arredondadas */
    padding: 30px; /* Espaçamento interno */
}

/* ===== SIDEBAR ESTILOS ===== */
.sidebar {
    min-height: 100vh; /* altura total da tela */
    background-color: #232528;
    display: flex;
    flex-direction: column;
    padding-top: 1rem;
}


.sidebar .nav-link {
    color: #adb5bd;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--green-neon);
}

.sidebar .nav-link i {
    margin-right: 10px;
    color: var(--green-neon);
    width: 20px;
    text-align: center;
}

.sidebar-heading {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Dropdown styles */
.dropdown-menu-dark {
    background-color: #495057;
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.dropdown-menu-dark .dropdown-item {
    color: #dee2e6;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.dropdown-menu-dark .dropdown-item:hover {
    background-color: rgba(181, 226, 0, 0.2);
    color: white;
    padding-left: 1.75rem;
}

/* Range input styles */
.form-range::-webkit-slider-thumb {
    background: var(--green-neon);
    cursor: pointer;
}

.form-range::-moz-range-thumb {
    background: var(--green-neon);
    cursor: pointer;
}

.form-range::-ms-thumb {
    background: var(--green-neon);
    cursor: pointer;
}

.form-range:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 1px #fff, 0 0 0 0.25rem rgba(181, 226, 0, 0.25);
}

/* Responsividade */
@media (max-width: 767.98px) {
    .sidebar {
        position: fixed;
        z-index: 1000;
        left: -250px;
        top: 56px;
        width: 250px;
        height: calc(100vh - 56px);
        overflow-y: auto;
    }
    
    .sidebar.show {
        left: 0;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.5);
    }
}

/* Toggler button */
.sidebar-toggler {
    background-color: #e2ff05b9;
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.3s;
}

.sidebar-toggler:hover {
    background-color: var(--green-light);
    transform: scale(1.05);
}

/* Overlay para mobile */
.sidebar-overlay {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.sidebar.show + .sidebar-overlay {
    display: block;
}

.card-img-wrapper {
    overflow: hidden;
    position: relative;
}

.card-hover-img {
    transition: all 0.3s ease;
}

.card-img-wrapper:hover .card-hover-img {
    filter: brightness(65%);
    transform: scale(1.02);
}

.card-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.card-img-wrapper:hover .card-hover-overlay {
    opacity: 1;
}

.card-body {
    background: #fff;
    padding: 0.5rem 0.25rem; /* reduzido */
}

.btn i {
    font-size: 0.9rem;
}

.vehicle-name-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    font-weight: bold;
    font-size: 0.9rem;
}
