/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background: #F5F5F5; 
    color: #1A1A1A; 
    transition: background 0.3s ease, color 0.3s ease; 
}

body.dark-mode {
    background: #1A1A1A;
    color: #E0E0E0;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #F5F5F5;
    width: 100%;
    padding: 1px 20px;
    position: fixed;
    top: 30px; /* This will be dynamically overridden */
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body.dark-mode .navbar {
    background: #1A1A1A;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar .logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 0 10px 10px 0;
    background-color: #F5F5F5;
    transition: background 0.3s ease;
}

body.dark-mode .navbar .logo-container {
    background-color: #1A1A1A;;
}

/* .navbar .logo-container:hover {
    background-color: #E0E0E0;
} */

/* body.dark-mode .navbar .logo-container:hover {
    background-color: #3A3A3A;
} */

.navbar .logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.navbar #logo-image {
    height: 2rem;
    width: auto;
}

.navbar .logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #1A1A1A; /* Preto no tema claro */
    transition: color 0.3s ease;
}

body.dark-mode .navbar .logo-text {
    color: #FFFFFF; /* Branco no tema escuro */
}

.navbar .navbar-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
    max-width: 600px;
}

.navbar .contact-info {
    /* background-color: #E0E0E0; */
    padding: 12px 24px;
    display: flex;
    gap: 20px;
    align-items: center;
    border-radius: 5px;
    /* margin-bottom: 10px; */
}

body.dark-mode .navbar .contact-info {
    background-color: #333333;
}

.navbar .contact-info span {
    font-size: 14px;
    color: #1A1A1A;
}

body.dark-mode .navbar .contact-info span {
    color: #FFFFFF;
}

.navbar .contact-info span a {
    color: #1A1A1A;
    text-decoration: none;
    transition: color 0.3s ease;
}

body.dark-mode .navbar .contact-info span a {
    color: #FFFFFF;
}

.navbar .contact-info span a:hover {
    color: #03bc66;
}

.navbar .contact-info .social-links {
    display: flex;
    gap: 15px;
}

.navbar .contact-info .social-links a {
    color: #1A1A1A;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

body.dark-mode .navbar .contact-info .social-links a {
    color: #FFFFFF;
}

.navbar .contact-info .social-links a:hover {
    color: #03bc66;
}

.navbar ul {
    display: flex;
    list-style: none;
    gap: 20px;
    position: relative;
    /* background: rgba(255, 255, 255, 0.9); */
    padding: 10px 15px;
    border-radius: 5px;
    flex-wrap: nowrap;
}

body.dark-mode .navbar ul {
    background: rgba(26, 26, 26, 0.9);
}

.navbar ul li {
    position: relative;
    white-space: nowrap;
}

.navbar ul li:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 20px;
    background-color: #666666;
}

body.dark-mode .navbar ul li:not(:last-child)::after {
    background-color: #666666;
}

.navbar ul li a {
    color: #1A1A1A;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

body.dark-mode .navbar ul li a {
    color: #E0E0E0;
}

.navbar ul li a i {
    color: #666666;
    font-size: 14px;
}

body.dark-mode .navbar ul li a i {
    color: #B0B0B0;
}

.navbar ul li a:hover {
    color: #03bc66;
}

.navbar ul li.theme-toggle button {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #1A1A1A;
    transition: color 0.3s ease;
}

body.dark-mode .navbar ul li.theme-toggle button {
    color: #E0E0E0;
}

.navbar ul li.theme-toggle button:hover {
    color: #03bc66;
}

.menu-hamburguer {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.menu-hamburguer:hover {
    background: rgba(0, 0, 0, 0.05); 
}

body.dark-mode .menu-hamburguer:hover {
    background: rgba(255, 255, 255, 0.1);
}

.menu-hamburguer span {
    width: 25px;
    height: 3px;
    background: #1A1A1A;
    border-radius: 2px;
    transition: all 0.3s ease;
}

body.dark-mode .menu-hamburguer span {
    background: #E0E0E0; 
}

.menu-hamburguer.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-hamburguer.active span:nth-child(2) {
    opacity: 0;
}

.menu-hamburguer.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

main {
    padding-top: 80px;
}

/* Banner */
.banner {
    position: relative;
    width: 100%;
    height: 80vh;
    max-height: 80vh;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    background: #03bc66;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Seção de Carros */
.carros {
    padding: 20px 40px; 
    margin: 0 auto;

}

body.dark-mode .carros {
    background: #121212;
}

.carros h1 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 20px;
}

.filtro-container {
    margin-bottom: 40px;
}

.filtro-pesquisa {
    padding: 20px 20px;
    background: #F5F5F5; 
    text-align: center;
}

body.dark-mode .filtro-pesquisa {
    background: #121212; 
}

.busca-container {
    max-width: 1200px;
    margin: 0 auto;
    background: transparent; 
}

.busca-container h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 20px;
    margin-top: 10px;
}

body.dark-mode .busca-container h2 {
    color: #FFFFFF;
}

body.dark-mode .busca-container {
    background: transparent; 
}

.busca-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 2px;
    background: transparent; 
}

body.dark-mode .busca-wrapper {
    background: transparent; 
}

.busca-input {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 500px;
    border: 2px solid #03bc66; 
    border-radius: 8px;
    overflow: hidden;
}

.busca-input input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    outline: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #333333;
    background: #FFFFFF;
}

body.dark-mode .busca-input input {
    background: transparent; 
    color: #FFFFFF; 
}

.busca-input input::placeholder {
    color: #999999;
}

