/* Reset e Variáveis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Georgia', serif; /* Fonte com serifa para toque elegante */
}

body {
    background-color: #f4ede4; /* Cor de fundo creme */
    color: #3b2a21; /* Texto marrom escuro */
}

/* Hero Section */
.hero {
    background-image: url('../img/hero-bg.jpg'); /* Adicione sua imagem de fundo na pasta img */
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
    background-color: #2c1a11; /* Fallback */
}

.hero h1 {
    font-size: 3rem;
    margin: 10px 0;
    font-style: italic;
}

/* Categorias */
.categorias-section {
    text-align: center;
    padding: 40px 20px;
}

.filtros {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.btn-filtro {
    background-color: white;
    border: 1px solid #ddd;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    color: #555;
    transition: 0.3s;
}

.btn-filtro.ativo, .btn-filtro:hover {
    background-color: #a87e5b;
    color: white;
    border-color: #a87e5b;
}

/* Grid de Produtos */
.grid-produtos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-info {
    padding: 15px;
}

.card-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.card-info p {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 15px;
    height: 40px;
}

.card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.preco {
    font-weight: bold;
    font-size: 1.1rem;
}

.btn-mais {
    background-color: #bca080;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.2s;
}

.btn-mais:hover {
    background-color: #8c6a49;
}

/* Footer */
footer {
    background-color: #3b2a21;
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: 50px;
}

/* Modal (Janela de Produto Ampliado) */
.modal {
    display: none; /* Oculto por padrão */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
}

.modal-content {
    background-color: #f4ede4;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    text-align: center;
}

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

.fechar-modal {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.fechar-modal:hover {
    color: #333;
}

.preco-destaque {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #a87e5b;
    margin-top: 10px;
}