/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* Cabeçalho */
header {
    background-color: #333;
    color: #fff;
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
}

nav li {
    margin-left: 30px;
}

nav a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #f3c742;
    /* Cor de destaque para o Pet Shop */
}

/* Seção Hero */
.hero {
    background-color: #f4f4f4;
    padding: 100px 0;
    text-align: center;
}

.hero-content {
    display: inline-block;
    text-align: left;
    margin-right: 50px;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ebc451;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.hero img {
    width: 200px;
    height: auto;
    border-radius: 10px;
}

/* Seções */
.section {
    padding: 80px 0;
}

.section h2 {
    text-align: center;
    margin-bottom: 30px;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.products {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.product {
    width: 30%;
    margin-bottom: 30px;
    text-align: center;
}

.product a {
    text-decoration: none;
    color: inherit;
}

.product img {
    width: 100%;
    height: 200px; /* Altura fixa desejada */
    object-fit: cover; /* Para garantir que a imagem cubra todo o espaço, mantendo a proporção */
    border-radius: 10px;
    transition: transform 0.3s ease;
}


.product img:hover {
    transform: scale(1.1);
}

.product h3 {
    margin-top: 10px;
    font-size: 1.2em;
}

.product p {
    font-size: 1em;
    color: #555;
}

/* Serviços */
.services {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.service {
    width: 30%;
    margin-bottom: 30px;
    text-align: center;
}

.service img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
}

/* Formulário de Contato */
form {
    display: flex;
    flex-direction: column;
}

form input,
form textarea {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 12px;
}

form textarea {
    height: 150px;
}

form button {
    padding: 10px 20px;
    background-color: #e4ba3d;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    border-radius: 12px;
}

/* Rodapé */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 15px 0;
}

/* Botão Voltar ao Topo */
#voltarTopo {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #e4bb40;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

#voltarTopo:hover {
    opacity: 1;
}

/* Responsividade */
@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero img {
        margin: 20px auto;
    }

    .services .service {
        width: 45%;
    }
}

@media (max-width: 500px) {
    .services .service {
        width: 100%;
    }
}