.busca-btn {
    padding: 12px 15px;
    background: #FFFFFF; 
    color: #03bc66; 
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

body.dark-mode .busca-btn {
    background: transparent; 
    color: #03bc66; 
}

.busca-btn:hover {
    /* background: #03bc66;  */
    color: #03bc66;
}

.filtro-botoes {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filtro-btn {
    padding: 10px 20px;
    background: #FFFFFF; 
    color: #03bc66; 
    border: 2px solid #03bc66; 
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s ease, color 0.3s ease;
}

body.dark-mode .filtro-btn {
    background: #2A2A2A; 
    color: #03bc66; 
    border: 2px solid #03bc66; 
}

.filtro-btn.active, .filtro-btn:hover {
    background: #03bc66; 
    color: #FFFFFF; 
}

.grid-carros {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-items: center; 
}

.carro {
    background: #FFFFFF;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    max-width: 350px; 
    width: 100%; 
}

body.dark-mode .carro {
    background: #2A2A2A;
}

.carro:hover {
    transform: translateY(-10px);
}

.carro .carrossel {
    position: relative;
    width: 100%;
    padding-bottom: 66.67%; /* Proporção 3:2 (ajustável conforme tuas imagens) */
    overflow: hidden;
}

.carro .carrossel-imagens {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carro .carrossel-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Mostra a imagem inteira */
    opacity: 0;
    transition: opacity 0.5s ease;
    background-color: #F5F5F5;
}

body.dark-mode .carro .carrossel-img {
    background-color: #1A1A1A; /* Fundo no tema escuro */
}

.carro .carrossel-img.active {
    opacity: 1;
}

.carrossel-prev, .carrossel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.carrossel-prev {
    left: 10px;
}

.carrossel-next {
    right: 10px;
}

.carrossel-prev:hover, .carrossel-next:hover {
    background: none;
}

.carrossel-indicadores {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: absolute;
    bottom: 10px;
    left: 0;
}

.indicador {
    width: 12px;
    height: 12px;
    background: #CCCCCC;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    margin: 0 5px;
}

.indicador.active {
    background: #03bc66;
    transform: scale(1.2);
}

.indicador:hover {
    background: #03bc66;
    transform: scale(1.2);
}

body.dark-mode .indicador {
    background: #666666;
}

body.dark-mode .indicador.active {
    background: #03bc66;
}

body.dark-mode .indicador:hover {
    background: #80CBC4;
}

.carro h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 15px 20px 5px;
}

body.dark-mode .carro h3 {
    color: #E0E0E0;
}

.carro .diferencial {
    font-size: 14px;
    color: #666666;
    margin: 0 20px 10px;
}

body.dark-mode .carro .diferencial {
    color: #B0B0B0;
}

.carro .preco {
    font-size: 16px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 20px 15px;
}

body.dark-mode .carro .preco {
    color: #E0E0E0;
}

.carro .detalhes-btn {
    display: block;
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    padding: 12px;
    background: #FFFFFF; 
    color: #03bc66; 
    border: 2px solid #03bc66; 
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.carro a {
    text-decoration: none;
}

.carro .detalhes-btn:hover {
    background: #03bc66; 
    color: #FFFFFF; 
}

/* Seção Sobre */
.sobre {
    padding: 80px 40px;
    margin: 0 auto;
    text-align: center;
    background-color: #fff;
}

body.dark-mode .sobre {
    background: #333333; 
}

.sobre h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

body.dark-mode .sobre h2 {
    color: #E0E0E0;
}

.sobre p {
    font-size: 16px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

body.dark-mode .sobre p {
    color: #B0B0B0;
}

/* Seção de Contato */
.contato {
    padding: 80px 40px;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.contato h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

body.dark-mode .contato h2 {
    color: #E0E0E0;
}

.contato p {
    font-size: 16px;
    margin-bottom: 10px;
}

body.dark-mode .contato p {
    color: #B0B0B0;
}

.contato form {
    max-width: 600px;
    margin: 30px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
}

.form-group input, .form-group textarea {
    padding: 12px;
    border: 1px solid #CCCCCC;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border 0.3s ease;
}

body.dark-mode .form-group input, body.dark-mode .form-group textarea {
    background: #2A2A2A;
    color: #E0E0E0;
    border: 1px solid #444444;
}

.form-group input:focus, .form-group textarea:focus {
    border: 1px solid #03bc66; 
}

.form-group textarea {
    resize: vertical;
}

/* Botão "Enviar" no Formulário de Contato */
.contato form button {
    padding: 14px;
    background: #03bc66; 
    color: #FFFFFF; 
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: transform 0.3s ease, background 0.3s ease;
}

.contato form button:hover {
    transform: scale(1.05);
    background: #03bc66; 
}

#mapa {
    width: 100%;
    height: 400px;
    margin-top: 40px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background: #1A1A1A;
    color: #FFFFFF;
    padding: 60px 40px 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.6;
}

.footer-section p a {
    color: #CCCCCC;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section p a:hover {
    color: #03bc66; 
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #333333;
}

.footer-bottom p {
    font-size: 14px;
}

/* Botão Fale Conosco Fixo */
#fale-conosco {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: none; 
    border: none; 
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000; 
    transition: transform 0.3s ease; 
}

#fale-conosco img {
    width: 50px; 
    height: 50px;
    animation: pulseAndRotate 2s infinite ease-in-out; 
}

@keyframes pulseAndRotate {
    0% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.3) rotate(15deg); 
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

#fale-conosco:hover img {
    transform: scale(1.3); 
}

/* Seção de Detalhes */
.detalhes {
    padding: 100px 40px; /* Aumentei o padding pra dar mais espaço */
    max-width: 1400px;
    margin: 0 auto;
}

.carro-detalhes {
    display: flex;
    gap: 60px; /* Aumentei o gap pra dar mais espaço entre carrossel e info */
    flex-wrap: wrap;
    align-items: flex-start;
}

