/* ==========================
   1. CONFIGURAÇÕES GERAIS
   ========================== */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

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

body {
    background-color: #000000; 
    color: #FFFFFF; 
    margin-bottom: 60px;
    height: 100%;
    font-family: 'Merriweather', serif;
}

/* ==========================
   2. LAYOUT E ESTRUTURA
   ========================== */
.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

section {
    margin-bottom: 50px;
}

/* ==========================
   3. ELEMENTOS GERAIS
   ========================== */
img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3 {
    color: #E50914; 
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 33px; 
    text-align: center;
}

p {
    font-family: 'Merriweather', serif;
    font-weight: 600;
    font-size: 22px; 
    text-align: center;
}

a {
    color: #E50914; 
    text-decoration: none;
    font-size: 20px; 
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #E50914;
}

/* ==========================
   4. CABEÇALHO (HEADER)
   ========================== */
header {
    background-color: #000000; 
    width: 100%;
    text-align: center;
    padding: 10px 0;
}

.logo {
    width: 100%;
    height: 500px;
    display: block;
    object-fit: cover;
    object-position: center bottom;
}

/* ==========================
   5. SEÇÕES ESPECÍFICAS
   ========================== */

.car-img {
    max-width: 50%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5px; 
}

#contato img {
    width: 200px;
    max-width: 100%;
    height: auto;
}

#servicos {
    margin-top: 0px; 
}

    #servicos h2 {
        margin-bottom: 5px; 
    }

    #servicos p {
        font-size: 20px; 
        font-weight: 500;
        margin-top: 2px; 
    }

#apresentacao {
    margin-bottom: 10px; 
}

hr {
    border-color: #8B0000; 
}

.servico {
    text-align: center;
    margin: 40px auto;
    max-width: 300px;
}

.fa-car, .fa-calendar-alt, .fa-award {
    font-size: 55px;
    color: #E50914; 
    margin-bottom: 10px;
}

.carousel-control-prev, .carousel-control-next {
    width: 8%;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    width: 70px;
    height: 70px;
    background-color: #E50914 !important;
    border-radius: 50%;
    padding: 10px;
}

/* ==========================
   6. RODAPÉ (FOOTER)
   ========================== */
footer {
    background-color: #8B0000 !important; 
    color: white !important;
    text-align: center;
    padding: 25px 0; 
    font-size: 20px; 
    font-weight: bold;
}

.footer-dev a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

    .footer-dev a:hover {
        color: #00a0dc; 
        text-shadow: 0 0 5px #00a0dc;
    }

.footer-dev i {
    transition: transform 0.3s ease;
}

.footer-dev a:hover i {
    transform: scale(1.2);
}
