/*
 * CSS Base - Versão Autopeças
 */

 body {
    background-color: #1a1a1a; /* Fundo asfalto escuro */
    font-family: Candara, Helvetica, sans-serif;    
    margin: 0;
}

#header {
    width: 100%;
    height: 137px;
    padding-top: 10px;
    background-color: #000000; /* Preto sólido */
    border-bottom: 3px solid #ffcc00; /* Linha de destaque amarela */
}

#logo {
    width: 340px;
    height: 100px;
    position: relative;
    left: 50%;
    margin-left: -170px;
}

#logoImg {
    float: left;
    /* Animação suave ao carregar o logo */
    width: 80px;
    height: 80px;
    border-radius: 100%;
    animation: slideIn 1s ease-out;
    margin-right: 10px;
}

#tituloLogo {
    float: left;
    color: #ffcc00; /* Amarelo para destacar o nome */
    line-height: 100px;
    margin: 0;
    font-size: 45px;
    text-transform: uppercase;
    font-style: italic;
}

#menu {
    width: 100%;
    background-color: #333333; /* Cinza grafite */
}

.listaMenu {
    width: 300px;
    position: relative;
    left: 50%;
    margin-left: -212px;
    margin-top: 7px;
}

.listaMenu li {
    display: inline-block;
}

.listaMenu li a {
    text-decoration: none;
    height: 50px;
    line-height: 30px;
    padding-left: 15px;
    padding-right: 15px;
    transition: 0.4s; /* Suaviza a troca de cor no hover */
}

.listaMenu li a:link,
.listaMenu li a:visited {
    color: #ffffff;
}

.listaMenu li a:hover {
    color: #000000;
    background-color: #ffcc00; /* Fundo amarelo no hover */
}

#menuAtual:link,
#menuAtual:visited {
    text-transform: uppercase;
    font-weight: bold;
    color: #ffcc00 !important;
}

#content {
    width: 700px;
    background-color: #ffffff; /* Fundo branco para os produtos se destacarem */
    position: relative;
    left: 50%;
    margin-left: -350px;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.5); /* Sombra para dar profundidade */
}

#promotionBanner {
    height: 200px;
    /* Adicionei um degradê para garantir que o texto apareça sobre a imagem */
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('images/promocao.jpg');
    background-size: cover;
}

#promocaoH1 {
    color: #ffffff;
    font-size: 64px;
    margin: 0;
    margin-left: 20px;
    position: absolute;
    text-shadow: 3px 3px 6px #000000;
}

#promocaoValor {
    color: #ffcc00; /* Valor em amarelo para chamar atenção */
    font-size: 48px;
    margin: 0;
    position: relative;
    text-shadow: 2px 2px 4px #000000;
    left: 180px;
    top: 130px;
    width: 500px;
}

#tituloConteudo {
    color: #333333;
    text-align: center;
    margin-bottom: 10px;
    padding-top: 15px;
}

#areaProdutos table {
    border-spacing: 25px;
    border-collapse: separate;
    text-align: center;
}

#areaProdutos td {    
    width: 250px;
    color: #333333;
    font-size: 20px;
    transition: transform 0.3s; /* Animação para o efeito de zoom */
}

/* Animação: O produto cresce levemente ao passar o mouse */
#areaProdutos td:hover {
    transform: scale(1.1);
}

#areaProdutos td img {
    width: 150px;
    height: 150px;
    margin-top: 5px;
    border-radius: 100%; /* Cantos levemente arredondados em vez de círculo */
    border: 3px solid #333333;
}

.tituloProduto {
    font-weight: bold;
    margin: 0;
}

.precoProduto {
    margin: 0;
    color: #c0392b; /* Vermelho para o preço */
    font-weight: bold;
}

#entrega {
    position: fixed;
    bottom: 30px;
    right: 10px;
    height: 100px;
    width: 300px;
    z-index: 100;
}

#entrega img {
    border-radius: 50%;
    border: 3px solid #ffcc00;
    transition: 0.3s;
    width: 100px;
    height: 100px;
}

/* O ícone de telefone treme levemente no hover */
#entrega:hover img {
    transform: rotate(15deg);
}

#tel {
    position: absolute;
    left: 120px;
    height: 75px;
    background-color: #333333;
    color: white;
    margin-top: 13px;
    padding: 10px;
    padding-bottom: 0;
    border-radius: 15px;
    border: 1px solid #ffcc00;
}

#tel h4 {
    margin: 0;
    font-size: 28px;
}

#tel h5 {
    margin: 0;
    margin-top: 10px;
    color: #ffcc00;
}

#tel a {
    color: white;
    text-decoration: none;
}

/* Definição da animação de entrada do Logo */
@keyframes slideIn {
    from { margin-left: -500px; opacity: 0; }
    to { margin-left: 0; opacity: 1; }
}