.carrossel {
    flex: 1;
    min-width: 350px;
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.carrossel-imagens {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Ajusta pra ocupar a proporção definida */
    display: flex;
}

.carrossel-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Muda pra cover pra evitar distorção */
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.carrossel-img.active {
    opacity: 1;
    visibility: visible;
}

.carro-info {
    flex: 1;
    min-width: 350px;
    padding: 20px;
    background: #FFFFFF;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

body.dark-mode .carro-info {
    background: #2A2A2A;
}

.carro-info h1 {
    font-size: 28px;
    color: #1A1A1A;
    font-weight: 700;
    margin-bottom: 15px;
}

.carro-info .preco {
    font-size: 24px;
    color: #1A1A1A;
    font-weight: 700;
    margin-bottom: 20px;
}

.carro-info ul {
    list-style: none;
    margin-bottom: 0;
}

.carro-info .diferenciais {
    margin-bottom: 30px;
}

.carro-info .diferenciais h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 15px;
}

.carro-info ul li {
    font-size: 16px;
    color: #1A1A1A;
    margin: 10px 0;
    font-weight: 400;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 10px;
}

.carro-info ul li::before {
    content: '\f058'; /* Ícone de check do Font Awesome */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #03bc66;
    font-size: 18px;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    background: #03bc66;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.05);
    background: #03bc66;
}

.carro-info .comprar {
    display: block;
    width: 100%;
    padding: 14px;
    background: #03bc66; 
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease;
}

.carro-info .comprar:hover {
    transform: scale(1.05);
    background: #03bc66; 
}

body.dark-mode .carro-info h1,
body.dark-mode .carro-info .preco,
body.dark-mode .carro-info ul li,
body.dark-mode .carro-info .diferenciais h3 {
    color: #E0E0E0;
}

/* Seção de Login */
.admin-login {
    padding: 80px 40px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.admin-login h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.admin-login form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.admin-login .form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.admin-login .form-group label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
}

.admin-login .form-group input {
    padding: 12px;
    border: 1px solid #CCCCCC;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border 0.3s ease;
}

body.dark-mode .admin-login .form-group input {
    background: #2A2A2A;
    color: #E0E0E0;
    border: 1px solid #444444;
}

.admin-login .form-group input:focus {
    border: 1px solid #03bc66; 
}

.admin-login form button {
    padding: 14px;
    background: #03bc66; 
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: transform 0.3s ease, background 0.3s ease;
}

.admin-login form button:hover {
    transform: scale(1.05);
    background: #03bc66; 
}

/* Seção de Administração */
.admin-panel {
    padding: 80px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.admin-panel h2 {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.admin-form {
    margin-bottom: 60px;
}

.admin-form h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.admin-form .banner-preview {
    margin-bottom: 20px;
    text-align: center;
}

.admin-form .banner-preview img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.admin-form form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.admin-form .form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.admin-form .form-group label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
}

.admin-form .form-group input,
.admin-form .form-group textarea,
.admin-form .form-group select {
    padding: 12px;
    border: 1px solid #CCCCCC;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border 0.3s ease;
}

body.dark-mode .admin-form .form-group input,
body.dark-mode .admin-form .form-group textarea,
body.dark-mode .admin-form .form-group select {
    background: #2A2A2A;
    color: #E0E0E0;
    border: 1px solid #444444;
}

.admin-form .form-group input:focus,
.admin-form .form-group textarea:focus,
.admin-form .form-group select:focus {
    border: 1px solid #03bc66; 
}

.admin-form .form-group textarea {
    resize: vertical;
}

.admin-form form button {
    padding: 14px;
    background: #03bc66; 
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: transform 0.3s ease, background 0.3s ease;
}

.admin-form form button:hover {
    transform: scale(1.05);
    background: #03bc66; 
}

.admin-lista h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

#lista-carros {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-items: center; 
}

.carro-admin {
    background: #FFFFFF;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    max-width: 350px; 
    width: 100%;
}

body.dark-mode .carro-admin {
    background: #2A2A2A;
}

.carro-admin img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.carro-admin h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

body.dark-mode .carro-admin h4 {
    color: #E0E0E0;
}

.carro-admin p {
    font-size: 14px;
    margin-bottom: 10px;
}

body.dark-mode .carro-admin p {
    color: #E0E0E0;
}

body.dark-mode .carro .detalhes-btn {
    background: #2A2A2A; 
    color: #03bc66; 
    border: 2px solid #03bc66; 
}

.carro-admin button {
    background: #E57373; 
    color: #FFFFFF;
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.carro-admin button:hover {
    background: #EF5350; 
}

/* Estilizar o datalist */
#modelo {
    padding: 12px;
    border: 1px solid #CCCCCC;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border 0.3s ease;
}

body.dark-mode #modelo {
    background: #2A2A2A;
    color: #E0E0E0;
    border: 1px solid #444444;
}

#modelo:focus {
    border: 1px solid #03bc66;
}

/* Seção Vender Carro */
.vender-carro {
    padding: 100px 20px;
    background-color: #fff;
    text-align: center;
}

body.dark-mode .vender-carro {
    background-color: #333;
}

.vender-carro h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

body.dark-mode .vender-carro h2 {
    color: #E0E0E0;
}

.vender-carro p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #666;
}

body.dark-mode .vender-carro p {
    color: #bbb;
}

#form-vender-carro {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#form-vender-carro .form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

#form-vender-carro label {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #333;
}

body.dark-mode #form-vender-carro label {
    color: #E0E0E0;
}

#form-vender-carro input,
#form-vender-carro textarea {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
}

body.dark-mode #form-vender-carro input,
body.dark-mode #form-vender-carro textarea {
    background: #2A2A2A;
    color: #E0E0E0;
    border: 1px solid #444444;
}

/* Botão "Enviar Proposta" no Formulário de Vender Carro */
#form-vender-carro button {
    padding: 12px;
    font-size: 1.1rem;
    background: #03bc66; 
    color: #FFFFFF;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

#form-vender-carro button:hover {
    transform: scale(1.05);
    background: #03bc66; 
}

/* Estilo do Formulário de Cadastro de Carro */
#image-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.preview-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 2px solid #ccc;
    border-radius: 5px;
    cursor: move;
}

.preview-img.dragging {
    opacity: 0.5;
}

.preview-img.drag-over {
    border: 2px dashed #00c4b4;
    background-color: rgba(0, 196, 180, 0.1);
}

/* Mensagem de Cookies */
.cookie-message {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    text-align: center;
    display: none; /* Inicialmente oculto */
    max-width: 500px;
    width: 90%;
}

.cookie-message.hidden {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
    pointer-events: none;
}

.cookie-message p {
    margin: 0 0 15px 0;
    text-align: center;
    line-height: 1.5;
}

.cookie-message button {
    background: #03bc66;
    color: #FFFFFF;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.3s ease;
}

.cookie-message button:hover {
    background: #00796B;
    transform: scale(1.05);
}

