
/* CONFIGURAÇÕES GERAIS */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin: 0;
    margin-bottom: 60px;
    background-color: #111111;
    color: #f5f5f5;
}

/* CORES GERAIS */
:root {
    --bs-body-bg: #111111;
    --bs-body-color: #f5f5f5;
    --bs-border-color: #383838;
}

a {
    color: #c0c0c0;
}

    a:hover {
        color: #ffffff;
    }

/* BARRA DE NAVEGAÇÃO */
.navbar {
    background-color: #1b1b1b !important;
    border-bottom: 1px solid #383838 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.navbar-brand {
    color: #ffffff !important;
    font-weight: 700;
    letter-spacing: 1px;
}

.navbar .nav-link {
    color: #bdbdbd !important;
    transition: 0.3s;
}

    .navbar .nav-link:hover {
        color: #ffffff !important;
    }

.navbar-toggler {
    border-color: #777777;
}

.navbar-toggler-icon {
    filter: invert(1);
}

/* CONTEÚDO PRINCIPAL */
main {
    color: #f5f5f5;
}

/* RODAPÉ */
.footer {
    background-color: #1b1b1b;
    color: #999999 !important;
    border-top: 1px solid #383838 !important;
    padding: 15px 0;
}

    .footer a {
        color: #c0c0c0;
    }

        .footer a:hover {
            color: #ffffff;
        }

/* CAMPOS E BOTÕES */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem #111111, 0 0 0 0.25rem #888888;
}

.form-control {
    background-color: #222222;
    color: #ffffff;
    border-color: #444444;
}

    .form-control:focus {
        background-color: #222222;
        color: #ffffff;
        border-color: #888888;
    }

    .form-control::placeholder {
        color: #999999;
    }


.automovel-card {
    background-color: #1b1b1b;
    border: 1px solid #383838;
    border-radius: 12px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

    .automovel-card:hover {
        transform: translateY(-5px);
        border-color: #888888;
    }

    .automovel-card h3 {
        color: #ffffff;
    }

    .automovel-card p {
        color: #cccccc;
    }

.catalog-search {
    max-width: 500px;
}

.automovel-item .card-body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.automovel-item .mt-auto {
    width: 100%;
}

.automovel-item a.btn {
    display: block !important;
    width: 100% !important;
    min-width: 100%;
    white-space: nowrap;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
}
