/* Estilos Globais */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

header {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    margin-bottom: 40px; /* Espaçamento padrão para desktop */
}

.product-box {
    background-color:rgb(19, 14, 14);
    border: 1px solid #000000;
    border-radius: 10px;
    width: 350px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    color: whitesmoke;
}


.product-box:hover {
    transform: scale(1.05);
}

.product-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    margin-top: 10%;
    margin-left: 28%;
    border-radius: 50%;
}

.product-info {
    padding: 15px;
    text-align: center;
}

.product-name {
    font-size: 1.2rem;
    margin: 0;
}

.product-price {
    color: green;
    font-weight: bold;
    font-size: 16px;
    margin: 10px 0;
}
.product-price-vezes {
    color: azure;
    font-weight: bold;
    font-size: 12px;
    margin: 10px 0;
}


.product-buttons {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
}

.product-buttons button {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.btn-details {
    background-color: #007BFF;
    color: white;
}

.btn-hire {
    background-color: #28a745;
    color: white;
}

.form-container {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.form-container form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-container input,
.form-container textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.form-container button {
    padding: 10px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.overlay-form {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* Estilos para a seção de produtos */
.produtos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
    position: relative;
    background-color: rgba(173, 216, 230, 0.9);
    border-radius: 10px;
    margin: 20px;
    margin-bottom: 40px; /* Espaçamento padrão para desktop */
}

.produto {
    width: 320px;
    margin: 10px;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: white;
    position: relative;
    z-index: 1;
}

.produto.expandido {
    width: 440px;
    z-index: 10;
    position: relative;
    margin: 10px 0;
}

.valor {
    color: green;
    font-weight: bold;
    margin-top: 10px;
}

.info {
    display: none;
    margin-top: 10px;
}

.produto.expandido .info {
    display: block;
}

.produto img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}

.fotos-container {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.fotos-container img {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.3s ease;
}

.fotos-container img:hover {
    border: 2px solid green;
}
footer{
    position: fixed;

}
/* Media Query para Dispositivos Móveis */
@media (max-width: 768px) {
    .produtos-container {
        margin-bottom: 80px; /* Aumenta o espaçamento para evitar colagem no rodapé */
    }

    .produto {
        width: 100%; /* Faz os produtos ocuparem a largura total em telas pequenas */
        max-width: 320px;
        margin: 10px auto; /* Centraliza os produtos */
    }
    footer{
        position: fixed;
    
    }
}
/* Estilo para transições suaves (opcional) */
.product-description {
    display: none;
    transition: opacity 0.3s ease-in-out;
}
.product-description.show {
    display: block;
    opacity: 1;
}

/* Efeito de zoom na imagem ao passar o mouse */
.product-image {
    width: 150px; /* Ajuste conforme necessário */
    transition: transform 0.3s ease;
}
.product-box:hover .product-image {
    transform: scale(1.2); /* Aumenta a imagem em 20% */
}

/* Cursor pointer para indicar que é clicável */
.product-box {
    cursor: pointer;
}