#grid-carros {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    #grid-carros {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 10px;
    }

    .navbar {
        padding: 0.5rem 1rem;
        flex-direction: row;
        align-items: center;
        position: fixed;
        top: 0;
        z-index: 1000;
    }

    body.dark-mode .navbar {
        padding: 0.5rem 1rem;
    }

    body.dark-mode .logo-container {
        padding: 12px 16px;
    }

    #logo-image {
        height: 1.5rem;
        margin-left: 8px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .navbar .logo-container {
        padding: 12px 24px;
    }

    .navbar .logo {
        font-size: 20px;
    }

    .navbar .navbar-right {
        width: auto;
        align-items: center;
        flex-direction: row;
        gap: 15px;
    }

    .navbar .contact-info {
        padding: 8px 16px;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        width: auto;
        position: absolute;
        top: 70px;
        left: 20px;
        right: 20px;
        justify-content: space-between;
    }

    .navbar .contact-info span {
        font-size: 12px;
    }

    .navbar .contact-info span a {
        font-size: 12px;
    }

    .navbar .contact-info .social-links {
        gap: 10px;
    }

    .navbar .contact-info .social-links a {
        font-size: 0;
    }

    .navbar .contact-info .social-links a i {
        font-size: 16px;
    }

    .navbar ul {
        display: none;
        position: absolute;
        top: 120px;
        left: 20px;
        right: 20px;
        background: #FFFFFF;
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        margin-top: 0;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        border: 1px solid #E0E0E0;
        transform: translateY(-10px);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .navbar ul.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
    }

    body.dark-mode .navbar ul {
        padding: 0.5rem 1rem 0.5rem 0;
        background: #222222;
        border: 1px solid #444444;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }

    .navbar ul li {
        margin: 0;
    }

    .navbar ul li:not(:last-child)::after {
        display: none;
    }

    .navbar ul li a {
        font-size: 14px;
        padding: 12px 20px;
        border-radius: 5px;
        transition: background 0.3s ease, color 0.3s ease;
    }

    .navbar ul li a:hover {
        background: rgba(0, 0, 0, 0.05);
    }

    body.dark-mode .navbar ul li a:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .navbar ul li.theme-toggle button {
        font-size: 16px;
        padding: 10px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.05);
        transition: background 0.3s ease, color 0.3s ease;
    }

    body.dark-mode .navbar ul li.theme-toggle button {
        background: rgba(255, 255, 255, 0.1);
    }

    .navbar ul li.theme-toggle button:hover {
        background: #03bc66;
        color: #FFFFFF;
    }

    .menu-hamburguer {
        display: flex;
        position: static;
    }

    .banner {
        height: 50vh;
        max-height: 50vh;
    }

    .banner img {
        object-position: center;
    }

    .carros {
        padding: 10px 20px;
    }

    .carros h1 {
        font-size: 24px;
    }

    .filtro-pesquisa {
        padding: 10px 20px;
    }

    .busca-container h2 {
        font-size: 24px;
    }

    .busca-wrapper {
        flex-direction: column;
        gap: 15px;
    }

    .busca-input {
        max-width: 100%;
    }

    .filtro-botoes {
        gap: 10px;
    }

    .filtro-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .grid-carros {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .carro .carrossel {
        padding-bottom: 75%;
    }

    .carrossel-indicadores {
        bottom: 6px;
    }

    .indicador {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }

    .carro .carrossel-prev, .carro .carrossel-next {
        padding: 6px;
        font-size: 12px;
    }

    .carro h3 {
        font-size: 16px;
        margin: 12px 15px 5px;
    }

    .carro .diferencial {
        font-size: 12px;
        margin: 0 15px 8px;
    }

    .carro .preco {
        font-size: 14px;
        margin: 0 15px 12px;
    }

    .carro .detalhes-btn {
        width: calc(100% - 30px);
        margin: 0 15px 15px;
        padding: 10px;
        font-size: 12px;
    }

    .sobre {
        padding: 40px 20px;
    }

    .sobre h2 {
        font-size: 1.6rem;
    }

    .sobre p {
        font-size: 14px;
    }

    .contato {
        padding: 40px 20px;
    }

    .contato h2 {
        font-size: 22px;
    }

    .contato p {
        font-size: 14px;
    }

    .contato form {
        margin: 20px auto;
    }

    .form-group label {
        font-size: 12px;
    }

    .form-group input, .form-group textarea {
        padding: 10px;
        font-size: 12px;
    }

    .contato form button {
        padding: 12px;
        font-size: 14px;
    }

    #mapa {
        height: 300px;
        margin-top: 30px;
    }

    .vender-carro {
        padding: 40px 20px;
    }

    .vender-carro h2 {
        font-size: 2rem;
    }

    .vender-carro p {
        font-size: 1rem;
    }

    #form-vender-carro label {
        font-size: 0.9rem;
    }

    #form-vender-carro input,
    #form-vender-carro textarea {
        padding: 8px;
        font-size: 0.9rem;
    }

    #form-vender-carro button {
        padding: 10px;
        font-size: 1rem;
    }

    footer {
        padding: 40px 20px 20px;
    }

    .footer-section h3 {
        font-size: 18px;
    }

    .footer-section p {
        font-size: 12px;
    }

    .footer-bottom p {
        font-size: 12px;
    }

    #fale-conosco {
        bottom: 20px;
        right: 20px;
    }

    #fale-conosco img {
        width: 35px;
        height: 35px;
    }

    .detalhes {
        padding: 40px 20px;
    }

    .carro-detalhes {
        gap: 20px;
    }

    .carrossel {
        min-width: 100%;
        padding-bottom: 75%;
    }

    .carrossel-imagens {
        height: 100%;
    }

    .carrossel-prev, .carrossel-next {
        padding: 6px;
        font-size: 12px;
    }

    .carro-info {
        min-width: 100%;
        padding: 15px;
    }

    .carro-info h1 {
        font-size: 22px;
    }

    .carro-info .preco {
        font-size: 16px;
    }

    .carro-info ul li {
        font-size: 13px;
    }

    .carro-info .diferenciais h3 {
        font-size: 18px;
    }

    .carro-info .comprar {
        padding: 12px;
        font-size: 14px;
    }

    .admin-login {
        padding: 40px 20px;
    }

    .admin-login h2 {
        font-size: 22px;
    }

    .admin-panel {
        padding: 40px 20px;
    }

    .admin-panel h2 {
        font-size: 22px;
    }

    .admin-form h3 {
        font-size: 18px;
    }

    .admin-form .banner-preview img {
        height: 150px;
    }

    #lista-carros {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cookie-message {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
        font-size: 12px;
    }

    .cookie-message button {
        padding: 6px 15px;
        font-size: 12px;
    }

    main {
        padding-top: 80px;
    }

    .banner-buttons {
        display: flex !important;
    }
}

