html{
    scroll-behavior: smooth;
}
.bg-roxo {
    background-image: linear-gradient(100deg, rgb(72, 43, 99), rgb(72, 15, 124));
}

.btn:hover{
    transform: translateY(-2px);
    transition: 1s;
    box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
}

.text-aliceblue {
    color: aliceblue;
}

.bg-aliceblue{
    background-color: aliceblue;
}

.navbar-toggler {
    border: none !important;
    box-shadow: none !important;
}

.text-white:hover{
    color: rgb(160, 160, 160) !important;
}


.container-carro {
    position: relative;
    z-index: 2;
    margin-bottom: -30px;
}

.imagem-carro {
    width: 300px;
    animation: flutuar 2.5s ease;
}

#sobre_nos{
    padding: 20px 20px 60px;
}


#sobre_nos h1{
    color: aliceblue;
    padding: 50px;
}

.topo {
    padding-top: 100px;
    color: #472258;
    min-height: 150px;
}

.titulo-flex {
    color: #472258;
}

.texto-empilhado {
    line-height: 0.8;
}

.texto-empilhado strong {
    font-size: 20px;
    text-transform: uppercase;
}

.nome-maior {
    font-size: 65px;
    font-weight: 900;
}

.um {
    font-weight: 300;
    font-size: 15px;
}

.um strong {
    font-weight: 700;
}

.dois {
    font-weight: 300;
    font-size: 15px;
}

.dois strong {
    font-weight: 700;
}

@keyframes flutuar{
    0%{
        transform: translateX(1000px);
    }
    100%{
        transform: translateX(0px);
    }
}


.bg-cinza{
    background-color: rgb(182, 182, 182);
}

.cinza{
    padding: 32px;
}

.maps-link {
    color: #472258;
    font-weight: bold;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.maps-link:hover {
    color: #7c3aad;
}


.loja img {
    width: clamp(300px, 50%, 520px);
}

#contato li {
    margin-bottom: 2px;
}

.social-link {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 1rem;
    transition: transform 0.2s ease, text-decoration-color 0.2s ease;
}

.social-link:hover {
    color: #1a1a1a;
    text-decoration: underline;
    text-underline-offset: 4px;
    transform: scale(1.1);
}


.input-box{
    max-width: 400px;
    margin-top: 10px;
    padding: 10px;
    width: 100%;
    outline: none;
    border-radius: 8px;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    margin-bottom: 10px;
}

.input-box::placeholder{
    color: rgba(0, 0, 0, 0.4);
}

.input-box:focus{
    border: 1px solid #472258;
    box-shadow: rgba(44, 29, 129, 0.15) 0px 0px 10px;
}

#contato{
    padding: 20px;
}


.card {
    cursor: pointer;
    overflow: hidden;
    border-radius: 0.75rem;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 16px rgba(72, 34, 88, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 340px;
    max-width: 100%;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(72, 34, 88, 0.28);
}

.card-img-top {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.card-body {
    padding: 1rem 1.25rem 1.25rem;
}

.card-text {
    overflow: hidden;
    max-height: 0 !important;
    opacity: 0 !important;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    margin-bottom: 0;
}

.card-text.aberto {
    max-height: 300px !important;
    opacity: 1 !important;
}


#mensagem-enviada {
    display: none;
    justify-content: center;
    align-items: center;
    background-color: #472258;
    color: #f0e6f6;
    font-size: 1.4rem;
    font-weight: bold;
    padding: 24px 32px;
    border-radius: 10px;
    width: fit-content;
    margin: 0 auto 20px;
    box-shadow: 0px 0px 10px rgba(114, 56, 141, 0.5);
}

#modoEscuro {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

#modoEscuro:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-color: #fff;
}

body.dark {
    background-color: #13111a;
}

body.dark .bg-aliceblue {
    background-color: #1e1b2e !important;
    color: #e8e0f0;
}

body.dark .topo,
body.dark .titulo-flex {
    color: #e8e0f0;
}

body.dark .bg-cinza {
    background-color: #252236 !important;
}

body.dark .cinza h1,
body.dark .cinza h2,
body.dark .cinza p {
    color: #e8e0f0;
}

body.dark .maps-link {
    color: #c4a8e8;
}

body.dark .maps-link:hover {
    color: #ddc4f8;
}

body.dark .card {
    background-color: #2d2640 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

body.dark .card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

body.dark .card h5,
body.dark .card h6,
body.dark .card p {
    color: #e8e0f0 !important;
}

body.dark .input-box {
    background-color: #2d2640;
    color: #e8e0f0;
    border-bottom-color: rgba(255, 255, 255, 0.25);
}

body.dark .input-box::placeholder {
    color: rgba(232, 224, 240, 0.4);
}

body.dark .input-box:focus {
    border-color: #9b6abf;
    box-shadow: 0 0 10px rgba(155, 106, 191, 0.3);
}

body.dark .social-link {
    color: #c4a8e8;
}

body.dark .social-link:hover {
    color: #ddc4f8;
}

body.dark #modoEscuro {
    border-color: #c4a8e8;
    color: #c4a8e8;
}

body.dark #modoEscuro:hover {
    background-color: rgba(155, 106, 191, 0.25);
    color: #e8e0f0;
    border-color: #c4a8e8;
}