/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Cabeçalho */
header {
    background: #004aad;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

header .logo {
    display: flex;
    align-items: center;
}

header .logo img {
    height: 50px;
    margin-right: 15px;
}

nav a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

/* Banner */
.banner {
    background: url('../images/banner.jpg') no-repeat center center/cover;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
}

.banner .overlay {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
}

/* Serviços */
.services {
    padding: 40px 20px;
    text-align: center;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.service-item {
    background: #f4f4f4;
    padding: 15px; 
    border-radius: 10px; 
    cursor: pointer; 
    transition: 0.3s;
}

.service-item:hover {
    background: #eaeaea;
}

.service-item img {
    width: 100%;
    border-radius: 10px;
}

/* Marcas */
.marcas {
    padding: 40px 20px;
    text-align: center;
    background: #fff;
}

.marcas h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.marcas-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    align-items: center;
    justify-items: center;
}

.marcas-list img {
    max-width: 120px;
    filter: grayscale(40%);
    transition: 0.3s;
}

.marcas-list img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Área de Atendimento */
.atendimento {
    background: #f9f9f9;
    padding: 40px 20px;
    text-align: center;
}

.atendimento h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.atendimento ul {
    list-style: none;
    padding: 0;
    margin: 20px auto;
    max-width: 600px;
    text-align: left;
}

.atendimento ul li {
    margin: 8px 0;
    font-size: 1.1rem;
    color: #555;
}

.atendimento .whatsapp-link a {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 20px;
    background: #25d366;
    color: #fff;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
}

.atendimento .whatsapp-link a:hover {
    background: #1ebe5d;
}

/* Contato */
.contact {
    padding: 40px 20px;
    text-align: center;
}

/* Rodapé */
footer {
    background: #004aad;
    color: white;
    text-align: center;
    padding: 15px;
    position: relative;
}

footer .whatsapp {
    position: absolute;
    right: 20px;
    top: -25px;
    background: #25d366;
    padding: 15px;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    transition: 0.3s;
}

footer .whatsapp:hover {
    background: #1ebe5d;
}

/* Modal Galeria */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0,0,0,0.8);
}

.modal-content {
    position: relative;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 80%;
}

.modal-content img {
    max-width: 90%;
    height: auto;
    border-radius: 10px;
    transition: 0.3s;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.prev, .next {
    cursor: pointer;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    margin: 0 20px;
}

@media (max-width: 768px) {
    nav a {
        display: block;
        margin: 10px 0;
    }
    .service-list {
        grid-template-columns: 1fr;
    }
}