@media (max-width: 480px) {
    #grid-carros {
        gap: 10px;
        padding: 5px;
    }

    .navbar {
        /* padding: 10px 10px 10px 0; */
    }

    body.dark-mode .navbar {
        /* padding: 10px 10px 10px 0; */
    }

    .logo-container {
        padding: 10px 12px 10px 0;
        margin-left: 0;
    }

    body.dark-mode .logo-container {
        padding: 10px 12px 10px 0;
        margin-left: 0;
    }

    #logo-image {
        height: 1.3rem;
        margin-left: 6px;
    }

    .logo {
        font-size: 1rem;
    }

    .navbar .logo {
        font-size: 18px;
    }

    .navbar ul {
        top: 110px;
        padding: 15px;
        gap: 15px;
    }

    .navbar ul li a {
        font-size: 12px;
        padding: 10px 15px;
    }

    .navbar ul li.theme-toggle button {
        font-size: 14px;
        padding: 8px;
    }

    main {
        padding-top: 80px;
    }

    .banner {
        height: 44vh;
        max-height: 44vh;
    }

    .banner img {
        object-position: center;
    }

    .carros {
        padding: 5px 15px;
    }

    .carros h1 {
        font-size: 18px;
    }

    .filtro-pesquisa {
        padding: 5px 15px;
    }

    .busca-container h2 {
        font-size: 20px;
    }

    .busca-input input {
        font-size: 14px;
    }

    .filtro-btn {
        padding: 6px 12px;
        font-size: 10px;
    }

    .carro .carrossel {
        padding-bottom: 80%;
    }

    .carrossel-indicadores {
        bottom: 6px;
    }

    .indicador {
        width: 8px;
        height: 8px;
        margin: 0 3px;
    }

    .carro .carrossel-prev, .carro .carrossel-next {
        padding: 5px;
        font-size: 10px;
    }

    .carro h3 {
        font-size: 14px;
        margin: 10px 12px 5px;
    }

    .carro .diferencial {
        font-size: 11px;
        margin: 0 12px 6px;
    }

    .carro .preco {
        font-size: 12px;
        margin: 0 12px 10px;
    }

    .carro .detalhes-btn {
        width: calc(100% - 24px);
        margin: 0 12px 12px;
        padding: 8px;
        font-size: 10px;
    }

    .sobre {
        padding: 60px 15px;
    }

    .sobre h2 {
        font-size: 1.6rem;
    }

    .sobre p {
        font-size: 12px;
    }

    .contato {
        padding: 60px 15px;
    }

    .contato h2 {
        font-size: 1.6rem;
    }

    .contato p {
        font-size: 12px;
    }

    .form-group label {
        font-size: 10px;
    }

    .form-group input, .form-group textarea {
        padding: 8px;
        font-size: 10px;
    }

    .contato form button {
        padding: 10px;
        font-size: 12px;
    }

    #mapa {
        height: 250px;
        margin-top: 20px;
    }

    .vender-carro {
        padding: 102px 15px;
    }

    .vender-carro h2 {
        font-size: 1.6rem;
    }

    .vender-carro p {
        font-size: 0.8rem;
    }

    #form-vender-carro label {
        font-size: 0.8rem;
    }

    #form-vender-carro input,
    #form-vender-carro textarea {
        padding: 6px;
        font-size: 0.8rem;
    }

    #form-vender-carro button {
        padding: 8px;
        font-size: 0.9rem;
    }

    footer {
        padding: 30px 15px 15px;
    }

    .footer-section h3 {
        font-size: 16px;
    }

    .footer-section p {
        font-size: 10px;
    }

    .footer-bottom p {
        font-size: 10px;
    }

    #fale-conosco {
        bottom: 25px;
        right: 15px;
    }

    #fale-conosco img {
        width: 40px;
        height: 40px;
    }

    .detalhes {
        padding: 60px 15px;
    }

    .carrossel-imagens {
        height: 100%;
    }

    .carrossel {
        padding-bottom: 80%;
    }

    .carrossel-prev, .carrossel-next {
        padding: 5px;
        font-size: 10px;
    }

    .carro-info h1 {
        font-size: 20px;
    }

    .carro-info .preco {
        font-size: 16px;
    }

    .carro-info ul li {
        font-size: 12px;
    }

    .carro-info .diferenciais h3 {
        font-size: 16px;
    }

    .carro-info .comprar {
        padding: 10px;
        font-size: 12px;
    }

    .admin-login {
        padding: 30px 15px;
    }

    .admin-login h2 {
        font-size: 18px;
    }

    .admin-panel {
        padding: 30px 15px;
    }

    .admin-panel h2 {
        font-size: 18px;
    }

    .admin-form h3 {
        font-size: 16px;
    }

    .admin-form .banner-preview img {
        height: 120px;
    }

    .cookie-message {
        font-size: 10px;
    }

    .cookie-message button {
        padding: 5px 12px;
        font-size: 10px;
    }

    .banner-buttons {
        padding: 10px 15px;
        gap: 15px;
    }

    .banner-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .banner-btn i {
        font-size: 14px;
    }
}

/* Seção Política de Privacidade */
.politica-privacidade {
    padding: 80px 40px;
    max-width: 1400px;
    margin: 0 auto;
    background: #F5F5F5;
}

body.dark-mode .politica-privacidade {
    background: #121212;
}

.politica-privacidade h1 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #1A1A1A;
}

body.dark-mode .politica-privacidade h1 {
    color: #E0E0E0;
}

.politica-privacidade > p {
    font-size: 16px;
    text-align: center;
    margin-bottom: 40px;
    color: #666666;
}

body.dark-mode .politica-privacidade > p {
    color: #B0B0B0;
}

.politica-privacidade h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 30px 0 15px;
    color: #1A1A1A;
}

body.dark-mode .politica-privacidade h2 {
    color: #E0E0E0;
}

.politica-privacidade p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #1A1A1A;
}

body.dark-mode .politica-privacidade p {
    color: #E0E0E0;
}

.politica-privacidade ul {
    list-style: disc;
    margin: 15px 0 20px 20px;
}

.politica-privacidade ul li {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
    color: #1A1A1A;
}

body.dark-mode .politica-privacidade ul li {
    color: #E0E0E0;
}

.politica-privacidade a {
    color: #03bc66;
    text-decoration: none;
    transition: color 0.3s ease;
}

.politica-privacidade a:hover {
    color: #00796B;
}

@media (max-width: 768px) {
    .politica-privacidade {
        padding: 40px 20px;
    }

    .politica-privacidade h1 {
        font-size: 24px;
    }

    .politica-privacidade h2 {
        font-size: 20px;
    }

    .politica-privacidade p,
    .politica-privacidade ul li {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .politica-privacidade {
        padding: 30px 15px;
    }

    .politica-privacidade h1 {
        font-size: 20px;
    }

    .politica-privacidade h2 {
        font-size: 18px;
    }

    .politica-privacidade p,
    .politica-privacidade ul li {
        font-size: 12px;
    }
}

.footer-bottom a {
    color: #CCCCCC;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-bottom a:hover {
    color: #03bc66;
}

/* Botão do WhatsApp */
.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    padding: 12px;
    background: #FFFFFF;
    color: #03bc66;
    border: 2px solid #03bc66;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.whatsapp-btn i {
    font-size: 18px;
}

.whatsapp-btn:hover {
    background: #03bc66;
    color: #FFFFFF;
    transform: scale(1.05);
}

body.dark-mode .whatsapp-btn {
    background: #2A2A2A;
    color: #03bc66;
    border: 2px solid #03bc66;
}

body.dark-mode .whatsapp-btn:hover {
    background: #03bc66;
    color: #FFFFFF;
}

body.dark-mode .modal-content {
    background: #2A2A2A;
}

.close-modal, .close-error-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

body.dark-mode .close-modal {
    color: #E0E0E0;
}

.close-modal:hover, .close-error-modal:hover {
    color: #333;
}

.modal-content h2 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 20px;
    color: #1A1A1A;
}

body.dark-mode .modal-content h2 {
    color: #E0E0E0;
}

.modal-content .form-group {
    margin-bottom: 15px;
}

.modal-content button {
    padding: 14px;
    background: #03bc66;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    width: 100%;
    transition: transform 0.3s ease, background 0.3s ease;
}

.modal-content button:hover {
    transform: scale(1.05);
    background: #00796B;
}

/* Estilos para os Botões Editar e Deletar */
.edit-btn, .delete-btn {
    display: block;
    width: calc(100% - 40px);
    margin: 10px 20px;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.edit-btn {
    background: #FFFFFF;
    color: #03bc66;
    border: 2px solid #03bc66;
}

body.dark-mode .edit-btn {
    background: #2A2A2A;
    color: #03bc66;
    border: 2px solid #03bc66;
}

.edit-btn:hover {
    background: #03bc66;
    color: #FFFFFF;
    transform: scale(1.05);
}

.delete-btn {
    background: #E57373;
    color: #FFFFFF;
    border: none;
}

.delete-btn:hover {
    background: #EF5350;
    transform: scale(1.05);
}

/* Estilo para o modal de erro */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal[style*="display: flex"] {
    pointer-events: auto;
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    width: 80%;
    max-width: 500px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close-error-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.modal-content h3 {
    margin-top: 0;
    color: #333;
}

.modal-content p {
    margin: 10px 0;
}

.error-ok-btn {
    background-color: #1A3C34;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}

.error-ok-btn:hover {
    background-color: #2A5A50;
}

/* Estilos do Modal de Sucesso */
#success-modal .modal-content {
    text-align: center;
}

#success-modal p {
    color: #1A3C34;
    font-weight: bold;
    margin-bottom: 1rem;
}

.success-ok-btn:hover {
    background-color: #218838;
}

#confirm-delete-modal .success-ok-btn {
    background-color: #E57373;
}
#confirm-delete-modal .success-ok-btn:hover {
    background-color: #EF5350;
}

/* Estilos para o logo na navbar */
.logo-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background-color: #333333;
    padding: 12px 24px;
    border-radius: 0 10px 10px 0;
    transition: background 0.3s ease;
}

body.dark-mode .logo-container {
    background-color: #2A2A2A;
    padding: 12px 24px;
}

#logo-image {
    height: 2rem;
    width: auto;
    vertical-align: middle;
    margin-left: 12px;
    margin-right: 6px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    text-decoration: none;
}

/* Ajustes para o tema escuro */
.dark-mode .logo {
    color: #fff;
}

/* Responsividade para mobile */
@media (max-width: 768px) {
    .logo-container {
        gap: 0.3rem;
    }

    #logo-image {
        height: 1.5rem;
    }

    .logo {
        font-size: 1.2rem;
    }
}

/* Estilo para o feedback message */
#feedback-message {
    display: none;
    text-align: center;
    margin: 10px 0;
    padding: 10px;
    background-color: #ff0000;
    color: white;
    border-radius: 5px;
    font-size: 16px;
}

/* Faixa de Horário de Funcionamento */
.horario-faixa {
    background: #e8e8e8;
    color: black;
    padding: 8px 20px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.horario-faixa .contact-info {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
}

.horario-faixa .contact-info .telefone-fixo {
    display: none;
}

.horario-faixa .contact-info .whatsapp {
    display: inline-flex;
    align-items: center;
}

.horario-faixa .contact-info span {
    margin-right: 10px;
}
.horario-faixa .contact-info a {
    color: black;
    text-decoration: none;
    transition: color 0.3s ease;
}

.horario-faixa .contact-info a:hover {
    color: black;
}

.horario-faixa .social-links {
    display: flex;
    gap: 10px;
}

.horario-faixa .social-links a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.horario-faixa p {
    margin: 0;
}

/* Ajustar a navbar pra não ficar escondida atrás da faixa */
.navbar {
    top: 30px;
}

/* Ajustar o conteúdo principal considerando a faixa e a navbar */
main {
    padding-top: 80px;
}

/* Responsividade para Mobile */
@media (max-width: 768px) {
    .horario-faixa {
        flex-direction: column;
        align-items: center;
        padding: 10px 15px;
        gap: 10px;
    }

    .horario-faixa .contact-info {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        font-size: 12px;
    }

    .horario-faixa .contact-info span {
        display: none;
    }

    .horario-faixa .social-links {
        gap: 15px;
    }

    .horario-faixa p {
        font-size: 12px;
        text-align: left;
    }

    header {
        margin-top: 25px; 
    }

}

@media (max-width: 480px) {
    .horario-faixa {
        padding: 8px 12px;
    }

    .horario-faixa .contact-info {
        font-size: 11px;
        gap: 8px;
    }

    .horario-faixa .social-links {
        gap: 12px;
    }

    .horario-faixa p {
        font-size: 11px;
    }

    header {
        margin-top: 25px;
    }

}

/* Ajustar os botões pra ficarem bem centralizados e espaçados */
.banner-buttons {
    display: none;
    justify-content: space-around;
    gap: 30px;
    padding: 20px 20px;
    flex-wrap: wrap;
}

/* Ajustar o tamanho dos botões pra não ficarem muito largos */
.banner-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 70px;
    background: #FFFFFF;
    color: #03bc66;
    border: 2px solid #03bc66;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
    min-width: 120px; /* Largura mínima pra consistência */
    max-width: 150px; /* Limitar a largura máxima */
    justify-content: center; /* Centralizar o conteúdo dentro do botão */
}

/* Estilo específico pro botão Vender (já ajustado antes) */
.banner-btn.vender-btn {
    background: #03bc66;
    color: #FFFFFF;
    border: 2px solid #03bc66;
}

/* Hover pros botões */
.banner-btn:hover {
    background: #03bc66;
    color: #FFFFFF;
    transform: scale(1.05);
}

.banner-btn.vender-btn:hover {
    background: #3D7A5F;
    color: #FFFFFF;
    transform: scale(1.05);
}

/* Ajustes pro tema escuro */
body.dark-mode .banner-btn {
    background: #2A2A2A;
    color: #03bc66;
    border: 2px solid #03bc66;
}

body.dark-mode .banner-btn.vender-btn {
    background: #03bc66;
    color: #FFFFFF;
    border: 2px solid #03bc66;
}

body.dark-mode .banner-btn:hover {
    background: #03bc66;
    color: #FFFFFF;
}

body.dark-mode .banner-btn.vender-btn:hover {
    background: #3D7A5F;
    color: #FFFFFF;
}

css

Copiar
/* Seção de Call-to-Action */
.cta-section {
    padding: 40px 20px;
    background: #F5F5F5;
    text-align: center;
}

body.dark-mode .cta-section {
    background: #121212;
}

.cta-container {
    padding: 50px 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.cta-box {
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-box:hover {
    transform: translateY(-5px);
}

.cta-box-left {
    flex: 3; /* 60% do espaço */
    min-width: 400px; /* Aumentei para garantir que o container da esquerda seja mais largo */
    max-width: 800px; /* Aumentei o limite máximo para permitir que o container cresça mais */
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/assets/venda-seu-carro-2.png') no-repeat center center/cover;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.cta-box-right {
    flex: 2; /* 40% do espaço */
    min-width: 300px; /* Reduzi um pouco para enfatizar a diferença */
    max-width: 500px; /* Ajustei para manter a proporção */
    background: #1A1A1A;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

body.dark-mode .cta-box-right {
    background: #2A2A2A;
}

.cta-content {
    padding: 30px;
    text-align: left;
}

.cta-box h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.cta-box p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.cta-btn {
    display: inline-block;
    padding: 12px 25px;
    background: #03bc66;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.cta-btn:hover {
    background: #3D7A5F;
    transform: scale(1.05);
}

/* Responsividade para Mobile */
@media (max-width: 768px) {
    .cta-section {
        padding: 30px 15px;
    }

    .cta-container {
        padding: 10px 10px;
        flex-direction: column;
        gap: 20px;
    }

    .cta-box {
        min-width: 100%;
        max-width: 100%; /* Garante que ambos ocupem a largura total no mobile */
    }

    .cta-box-left,
    .cta-box-right {
        flex: 1; /* No mobile, ambos ocupam a mesma proporção */
    }

    .cta-content {
        padding: 20px;
    }

    .cta-box h3 {
        font-size: 20px;
    }

    .cta-box p {
        font-size: 14px;
    }

    .cta-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .cta-section {
        padding: 20px 10px;
    }

    .cta-content {
        padding: 15px;
    }

    .cta-box h3 {
        font-size: 18px;
    }

    .cta-box p {
        font-size: 12px;
    }

    .cta-btn {
        padding: 8px 15px;
        font-size: 12px;
    }
}

/* Seção de Redes Sociais */
.social-links-down {
    padding: 20px 20px;
    text-align: center;
    background: #F5F5F5;
}

body.dark-mode .social-links-down {
    background: #121212;
}

.social-links-down h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1A1A1A;
}

body.dark-mode .social-links-down h3 {
    color: #E0E0E0;
}

.social-links-down a {
    font-size: 30px;
    color: #1A1A1A;
    margin: 0 10px; /* Espaço entre os ícones */
    transition: color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

body.dark-mode .social-links-down a {
    color: #E0E0E0;
}

.social-links-down a:hover {
    color: #03bc66;
    transform: scale(1.2);
}

/* Responsividade para Mobile */
@media (max-width: 768px) {
    .cta-section {
        padding: 30px 15px;
    }

    .cta-container {
        padding: 10px 10px;
        flex-direction: column;
        gap: 20px;
    }

    .cta-box {
        min-width: 100%;
        padding: 20px;
    }

    .cta-box h3 {
        font-size: 20px;
    }

    .cta-box p {
        font-size: 14px;
    }

    .cta-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .social-links-down {
        padding: 15px 15px;
    }

    .social-links-down h3 {
        font-size: 18px;
    }

    .social-links-down a {
        font-size: 25px;
    }
}

@media (max-width: 480px) {
    .cta-section {
        padding: 60px 10px;
    }

    .cta-box {
        padding: 15px;
    }

    .cta-box h3 {
        font-size: 18px;
    }

    .cta-box p {
        font-size: 12px;
    }

    .cta-btn {
        padding: 8px 15px;
        font-size: 12px;
    }

    .social-links-down {
        padding: 20px 10px;
    }

    .social-links-down h3 {
        font-size: 16px;
    }

    .social-links-down a {
        font-size: 20px;
    }
}

/* Seção de Depoimentos */
.testimonials-section {
    padding: 50px 20px;
    background: #1A1A1A; /* Cinza escuro para combinar com a identidade da D.Lara */
    text-align: center;
}

body.dark-mode .testimonials-section {
    background: #121212; /* Ajuste para o modo escuro */
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-container h2 {
    font-size: 36px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 40px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: #FFFFFF;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-author {
    display: flex;
    flex-direction: column; /* Alinha a foto e o texto verticalmente */
    align-items: center; /* Centraliza tudo */
    margin-bottom: 20px; /* Espaço entre o autor e o texto */
}

.author-photo {
    width: 120px; /* Aumentei o tamanho da imagem */
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    filter: grayscale(100%); /* Preto e branco */
    transition: filter 0.3s ease;
}

.author-photo:hover {
    filter: grayscale(0%); /* Volta a ter cor no hover */
}

.author-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px; /* Espaço entre a foto e o nome */
}

.testimonial-author h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0;
}

.rating {
    font-size: 16px;
    color: #FFD700; /* Dourado para as estrelas */
    margin-top: 5px;
}

.testimonial-text {
    font-size: 18px;
    font-style: italic;
    color: #333333;
    line-height: 1.6;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 40px;
    color: #03bc66; /* Verde da identidade da D.Lara */
    position: absolute;
    left: -20px;
    top: -10px;
}

.testimonial-text::after {
    content: '"';
    font-size: 40px;
    color: #03bc66;
    position: absolute;
    right: -20px;
    bottom: -10px;
}

/* Responsividade para Mobile */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonials-container h2 {
        font-size: 28px;
    }

    .testimonial-card {
        padding: 20px;
    }

    .testimonial-text {
        font-size: 16px;
    }

    .author-photo {
        width: 100px; /* Reduz o tamanho da imagem no mobile */
        height: 100px;
    }

    .testimonial-author h3 {
        font-size: 18px;
    }

    .rating {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .testimonials-section {
        padding: 30px 15px;
    }

    .testimonials-container h2 {
        font-size: 24px;
    }

    .testimonial-text {
        font-size: 14px;
    }

    .author-photo {
        width: 80px;
        height: 80px;
    }

    .testimonial-author h3 {
        font-size: 16px;
    }

    .rating {
        font-size: 12px;
    }
}

.admin-actions {
    text-align: center;
}

.reset-btn {
    background-color: #E57373;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s;
    margin-top: 80px;
}

.reset-btn:hover {
    background-color: #cc0000;
}

.sortable-list {
    list-style: none;
    padding: 0;
}

.car-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: move; /* Indica que o item é arrastável */
}

.car-item.dragging {
    opacity: 0.5;
    background-color: #e0e0e0;
}

.car-item img {
    width: 100px;
    height: auto;
    border-radius: 5px;
}

.car-item .car-info {
    flex: 1;
    margin-left: 10px;
}

.car-item .car-actions {
    display: flex;
    gap: 10px;
}

.save-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.save-btn:hover {
    background-color: #45a049;
}

/* Seção de Marcas */
.marcas-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap; /* No desktop, permite quebra de linha */
    padding: 10px 0; /* Espaçamento vertical */
    margin-bottom: 20px; /* Espaço entre a seção de marcas e os carros */
}

/* Estilo dos botões de marcas */
.marca-btn {
    padding: 10px 20px;
    background: #FFFFFF; 
    color: #03bc66; 
    border: 2px solid #03bc66; 
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s ease, color 0.3s ease;
    white-space: nowrap; /* Impede que o texto dentro do botão quebre em várias linhas */
}

body.dark-mode .marca-btn {
    background: #2A2A2A; 
    color: #03bc66; 
    border: 2px solid #03bc66; 
}

.marca-btn.active, .marca-btn:hover {
    background: #03bc66; 
    color: #FFFFFF; 
}

/* Ajustes para mobile */
@media (max-width: 768px) {
    .marcas-container {
        flex-wrap: nowrap; /* Impede a quebra de linha no mobile */
        overflow-x: auto; /* Permite scroll horizontal */
        justify-content: flex-start; /* Alinha os botões à esquerda para o scroll */
        padding: 10px 15px; /* Adiciona padding lateral para evitar que os botões fiquem colados nas bordas */
        scrollbar-width: none; /* Esconde a barra de scroll no Firefox */
        -ms-overflow-style: none; /* Esconde a barra de scroll no Edge */
    }

    .marcas-container::-webkit-scrollbar {
        display: none; /* Esconde a barra de scroll no Chrome/Safari */
    }

    .marca-btn {
        padding: 8px 16px; /* Reduz o padding no mobile para caber mais botões */
        font-size: 12px; /* Reduz o tamanho da fonte no mobile */
    }
}

@media (max-width: 480px) {
    .marcas-container {
        padding: 10px 12px; /* Ajusta o padding para telas menores */
    }

    .marca-btn {
        padding: 6px 12px; /* Reduz ainda mais o padding */
        font-size: 10px; /* Reduz ainda mais a fonte */
    }
}

.carros-actions {
    display: flex;
    gap: 10px;
    margin: 10px 0;
    justify-content: center;
}

#recarregar-carros,
#ordenar-preco {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

#recarregar-carros:hover,
#ordenar-preco:hover {
    background-color: #45a049;
}

#recarregar-carros:disabled,
#ordenar-preco:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}